/* =========================================================
   metavis1on — Premium Stil Sistemi
   Temalar: dark · light · purple · blue · red
   ========================================================= */

/* ===== Paylaşılan Değişkenler ===== */
:root {
  --font-sans:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --container:    1200px;
  --gutter:       24px;
  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─────────────────────────────────────────────────────
   TEMA: Karanlık (varsayılan)
   ───────────────────────────────────────────────────── */
:root,
[data-theme="dark"] {
  --bg:                #060810;
  --bg-2:              #0a0d14;
  --surface:           #0f1219;
  --surface-hover:     #141822;
  --surface-strong:    #1a1f2c;
  --surface-soft:      rgba(255,255,255,0.02);
  --text:              #e6eaf2;
  --text-soft:         #98a2b8;
  --muted:             #556070;
  --faint:             #2a3240;
  --line:              rgba(255,255,255,0.06);
  --line-strong:       rgba(255,255,255,0.12);
  --line-bright:       rgba(255,255,255,0.22);
  --accent:            #5b7cff;
  --accent-2:          #8b6cff;
  --accent-deep:       #3454d1;
  --accent-soft:       rgba(91,124,255,0.10);
  --accent-glow:       rgba(91,124,255,0.18);
  --accent-glow-strong:rgba(91,124,255,0.42);
  --header-bg:         rgba(6,8,16,0.50);
  --header-bg-scrolled:rgba(6,8,16,0.92);
  --header-border:     rgba(255,255,255,0.07);
  --glow-1:            rgba(91,124,255,0.12);
  --glow-2:            rgba(139,108,255,0.07);
  --glow-3:            rgba(52,84,209,0.05);
  --grid-line:         rgba(255,255,255,0.025);
  --scan-line:         rgba(255,255,255,0.012);
  --scan-opacity:      0.5;
  --hero-h1-grad:      linear-gradient(180deg, #fff 0%, #bfc8e0 65%, #7b94d0 100%);
  --plate-bg:          linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.04) 100%), linear-gradient(135deg, #151a28 0%, #0a0d16 100%);
  --plate-border:      var(--line-strong);
  --plate-shadow:      inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.3), 0 32px 64px -16px rgba(0,0,0,0.7);
  --shadow-sm:         0 1px 2px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2);
  --shadow-md:         0 4px 12px rgba(0,0,0,0.3), 0 16px 32px rgba(0,0,0,0.25);
  --shadow-lg:         0 8px 24px rgba(0,0,0,0.3), 0 24px 56px -8px rgba(0,0,0,0.5), 0 48px 80px -16px rgba(0,0,0,0.3);
  --shadow-btn:        0 4px 12px rgba(91,124,255,0.30), 0 12px 28px -4px rgba(91,124,255,0.35);
  --shadow-btn-hover:  0 6px 16px rgba(91,124,255,0.40), 0 16px 36px -4px rgba(91,124,255,0.45);
  --logo-filter:       invert(1) brightness(1.1);
  --logo-glow:         drop-shadow(0 0 12px rgba(91,124,255,0.35));
  --logo-glow-big:     drop-shadow(0 0 24px rgba(91,124,255,0.50));
  --selection-bg:      #3454d1;
  --selection-fg:      #fff;
  --nav-bar:           #e6eaf2;
  --glyph-stroke:      rgba(255,255,255,0.035);
  --footer-tint:       linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
  color-scheme: dark;
}

/* ─────────────────────────────────────────────────────
   TEMA: Aydınlık
   ───────────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:                #eef0f5;
  --bg-2:              #e2e6ee;
  --surface:           #ffffff;
  --surface-hover:     #f5f7fa;
  --surface-strong:    #e8ecf4;
  --surface-soft:      rgba(18,28,48,0.02);
  --text:              #0a0f1e;
  --text-soft:         #384060;
  --muted:             #667088;
  --faint:             #bcc4d4;
  --line:              rgba(18,28,48,0.09);
  --line-strong:       rgba(18,28,48,0.16);
  --line-bright:       rgba(18,28,48,0.28);
  --accent:            #2240b8;
  --accent-2:          #5838c8;
  --accent-deep:       #182e96;
  --accent-soft:       rgba(34,64,184,0.08);
  --accent-glow:       rgba(34,64,184,0.10);
  --accent-glow-strong:rgba(34,64,184,0.26);
  --header-bg:         rgba(238,240,245,0.72);
  --header-bg-scrolled:rgba(238,240,245,0.94);
  --header-border:     rgba(18,28,48,0.09);
  --glow-1:            rgba(34,64,184,0.07);
  --glow-2:            rgba(88,56,200,0.04);
  --glow-3:            rgba(24,46,150,0.03);
  --grid-line:         rgba(18,28,48,0.035);
  --scan-line:         rgba(18,28,48,0.008);
  --scan-opacity:      0.3;
  --hero-h1-grad:      linear-gradient(180deg, #0a0f1e 0%, #1a2644 60%, #2240b8 100%);
  --plate-bg:          linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.7) 100%), linear-gradient(135deg, #e6ecf6 0%, #cad3e4 100%);
  --plate-border:      rgba(18,28,48,0.12);
  --plate-shadow:      inset 0 1px 0 rgba(255,255,255,0.85), 0 4px 12px rgba(18,28,48,0.06), 0 20px 44px -12px rgba(18,28,48,0.14);
  --shadow-sm:         0 1px 3px rgba(18,28,48,0.05), 0 4px 8px rgba(18,28,48,0.04);
  --shadow-md:         0 2px 8px rgba(18,28,48,0.05), 0 12px 28px rgba(18,28,48,0.07);
  --shadow-lg:         0 4px 12px rgba(18,28,48,0.05), 0 16px 40px rgba(18,28,48,0.08), 0 40px 72px -12px rgba(18,28,48,0.10);
  --shadow-btn:        0 4px 12px rgba(34,64,184,0.18), 0 12px 28px -4px rgba(34,64,184,0.22);
  --shadow-btn-hover:  0 6px 16px rgba(34,64,184,0.28), 0 16px 36px -4px rgba(34,64,184,0.32);
  --logo-filter:       brightness(0.12);
  --logo-glow:         drop-shadow(0 0 8px rgba(34,64,184,0.14));
  --logo-glow-big:     drop-shadow(0 0 18px rgba(34,64,184,0.22));
  --selection-bg:      #2240b8;
  --selection-fg:      #fff;
  --nav-bar:           #0a0f1e;
  --glyph-stroke:      rgba(18,28,48,0.05);
  --footer-tint:       linear-gradient(180deg, transparent, rgba(18,28,48,0.02));
  color-scheme: light;
}

/* ─────────────────────────────────────────────────────
   TEMA: Mor
   ───────────────────────────────────────────────────── */
