/* ─────────────────────────────────────────────
   dark.css — premium dark Minecraft theme
   (font imports live in index.html)
   ───────────────────────────────────────────── */

:root {
  /* Base palette — deep charcoal, cool */
  --bg-0:        #07090d;     /* deepest */
  --bg-1:        #0c1018;
  --bg-2:        #11161f;
  --bg-3:        #161c27;
  --surface-1:   #181e2a;
  --surface-2:   #1e2535;
  --surface-3:   #252d40;
  --line:        rgba(255,255,255,0.06);
  --line-strong: rgba(255,255,255,0.12);

  /* Accents — launcher-aligned mavi (2026-05-10).
   * Site previously used #4cc9f0 (diamond cyan); launcher had #3FA9F5
   * after the green→blue migration. Unified on launcher's #3FA9F5 so
   * web/launcher/in-game UI üçü tek palette altında konuşuyor.
   */
  --accent:      #3FA9F5;     /* launcher mavi */
  --accent-fg:   #051A2E;     /* dark blue, used inside the logo mark */
  --accent-2:    #ff7d3b;     /* redstone/lava */
  --accent-3:    #b794f4;     /* enchant purple */
  --emerald:     #2bd17e;
  --gold:        #ffc340;
  --redstone:    #ff4242;
  --diamond:     #3FA9F5;     /* alias — eski "diamond" referansları kırılmasın */
  --netherite:   #6b6470;
  --iron:        #d8d8e0;

  /* Tier swatches */
  --tier-iron:      #c8c8d4;
  --tier-gold:      #ffc94d;
  --tier-diamond:   #5dd4ee;
  --tier-netherite: #968b9a;

  /* Phase 0.3: legacy auth.css uses --surface / --bg-alt token names from
     a pre-dark-mode palette. Alias them so `.auth-form` / `.auth-err`
     pick up the right surface fill without we touching the legacy CSS. */
  --surface:        var(--surface-1);
  --bg-alt:         var(--bg-2);

  /* Ink */
  --ink:         #e8edf6;
  --ink-soft:    #a6b0c2;
  --ink-mute:    #6b7488;

  /* Type */
  --font-pixel: "Press Start 2P", monospace;
  --font-body:  "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:  ui-monospace, "SF Mono", Menlo, monospace;

  /* Radii (blocky) */
  --r-1: 2px;
  --r-2: 4px;
  --r-3: 8px;
  --r-4: 14px;

  /* Shadows + glows */
  --shadow-card:   0 24px 60px -24px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-deep:   0 50px 120px -40px rgba(0,0,0,0.9);
  --glow-diamond:  0 0 24px rgba(76,201,240,0.35), 0 0 60px rgba(76,201,240,0.15);
  --glow-orange:   0 0 24px rgba(255,125,59,0.40), 0 0 60px rgba(255,125,59,0.20);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* SITE-AUDIT-FIX v4 (2026-05-18): Axe cursor.
 * MS Windows .cur formati (32x32, hotspot 3,3 dosya icinde gomulu).
 * .cur dosyalari Chrome/Edge/Firefox tarafindan CSS cursor: olarak
 * desteklenir; ICO benzeri yapida olduklari icin hotspot otomatik
 * okunur ve URL'den sonra hotspot belirtmeye gerek YOK (.cur kendi
 * hotspot'unu tasir, override etmek istemiyoruz).
 *
 * NOT: .cur statik tek-frame'dir, animate etmez. Animasyon icin JS overlay
 * gerek (mouse-follow div + sprite frames). */
a, button, [role="button"], label[for], select, input[type="checkbox"], input[type="radio"], input[type="submit"], summary {
  cursor: url("/cursors-mezar/axe.cur"), pointer;
}
input[type="text"], input[type="email"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="url"], textarea {
  cursor: url("/cursors-mezar/axe.cur"), text;
}
button[disabled], a[aria-disabled="true"] {
  cursor: url("/cursors-mezar/axe.cur"), not-allowed;
}
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  cursor: url("/cursors-mezar/axe.cur"), auto;
  transition: background 1.4s cubic-bezier(.5,.05,.3,1);
}
body.daymode {
  background:
    linear-gradient(180deg,
      #6cb1ec 0%,
      #8ec9f1 28%,
      #b8def5 55%,
      #ffd9a8 88%,
      #ffb070 100%);
  --ink: #0e1726;
  --ink-soft: #2c3a55;
  --ink-mute: #4a5878;
  --line: rgba(10,20,40,0.10);
  --line-strong: rgba(10,20,40,0.18);
  --surface-1: rgba(255,255,255,0.78);
  --surface-2: rgba(255,255,255,0.92);
  --surface-3: rgba(255,255,255,1);
  --bg-2: rgba(255,255,255,0.65);
  --bg-3: rgba(255,255,255,0.85);
}
body.daymode .nav { background: color-mix(in oklab, #b8def5 75%, transparent) !important; border-bottom: 1px solid rgba(10,20,40,0.08); }
body.daymode .card,
body.daymode .mode-card,
body.daymode .feat-card,
body.daymode .vip-card,
body.daymode .shop-card,
body.daymode .lw-server-card,
body.daymode .stat-block,
body.daymode .dash-card,
body.daymode .purchase-row {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.78)) !important;
  border-color: rgba(10,20,40,0.10) !important;
  box-shadow: 0 4px 18px rgba(20,40,80,0.10);
}
body.daymode .btn {
  background: rgba(255,255,255,0.85) !important;
  color: #0e1726 !important;
  border-color: rgba(10,20,40,0.18) !important;
}
body.daymode .footer { background: rgba(255,255,255,0.6); border-top: 1px solid rgba(10,20,40,0.08); }
body.daymode .pixel { color: #0e1726; }
body::before {
  transition: opacity 1.4s ease, background 1.4s ease;
}
body.daymode::before {
  background:
    radial-gradient(ellipse 1600px 900px at 78% -5%, rgba(255,228,150,0.55), transparent 60%),
    radial-gradient(ellipse 1200px 700px at 20% 8%, rgba(255,255,255,0.35), transparent 65%),
    radial-gradient(ellipse 1400px 600px at 50% 100%, rgba(255,160,90,0.30), transparent 70%) !important;
}
/* sunrise flash sweep — brief warm wash during toggle */
body.daymode-tx::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 75% 30%, rgba(255,210,140,0.55), rgba(255,170,90,0.18) 40%, transparent 75%);
  animation: sunriseWash 1.6s ease-out forwards;
}
@keyframes sunriseWash {
  0%   { opacity: 0; }
  35%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Day/Night nav toggle */
.dn-toggle {
  background: transparent; border: 0; padding: 0; cursor: inherit;
  display: inline-flex; align-items: center; margin-right: 4px;
}
.dn-track {
  position: relative; width: 56px; height: 28px; border-radius: 999px;
  background: linear-gradient(135deg, #0a1530 0%, #1a2a4f 100%);
  border: 1px solid rgba(255,255,255,0.12);
  display: inline-block; overflow: hidden;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.4);
  transition: background 0.6s ease, border-color 0.6s ease;
}
body.daymode .dn-track {
  background: linear-gradient(135deg, #6cb8ff 0%, #ffc97a 100%);
  border-color: rgba(255,255,255,0.5);
  box-shadow: inset 0 0 12px rgba(255,200,120,0.4);
}
.dn-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff3d8;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4), 0 0 12px rgba(255,243,216,0.4);
  transition: left 0.6s cubic-bezier(.5,1.6,.5,1), background 0.5s, box-shadow 0.5s;
}
.dn-thumb.is-day { left: 31px; background: #ffd860; box-shadow: 0 2px 6px rgba(0,0,0,0.3), 0 0 14px rgba(255,216,96,0.7); }
.dn-ico { position: absolute; transition: opacity 0.4s, transform 0.5s; }
.dn-thumb.is-night .dn-sun { opacity: 0; transform: scale(0.4) rotate(-90deg); }
.dn-thumb.is-night .dn-moon { opacity: 1; transform: scale(1); }
.dn-thumb.is-day .dn-sun { opacity: 1; transform: scale(1) rotate(0); }
.dn-thumb.is-day .dn-moon { opacity: 0; transform: scale(0.4) rotate(90deg); }
.dn-stars { position: absolute; inset: 0; pointer-events: none; opacity: 1; transition: opacity 0.5s; }
.dn-stars i { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 0; box-shadow: 0 0 4px #fff; animation: dnTwink 2s ease-in-out infinite; }
.dn-stars i:nth-child(1) { top: 6px;  left: 8px;  animation-delay: 0s; }
.dn-stars i:nth-child(2) { top: 16px; left: 14px; animation-delay: 0.5s; }
.dn-stars i:nth-child(3) { top: 9px;  left: 22px; animation-delay: 1s; }
.dn-stars i:nth-child(4) { top: 18px; left: 4px;  animation-delay: 1.5s; }
body.daymode .dn-stars { opacity: 0; }
@keyframes dnTwink { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
/* SITE-AUDIT-FIX (2026-05-18): Custom cursor override kaldirildi —
   native browser cursor'lari kullaniliyor (yukarida pointer/text/
   not-allowed kurali yeterli). */

/* Page background — stars layer is a fixed canvas behind everything */
#sky-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 1200px 700px at 20% -10%, rgba(76,201,240,0.10), transparent 60%),
    radial-gradient(ellipse 900px 600px at 90% 10%, rgba(183,148,244,0.08), transparent 60%),
    radial-gradient(ellipse 1000px 600px at 50% 110%, rgba(255,125,59,0.06), transparent 60%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: var(--bg-0); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.pixel { font-family: var(--font-pixel); letter-spacing: -.02em; }
.mono  { font-family: var(--font-mono); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-3);
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--ink);
  cursor: pointer;
  font-weight: 600; font-size: 14px;
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s;
  position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-3); border-color: rgba(255,255,255,.18); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 80%, white 0%), color-mix(in oklab, var(--accent) 80%, black 20%));
  border-color: color-mix(in oklab, var(--accent) 60%, white 30%);
  color: #051218;
  box-shadow: 0 10px 30px -10px rgba(76,201,240,.5), 0 0 0 1px rgba(76,201,240,.3) inset;
}
.btn--primary:hover { box-shadow: 0 14px 36px -10px rgba(76,201,240,.6), var(--glow-diamond); }

