:root {
  /* --- Renkler --- */
  --bg-0: #070914;
  --bg-1: #0c1022;
  --panel-0: #0d1428;
  --panel-1: #121a33;
  --border: rgba(140, 130, 255, 0.14);
  --border-strong: rgba(140, 130, 255, 0.28);

  --purple: #7c5cff;
  --purple-soft: #a78bfa;
  --blue: #3b82f6;
  --pink: #8b5cf6;
  --cyan: #38bdf8;

  --text-0: #f3f2fb;
  --text-1: #c7c6dd;
  --text-2: #8b8ba7;
  --text-3: #5b5b78;

  --success: #34d399;
  --warning: #fbbf24;
  --danger: #fb7185;

  --gradient-primary: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
  --gradient-accent: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);

  /* --- Tipografi --- */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* --- Boşluk / şekil --- */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --sidebar-w: 260px;
  --panel-w: 300px;

  --shadow-glow-purple: 0 0 24px rgba(124, 92, 255, 0.25);
  --shadow-glow-pink: 0 0 24px rgba(255, 110, 199, 0.2);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(120% 120% at 10% 0%, var(--bg-1) 0%, var(--bg-0) 55%);
  color: var(--text-0);
  font-family: var(--font-body);
  min-height: 100%;
}

body {
  min-height: 100vh;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

::selection { background: rgba(124, 92, 255, 0.35); }

/* Erişilebilirlik: klavye odak göstergesi */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--purple-soft);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
}

.card {
  background: linear-gradient(180deg, var(--panel-1) 0%, var(--panel-0) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { box-shadow: 0 6px 26px rgba(124, 92, 255, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-1);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, 0.06); }

.btn-danger {
  background: rgba(251, 113, 133, 0.12);
  color: var(--danger);
  border-color: rgba(251, 113, 133, 0.3);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-0);
  font-size: 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.input:focus {
  border-color: var(--purple-soft);
  background: rgba(124, 92, 255, 0.06);
  outline: none;
}
.input::placeholder { color: var(--text-3); }

.text-muted { color: var(--text-2); }
.text-dim { color: var(--text-3); }

.skeleton {
  background: linear-gradient(90deg, var(--panel-0) 25%, var(--panel-1) 50%, var(--panel-0) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { to { background-position: -200% 0; } }


@keyframes usernameGradient{0%{background-position:0% 50%}100%{background-position:220% 50%}}
@keyframes profileFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes profileGlow{0%,100%{box-shadow:0 0 0 rgba(124,92,255,0)}50%{box-shadow:0 12px 38px rgba(124,92,255,.18)}}
@keyframes bannerDrift{0%,100%{background-position:50% 50%}50%{background-position:56% 46%}}