[data-theme="purple"] {
  --bg:                #0a0512;
  --bg-2:              #0e081a;
  --surface:           #150e24;
  --surface-hover:     #1c1432;
  --surface-strong:    #241a3e;
  --surface-soft:      rgba(147,51,234,0.03);
  --text:              #e2dcf4;
  --text-soft:         #a498c0;
  --muted:             #665a82;
  --faint:             #3a2e54;
  --line:              rgba(147,51,234,0.09);
  --line-strong:       rgba(147,51,234,0.18);
  --line-bright:       rgba(147,51,234,0.30);
  --accent:            #9333ea;
  --accent-2:          #a855f7;
  --accent-deep:       #7928ca;
  --accent-soft:       rgba(147,51,234,0.10);
  --accent-glow:       rgba(147,51,234,0.16);
  --accent-glow-strong:rgba(147,51,234,0.40);
  --header-bg:         rgba(10,5,18,0.50);
  --header-bg-scrolled:rgba(10,5,18,0.92);
  --header-border:     rgba(147,51,234,0.10);
  --glow-1:            rgba(147,51,234,0.12);
  --glow-2:            rgba(121,40,202,0.07);
  --glow-3:            rgba(168,85,247,0.04);
  --grid-line:         rgba(147,51,234,0.03);
  --scan-line:         rgba(147,51,234,0.01);
  --scan-opacity:      0.5;
  --hero-h1-grad:      linear-gradient(180deg, #fff 0%, #d0c0f0 65%, #9333ea 100%);
  --plate-bg:          linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.03) 100%), linear-gradient(135deg, #1a1230 0%, #0c0818 100%);
  --plate-border:      var(--line-strong);
  --plate-shadow:      inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -1px 0 rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.3), 0 32px 64px -16px rgba(0,0,0,0.6);
  --shadow-sm:         0 1px 2px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2);
  --shadow-md:         0 4px 12px rgba(0,0,0,0.3), 0 16px 32px rgba(0,0,0,0.25);
  --shadow-lg:         0 8px 24px rgba(0,0,0,0.3), 0 24px 56px -8px rgba(0,0,0,0.45), 0 48px 80px -16px rgba(0,0,0,0.3);
  --shadow-btn:        0 4px 12px rgba(147,51,234,0.30), 0 12px 28px -4px rgba(147,51,234,0.35);
  --shadow-btn-hover:  0 6px 16px rgba(147,51,234,0.40), 0 16px 36px -4px rgba(147,51,234,0.45);
  --logo-filter:       invert(1) brightness(1.1);
  --logo-glow:         drop-shadow(0 0 12px rgba(147,51,234,0.35));
  --logo-glow-big:     drop-shadow(0 0 24px rgba(147,51,234,0.50));
  --selection-bg:      #7928ca;
  --selection-fg:      #fff;
  --nav-bar:           #e2dcf4;
  --glyph-stroke:      rgba(147,51,234,0.05);
  --footer-tint:       linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
  color-scheme: dark;
}

/* ─────────────────────────────────────────────────────
   TEMA: Mavi
   ───────────────────────────────────────────────────── */
[data-theme="blue"] {
  --bg:                #060c18;
  --bg-2:              #091220;
  --surface:           #0d1628;
  --surface-hover:     #121e36;
  --surface-strong:    #182844;
  --surface-soft:      rgba(37,99,235,0.03);
  --text:              #dae4f4;
  --text-soft:         #86a0c4;
  --muted:             #486084;
  --faint:             #243650;
  --line:              rgba(37,99,235,0.09);
  --line-strong:       rgba(37,99,235,0.18);
  --line-bright:       rgba(37,99,235,0.30);
  --accent:            #2563eb;
  --accent-2:          #3b82f6;
  --accent-deep:       #1d4ed8;
  --accent-soft:       rgba(37,99,235,0.10);
  --accent-glow:       rgba(37,99,235,0.16);
  --accent-glow-strong:rgba(37,99,235,0.40);
  --header-bg:         rgba(6,12,24,0.50);
  --header-bg-scrolled:rgba(6,12,24,0.92);
  --header-border:     rgba(37,99,235,0.10);
  --glow-1:            rgba(37,99,235,0.12);
  --glow-2:            rgba(29,78,216,0.07);
  --glow-3:            rgba(59,130,246,0.04);
  --grid-line:         rgba(37,99,235,0.03);
  --scan-line:         rgba(37,99,235,0.01);
  --scan-opacity:      0.5;
  --hero-h1-grad:      linear-gradient(180deg, #fff 0%, #b0c8f0 65%, #2563eb 100%);
  --plate-bg:          linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.03) 100%), linear-gradient(135deg, #101c34 0%, #080e1c 100%);
  --plate-border:      var(--line-strong);
  --plate-shadow:      inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -1px 0 rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.3), 0 32px 64px -16px rgba(0,0,0,0.6);
  --shadow-sm:         0 1px 2px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2);
  --shadow-md:         0 4px 12px rgba(0,0,0,0.3), 0 16px 32px rgba(0,0,0,0.25);
  --shadow-lg:         0 8px 24px rgba(0,0,0,0.3), 0 24px 56px -8px rgba(0,0,0,0.45), 0 48px 80px -16px rgba(0,0,0,0.3);
  --shadow-btn:        0 4px 12px rgba(37,99,235,0.30), 0 12px 28px -4px rgba(37,99,235,0.35);
  --shadow-btn-hover:  0 6px 16px rgba(37,99,235,0.40), 0 16px 36px -4px rgba(37,99,235,0.45);
  --logo-filter:       invert(1) brightness(1.1);
  --logo-glow:         drop-shadow(0 0 12px rgba(37,99,235,0.35));
  --logo-glow-big:     drop-shadow(0 0 24px rgba(37,99,235,0.50));
  --selection-bg:      #1d4ed8;
  --selection-fg:      #fff;
  --nav-bar:           #dae4f4;
  --glyph-stroke:      rgba(37,99,235,0.05);
  --footer-tint:       linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
  color-scheme: dark;
}

/* ─────────────────────────────────────────────────────
   TEMA: Kızıl
   ───────────────────────────────────────────────────── */
[data-theme="red"] {
  --bg:                #0e0806;
  --bg-2:              #140c0a;
  --surface:           #1a100e;
  --surface-hover:     #241816;
  --surface-strong:    #2e1e1c;
  --surface-soft:      rgba(220,38,38,0.03);
  --text:              #f0e2da;
  --text-soft:         #c0a090;
  --muted:             #806458;
  --faint:             #443028;
  --line:              rgba(220,38,38,0.09);
  --line-strong:       rgba(220,38,38,0.18);
  --line-bright:       rgba(220,38,38,0.30);
  --accent:            #dc2626;
  --accent-2:          #f59e0b;
  --accent-deep:       #b91c1c;
  --accent-soft:       rgba(220,38,38,0.10);
  --accent-glow:       rgba(220,38,38,0.14);
  --accent-glow-strong:rgba(220,38,38,0.38);
  --header-bg:         rgba(14,8,6,0.50);
  --header-bg-scrolled:rgba(14,8,6,0.92);
  --header-border:     rgba(220,38,38,0.10);
  --glow-1:            rgba(220,38,38,0.10);
  --glow-2:            rgba(245,158,11,0.05);
  --glow-3:            rgba(185,28,28,0.04);
  --grid-line:         rgba(220,38,38,0.025);
  --scan-line:         rgba(220,38,38,0.01);
  --scan-opacity:      0.5;
  --hero-h1-grad:      linear-gradient(180deg, #fff 0%, #f0c0b0 65%, #dc2626 100%);
  --plate-bg:          linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 50%, rgba(255,255,255,0.03) 100%), linear-gradient(135deg, #201412 0%, #0e0a08 100%);
  --plate-border:      var(--line-strong);
  --plate-shadow:      inset 0 1px 0 rgba(255,255,255,0.05), inset 0 -1px 0 rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.3), 0 32px 64px -16px rgba(0,0,0,0.6);
  --shadow-sm:         0 1px 2px rgba(0,0,0,0.3), 0 4px 8px rgba(0,0,0,0.2);
  --shadow-md:         0 4px 12px rgba(0,0,0,0.3), 0 16px 32px rgba(0,0,0,0.25);
  --shadow-lg:         0 8px 24px rgba(0,0,0,0.3), 0 24px 56px -8px rgba(0,0,0,0.45), 0 48px 80px -16px rgba(0,0,0,0.3);
  --shadow-btn:        0 4px 12px rgba(220,38,38,0.30), 0 12px 28px -4px rgba(220,38,38,0.35);
  --shadow-btn-hover:  0 6px 16px rgba(220,38,38,0.40), 0 16px 36px -4px rgba(220,38,38,0.45);
  --logo-filter:       invert(1) brightness(1.1);
  --logo-glow:         drop-shadow(0 0 12px rgba(220,38,38,0.35));
  --logo-glow-big:     drop-shadow(0 0 24px rgba(220,38,38,0.50));
  --selection-bg:      #b91c1c;
  --selection-fg:      #fff;
  --nav-bar:           #f0e2da;
  --glyph-stroke:      rgba(220,38,38,0.05);
  --footer-tint:       linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
  color-scheme: dark;
}