.btn--ghost { background: transparent; }

.btn--lg { padding: 16px 26px; font-size: 15px; }

/* ── Section base ── */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; z-index: 1; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 40px; flex-wrap: wrap; }
.section-eyebrow {
  font-family: var(--font-pixel); font-size: 11px; letter-spacing: .15em;
  color: var(--accent); text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; width: 8px; height: 8px; background: var(--accent);
  box-shadow: 0 0 12px var(--accent); display: inline-block;
}
.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(28px, 4vw, 48px);
  margin: 12px 0 0;
  line-height: 1.05;
  text-wrap: balance;
}
.section-sub { color: var(--ink-soft); font-size: 16px; max-width: 560px; margin-top: 14px; }

/* ── Card primitive ── */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface-1), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

/* ── Chip / Badge ── */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(76,201,240,.08);
  border: 1px solid rgba(76,201,240,.25);
  color: var(--accent);
  font-size: 12px; font-weight: 600;
  letter-spacing: .02em;
}
.chip .dot { width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 10px var(--emerald); }

/* ── Pixel block frame (used widely) ── */
.voxel {
  display: inline-block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 2px solid rgba(0,0,0,.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 4px 0 rgba(0,0,0,.4);
}

/* ── NAV ── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px 0;
  background: color-mix(in oklab, var(--bg-0) 70%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-inner > .logo { justify-self: start; }
.nav-inner > .nav-links { justify-self: center; }
.nav-inner > .nav-cta { justify-self: end; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-pixel); font-size: 13px;
  letter-spacing: .02em;
}
/* Brand mark (2026-05-10): launcher TitleBar ile birebir aynı tasarım.
 * Dış: yuvarlak köşeli mavi accent kare. İç: 45° rotated dark accent-fg.
 * launcher-v2/src/lib/components/TitleBar.svelte içindeki span+span
 * pattern'inin CSS'e port edilmiş hâli. ::before ile inner kare çiziliyor
 * ki Nav.jsx tek <span class="logo-cube"></span> ile çalışsın. */
.logo-cube {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--accent);
  position: relative;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 0 18px rgba(63, 169, 245, .35);
}
.logo-cube::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--accent-fg);
  transform: rotate(45deg);
  border-radius: 1px;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-3);
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.nav-links a.is-active {
  color: var(--accent);
  background: rgba(76,201,240,.08);
  box-shadow: inset 0 0 0 1px rgba(76,201,240,.25);
}
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* SITE-AUDIT-FIX (2026-05-18): mobile'da `.nav-links { display: none }` idi —
 * hamburger menu YOK, dolayisiyla 880px alti kullanici nav linklerine hicbir
 * sekilde ulasamiyordu (sadece logo + Giris/Hesap buton kaliyordu). Major nav
 * restructure (BrowserRouter migration v1.1) yasak oldugu icin minimal fix:
 * yatay-kaydirilabilir scroll-strip. Tum linkler erisilebilir kaliyor, pixel-
 * cubuk tasarimina dokunulmuyor. */