/* ===== Temel Sıfırlama ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--selection-bg); color: var(--selection-fg); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--text);
}
h1 { font-size: clamp(44px, 7vw, 88px); letter-spacing: -0.04em; }
h2 { font-size: clamp(26px, 3.6vw, 42px); }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p  { margin: 0 0 16px; color: var(--text-soft); }

/* ===== Tema Geçiş Koruması ===== */
.theme-switching,
.theme-switching * {
  transition: none !important;
  animation: none !important;
}

/* Tema geçişinde yumuşak renkler */
.site-header, .identity-card, .discord-panel,
.rule-item, .soon-card, .btn, .site-footer,
.footer-bottom, .theme-picker-panel, .theme-picker-btn {
  transition-property: background, color, border-color, box-shadow, transform;
  transition-duration: 0.35s;
  transition-timing-function: var(--ease);
}

/* ===== Düzen ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section     { padding: 100px 0; position: relative; z-index: 1; }
.section, .hero, .site-footer { scroll-margin-top: 80px; }

.section-head {
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent-glow);
}
.eyebrow-center { justify-content: center; }

/* ===== Arka Plan Katmanları ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  background:
    radial-gradient(ellipse 55% 45% at var(--mouse-x, 50%) var(--mouse-y, 15%), var(--glow-1), transparent 70%),
    radial-gradient(ellipse 35% 35% at 85% 85%, var(--glow-2), transparent 70%),
    radial-gradient(ellipse 40% 30% at 12% 70%, var(--glow-3), transparent 70%);
  transition: background 0.6s var(--ease);
}

.bg-grid {
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 20%, transparent 80%);
  animation: gridShift 32s linear infinite;
}

.bg-scan {
  background: repeating-linear-gradient(
    0deg, transparent 0, transparent 2px, var(--scan-line) 2px, var(--scan-line) 3px
  );
  opacity: var(--scan-opacity);
}

.bg-watermark {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(45vw, 440px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.018;
}
[data-theme="light"] .bg-watermark { opacity: 0.025; }

.bg-watermark img {
  width: 100%;
  height: auto;
  filter: var(--logo-filter);
}

@keyframes gridShift {
  from { background-position: 0 0; }
  to   { background-position: 56px 56px; }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--header-bg-scrolled);
  border-bottom-color: var(--header-border);
}

.site-header.is-scrolled::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.brand-logo {
  width: 26px; height: 26px;
  object-fit: contain;
  filter: var(--logo-filter);
  transition: filter 0.35s var(--ease);
}
.brand:hover .brand-logo {
  filter: var(--logo-filter) var(--logo-glow);
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 12.5px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== Tema Seçici ===== */
.theme-picker { position: relative; }

.theme-picker-btn {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.theme-picker-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--accent-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.theme-picker-btn:hover { border-color: var(--accent); }
.theme-picker-btn:hover::before { opacity: 1; }

.theme-picker-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  position: relative;
}

.theme-picker-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease-out), visibility 0.2s;
  z-index: 60;
}
.theme-picker-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.theme-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.theme-option:hover {
  background: var(--accent-glow);
  color: var(--text);
}
.theme-option.is-active { color: var(--text); }
.theme-option.is-active .theme-option-dot {
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--dot-border, var(--accent));
}

.theme-option-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--dot-color, #888);
  border: 1.5px solid var(--dot-border, #888);
  flex-shrink: 0;
  transition: box-shadow 0.2s var(--ease);
}

/* ===== Discord Nav Butonu ===== */
.nav-discord-btn {
  font-size: 12.5px;
  padding: 8px 14px;
  gap: 6px;
}
.nav-discord-btn .discord-svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
}

/* ===== Mobil Menü Toggle ===== */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 10px;
  padding: 0;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--nav-bar);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 24px; }
.nav-toggle.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ===== Butonlar ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
  transition: left 0.55s var(--ease);
}
.btn:hover::before { left: 100%; }

.btn-primary,
.btn-discord {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover,
.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-ghost {
  background: var(--surface-soft);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-1px);
}

.btn-lg { padding: 16px 34px; font-size: 15px; border-radius: 12px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 130px 0 110px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 5%; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 65%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-glyph {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(110px, 20vw, 320px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--glyph-stroke);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

/* Hero Logo Plakası */
.hero-emblem {
  position: relative;
  width: 168px; height: 168px;
  margin: 0 auto 40px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-emblem::before {
  content: "";
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  background: radial-gradient(circle at center,
    var(--accent-glow-strong) 0%,
    var(--accent-glow) 30%,
    transparent 70%);
  filter: blur(10px);
  animation: pulseGlow 5s ease-in-out infinite;
  z-index: 0;
}

.hero-emblem::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: var(--plate-bg);
  border: 1px solid var(--plate-border);
  box-shadow: var(--plate-shadow);
  z-index: 1;
}

.emblem-corners {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
}
.emblem-corners::before,
.emblem-corners::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--accent);
  opacity: 0.65;
}
.emblem-corners::before {
  top: 10px; left: 10px;
  border-right: none; border-bottom: none;
}
.emblem-corners::after {
  bottom: 10px; right: 10px;
  border-left: none; border-top: none;
}

.hero-logo {
  position: relative;
  z-index: 2;
  width: 106px; height: 106px;
  display: grid;
  place-items: center;
}
.hero-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: var(--logo-filter) var(--logo-glow);
  animation: float 7s ease-in-out infinite;
}

.hero h1 {
  margin-top: 0;
  background: var(--hero-h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-soft);
  max-width: 520px;
  margin: 0 auto 18px;
  line-height: 1.55;
}

.hero-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 530px;
  margin: 0 auto 42px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 56px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}

/* ===== Discord Paneli ===== */
.discord-panel {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 52px 44px 44px;
  background:
    radial-gradient(450px circle at var(--mx, -200px) var(--my, -200px), var(--accent-glow), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, transparent 40%),
    var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}

.discord-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
  z-index: 2;
}

.discord-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.discord-panel:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--accent-glow), inset 0 0 40px var(--accent-soft);
}

.discord-watermark {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 200px; height: 200px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}
.discord-watermark img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: var(--logo-filter);
}

.discord-content {
  position: relative;
  z-index: 1;
}

.discord-icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-glow), var(--accent-soft));
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.discord-panel h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 10px;
}
.discord-panel .discord-content > p {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 380px;
  margin: 0 auto 26px;
  line-height: 1.65;
}

.discord-meta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.discord-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.discord-meta-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

/* ===== Kimlik Kartları ===== */
.identity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.identity-card {
  position: relative;
  padding: 28px 22px;
  background:
    radial-gradient(280px circle at var(--mx, -200px) var(--my, -200px), var(--accent-glow), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.3s var(--ease);
}

.identity-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 1.5px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: width 0.4s var(--ease);
}

.identity-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.identity-card:hover::before { width: 100%; }

.identity-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-family: var(--font-display);
}
.identity-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ===== Kurallar ===== */
.rules-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 50% at 50% 50%, var(--accent-glow), transparent 70%);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 40%), var(--surface);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease),
              background 0.35s var(--ease), box-shadow 0.25s var(--ease);
}
.rule-item:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.rule-num {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.rule-item p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.55;
}

/* ===== Yakında ===== */
.soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}

.soon-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.012) 0%, transparent 40%), var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.2s var(--ease);
}
.soon-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.soon-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.soon-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: auto;
  padding: 52px 0 28px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 1;
  background: var(--footer-tint);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; }

.footer-logo {
  max-width: 170px;
  height: auto;
  filter: var(--logo-filter);
  opacity: 0.8;
  transition: filter 0.35s var(--ease), opacity 0.2s var(--ease);
}
.footer-logo:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  flex-wrap: wrap;
}
.footer-note { opacity: 0.6; }

/* ===== Animasyonlar ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.05); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.8); }
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.stagger > .reveal { transition-delay: 0ms; }
.stagger.is-visible > .reveal:nth-child(1) { transition-delay: 60ms; }
.stagger.is-visible > .reveal:nth-child(2) { transition-delay: 120ms; }
.stagger.is-visible > .reveal:nth-child(3) { transition-delay: 180ms; }
.stagger.is-visible > .reveal:nth-child(4) { transition-delay: 240ms; }

/* ===== Duyarlı Tasarım ===== */
@media (max-width: 1024px) {
  .identity-grid { grid-template-columns: repeat(2, 1fr); }
  .soon-grid     { grid-template-columns: 1fr; max-width: 440px; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero    { padding: 100px 0 80px; }

  .nav-toggle { display: block; }
  .nav-discord-btn { display: none; }

  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    gap: 0;
    padding: 12px var(--gutter) 20px;
    background: var(--header-bg-scrolled);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-bottom: 1px solid var(--header-border);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease), opacity 0.25s var(--ease);
    visibility: hidden;
    opacity: 0;
  }
  .nav-links.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .nav-links a:hover::after { display: none; }
  .nav-links li:last-child a { border-bottom: none; }

  .rules-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }

  .hero-emblem  { width: 144px; height: 144px; }
  .hero-logo    { width: 92px; height: 92px; }

  .discord-panel { padding: 40px 28px 32px; }
  .discord-meta  { gap: 12px; }
}