@media (max-width: 880px) {
  .nav-links {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    max-width: 100%;
    /* Logo + Giris arasinda squeeze olmasin diye */
    flex: 1 1 auto;
    margin: 0 8px;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}
@media (max-width: 560px) {
  /* Cok dar ekran: logo'nun yaninda nav-links yine scroll, ama font kucult */
  .nav-links a { padding: 6px 8px; font-size: 11px; }
}

/* ── Footer ── */
.footer {
  margin-top: 80px;
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(76,201,240,.02));
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
.footer h5 { font-family: var(--font-pixel); font-size: 11px; letter-spacing: .12em; color: var(--ink); margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { color: var(--ink-soft); font-size: 14px; }
.footer a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; color: var(--ink-mute); font-size: 12px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Reveal ── */
/* 2026-05-09 fix: previously the IntersectionObserver in App.jsx was the
 * ONLY way `.reveal` elements got their `.in` class. With lazy-loaded
 * route pages (every page is React.lazy), the observer's useEffect runs
 * BEFORE the page chunk has rendered — querySelectorAll('.reveal') comes
 * back empty, the new chunk's `.reveal` divs never get observed, and
 * the entire page stays at opacity:0 forever (black-screen symptom).
 *
 * Two-layer fix:
 *   1. CSS fallback animation: 0.7s after element paints, every `.reveal`
 *      auto-reveals via @keyframes. If the JS observer beats it (most
 *      common path), `.reveal.in` overrides with animation:none.
 *   2. App.jsx adds a MutationObserver wrapper so lazy-mounted `.reveal`
 *      elements also get observed — but the CSS fallback is suspenders
 *      to that belt, so a future JS regression can't black-screen us. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s, transform .6s;
  animation: revealAuto 0.6s 0.7s forwards;
}
.reveal.in {
  opacity: 1;
  transform: none;
  animation: none;
}
@keyframes revealAuto {
  to { opacity: 1; transform: none; }
}

/* SITE-AUDIT-FIX (2026-05-18): Site genelinde staggered grid reveal.
 * VIP sayfasi gibi BUTUN ortak grid container'larin direct child'lari
 * sirayla fade-in olur (~80ms aralik, max 12 child'a kadar).
 *
 * NOT: Parent grid'lere ARTIK `.reveal` class'i VERMIYORUZ — parent
 * invisible olunca cocuk staggered animasyonu gorunmez. Parent grid
 * ozne, child'lar siralanmis: modes-grid, features-grid, shop-grid,
 * vip-grid, rank-grid, news-list, streamers-grid, leaderboard-list,
 * activity-list, feat-grid, stats-grid.
 *
 * VipPage'in kart-bazli inline `animationDelay` override eder
 * (inline style nth-child CSS'ten daha specific).
 */
.modes-grid > *,
.features-grid > *,
.shop-grid > *,
.vip-grid > *,
.rank-grid > *,
.news-list > *,
.streamers-grid > *,
.leaderboard-list > *,
.activity-list > *,
.stats-grid > * {
  opacity: 0;
  transform: translateY(20px);
  animation: revealAuto 0.6s forwards;
}
.modes-grid > *:nth-child(1), .features-grid > *:nth-child(1), .shop-grid > *:nth-child(1),
.vip-grid > *:nth-child(1), .rank-grid > *:nth-child(1), .news-list > *:nth-child(1),
.streamers-grid > *:nth-child(1), .leaderboard-list > *:nth-child(1),
.activity-list > *:nth-child(1), .stats-grid > *:nth-child(1) { animation-delay: 0.08s; }
.modes-grid > *:nth-child(2), .features-grid > *:nth-child(2), .shop-grid > *:nth-child(2),
.vip-grid > *:nth-child(2), .rank-grid > *:nth-child(2), .news-list > *:nth-child(2),
.streamers-grid > *:nth-child(2), .leaderboard-list > *:nth-child(2),
.activity-list > *:nth-child(2), .stats-grid > *:nth-child(2) { animation-delay: 0.16s; }
.modes-grid > *:nth-child(3), .features-grid > *:nth-child(3), .shop-grid > *:nth-child(3),
.vip-grid > *:nth-child(3), .rank-grid > *:nth-child(3), .news-list > *:nth-child(3),
.streamers-grid > *:nth-child(3), .leaderboard-list > *:nth-child(3),
.activity-list > *:nth-child(3), .stats-grid > *:nth-child(3) { animation-delay: 0.24s; }
.modes-grid > *:nth-child(4), .features-grid > *:nth-child(4), .shop-grid > *:nth-child(4),
.vip-grid > *:nth-child(4), .rank-grid > *:nth-child(4), .news-list > *:nth-child(4),
.streamers-grid > *:nth-child(4), .leaderboard-list > *:nth-child(4),
.activity-list > *:nth-child(4), .stats-grid > *:nth-child(4) { animation-delay: 0.32s; }
.modes-grid > *:nth-child(5), .features-grid > *:nth-child(5), .shop-grid > *:nth-child(5),
.vip-grid > *:nth-child(5), .rank-grid > *:nth-child(5), .news-list > *:nth-child(5),
.streamers-grid > *:nth-child(5), .leaderboard-list > *:nth-child(5),
.activity-list > *:nth-child(5), .stats-grid > *:nth-child(5) { animation-delay: 0.40s; }
.modes-grid > *:nth-child(6), .features-grid > *:nth-child(6), .shop-grid > *:nth-child(6),
.vip-grid > *:nth-child(6), .rank-grid > *:nth-child(6), .news-list > *:nth-child(6),
.streamers-grid > *:nth-child(6), .leaderboard-list > *:nth-child(6),
.activity-list > *:nth-child(6), .stats-grid > *:nth-child(6) { animation-delay: 0.48s; }
.modes-grid > *:nth-child(7), .features-grid > *:nth-child(7), .shop-grid > *:nth-child(7),
.vip-grid > *:nth-child(7), .rank-grid > *:nth-child(7), .news-list > *:nth-child(7),
.streamers-grid > *:nth-child(7), .leaderboard-list > *:nth-child(7),
.activity-list > *:nth-child(7), .stats-grid > *:nth-child(7) { animation-delay: 0.56s; }
.modes-grid > *:nth-child(8), .features-grid > *:nth-child(8), .shop-grid > *:nth-child(8),
.vip-grid > *:nth-child(8), .rank-grid > *:nth-child(8), .news-list > *:nth-child(8),
.streamers-grid > *:nth-child(8), .leaderboard-list > *:nth-child(8),
.activity-list > *:nth-child(8), .stats-grid > *:nth-child(8) { animation-delay: 0.64s; }
.modes-grid > *:nth-child(n+9), .features-grid > *:nth-child(n+9), .shop-grid > *:nth-child(n+9),
.vip-grid > *:nth-child(n+9), .rank-grid > *:nth-child(n+9), .news-list > *:nth-child(n+9),
.streamers-grid > *:nth-child(n+9), .leaderboard-list > *:nth-child(n+9),
.activity-list > *:nth-child(n+9), .stats-grid > *:nth-child(n+9) { animation-delay: 0.72s; }

/* ── Scroll cue ── */
.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  font-family: var(--font-pixel); font-size: 9px; letter-spacing: .2em;
  color: var(--ink-mute); display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after {
  content: ""; width: 2px; height: 36px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100% { opacity: 1; transform: scaleY(1); } 50% { opacity: .3; transform: scaleY(.5); } }

/* ── Loading shimmer for blocks ── */
@keyframes blockSpin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }

/* ═══════════════════════════════════════════════════════════════════
 * MOBILE OVERHAUL (2026-05-21, T-11): site-genelinde mobile responsive
 * iyilestirmeler. Onceki media query'ler component-bazli ve eksikti;
 * bu blok tum sayfalarda tutarli mobile deneyim saglar.
 *
 * Hedef breakpoints:
 *   tablet : <= 1024px
 *   mobile : <= 768px
 *   small  : <= 480px
 *   xs     : <= 360px
 *
 * Yaklasim:
 *   - Wrap padding'i azalt (24 → 16 → 12)
 *   - Section vertical padding'i kucult
 *   - Buttons min-height 44px (touch target)
 *   - CTA card stacking
 *   - Footer single column on small
 *   - Cards padding azalt
 *   - Hero stat-stack row → wrap stacked
 *   - Inline-styled inline forms wrap
 * Desktop layout BOZULMAMALI — sadece small viewport icin override.
 * ═══════════════════════════════════════════════════════════════════ */

/* Touch target normalization: tum buttons mobile'da min 44x44 (Apple HIG).
 * Onceden .btn 12px padding ile ~38px height idi; finger-friendly degil.
 *
 * 2026-05-21 micro-polish: butonlar hala biraz sisman duruyordu — padding
 * x-eksenini sertce kucult (18→14), font 14→13.5 efektif. Min-height
 * 44px korunuyor (Apple HIG dokunma hedefi). */
@media (max-width: 768px) {
  .btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
    gap: 8px;
    border-radius: 10px;
  }
  .btn--lg {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 13.5px;
  }
  /* Nav button mobile padding ayarlama */
  .nav .btn--primary,
  .nav .btn--ghost {
    min-height: 36px;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
}
@media (max-width: 480px) {
  .btn {
    padding: 9px 12px;
    font-size: 12.5px;
    gap: 6px;
  }
  .btn--lg {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Wrap padding — mobile'da kenar bosluklarini azalt */
@media (max-width: 768px) {
  .wrap { padding: 0 16px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 14px; }
}
@media (max-width: 360px) {
  .wrap { padding: 0 12px; }
}

/* Section padding — mobile'da daha sıkı dikey ritim */
@media (max-width: 768px) {
  .section { padding: clamp(40px, 7vw, 64px) 0; }
  .section-head {
    margin-bottom: 28px;
    gap: 18px;
  }
  .section-head > div { width: 100%; }
  .section-sub { font-size: 14px; }
}

/* Body font ≥ 14px on mobile (accessibility) */
@media (max-width: 480px) {
  body { font-size: 14px; }
}

/* ── NAV: ek mobile iyilestirmeler ── */
@media (max-width: 768px) {
  .nav { padding: 10px 0; }
  .nav-inner { gap: 8px; }
  .logo span:not(.logo-cube) { font-size: 11px; }
  .nav-cta { gap: 6px; }
  /* Mobile'da day/night toggle gizle — space tasarrufu, ayar yine de
   * tweaks paneli uzerinden erisilebilir */
  .nav-cta .dn-toggle { display: none; }
}
@media (max-width: 480px) {
  .nav-inner { padding: 0; }
  .logo-cube { width: 22px; height: 22px; }
  .logo-cube::before { width: 10px; height: 10px; }
}

/* ── FOOTER: tek-kolon kucuk ekran ── */
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { margin-top: 50px; padding: 40px 0 28px; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    align-items: center;
  }
}

/* ── Card primitive: smaller padding on mobile ── */
@media (max-width: 768px) {
  .card { padding: 14px; border-radius: 12px; box-shadow: 0 6px 20px -12px rgba(0,0,0,0.5); }
}
@media (max-width: 480px) {
  .card { padding: 12px; border-radius: 10px; }
}

/* ── Page shell padding-top ── */
@media (max-width: 768px) {
  .page { padding-top: 80px !important; }
}

/* ── Horizontal overflow defense ── */
html, body { max-width: 100vw; overflow-x: hidden; }