@media (max-width: 480px) {
  .identity-grid { grid-template-columns: 1fr; }
  .hero { padding: 84px 0 64px; }
  .hero-emblem { width: 124px; height: 124px; margin-bottom: 32px; }
  .hero-logo   { width: 78px; height: 78px; }
  .hero-actions .btn { flex: 1 1 180px; }
  .discord-panel { padding: 32px 20px 28px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .discord-meta { flex-direction: column; align-items: center; gap: 8px; }
}

/* ===== Hareket Azaltma ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo img, .hero-meta-dot, .hero-emblem::before, .bg-grid { animation: none; }
  * { transition-duration: 0.001s !important; }
}

/* ==========================================================
   FAZ 2.1 — Arayüz Kalite Yükseltmesi
   ========================================================== */

/* ─── Aktif Gezinme Bağlantısı ─── */
.nav-links a.is-active {
  color: var(--text);
  font-weight: 600;
}
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* ─── Profil Kart Aksiyonları ─── */
.profile-card-actions {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ─── Oyun Kartı — Fare Takip Işığı ─── */
.game-card { isolation: isolate; }
.game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(160px circle at var(--mx, -200px) var(--my, -200px),
    var(--accent-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.game-card:hover::after { opacity: 1; }
.game-card .game-thumb,
.game-card .game-card-body { position: relative; z-index: 1; }

/* ─── Platform Özellik Kartı — Fare Takip Işığı ─── */
.platform-feature { isolation: isolate; }
.platform-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(160px circle at var(--mx, -200px) var(--my, -200px),
    var(--accent-glow), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.platform-feature:hover::after { opacity: 1; }
.platform-feature-label,
.platform-feature h3,
.platform-feature p { position: relative; z-index: 1; }

/* ─── Hero Platform Durumu Satırı ─── */
.hero-platform-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-platform-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  white-space: nowrap;
}
.hero-platform-stat-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  flex-shrink: 0;
  animation: pulse 2.2s ease-in-out infinite;
}
.hero-platform-stat.is-pending .hero-platform-stat-dot {
  background: var(--muted);
  box-shadow: none;
  animation: none;
}
.hero-platform-stat.is-active .hero-platform-stat-dot {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.6);
}

/* ─── Liderlik Podyumu (İlk 3) ─── */
.lb-podium {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 12px;
  max-width: 660px;
  margin: 0 auto 32px;
  align-items: flex-end;
}
.lb-podium-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.lb-podium-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.lb-podium-card.rank-1 {
  padding-top: 28px;
  border-color: rgba(245,158,11,0.28);
  background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, var(--surface) 55%);
}
.lb-podium-card.rank-2 { border-color: rgba(148,163,184,0.16); }
.lb-podium-card.rank-3 { border-color: rgba(180,83,9,0.16); }
.lb-podium-card.rank-1::before {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,158,11,0.5), transparent);
}
.lb-podium-crown {
  font-size: 20px;
  margin-bottom: 6px;
  line-height: 1;
}
.lb-podium-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 0 auto 10px;
}
.lb-podium-card.rank-1 .lb-podium-avatar {
  width: 52px; height: 52px;
  font-size: 17px;
  border-color: rgba(245,158,11,0.45);
  color: #f59e0b;
}
.lb-podium-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.lb-podium-score {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
.lb-podium-card.rank-1 .lb-podium-score { font-size: 20px; color: #f59e0b; }
.lb-podium-card.rank-2 .lb-podium-score { color: #94a3b8; }
.lb-podium-card.rank-3 .lb-podium-score { color: #b45309; }
.lb-podium-pos {
  position: absolute;
  top: 8px; right: 10px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
  opacity: 0.6;
}
.lb-podium-pts {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

/* ─── Profil Kart Başlık Bandı ─── */
.profile-card-banner {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 68px;
  background: linear-gradient(135deg,
    var(--accent-glow-strong) 0%,
    var(--accent-glow) 60%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.profile-card {
  position: relative;
  isolation: isolate;
}
.profile-card > * { position: relative; z-index: 1; }

/* ─── Profil Rozet Satırı ─── */
.profile-badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 0 0 18px;
}
.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile-badge.is-featured {
  background: var(--accent-soft);
  border-color: var(--accent-glow);
  color: var(--accent);
}

/* ─── Sayfa Hero — İkon Alanı ─── */
.page-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 14px;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ─── Oyun Thumbnail Renklendirme ─── */
.game-thumb-a { background: linear-gradient(135deg, #0a1225 0%, #152248 100%); }
.game-thumb-b { background: linear-gradient(135deg, #0a1a0c 0%, #122a16 100%); }
.game-thumb-c { background: linear-gradient(135deg, #18091a 0%, #28122e 100%); }
.game-thumb-d { background: linear-gradient(135deg, #1a1808 0%, #2a2812 100%); }

/* ─── Açık Tema — Oyun Thumbnail ─── */
[data-theme="light"] .game-thumb-a { background: linear-gradient(135deg, #dce8f8 0%, #c0d8f0 100%); }
[data-theme="light"] .game-thumb-b { background: linear-gradient(135deg, #d8f0da 0%, #b8e8c0 100%); }
[data-theme="light"] .game-thumb-c { background: linear-gradient(135deg, #f0d8f4 0%, #e0b8ea 100%); }
[data-theme="light"] .game-thumb-d { background: linear-gradient(135deg, #f4f0d0 0%, #ece0a8 100%); }

/* ─── Platformu Bekleyen Not Kutusu ─── */
.prep-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.prep-note-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

/* ─── Responsive — Faz 2.1 Eklemeleri ─── */
@media (max-width: 760px) {
  .lb-podium { grid-template-columns: 1fr; align-items: stretch; }
  .lb-podium-card.rank-1 .lb-podium-avatar { width: 44px; height: 44px; font-size: 14px; }
  .lb-podium-card.rank-1 .lb-podium-score { font-size: 16px; }
  .hero-platform-row { gap: 7px; }
  .hero-platform-stat { font-size: 9.5px; padding: 5px 11px; }
}

/* ==========================================================
   FAZ 1 — Platform Bileşenleri
   ========================================================== */

/* ===== Sayfa Hero (İç Sayfalar) ===== */
.page-hero {
  padding: 72px 0 52px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  margin-bottom: 12px;
  background: var(--hero-h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .page-hero-sub {
  font-size: clamp(14px, 1.5vw, 17px);
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== Notice Badge ===== */
.notice-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.notice-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ===== Platform Feature Cards ===== */
.platform-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.platform-feature {
  position: relative;
  padding: 28px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.platform-feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: width 0.4s var(--ease);
}
.platform-feature:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.platform-feature:hover::before { width: 100%; }
.platform-feature-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.platform-feature h3 { font-size: 16px; margin-bottom: 8px; }
.platform-feature p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ===== Game Cards ===== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.game-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.3s var(--ease);
}
.game-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.game-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.game-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.25));
}
.game-thumb-mark {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--muted);
  z-index: 1;
}
.game-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.game-card-body h3 { font-size: 15px; margin-bottom: 5px; }
.game-card-body p { font-size: 13px; color: var(--muted); margin: 0 0 12px; flex: 1; line-height: 1.5; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 10px;
  width: fit-content;
}
.status-pill.is-active   { background: rgba(34,197,94,0.10); color: #22c55e; border: 1px solid rgba(34,197,94,0.22); }
.status-pill.is-pending  { background: var(--accent-soft); color: var(--muted); border: 1px solid var(--line); }
.status-pill.is-transfer { background: rgba(234,179,8,0.09); color: #ca8a04; border: 1px solid rgba(234,179,8,0.22); }
.status-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.game-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.55;
  text-align: center;
}
.game-card-action.is-ready {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-color: transparent;
  color: #fff;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
}
.game-card-action.is-ready:hover { transform: translateY(-2px); box-shadow: var(--shadow-btn); }

/* ===== Filter Tabs ===== */
.filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}
.filter-tab:hover { border-color: var(--line-strong); color: var(--text); }
.filter-tab.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.filter-tab .count { font-family: var(--font-mono); font-size: 10px; opacity: 0.65; margin-left: 4px; }

/* ===== Leaderboard ===== */
.leaderboard-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}
.leaderboard-wrap-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.leaderboard-wrap-head h3 { margin: 0; font-size: 15px; }
.demo-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
}
.leaderboard-table th {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
}
.leaderboard-table th:last-child { text-align: right; }
.leaderboard-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  vertical-align: middle;
}
.leaderboard-table tbody tr:last-child td { border-bottom: none; }
.leaderboard-table tbody tr:hover td { background: var(--surface-soft); }
.lb-rank {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  width: 52px;
}
.lb-rank-1 { color: #f59e0b; }
.lb-rank-2 { color: #94a3b8; }
.lb-rank-3 { color: #b45309; }
.lb-user { display: flex; align-items: center; gap: 12px; }
.lb-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.lb-username { font-weight: 600; font-size: 14px; color: var(--text); }
.lb-game { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.lb-score {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
}
.lb-score-label { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lb-score-label .val { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--accent); }
.lb-score-label .sub { font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.1em; }
.lb-note {
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
}

/* ===== Auth Card ===== */
.auth-section {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px var(--gutter);
  position: relative;
  z-index: 1;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 44px 40px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.auth-card::before {
  content: "";
  position: absolute;
  top: 0; left: 16%; right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  text-decoration: none;
}
.auth-brand img { width: 26px; height: 26px; object-fit: contain; filter: var(--logo-filter); }
.auth-brand span { font-family: var(--font-display); font-weight: 700; font-size: 13.5px; letter-spacing: 0.16em; color: var(--text); }
.auth-title { font-size: 22px; margin-bottom: 5px; }
.auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }
.auth-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 22px;
  line-height: 1.55;
}
.auth-notice-icon { color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--text-soft); margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  box-sizing: border-box;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-input::placeholder { color: var(--muted); }
.form-input:disabled { opacity: 0.45; cursor: not-allowed; }
.form-submit {
  width: 100%;
  padding: 13px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  border: none;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.75;
  margin-top: 8px;
}
.form-footer { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted); }
.form-footer a { color: var(--accent); font-weight: 500; }
.form-footer a:hover { text-decoration: underline; }

/* ===== Profile ===== */
.profile-section {
  padding: 48px 0 80px;
  position: relative;
  z-index: 1;
}
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 30px 22px;
  position: relative;
}
.profile-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.profile-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.profile-handle { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 16px; }
.profile-rank-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 999px;
  margin-bottom: 18px;
}
.profile-rank-pill .r-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.profile-rank-pill .r-val { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); }
.profile-stats-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.psm-item {
  padding: 10px 8px;
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
  text-align: center;
}
.psm-val { font-family: var(--font-mono); font-size: 17px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.psm-lbl { font-size: 10.5px; color: var(--muted); }
.profile-bio { font-size: 13px; color: var(--text-soft); line-height: 1.6; margin-bottom: 18px; text-align: left; }
.profile-content { display: flex; flex-direction: column; gap: 16px; }
.profile-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.profile-panel-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.profile-panel-head h3 { margin: 0; font-size: 14px; }
.profile-panel-body { padding: 18px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-card { padding: 16px 12px; background: var(--surface-strong); border-radius: var(--radius-sm); text-align: center; }
.stat-card .val { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--text); display: block; margin-bottom: 3px; }
.stat-card .lbl { font-size: 11px; color: var(--muted); }
.games-history { display: flex; flex-direction: column; gap: 8px; }
.game-history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.game-history-row .game-name { font-weight: 600; color: var(--text); }
.game-history-row .game-score { font-family: var(--font-mono); font-size: 13px; color: var(--accent); font-weight: 700; }
.game-history-row .game-meta { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }

/* ===== Footer Grid ===== */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.footer-brand-logo {
  max-width: 150px;
  height: auto;
  filter: var(--logo-filter);
  opacity: 0.8;
  margin-bottom: 12px;
  display: block;
  transition: opacity 0.2s var(--ease);
}
.footer-brand-logo:hover { opacity: 1; }
.footer-tagline { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13.5px; color: var(--text-soft); transition: color 0.15s var(--ease); }
.footer-col ul a:hover { color: var(--text); }
.footer-note { font-family: var(--font-mono); font-size: 10.5px; opacity: 0.45; }

/* ===== How It Works / Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step-card {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 18px; height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.step-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.step-card:hover::before { width: 100%; }
.step-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--accent); font-weight: 600; margin-bottom: 12px; display: block; }
.step-card h3 { font-size: 15px; margin-bottom: 7px; }
.step-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ===== Discord CTA (secondary) ===== */
.discord-cta { padding: 60px 0; position: relative; z-index: 1; }
.discord-cta-inner {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.discord-cta-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.discord-cta h3 { font-size: 19px; margin-bottom: 8px; }
.discord-cta p { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }

/* ===== Kurallar ===== */
.rules-list { display: flex; flex-direction: column; gap: 12px; max-width: 680px; margin: 0 auto; }
.rule-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease);
}
.rule-card:hover { border-color: var(--line-strong); }
.rule-card-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0; margin-top: 1px; }
.rule-card-body h4 { font-size: 14.5px; font-family: var(--font-display); font-weight: 600; margin: 0 0 4px; color: var(--text); }
.rule-card-body p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ===== Prose ===== */
.prose { max-width: 620px; margin: 0 auto; font-size: 15px; line-height: 1.75; color: var(--text-soft); }
.prose h2 { font-size: 19px; color: var(--text); margin: 32px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose blockquote {
  border-left: 2px solid var(--accent);
  padding: 10px 0 10px 20px;
  margin: 24px 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}
.prose ul { padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { display: flex; gap: 12px; font-size: 14px; }
.prose ul li::before { content: "—"; color: var(--accent); font-weight: 600; flex-shrink: 0; }

/* ===== 404 Sayfası ===== */
.error-page {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px var(--gutter);
  text-align: center;
  position: relative;
  z-index: 1;
}
.error-inner { max-width: 440px; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--hero-h1-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 0.9;
  margin-bottom: 24px;
}
.error-msg { font-size: 20px; color: var(--text-soft); margin-bottom: 8px; }
.error-sub { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

/* ===== Bağlantı ===== */
.connect-section { padding: 60px 0 80px; position: relative; z-index: 1; }
.connect-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.connect-card::before {
  content: "";
  position: absolute;
  top: 0; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.connect-card-body { padding: 44px 36px 40px; text-align: center; }
.connect-icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 14px;
  color: var(--accent);
}
.connect-card h2 { margin-bottom: 10px; }
.connect-card p { color: var(--muted); margin-bottom: 26px; font-size: 14.5px; line-height: 1.65; }

/* ===== Responsive — Platform Bileşenler ===== */
@media (max-width: 1024px) {
  .platform-features { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .profile-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .page-hero { padding: 52px 0 36px; }
  .platform-features { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 22px; }
  .connect-card-body { padding: 36px 24px 30px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-stats-mini { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 26px 18px; }
  .footer-grid { row-gap: 22px; }
}

/* ==========================================================
   FAZ 2.2 — Arayüz Baştan Güçlendirildi
   ========================================================== */

/* ─── Giriş / Kayıt — İki Sütunlu Düzen ─── */
.auth-split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
  position: relative;
  z-index: 1;
}
.auth-split-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 60%),
              var(--surface-soft);
}
.auth-split-brand::before {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 80%; height: 80%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.auth-split-brand-inner { position: relative; z-index: 1; max-width: 380px; }

.auth-split-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 56px;
  position: relative;
  z-index: 1;
}
.auth-form-wrap { width: 100%; max-width: 400px; }

.auth-panel-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  text-decoration: none;
}
.auth-panel-logo img {
  width: 28px; height: 28px;
  object-fit: contain;
  filter: var(--logo-filter);
}
.auth-panel-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.auth-panel-heading { margin-bottom: 36px; }
.auth-panel-heading h2 {
  font-size: clamp(22px, 2.5vw, 29px);
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.auth-panel-heading p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  max-width: 340px;
}
.auth-benefit-list { display: flex; flex-direction: column; gap: 20px; }
.auth-benefit-item { display: flex; align-items: flex-start; gap: 14px; }
.auth-benefit-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.auth-benefit-text h4 {
  font-size: 13.5px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 4px;
}
.auth-benefit-text p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}
.auth-split-brand-watermark {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 210px; height: 210px;
  pointer-events: none;
  z-index: 0;
}
.auth-split-brand-watermark img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: var(--logo-filter);
  opacity: 0.04;
}

/* ─── Profil Kapak Bölümü ─── */
.profile-cover {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  z-index: 1;
}
.profile-cover::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 170px;
  background: linear-gradient(135deg,
    var(--accent-glow-strong) 0%,
    var(--accent-glow) 45%,
    transparent 80%);
  pointer-events: none;
}
.profile-cover-inner {
  position: relative;
  z-index: 1;
  padding: 36px 0 0;
}
.profile-cover-top {
  display: flex;
  align-items: flex-end;
  gap: 22px;
  padding-bottom: 22px;
}
.profile-cover-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 3px solid var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.profile-cover-info { flex: 1; padding-bottom: 6px; }
.profile-cover-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.1;
}
.profile-cover-handle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.profile-cover-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-cover-actions { display: flex; gap: 8px; padding-bottom: 6px; flex-shrink: 0; }

.profile-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.profile-stat-cell {
  padding: 18px 14px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.profile-stat-cell:last-child { border-right: none; }
.profile-stat-cell .val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 3px;
  line-height: 1;
}
.profile-stat-cell .lbl { font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }
.profile-stat-cell.is-rank .val { color: var(--accent); }

/* ─── Profil Gövde ─── */
.profile-body { padding: 28px 0 80px; position: relative; z-index: 1; }
.profile-body-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  align-items: start;
}

/* ─── Başarımlar ─── */
.achievement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.achievement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 6px;
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
  text-align: center;
  opacity: 0.35;
  transition: opacity 0.2s var(--ease);
}
.achievement-item:hover { opacity: 0.6; }
.achievement-item.is-earned { opacity: 1; }
.achievement-icon { font-size: 20px; margin-bottom: 5px; line-height: 1; }
.achievement-name {
  font-size: 8.5px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  line-height: 1.3;
}

/* ─── Platform Özellik Kartı — İkon ─── */
.platform-feature-icon {
  width: 40px; height: 40px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.platform-feature:hover .platform-feature-icon {
  background: var(--accent-glow);
  border-color: var(--accent);
}

/* ─── Hakkında Sayfası Kart Izgarası ─── */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.about-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 20px; height: 1.5px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}
.about-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.about-card:hover::before { width: 100%; }
.about-card-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.about-card-body h4 {
  font-size: 14.5px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 5px;
}
.about-card-body p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ─── Responsive — Faz 2.2 ─── */
@media (max-width: 1024px) {
  .profile-body-grid { grid-template-columns: 1fr; }
  .profile-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .profile-stat-cell:nth-child(even) { border-right: none; }
  .profile-stat-cell:nth-child(1),
  .profile-stat-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about-grid { max-width: 480px; grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .auth-split-page { grid-template-columns: 1fr; }
  .auth-split-brand { display: none; }
  .auth-split-form { padding: 40px var(--gutter); min-height: calc(100vh - 68px); align-items: flex-start; padding-top: 44px; }
  .profile-cover-top { gap: 16px; }
  .profile-cover-avatar { width: 70px; height: 70px; font-size: 24px; }
  .profile-cover-actions { width: 100%; }
}
@media (max-width: 480px) {
  .auth-split-form { padding: 28px var(--gutter); }
  .profile-stats-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================
   FAZ 2.3 — Tüm Sayfa Arayüz Kalite Turu
   ========================================================== */

/* ─── Kurallar — Geliştirilmiş Kart ─── */
.rules-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}
.rule-card-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 22px 22px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
}
.rule-card-v2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}
.rule-card-v2:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}
.rule-card-v2-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rule-card-v2-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
}
.rule-card-v2-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.16em;
}
.rule-card-v2 h4 {
  font-size: 15px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin: 0;
}
.rule-card-v2 p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ─── Discord Bilgi Izgarası ─── */
.discord-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 740px;
  margin: 0 auto 48px;
}
.discord-info-item {
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.discord-info-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.discord-info-item-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
.discord-info-item h4 {
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 5px;
}
.discord-info-item p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ─── Responsive — Faz 2.3 ─── */
@media (max-width: 760px) {
  .rules-grid-2col { grid-template-columns: 1fr; max-width: 540px; }
  .discord-info-grid { grid-template-columns: 1fr; max-width: 400px; }
  .rule-card-v2:hover { transform: none; }
}

/* ==========================================================
   FAZ 2.4 — Giriş ve Kayıt Sayfaları Kalite Yükseltmesi
   ========================================================== */

/* ─── Auth Shell Genel Düzeni ─── */
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
  position: relative;
  z-index: 1;
}

/* ─── Sol: Marka Paneli ─── */
.auth-brand-panel {
  display: flex;
  flex-direction: column;
  padding: 60px 52px;
  border-right: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.auth-brand-panel::before {
  content: "";
  position: absolute;
  top: -10%; left: -5%;
  width: 75%; height: 75%;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.auth-brand-panel::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(180deg, transparent, var(--accent-glow));
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}
.auth-brand-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 380px;
}
.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 48px;
  text-decoration: none;
}
.auth-brand-logo img {
  width: 28px; height: 28px;
  object-fit: contain;
  filter: var(--logo-filter);
}
.auth-brand-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.auth-brand-heading { margin-bottom: 36px; }
.auth-brand-heading h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}
.auth-brand-heading p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  max-width: 320px;
}
.auth-brand-items { display: flex; flex-direction: column; gap: 18px; }
.auth-brand-item { display: flex; align-items: flex-start; gap: 13px; }
.auth-brand-item-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
}
.auth-brand-item-text h4 {
  font-size: 13.5px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 3px;
}
.auth-brand-item-text p {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.auth-brand-status {
  margin-top: auto;
  padding-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  width: fit-content;
  margin-top: 40px;
}
.auth-brand-status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
.auth-brand-watermark {
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  pointer-events: none;
  z-index: 0;
}
.auth-brand-watermark img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: var(--logo-filter);
  opacity: 0.04;
}

/* ─── Sağ: Form Paneli ─── */
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 52px;
  position: relative;
  z-index: 1;
}

/* ─── Form Kartı ─── */
.auth-form-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, transparent 40%), var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  padding: 40px 36px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.auth-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  pointer-events: none;
}
.auth-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.auth-card-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.5;
}
.auth-prep-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 13px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 22px;
  line-height: 1.5;
}
.auth-prep-notice svg { color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ─── Form Alanları ─── */
.auth-form-fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.auth-field { display: flex; flex-direction: column; gap: 5px; }
.auth-field-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}
.auth-field-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  -webkit-appearance: none;
}
.auth-field-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.auth-field-input::placeholder { color: var(--muted); }
.auth-field-input:disabled {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--muted);
  cursor: default;
  opacity: 0.7;
}

/* ─── Hazırlık Butonu ─── */
.auth-btn-prep {
  width: 100%;
  margin-top: 6px;
  padding: 13px 20px;
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.15s var(--ease);
  position: relative;
  overflow: hidden;
}
.auth-btn-prep::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transition: left 0.6s var(--ease);
}
.auth-btn-prep:hover::before { left: 100%; }
.auth-btn-prep:hover { background: var(--surface-hover); }
.auth-btn-prep-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

/* ─── Sonuç Mesajı ─── */
.auth-result-msg {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-glow);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--accent);
  text-align: center;
  line-height: 1.5;
}
.auth-result-msg.is-visible { display: block; }

/* ─── Alt Bağlantı ─── */
.auth-card-foot {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.auth-card-foot a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.auth-card-foot a:hover { text-decoration: underline; }

/* ─── Mobil Kompakt Marka Şeridi ─── */
.auth-mobile-bar {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--header-bg-scrolled);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  z-index: 1;
}
.auth-mobile-bar img {
  width: 22px; height: 22px;
  object-fit: contain;
  filter: var(--logo-filter);
  flex-shrink: 0;
}
.auth-mobile-bar-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text);
}
.auth-mobile-bar-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.auth-mobile-bar-status span {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
  display: block;
}

/* ─── Responsive — Faz 2.4 ─── */
@media (max-width: 900px) {
  .auth-brand-panel { padding: 48px 40px; }
  .auth-form-panel { padding: 48px 40px; }
}
@media (max-width: 760px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand-panel { display: none; }
  .auth-mobile-bar { display: flex; }
  .auth-form-panel { padding: 36px var(--gutter) 48px; align-items: flex-start; }
  .auth-form-card { padding: 32px 24px 28px; }
}
@media (max-width: 480px) {
  .auth-form-panel { padding: 24px var(--gutter) 40px; }
  .auth-form-card { padding: 26px 18px 22px; border-radius: var(--radius-lg); }
}

/* ==========================================================
   FAZ 2.5 — Son Arayüz Cila Turu ve Mobil Kontrol
   ========================================================== */

/* ─── Liderlik Tablosu Mobil Kaydırma ─── */
.leaderboard-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.leaderboard-table {
  min-width: 460px;
}

/* ─── İçten Sayfa Hero — Küçük Başlık ─── */
.page-hero h1 {
  font-size: clamp(34px, 7vw, 64px);
}

/* ─── Footer Bottom — Mobil Sarma ─── */
@media (max-width: 540px) {
  .footer-bottom { flex-wrap: wrap; justify-content: center; text-align: center; }
  .footer-note { width: 100%; text-align: center; }
}

/* ─── 380px Dar Telefon Özel ─── */
@media (max-width: 380px) {
  :root { --gutter: 16px; }

  /* Hero */
  .hero { padding: 72px 0 52px; }
  .hero-emblem { width: 110px; height: 110px; }
  .hero-logo { width: 68px; height: 68px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { flex: none; width: 100%; justify-content: center; }
  .hero-platform-row { gap: 6px; }
  .hero-platform-stat { font-size: 9px; padding: 5px 10px; letter-spacing: 0.10em; }

  /* Bölümler */
  .section { padding: 56px 0; }
  .page-hero { padding: 44px 0 28px; }

  /* Kartlar */
  .game-card-body { padding: 12px 14px 16px; }
  .step-card { padding: 18px 16px; }

  /* Profil kapak */
  .profile-cover-avatar { width: 58px; height: 58px; font-size: 20px; }
  .profile-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .profile-stat-cell { padding: 14px 10px; }
  .profile-stat-cell .val { font-size: 17px; }

  /* Giriş/Kayıt */
  .auth-form-card { padding: 22px 16px 20px; }
  .auth-card-title { font-size: 19px; }

  /* Footer */
  .footer-grid { row-gap: 18px; }
  .footer-bottom { padding-top: 16px; }
  .footer-brand-logo { max-width: 120px; }
}

/* ─── 360px Kritik Taşma Önlemi ─── */
@media (max-width: 360px) {
  :root { --gutter: 12px; }
  .hero-platform-row { display: none; }
}

/* ─── Oyunlar Sayfası Filtre Alanı Mobil ─── */
@media (max-width: 540px) {
  .filter-tabs { gap: 5px; }
  .filter-tab { padding: 7px 12px; font-size: 12px; }
}

/* ─── Podyum Mobil ─── */
@media (max-width: 480px) {
  .lb-podium-card { padding: 16px 10px; }
  .lb-podium-card.rank-1 { padding-top: 22px; }
  .lb-podium-crown { font-size: 18px; }
}

/* ─── Bağlantı Sayfası 360px ─── */
@media (max-width: 480px) {
  .connect-card-body { padding: 28px 18px 24px; }
  .discord-info-grid { margin-bottom: 32px; }
}

/* ─── Kurallar Kartı Hizası ─── */
@media (max-width: 380px) {
  .rule-card-v2 { padding: 16px 16px 16px 20px; }
}

/* ─── 404 Sayfası ─── */
@media (max-width: 480px) {
  .error-code-glyph { font-size: clamp(88px, 22vw, 160px); }
  .error-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .error-actions .btn { width: 100%; justify-content: center; }
}

/* ─── Geniş Ekran (1920px+) İçerik Sabitleme ─── */
@media (min-width: 1600px) {
  .hero-inner { max-width: 840px; }
  .section-head { max-width: 680px; }
}

/* ─── Açık Tema Kontrast Güçlendirme ─── */
[data-theme="light"] .hero-glyph {
  -webkit-text-stroke-color: rgba(18,28,48,0.06);
}
[data-theme="light"] .notice-box {
  background: rgba(34,64,184,0.07);
}
[data-theme="light"] .demo-badge {
  border-color: rgba(18,28,48,0.18);
  color: var(--text-soft);
}
[data-theme="light"] .lb-note {
  color: var(--text-soft);
}
[data-theme="light"] .step-num {
  color: var(--accent);
}

/* ─── Kızıl/Mor/Mavi Tema Okunma İyileştirmesi ─── */
[data-theme="red"] .hero h1,
[data-theme="purple"] .hero h1,
[data-theme="blue"] .hero h1 {
  filter: none;
}
[data-theme="red"] .page-hero h1 {
  background: linear-gradient(180deg, #fff 0%, #f4c0b0 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="purple"] .page-hero h1 {
  background: linear-gradient(180deg, #fff 0%, #d8c0f0 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Hareket Azaltma — Faz 2.5 Ek Kurallar ─── */
@media (prefers-reduced-motion: reduce) {
  .auth-brand-status-dot,
  .auth-btn-prep-dot,
  .auth-mobile-bar-status span,
  .hero-platform-stat-dot { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   Faz 3.3 — Giriş / Kayıt Sistemi Buton ve Mesaj Stilleri
   ═══════════════════════════════════════════════════════════ */

/* ─── Gerçek Gönderme Butonu ─── */
.auth-btn-submit {
  width: 100%;
  margin-top: 6px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), opacity 0.2s;
  box-shadow: var(--shadow-btn);
  position: relative;
  overflow: hidden;
}
.auth-btn-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.55s var(--ease);
}
.auth-btn-submit:hover::before { left: 100%; }
.auth-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}
.auth-btn-submit:active { transform: translateY(0); }
.auth-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ─── Sonuç Mesajı — Başarı / Hata Renkleri ─── */
.auth-result-msg.is-success {
  color: #34d399;
  background: rgba(52,211,153,0.08);
  border-color: rgba(52,211,153,0.25);
}
.auth-result-msg.is-error {
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border-color: rgba(248,113,113,0.25);
}

[data-theme="light"] .auth-result-msg.is-success { color: #059669; }
[data-theme="light"] .auth-result-msg.is-error   { color: #dc2626; }

@media (prefers-reduced-motion: reduce) {
  .auth-btn-submit,
  .auth-btn-submit::before { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Faz 3.4 — Profil Sayfası Dinamik Stiller
   ═══════════════════════════════════════════════════════════ */

/* ─── Giriş Gerekli Durumu ─── */
.profile-login-required {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px var(--gutter);
}
.profile-login-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 48px 36px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.profile-login-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  opacity: 0.7;
}
.profile-login-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.profile-login-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 0 28px;
}
.profile-login-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ─── Bio Textarea ─── */
.profile-bio-textarea {
  resize: vertical;
  min-height: 72px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ─── Çıkış Butonu ─── */
.profile-logout-btn {
  font-size: 0.8125rem;
  padding: 7px 14px;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.profile-logout-btn:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   Faz 3.5 — Liderlik Sıralaması Gerçek Veri Stilleri
   ═══════════════════════════════════════════════════════════ */

/* ─── Oyun Seçici ─── */
.lb-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.lb-filter-btn {
  padding: 8px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-soft);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.lb-filter-btn:hover {
  background: var(--surface-hover);
  color: var(--text);
}
.lb-filter-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* ─── Durum Mesajları ─── */
.lb-loading, .lb-empty, .lb-error {
  text-align: center;
  padding: 32px 16px;
  font-size: 0.875rem;
  color: var(--text-soft);
  margin: 0;
}
.lb-error { color: #f87171; }

@media (prefers-reduced-motion: reduce) {
  .lb-filter-btn { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Faz 3.8 — Kalıcı Oturum ve Profil Arayüzü Revizyonu
   ═══════════════════════════════════════════════════════════ */

/* ─── Avatar — Glow Varyantı ─── */
.profile-cover-avatar--glow {
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 0 3px var(--accent-glow),
    0 0 18px var(--accent-glow);
}

/* ─── Giriş Gerekli Kart — Bağlantı Butonları ─── */
.profile-login-btn {
  text-decoration: none;
}
.profile-login-ghost {
  text-decoration: none;
}
.profile-login-card {
  box-shadow: var(--shadow-lg), inset 0 1px 0 var(--line-strong);
}
.profile-login-icon {
  opacity: 0.85;
}

/* ─── Panel — Alt Boşluk Varyantı ─── */
.profile-panel--gap {
  margin-bottom: 16px;
}

/* ─── Panel İyileştirmeleri ─── */
.profile-panel {
  transition: border-color 0.2s var(--ease);
}
.profile-panel:hover {
  border-color: var(--line-strong);
}
.profile-panel-head {
  background: var(--surface-soft);
}
.profile-panel-head h3 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
}

/* ─── Bio Metin ─── */
.profile-bio-text {
  font-size: 13.5px;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.65;
}

/* ─── Yakında Mesajı ─── */
.profile-coming-soon {
  font-size: 11.5px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.6;
  text-align: center;
}
.profile-coming-soon--center-off {
  text-align: left;
}

/* ─── Profil Form Alanı ─── */
.profile-form-field {
  margin-bottom: 14px;
}

/* ─── İstatistik Kartları İyileştirmesi ─── */
.stat-card {
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.stat-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.stat-card .val {
  color: var(--accent);
}

/* ─── Profil Kapak — İsim Boyutu ─── */
.profile-cover-name {
  font-size: 22px;
}

/* ─── Başarım Izgarası — İnce Çerçeve ─── */
.achievement-item {
  border: 1px solid var(--line);
}
.achievement-item:hover {
  border-color: var(--line-strong);
}
.achievement-item.is-earned {
  border-color: var(--accent-glow);
}

/* ─── Çıkış Butonu ─── */
.profile-logout-btn {
  opacity: 0.7;
}
.profile-logout-btn:hover {
  opacity: 1;
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .profile-panel,
  .stat-card { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Faz 3.8.1 — Global Giriş Durumu ve Profil Arayüzü Düzeltmesi
   ═══════════════════════════════════════════════════════════ */

/* ─── Nav Kullanıcı Kapsülü ─── */
.nav-user-capsule {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  height: 36px;
}

.nav-user-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1.5px solid var(--accent-glow);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin: 4px;
  text-transform: uppercase;
}

.nav-user-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  max-width: 88px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 8px 0 2px;
  transition: color 0.15s var(--ease);
}

.nav-user-name:hover { color: var(--text); }

.nav-user-logout {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  border-left: 1px solid var(--line);
  cursor: pointer;
  padding: 0 10px;
  height: 100%;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
  white-space: nowrap;
}

.nav-user-logout:hover {
  color: var(--text);
  background: var(--surface-soft);
}

/* ─── Profil Kapak — Kompakt Revizyon ─── */
.profile-cover::before {
  background: linear-gradient(135deg,
    var(--accent-glow) 0%,
    var(--accent-soft) 55%,
    transparent 85%);
  height: 140px;
}

.profile-cover-inner {
  padding-top: 24px;
}

.profile-cover-avatar {
  width: 76px; height: 76px;
  font-size: 26px;
}

.profile-cover-top {
  padding-bottom: 18px;
}

.profile-cover-name {
  font-size: 20px;
}

/* ─── Kapak Puan Göstergesi ─── */
.profile-cover-score {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 6px;
}

.profile-cover-score #js-profile-cover-points {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

.profile-cover-score-lbl {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Mobil Nav Kapsül ─── */
@media (max-width: 760px) {
  .nav-user-name { display: none; }
  .nav-user-capsule { height: 34px; }
  .nav-user-avatar { width: 24px; height: 24px; font-size: 9px; margin: 3px; }
  .nav-user-logout { padding: 0 8px; }
  .profile-cover-avatar { width: 64px; height: 64px; font-size: 22px; }
}

@media (max-width: 480px) {
  .nav-user-logout { padding: 0 7px; font-size: 10px; }
  .profile-cover-avatar { width: 56px; height: 56px; font-size: 19px; }
  .profile-cover-name { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-user-name,
  .nav-user-logout { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   Faz 4.2 — Tetris Profil ve Liderlik Deneyimi
   ═══════════════════════════════════════════════════════════ */

/* ─── Tetris / Oyun Özet Kartı ─── */
.game-summary-card {
  background: var(--surface-strong);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 14px 12px;
  margin-bottom: 16px;
}
.game-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.game-summary-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.game-summary-play-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.15s var(--ease);
}
.game-summary-play-link:hover { opacity: 1; text-decoration: underline; }
.game-summary-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.game-summary-stat {
  text-align: center;
  padding: 8px 4px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.game-summary-stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.game-summary-stat-lbl {
  display: block;
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── Oyun Geçmişi Bölüm Başlığı ─── */
.game-hist-section-lbl {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

/* ─── Seviye İlerleme Çubuğu ─── */
.level-progress-wrap {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.level-progress-bar {
  height: 4px;
  background: var(--surface-strong);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 7px;
}
.level-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  border-radius: 2px;
  transition: width 0.5s var(--ease-out);
}
.level-progress-lbl {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 480px) {
  .game-summary-stats { grid-template-columns: repeat(2, 1fr); }
}
