/* =========================================================
   Ortaokul Kanki — Macera Teması (2026-10)
   ========================================================= */

:root {
    --bg: #150934;
    --bg-2: #1F0D4D;
    --bg-3: #2A1366;
    --purple: #8B5CF6;
    --violet: #A855F7;
    --lime: #A3E635;
    --green: #34D399;
    --gold: #FACC15;
    --orange: #FB923C;
    --pink: #F472B6;
    --cyan: #22D3EE;
    --text: #FFFFFF;
    --muted: #DCD2FF;
    --dim: #A99BD6;
    --card: rgba(255, 255, 255, 0.06);
    --card-2: rgba(255, 255, 255, 0.1);
    --line: rgba(255, 255, 255, 0.12);
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 28px;
    --header-h: 76px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
    --font-body: 'Nunito', system-ui, sans-serif;
    --shadow-lg: 0 30px 80px -20px rgba(5, 0, 25, 0.7);

    /* eski sayfalarla uyum */
    --space-deep: var(--bg);
    --neon-cyan: var(--cyan);
    --neon-purple: var(--violet);
    --neon-gold: var(--gold);
    --neon-green: var(--green);
    --text-muted: var(--muted);
    --text-dim: var(--dim);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
main, section, .site-footer { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--lime); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
code { font-size: 0.85em; background: rgba(255,255,255,0.08); padding: 2px 6px; border-radius: 6px; }

.container { width: min(1220px, 92vw); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.text-gold { color: var(--gold); }
.center-cta { display: flex; justify-content: center; margin-top: 2.5rem; }

/* ---------- Gökyüzü arka planı ---------- */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(1200px 800px at 80% -10%, #3B1A8C 0%, transparent 60%), radial-gradient(900px 700px at -10% 30%, #2B0F6E 0%, transparent 60%), linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 45%, #0F0628 100%); }
.sky-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; animation: drift 22s ease-in-out infinite alternate; }
.sky-glow--1 { width: 520px; height: 520px; background: #7C3AED; top: -120px; right: -80px; }
.sky-glow--2 { width: 420px; height: 420px; background: #DB2777; top: 45%; left: -160px; opacity: 0.22; animation-duration: 28s; }
.sky-glow--3 { width: 380px; height: 380px; background: #0891B2; bottom: -120px; right: 10%; opacity: 0.25; animation-duration: 25s; }
.sky-stars { position: absolute; inset: -50%; background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, rgba(250,204,21,0.9), transparent),
    radial-gradient(1px 1px at 280px 40px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 340px 190px, rgba(167,139,250,0.9), transparent),
    radial-gradient(1.2px 1.2px at 60px 220px, rgba(255,255,255,0.6), transparent);
    background-size: 380px 260px; animation: stars-move 120s linear infinite; opacity: 0.6; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes stars-move { to { transform: translateY(260px); } }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--gold), var(--pink)); box-shadow: 0 0 12px var(--gold); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); transition: background 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { background: rgba(21, 9, 52, 0.82); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 40px -10px rgba(0,0,0,0.6); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.25rem; height: var(--header-h); }
.nav-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo { border-radius: 13px; box-shadow: 0 0 0 2px rgba(255,255,255,0.15), 0 6px 20px rgba(139,92,246,0.5); }
.nav-wordmark { width: 150px; height: auto; filter: drop-shadow(0 3px 8px rgba(0,0,0,0.35)); transition: transform 0.3s var(--bounce); }
.nav-brand:hover .nav-wordmark { transform: rotate(-3deg) scale(1.05); }
.nav-menu { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.nav-link { color: var(--muted); font-weight: 800; font-size: 0.92rem; padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav-link:hover, .nav-link.is-active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta { margin-left: 0.5rem; }

.hud-chip { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid rgba(250,204,21,0.4); background: linear-gradient(135deg, rgba(250,204,21,0.15), rgba(168,85,247,0.2)); cursor: pointer; transition: transform 0.25s var(--bounce), box-shadow 0.25s; flex-shrink: 0; }
.hud-chip:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 8px 24px -6px rgba(250,204,21,0.5); }
.hud-chip.is-bump { animation: bump 0.6s var(--bounce); }
.hud-chip-avatar { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #fff 0%, #E9D5FF 70%); overflow: hidden; display: grid; place-items: center; }
.hud-chip-avatar img { width: 34px; height: 34px; object-fit: cover; object-position: top; transform: scale(1.5) translateY(14%); }
.hud-chip-body { display: flex; flex-direction: column; gap: 3px; min-width: 70px; }
.hud-chip-level { font-size: 0.7rem; font-weight: 800; color: var(--gold); line-height: 1; text-transform: uppercase; letter-spacing: 0.04em; }
.hud-chip-bar, .xp-bar, .mini-bar { display: block; height: 7px; border-radius: 99px; background: rgba(0,0,0,0.35); overflow: hidden; }
.hud-chip-bar span, .xp-bar span, .mini-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--gold)); transition: width 0.8s var(--ease); box-shadow: 0 0 10px rgba(163,230,53,0.7); }
.hud-chip-xp { font-size: 0.8rem; font-weight: 800; color: #fff; white-space: nowrap; }
@keyframes bump { 30% { transform: scale(1.18) rotate(-3deg); } 60% { transform: scale(0.95); } }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Butonlar ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; border: 2px solid transparent; cursor: pointer; transition: transform 0.25s var(--bounce), box-shadow 0.25s, background 0.25s; white-space: nowrap; overflow: hidden; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.08rem; }
.btn-primary { background: linear-gradient(180deg, #B6F04A 0%, #84CC16 100%); color: #1A2E05; box-shadow: 0 6px 0 #4D7C0F, 0 14px 30px -8px rgba(132,204,22,0.7); }
.btn-primary:hover { color: #1A2E05; transform: translateY(-3px); box-shadow: 0 9px 0 #4D7C0F, 0 20px 36px -8px rgba(132,204,22,0.8); }
.btn-gold { background: linear-gradient(180deg, #FDE047, #F59E0B); color: #3B1D02; box-shadow: 0 6px 0 #B45309, 0 14px 30px -8px rgba(245,158,11,0.7); }
.btn-gold:hover { color: #3B1D02; transform: translateY(-3px); }
.btn-glass, .btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.btn-glass:hover, .btn-secondary:hover { color: #fff; background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.btn-ghost, .btn-outline { background: transparent; color: var(--muted); border-color: rgba(255,255,255,0.22); }
.btn-ghost:hover, .btn-outline:hover { color: #fff; border-color: #fff; }
.btn-glow { animation: glow-pulse 2.2s ease-in-out infinite; }
.btn-shine::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(110deg, transparent, rgba(255,255,255,0.65), transparent); transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite; }
.btn-icon { font-size: 1.1em; }
.play-dot { width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--purple); display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(255,255,255,0.15); animation: ping-ring 2s infinite; }
@keyframes shine { 0%, 60% { left: -80%; } 100% { left: 140%; } }
@keyframes glow-pulse { 50% { box-shadow: 0 0 40px rgba(163,230,53,0.6); } }
@keyframes ping-ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); } 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }

/* ---------- Ortak ---------- */
.section { position: relative; padding: 110px 0; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-header h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0.9rem 0 1rem; }
.section-header p { color: var(--muted); font-size: 1.1rem; }
.section-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.02em; color: #E9D5FF; background: rgba(168,85,247,0.18); border: 1px solid rgba(168,85,247,0.45); }
.section-badge--gold { color: #FEF08A; background: rgba(250,204,21,0.14); border-color: rgba(250,204,21,0.45); }
.section-badge--green { color: #D9F99D; background: rgba(163,230,53,0.14); border-color: rgba(163,230,53,0.45); }
.gradient-text { background: linear-gradient(120deg, var(--lime), var(--gold) 50%, var(--pink)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; border-radius: 999px; font-weight: 800; font-size: 0.92rem; color: #1A2E05; background: linear-gradient(90deg, var(--lime), #D9F99D); box-shadow: 0 10px 30px -10px rgba(163,230,53,0.8); }
.pill:hover { color: #1A2E05; }
.pill-dot { width: 10px; height: 10px; border-radius: 50%; background: #166534; box-shadow: 0 0 0 0 rgba(22,101,52,0.6); animation: dot-ping 1.6s infinite; }
@keyframes dot-ping { 100% { box-shadow: 0 0 0 10px rgba(22,101,52,0); } }

.check-list { list-style: none; display: grid; gap: 0.7rem; margin: 1.5rem 0; }
.check-list li { position: relative; padding-left: 2.1rem; color: var(--muted); font-weight: 600; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0.05em; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; font-weight: 900; color: #1A2E05; background: var(--lime); }

.speech { position: relative; background: #fff; color: #2E1065; border-radius: 22px; padding: 14px 18px; font-weight: 700; box-shadow: 0 18px 40px -12px rgba(0,0,0,0.5); }
.speech-name { display: block; font-family: var(--font-display); font-size: 0.78rem; color: var(--purple); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 2px; }
.speech--left::before { content: ''; position: absolute; left: -10px; top: 26px; border: 10px solid transparent; border-right-color: #fff; border-left: 0; }
.speech--inline { margin: 1rem 0 1.25rem; font-size: 0.95rem; }
.speech--inline::before { content: ''; position: absolute; left: 28px; top: -10px; border: 10px solid transparent; border-bottom-color: #fff; border-top: 0; }

.reveal { opacity: 0; transform: translateY(36px) scale(0.98); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Cihaz çerçeveleri ---------- */
.device { position: relative; background: linear-gradient(145deg, #2E2650, #120C2A); padding: 12px; border-radius: 34px; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.12), var(--shadow-lg); }
.device-screen { position: relative; overflow: hidden; border-radius: 24px; background: #000; }
.device-screen img, .device-screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.device--tablet { aspect-ratio: 16 / 10.4; }
.device--tablet .device-screen { height: 100%; }
.device--phone { padding: 9px; border-radius: 38px; width: 240px; aspect-ratio: 9 / 19; }
.device--phone .device-screen { height: 100%; border-radius: 30px; }
.device--phone .device-screen img { object-position: top; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; padding: calc(var(--header-h) + 30px) 0 40px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 1.4rem 0 1.25rem; line-height: 1.04; }
.word-rotator { display: inline-block; color: var(--gold); position: relative; text-shadow: 0 6px 30px rgba(250,204,21,0.45); }
.word-rotator.is-out { animation: word-out 0.35s var(--ease) forwards; }
.word-rotator.is-in { animation: word-in 0.5s var(--bounce) forwards; }
@keyframes word-out { to { opacity: 0; transform: translateY(-30px) rotateX(70deg); } }
@keyframes word-in { from { opacity: 0; transform: translateY(30px) rotateX(-70deg); } to { opacity: 1; transform: none; } }
.hero-subtitle { color: var(--muted); font-size: 1.18rem; max-width: 560px; margin-bottom: 2rem; }
.hero-subtitle strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2rem; }
.hero-subjects { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-subjects li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 800; background: color-mix(in srgb, var(--c) 18%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); transition: transform 0.25s var(--bounce); }
.hero-subjects li:hover { transform: translateY(-3px) rotate(-2deg); }

.hero-stage { position: relative; height: min(640px, 72vh); min-height: 480px; }
.hero-ring { position: absolute; left: 50%; top: 52%; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.18); transform: translate(-50%, -50%); animation: spin 40s linear infinite; }
.hero-ring--1 { width: 92%; aspect-ratio: 1; }
.hero-ring--2 { width: 68%; aspect-ratio: 1; border-style: solid; border-color: rgba(250,204,21,0.18); animation-direction: reverse; animation-duration: 30s; }
.hero-sun { position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(250,204,21,0.45) 0%, rgba(168,85,247,0.35) 40%, transparent 70%); filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
.hero-mascot { position: absolute; left: 50%; bottom: 0; height: 92%; width: auto; transform: translateX(-50%); filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5)); animation: mascot-bob 5s ease-in-out infinite; transform-origin: bottom center; }
.hero-stage [data-depth] { will-change: transform; }
.speech--hero { position: absolute; top: 4%; left: -6%; max-width: 270px; font-size: 0.98rem; animation: pop-in 0.8s var(--bounce) 0.6s both; }
.speech--hero::after { content: ''; position: absolute; right: 40px; bottom: -12px; border: 12px solid transparent; border-top-color: #fff; border-bottom: 0; }
.typing::after { content: '▌'; color: var(--purple); animation: caret 0.8s steps(1) infinite; margin-left: 1px; }
.float-card--phone { position: absolute; right: -2%; bottom: 6%; width: 150px; border-radius: 26px; overflow: hidden; border: 5px solid #1d1440; box-shadow: var(--shadow-lg); transform: rotate(8deg); animation: float 6s ease-in-out infinite; }
.float-badge { position: absolute; filter: drop-shadow(0 12px 18px rgba(0,0,0,0.45)); animation: float 5s ease-in-out infinite; }
.float-badge img { width: 100%; }
.float-badge--1 { width: 96px; left: 2%; top: 40%; animation-delay: -1s; }
.float-badge--2 { width: 80px; right: 8%; top: 8%; animation-delay: -2.5s; }
.float-badge--3 { width: 74px; left: 12%; bottom: 6%; animation-delay: -3.5s; }
.float-chip { position: absolute; padding: 8px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; box-shadow: var(--shadow-lg); animation: float 4.5s ease-in-out infinite; }
.float-chip--xp { right: 2%; top: 36%; color: #1A2E05; background: var(--lime); animation-delay: -1.2s; }
.float-chip--level { left: -2%; bottom: 24%; display: grid; gap: 4px; background: rgba(21,9,52,0.85); border: 1px solid var(--line); color: var(--gold); min-width: 120px; font-size: 0.85rem; }
.float-chip--level .mini-bar span { width: 68%; animation: fill-loop 4s ease-in-out infinite; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; } }
@keyframes mascot-bob { 0%, 100% { transform: translateX(-50%) rotate(0deg); } 25% { transform: translateX(-50%) rotate(-1.5deg) translateY(-8px); } 75% { transform: translateX(-50%) rotate(1.5deg) translateY(-4px); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.5) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes fill-loop { 0% { width: 30%; } 60%, 100% { width: 92%; } }

.hero-deco .deco { position: absolute; font-size: 2rem; opacity: 0.5; animation: float 7s ease-in-out infinite; pointer-events: none; }
.deco--1 { top: 18%; left: 4%; } .deco--2 { top: 70%; left: 2%; animation-delay: -2s; } .deco--3 { top: 14%; left: 46%; animation-delay: -4s; } .deco--4 { bottom: 18%; left: 44%; animation-delay: -1s; } .deco--5 { top: 28%; right: 3%; animation-delay: -3s; } .deco--6 { bottom: 8%; right: 4%; animation-delay: -5s; } .deco--7 { top: 8%; right: 30%; animation-delay: -6s; }

.stats-strip { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 3rem; margin-bottom: 3.5rem; padding: 1.25rem; border-radius: var(--radius-lg); background: rgba(255,255,255,0.05); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.stats-strip li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 2px; padding: 0.75rem 0.5rem; border-right: 1px solid var(--line); border-radius: 16px; transition: background 0.3s; }
.stats-strip li:hover { background: rgba(255,255,255,0.05); }
.stats-strip li:nth-child(5n) { border-right: 0; }
.stats-strip li:last-child { border-right: 0; }
.stats-icon { font-size: 1.5rem; }
.stats-num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1.1; white-space: nowrap; }
.stats-num small { font-size: 0.55em; margin-left: 3px; color: color-mix(in srgb, var(--gold) 70%, #fff); }
.stats-hint { font-size: 0.72rem; color: var(--dim); font-weight: 700; line-height: 1.35; max-width: 210px; }
.stats-strip li.is-bump .stats-num { animation: stat-bump 0.5s var(--bounce); }
@keyframes stat-bump { 40% { transform: scale(1.12); } }
.stats-strip .stats-grade { position: relative; background: linear-gradient(160deg, rgba(163,230,53,0.16), rgba(250,204,21,0.08)); border: 1px solid rgba(163,230,53,0.4); touch-action: pan-y; user-select: none; }
.stats-grade-switch { display: flex; align-items: center; gap: 6px; }
.stats-grade-value { min-width: 2.6em; font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1.1; color: var(--lime); text-align: center; }
.stats-grade-value.slide-l { animation: grade-in-l 0.35s var(--bounce); }
.stats-grade-value.slide-r { animation: grade-in-r 0.35s var(--bounce); }
@keyframes grade-in-l { from { opacity: 0; transform: translateX(22px); } }
@keyframes grade-in-r { from { opacity: 0; transform: translateX(-22px); } }
.stats-grade-arrow { width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.4rem; line-height: 1; font-weight: 900; cursor: pointer; transition: background 0.2s, transform 0.25s var(--bounce); }
.stats-grade-arrow:hover { background: var(--lime); color: #1A2E05; transform: scale(1.12); }
.stats-grade-dots { display: flex; gap: 5px; margin-top: 4px; }
.stats-grade-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.25); cursor: pointer; transition: width 0.3s var(--ease), background 0.3s; }
.stats-grade-dots i.is-active { width: 18px; border-radius: 4px; background: var(--lime); }
.stats-strip.is-grade { border-color: rgba(163,230,53,0.35); }
.stats-label { font-size: 0.82rem; color: var(--dim); font-weight: 700; }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.6s ease-in-out infinite; }
@keyframes scroll-dot { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 18px 0; background: linear-gradient(90deg, var(--purple), var(--violet), #DB2777); transform: rotate(-1.5deg); margin: 10px -20px; box-shadow: 0 20px 50px -20px rgba(168,85,247,0.8); }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Görev bandı ---------- */
.quest-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 2px solid rgba(250,204,21,0.35); box-shadow: var(--shadow-lg); }
.quest-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.quest-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,9,52,0.97) 0%, rgba(21,9,52,0.85) 55%, rgba(21,9,52,0.4) 100%); z-index: 1; }
.quest-banner-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); }
.quest-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 1rem 0; }
.quest-banner p { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.75rem; }
.quest-banner-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.quest-steps { list-style: none; display: grid; gap: 14px; }
.quest-steps li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 18px; border-radius: var(--radius); background: rgba(255,255,255,0.08); border: 1px solid var(--line); backdrop-filter: blur(8px); transition: transform 0.3s var(--bounce); }
.quest-steps li:hover { transform: translateX(-6px); }
.quest-steps span { grid-row: span 2; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #3B1D02; background: linear-gradient(180deg, #FDE047, #F59E0B); box-shadow: 0 4px 0 #B45309; }
.quest-steps b { font-family: var(--font-display); font-size: 1.15rem; }
.quest-steps small { color: var(--dim); font-weight: 700; }

/* =========================================================
   VİDEOLAR
   ========================================================= */
.video-showcase { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: center; }
.video-tabs { display: grid; gap: 12px; }
.video-tab { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); cursor: pointer; overflow: hidden; transition: background 0.25s, transform 0.25s var(--bounce), border-color 0.25s; }
.video-tab:hover { transform: translateX(4px); background: var(--card-2); }
.video-tab.is-active { background: linear-gradient(135deg, rgba(168,85,247,0.35), rgba(236,72,153,0.2)); border-color: rgba(168,85,247,0.7); }
.video-tab-icon { font-size: 1.8rem; width: 52px; height: 52px; display: grid; place-items: center; flex-shrink: 0; border-radius: 16px; background: rgba(255,255,255,0.1); }
.video-tab-text b { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.video-tab-text small { color: var(--dim); font-weight: 600; font-size: 0.85rem; line-height: 1.4; display: block; }
.video-tab-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.video-tab-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--gold)); }
.video-tab.is-active .video-tab-progress span { width: var(--p, 0%); }
.video-device { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s var(--ease); }
.video-device:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.video-preview { background: #000; }
.video-cta { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 14px; padding: 22px 26px; border: 0; cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #fff; background: linear-gradient(0deg, rgba(10,4,30,0.85), transparent); }
.video-cta b { color: var(--lime); margin-left: 6px; }
.video-cta-btn { width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--purple); box-shadow: 0 0 0 0 rgba(255,255,255,0.5); animation: ping-ring 1.8s infinite; transition: transform 0.25s var(--bounce); }
.video-cta:hover .video-cta-btn { transform: scale(1.12); }
.live-chip { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); }
.live-chip span { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; animation: blink-dot 1s infinite; }
@keyframes blink-dot { 50% { opacity: 0.2; } }

/* =========================================================
   SÜPER GÜÇLER
   ========================================================= */
.powers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.powers-grid--3 { grid-template-columns: repeat(3, 1fr); }
.power-card { position: relative; display: flex; flex-direction: column; padding: 1.5rem; padding-top: 1.25rem; min-height: 420px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 38%, #1B0B45) 0%, #1B0B45 70%); border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); overflow: hidden; transform-style: preserve-3d; transition: transform 0.25s ease-out, box-shadow 0.3s, opacity 0.8s var(--ease); }
.power-card:hover { color: #fff; box-shadow: 0 30px 60px -20px color-mix(in srgb, var(--c1) 70%, transparent); }
.power-glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; top: -60px; right: -60px; background: radial-gradient(circle, var(--c2), transparent 70%); opacity: 0.55; transition: transform 0.6s var(--ease); }
.power-card:hover .power-glow { transform: scale(1.4); }
.power-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.power-icon { font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: rgba(255,255,255,0.14); backdrop-filter: blur(6px); }
.power-kicker { font-size: 0.72rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; color: color-mix(in srgb, var(--c1) 60%, #fff); }
.power-art { position: relative; display: block; margin: 1rem -0.5rem 1.1rem; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c1) 50%, transparent); box-shadow: 0 18px 30px -14px rgba(0,0,0,0.6), 0 0 0 4px color-mix(in srgb, var(--c1) 14%, transparent); transform: translateZ(40px); transition: transform 0.5s var(--bounce), box-shadow 0.4s; }
.power-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.power-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform 0.9s var(--ease); }
.power-card:hover .power-art { transform: translateZ(60px) translateY(-6px); box-shadow: 0 26px 40px -16px color-mix(in srgb, var(--c1) 80%, transparent), 0 0 0 4px color-mix(in srgb, var(--c1) 30%, transparent); }
.power-card:hover .power-art img { transform: scale(1.08); }
.power-card:hover .power-art::after { transform: translateX(120%); }
.power-mascot { position: relative; height: 170px; width: auto; margin: 0.75rem auto 0.25rem; filter: drop-shadow(0 16px 20px rgba(0,0,0,0.45)); transition: transform 0.5s var(--bounce); transform: translateZ(40px); }
.power-card:hover .power-mascot { transform: translateZ(60px) translateY(-10px) rotate(-4deg) scale(1.06); }
.power-card h3 { position: relative; font-size: 1.35rem; margin-bottom: 0.5rem; }
.power-card p { position: relative; color: var(--muted); font-size: 0.93rem; line-height: 1.55; flex: 1; }
.power-link { position: relative; margin-top: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--gold); display: inline-flex; gap: 6px; }
.power-link span { transition: transform 0.3s var(--bounce); }
.power-card:hover .power-link span { transform: translateX(6px); }

/* =========================================================
   DENE: AI + QUIZ
   ========================================================= */
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; align-items: start; }
.panel { position: relative; padding: 1.75rem; border-radius: var(--radius-lg); background: linear-gradient(170deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; gap: 1rem; }
.panel-tag { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.panel-xp { padding: 5px 12px; border-radius: 999px; font-weight: 900; font-size: 0.82rem; background: var(--lime); color: #1A2E05; white-space: nowrap; }
.panel-note { margin-top: 1rem; font-size: 0.78rem; color: var(--dim); }

.ai-question { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 1rem; }
.ai-kanki { width: 110px; flex-shrink: 0; filter: drop-shadow(0 10px 16px rgba(0,0,0,0.4)); transition: transform 0.4s var(--bounce); }
.ai-kanki.is-pop { animation: bump 0.6s var(--bounce); }
.ai-question .speech { flex: 1; margin-bottom: 40px; font-size: 1rem; }
.ai-input { width: 100%; resize: vertical; min-height: 110px; padding: 14px 16px; border-radius: var(--radius); border: 2px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.25); color: #fff; font: inherit; font-weight: 600; transition: border-color 0.2s, box-shadow 0.2s; }
.ai-input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 5px rgba(168,85,247,0.25); }
.ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.ai-actions .btn[disabled] { opacity: 0.6; pointer-events: none; }
.ai-result { display: grid; grid-template-columns: 110px 1fr; gap: 1.25rem; align-items: center; margin-top: 1.25rem; padding: 1.25rem; border-radius: var(--radius); background: rgba(0,0,0,0.25); animation: pop-in 0.5s var(--bounce); }
.ai-score { position: relative; width: 110px; height: 110px; }
.ai-score > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: rgba(255,255,255,0.1); }
.ring-fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.2s var(--ease), stroke 0.3s; }
.ai-message { font-weight: 700; margin-bottom: 0.75rem; }
.concepts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.concepts li { padding: 5px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; animation: pop-in 0.4s var(--bounce) both; }
.concepts .is-ok { background: rgba(52,211,153,0.2); color: #A7F3D0; border: 1px solid rgba(52,211,153,0.5); }
.concepts .is-miss { background: rgba(251,113,133,0.15); color: #FECDD3; border: 1px dashed rgba(251,113,133,0.6); }
.thinking-dots { display: inline-flex; gap: 4px; margin-left: 6px; }
.thinking-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: dots 1s infinite; }
.thinking-dots i:nth-child(2) { animation-delay: 0.15s; } .thinking-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dots { 50% { transform: translateY(-5px); opacity: 0.4; } }

.quiz-progress { display: flex; gap: 6px; margin-bottom: 10px; }
.quiz-progress span { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.12); transition: background 0.3s; }
.quiz-progress .is-current { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.quiz-progress .is-ok { background: var(--green); }
.quiz-progress .is-bad { background: #FB7185; }
.quiz-timer { height: 4px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 1.25rem; }
.quiz-timer span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet)); }
.quiz-start { display: flex; align-items: center; gap: 1.25rem; }
.quiz-start img { width: 130px; flex-shrink: 0; animation: float 4s ease-in-out infinite; }
.quiz-start h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.quiz-start p { color: var(--muted); margin-bottom: 1rem; }
.quiz-q-subject { display: inline-flex; gap: 6px; font-weight: 900; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); }
.quiz-q { font-family: var(--font-display); font-size: 1.45rem; margin: 0.4rem 0 1.25rem; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opt { position: relative; padding: 16px; border-radius: var(--radius); border: 2px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); font-weight: 800; font-size: 1.05rem; cursor: pointer; text-align: left; transition: transform 0.2s var(--bounce), background 0.2s, border-color 0.2s; animation: pop-in 0.45s var(--bounce) both; }
.quiz-opt:nth-child(2) { animation-delay: 0.06s; } .quiz-opt:nth-child(3) { animation-delay: 0.12s; } .quiz-opt:nth-child(4) { animation-delay: 0.18s; }
.quiz-opt:hover:not([disabled]) { transform: translateY(-3px); border-color: var(--violet); background: rgba(168,85,247,0.2); }
.quiz-opt small { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; margin-right: 8px; background: rgba(255,255,255,0.12); font-size: 0.8rem; }
.quiz-opt.is-ok { background: rgba(52,211,153,0.25); border-color: var(--green); animation: correct 0.5s var(--bounce); }
.quiz-opt.is-bad { background: rgba(251,113,133,0.2); border-color: #FB7185; animation: shake 0.45s; }
.quiz-opt[disabled] { cursor: default; }
.quiz-feedback { margin-top: 1rem; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 700; display: flex; align-items: center; gap: 10px; animation: pop-in 0.4s var(--bounce); }
.quiz-feedback img { width: 54px; }
.quiz-feedback.is-ok { background: rgba(52,211,153,0.15); color: #A7F3D0; }
.quiz-feedback.is-bad { background: rgba(251,113,133,0.12); color: #FECDD3; }
.quiz-end { text-align: center; }
.quiz-end img { width: 130px; margin: 0 auto 0.5rem; }
.quiz-end h3 { font-size: 1.8rem; }
.quiz-end p { color: var(--muted); margin: 0.5rem 0 1.25rem; }
@keyframes correct { 40% { transform: scale(1.05); } }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline { position: relative; list-style: none; max-width: 980px; margin: 0 auto; display: grid; gap: 1.5rem; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; border-radius: 6px; background: rgba(255,255,255,0.1); }
.timeline-line span { display: block; width: 100%; height: 0; border-radius: inherit; background: linear-gradient(180deg, var(--gold), var(--lime), var(--cyan), var(--violet)); box-shadow: 0 0 16px rgba(250,204,21,0.5); }
.timeline-item { position: relative; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; }
.timeline-dot { grid-column: 2; justify-self: center; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--bg-2); border: 3px solid var(--gold); box-shadow: 0 0 0 6px rgba(21,9,52,0.9), 0 0 24px rgba(250,204,21,0.4); z-index: 1; }
.timeline-item.is-left .timeline-card { grid-column: 1; grid-row: 1; }
.timeline-item.is-right .timeline-card { grid-column: 3; grid-row: 1; }
.timeline-card { display: flex; gap: 14px; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(10px); transition: transform 0.3s var(--bounce), background 0.3s; }
.timeline-card:hover { transform: scale(1.03); background: var(--card-2); }
.timeline-card img { width: 64px; flex-shrink: 0; filter: drop-shadow(0 8px 12px rgba(0,0,0,0.4)); }
.timeline-time { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 0.95rem; }
.timeline-card h3 { font-size: 1.2rem; margin: 2px 0 4px; }
.timeline-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* =========================================================
   OYUNLAR
   ========================================================= */
.memory { display: grid; grid-template-columns: 1fr 1.25fr; gap: 2rem; align-items: center; padding: 2rem; margin-bottom: 3.5rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(52,211,153,0.14), rgba(34,211,238,0.08)); border: 1px solid rgba(52,211,153,0.35); }
.memory-info h3 { font-size: 2rem; margin: 0.9rem 0 0.6rem; }
.memory-info p { color: var(--muted); margin-bottom: 1.25rem; }
.memory-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1rem; }
.memory-stats span { padding: 7px 13px; border-radius: 999px; background: rgba(0,0,0,0.25); font-weight: 800; font-size: 0.88rem; }
.memory-stats b { color: var(--gold); }
.memory-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; perspective: 900px; }
.mem-card { position: relative; aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform 0.55s var(--bounce); }
.mem-card.is-flipped, .mem-card.is-matched { transform: rotateY(180deg); }
.mem-face { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; overflow: hidden; }
.mem-back { display: grid; place-items: center; background: linear-gradient(145deg, #7C3AED, #4C1D95); border: 3px solid rgba(255,255,255,0.25); box-shadow: inset 0 -6px 0 rgba(0,0,0,0.25); }
.mem-back img { width: 60%; opacity: 0.95; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.35)); transform: translateY(10%); }
.mem-back::after { content: '?'; position: absolute; top: 6px; right: 10px; font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.1rem; }
.mem-card:hover:not(.is-flipped) .mem-back { border-color: var(--gold); }
.mem-front { transform: rotateY(180deg); border: 3px solid rgba(255,255,255,0.3); }
.mem-front img { width: 100%; height: 100%; object-fit: cover; }
.mem-card.is-matched .mem-front { border-color: var(--lime); box-shadow: 0 0 20px rgba(163,230,53,0.6); animation: matched 0.6s var(--bounce); }
@keyframes matched { 50% { transform: rotateY(180deg) scale(1.08); } }

.game-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 2rem; }
.chip { --c: var(--violet); display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); font-weight: 800; font-size: 0.9rem; cursor: pointer; transition: transform 0.2s var(--bounce), background 0.2s; }
.chip small { padding: 1px 7px; border-radius: 99px; background: rgba(0,0,0,0.3); font-size: 0.72rem; }
.chip:hover { transform: translateY(-2px); }
.chip.is-active { background: var(--c); color: #12062e; border-color: var(--c); box-shadow: 0 8px 20px -6px var(--c); }
.games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.games-grid--compact { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.game-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform 0.3s var(--bounce), box-shadow 0.3s, border-color 0.3s; animation: pop-in 0.45s var(--bounce) both; }
.game-card:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--c); box-shadow: 0 18px 30px -12px var(--c); }
.game-card.is-hidden, .games-grid:not(.is-expanded) .game-card.is-extra:not(.is-filtered-in) { display: none; }
.game-card[data-game] { cursor: pointer; outline: none; }
.game-card[data-game]:focus-visible { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 60%, transparent); }
.game-thumb { position: relative; aspect-ratio: 1; overflow: hidden; }
.game-card[data-game] .game-thumb::after { content: 'ℹ️ Nasıl oynanır?'; position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 12px); padding: 6px 12px; border-radius: 999px; background: rgba(15,5,40,0.82); color: #fff; font-family: var(--font-display); font-size: 0.78rem; white-space: nowrap; opacity: 0; transition: opacity 0.25s, transform 0.3s var(--bounce); }
.game-card[data-game]:hover .game-thumb::after, .game-card[data-game]:focus-visible .game-thumb::after { opacity: 1; transform: translate(-50%, 0); }

.game-modal { --c: #A855F7; position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; }
.game-modal[hidden] { display: none; }
.game-modal-backdrop { position: absolute; inset: 0; background: rgba(8,2,26,0.78); backdrop-filter: blur(8px); animation: fade-in 0.25s ease both; }
.game-modal-card { position: relative; display: grid; grid-template-columns: 300px 1fr; gap: 1.75rem; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 1.75rem; border-radius: var(--radius-lg); background: linear-gradient(160deg, color-mix(in srgb, var(--c) 28%, #1B0B45), #160838 65%); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--c) 70%, transparent); animation: pop-in 0.4s var(--bounce) both; }
.game-modal-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.12); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2; }
.game-modal-close:hover { background: rgba(255,255,255,0.22); }
.game-modal-visual { position: relative; align-self: start; }
.game-modal-visual img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; border: 3px solid color-mix(in srgb, var(--c) 70%, #fff); box-shadow: 0 20px 40px -16px var(--c); }
.game-modal-lock { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: var(--gold); color: #3B1D00; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; white-space: nowrap; box-shadow: 0 10px 20px -8px rgba(0,0,0,0.5); }
.game-modal-cat { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 900; background: color-mix(in srgb, var(--c) 30%, transparent); color: color-mix(in srgb, var(--c) 40%, #fff); }
.game-modal-body h3 { font-size: 1.8rem; margin: 0.4rem 0 0.2rem; }
.game-modal-desc { color: var(--muted); font-size: 1.02rem; }
.game-modal-skill { margin-top: 0.6rem; font-size: 0.92rem; color: var(--muted); }
.game-modal-skill b { color: #fff; }
.game-modal-perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin: 1rem 0; padding: 0; font-size: 0.88rem; font-weight: 700; }
.game-modal-info { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px dashed color-mix(in srgb, var(--c) 60%, transparent); font-size: 0.9rem; }
.game-modal-info > b { color: var(--gold); font-family: var(--font-display); font-size: 1rem; }
.game-modal-info p { color: var(--muted); margin: 4px 0 8px; }
.game-modal-info ol { margin: 0; padding-left: 1.2rem; color: var(--muted); display: grid; gap: 3px; }
.game-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
@media (max-width: 720px) {
    .game-modal { padding: 10px; align-items: end; }
    .game-modal-card { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.25rem; max-height: calc(100vh - 20px); }
    .game-modal-visual { width: 170px; margin: 0 auto; }
    .game-modal-body h3 { font-size: 1.45rem; }
    .game-modal-perks { grid-template-columns: 1fr; }
    .game-modal-actions .btn { flex: 1 1 100%; justify-content: center; }
}
.game-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.game-card:hover .game-thumb img { transform: scale(1.1); }
.game-meta { padding: 10px 12px 12px; }
.game-cat { font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c); }
.game-meta h3 { font-size: 0.98rem; margin: 2px 0; }
.game-meta p { font-size: 0.78rem; color: var(--dim); line-height: 1.35; }
.game-category { margin-bottom: 2.5rem; }
.game-category > h3 { font-size: 1.5rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.game-category > h3 small { font-family: var(--font-body); font-size: 0.8rem; color: var(--c); font-weight: 800; }

/* =========================================================
   YOL ARKADAŞLARI
   ========================================================= */
.companion-stage { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: center; }
.companion-hero { --c: #A855F7; position: relative; display: grid; grid-template-columns: 1fr 1.1fr; align-items: end; gap: 1rem; padding: 2rem; min-height: 480px; border-radius: var(--radius-lg); background: radial-gradient(circle at 28% 70%, color-mix(in srgb, var(--c) 55%, transparent) 0%, transparent 60%), linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); transition: background 0.5s, border-color 0.5s; overflow: hidden; }
.companion-pedestal { position: absolute; left: 8%; bottom: 26px; width: 38%; height: 50px; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--c) 70%, transparent), transparent 70%); filter: blur(4px); }
.companion-img { position: relative; width: 100%; max-width: 300px; justify-self: center; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.5)); animation: mascot-idle 4s ease-in-out infinite; transform-origin: bottom center; }
.companion-img.is-swap { animation: comp-in 0.6s var(--bounce); }
@keyframes mascot-idle { 50% { transform: scaleY(1.025) translateY(-4px); } }
@keyframes comp-in { from { opacity: 0; transform: translateY(40px) scale(0.7) rotate(-8deg); } to { opacity: 1; transform: none; } }
.companion-card { position: relative; align-self: center; }
.companion-level { display: inline-block; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,0.3); font-weight: 800; font-size: 0.8rem; color: var(--gold); }
.companion-card h3 { font-size: 3rem; margin: 0.5rem 0 0.25rem; color: var(--c); text-shadow: 0 4px 20px color-mix(in srgb, var(--c) 50%, transparent); }
.companion-trait { display: inline-block; padding: 4px 12px; border-radius: 999px; font-weight: 900; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--c); color: #12062e; }
.companion-tagline { font-family: var(--font-display); font-size: 1.25rem; margin: 0.75rem 0 0.25rem; }
.companion-card > p { color: var(--muted); }
.companion-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.companion-thumb { --c: #A855F7; position: relative; display: grid; justify-items: center; padding: 10px 8px 12px; border-radius: var(--radius); border: 2px solid transparent; background: var(--card); cursor: pointer; transition: transform 0.25s var(--bounce), background 0.25s, border-color 0.25s; }
.companion-thumb:last-child { grid-column: span 2; }
.companion-thumb img { height: 90px; width: auto; transition: transform 0.3s var(--bounce); }
.companion-thumb:hover { transform: translateY(-4px); }
.companion-thumb:hover img { transform: rotate(-6deg) scale(1.08); }
.companion-thumb.is-active { border-color: var(--c); background: color-mix(in srgb, var(--c) 20%, transparent); box-shadow: 0 12px 26px -10px var(--c); }
.companion-thumb b { font-family: var(--font-display); }
.companion-thumb small { color: var(--dim); font-weight: 800; font-size: 0.72rem; }
.companion-thumb.is-chosen::after { content: '💜'; position: absolute; top: 6px; right: 8px; }

/* =========================================================
   ROZETLER + LİDERLİK
   ========================================================= */
.badge-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; margin-bottom: 4rem; }
.badge-item { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 16px 10px 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); outline: none; transition: transform 0.3s var(--bounce), background 0.3s; }
.badge-item img { width: 86px; filter: grayscale(0.55) brightness(0.8); transition: filter 0.4s, transform 0.4s var(--bounce); position: relative; z-index: 1; }
.badge-item b { font-family: var(--font-display); font-size: 0.92rem; font-weight: 600; position: relative; z-index: 1; }
.badge-item:hover, .badge-item:focus-visible { transform: translateY(-6px); background: var(--card-2); }
.badge-item:hover img, .badge-item:focus-visible img { filter: none; transform: scale(1.1) rotate(-6deg); }
.badge-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; width: 200px; padding: 10px 12px; border-radius: 12px; background: #fff; color: #2E1065; font-size: 0.82rem; font-weight: 700; line-height: 1.4; transform: translate(-50%, 8px); opacity: 0; pointer-events: none; transition: 0.25s var(--ease); z-index: 5; box-shadow: var(--shadow-lg); }
.badge-tip em { color: var(--purple); font-style: normal; font-weight: 900; }
.badge-item:hover .badge-tip, .badge-item:focus-visible .badge-tip { opacity: 1; transform: translate(-50%, 0); }
.badge-rays { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; opacity: 0; }
.badge-rays::before { content: ''; position: absolute; left: 50%; top: 40%; width: 220px; height: 220px; margin: -110px 0 0 -110px; background: repeating-conic-gradient(rgba(250,204,21,0.35) 0 10deg, transparent 10deg 30deg); animation: spin-plain 10s linear infinite; }
.badge-item.is-unlocked { background: linear-gradient(170deg, rgba(250,204,21,0.25), rgba(168,85,247,0.15)); border-color: rgba(250,204,21,0.6); }
.badge-item.is-unlocked img { filter: none; }
.badge-item.is-unlocked .badge-rays { opacity: 1; }
.badge-item.is-unlocked::after { content: 'Açıldı!'; position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 99px; background: var(--lime); color: #1A2E05; font-size: 0.62rem; font-weight: 900; z-index: 2; }
.badge-item.is-new { animation: badge-new 1s var(--bounce); }
@keyframes spin-plain { to { transform: rotate(360deg); } }
@keyframes badge-new { 0% { transform: scale(0.6); } 60% { transform: scale(1.15); } }

.league { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.league-text h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin: 0.9rem 0 1rem; }
.league-text p { color: var(--muted); }
.league-hint { margin-top: 1rem; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(250,204,21,0.1); border: 1px dashed rgba(250,204,21,0.5); }
.leaderboard { position: relative; list-style: none; display: grid; gap: 8px; padding: 1.25rem; border-radius: var(--radius-lg); background: linear-gradient(170deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03)); border: 1px solid var(--line); }
.lb-row { display: grid; grid-template-columns: 40px 44px 1fr auto; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: rgba(255,255,255,0.05); transition: transform 0.6s var(--ease), background 0.3s; }
.lb-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; background: #2A1366; border: 2px solid rgba(255,255,255,0.2); }
.lb-rank { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-align: center; color: var(--dim); }
.lb-row:nth-child(1) .lb-rank { color: var(--gold); } .lb-row:nth-child(2) .lb-rank { color: #E5E7EB; } .lb-row:nth-child(3) .lb-rank { color: #FDBA74; }
.lb-name { font-weight: 800; }
.lb-xp { font-weight: 800; color: var(--muted); font-size: 0.9rem; }
.lb-xp b { color: #fff; }
.lb-row--me { background: linear-gradient(90deg, rgba(163,230,53,0.3), rgba(250,204,21,0.15)); border: 2px solid var(--lime); }
.lb-row--me img { background: radial-gradient(circle at 50% 35%, #fff, #E9D5FF); object-fit: cover; object-position: center 12%; }
.lb-row--me .lb-name::after { content: ' (sen)'; color: var(--lime); font-size: 0.8rem; }

/* =========================================================
   BİLİM + KARŞILAŞTIRMA
   ========================================================= */
.science-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 3.5rem; }
.science-card { padding: 1.75rem 1.5rem; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); transition: transform 0.3s var(--bounce), background 0.3s; }
.science-card:hover { transform: translateY(-6px); background: var(--card-2); }
.science-card > span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; font-size: 1.8rem; background: linear-gradient(135deg, rgba(168,85,247,0.4), rgba(236,72,153,0.3)); margin-bottom: 1rem; }
.science-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.science-card p { color: var(--muted); font-size: 0.93rem; }
.compare { max-width: 900px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.compare table { width: 100%; border-collapse: collapse; }
.compare th { padding: 18px 22px; text-align: left; font-family: var(--font-display); font-size: 1.15rem; }
.compare th:first-child { background: rgba(255,255,255,0.06); color: var(--dim); }
.compare th:last-child { background: linear-gradient(90deg, #7C3AED, #A855F7); }
.compare th img { display: inline-block; vertical-align: middle; border-radius: 8px; margin-right: 6px; }
.compare td { padding: 14px 22px; border-top: 1px solid var(--line); font-weight: 700; }
.compare td:first-child { color: var(--dim); background: rgba(255,255,255,0.02); }
.compare td:last-child { background: rgba(168,85,247,0.1); }
.compare .x, .compare .ok { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 0.75rem; margin-right: 10px; font-weight: 900; }
.compare .x { background: rgba(251,113,133,0.2); color: #FB7185; }
.compare .ok { background: var(--lime); color: #1A2E05; }

/* =========================================================
   VELİLER
   ========================================================= */
.parents-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.parents-visual { position: relative; padding-bottom: 60px; }
.parents-scene { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 3px solid rgba(250,204,21,0.3); }
.parents-phone { position: absolute; right: -20px; bottom: 0; width: 180px; transform: rotate(6deg); animation: float 6s ease-in-out infinite; }
.parents-content h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 0.9rem 0 1rem; }
.parents-content > p { color: var(--muted); font-size: 1.05rem; }
.parent-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 1.5rem 0 0.5rem; }
.parent-metrics div { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px 6px; border-radius: var(--radius); background: rgba(250,204,21,0.08); border: 1px solid rgba(250,204,21,0.25); }
.parent-metrics b { font-size: 1.5rem; }
.parent-metrics span { font-size: 0.78rem; font-weight: 800; color: var(--muted); line-height: 1.3; }

/* =========================================================
   EKRAN RAYI
   ========================================================= */
.screens-rail { display: flex; gap: 2rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem max(4vw, calc((100vw - 1220px) / 2)) 2rem; scrollbar-width: none; align-items: flex-end; }
.screens-rail::-webkit-scrollbar { display: none; }
.screen-slide { scroll-snap-align: center; flex-shrink: 0; display: grid; gap: 1rem; justify-items: center; text-align: center; }
.screen-slide--tablet .device { width: min(620px, 80vw); }
.screen-slide--phone .device { width: 230px; }
.screen-slide figcaption { max-width: 360px; }
.screen-slide figcaption b { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.screen-slide figcaption span { color: var(--dim); font-size: 0.92rem; font-weight: 600; }
.screen-slide .device { transition: transform 0.4s var(--bounce); }
.screen-slide:hover .device { transform: translateY(-8px); }
.rail-controls { display: flex; justify-content: center; gap: 12px; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 1.3rem; cursor: pointer; transition: 0.25s var(--bounce); }
.rail-btn:hover { background: var(--violet); transform: scale(1.08); }

/* =========================================================
   FİYAT (index + fiyatlandirma.php)
   ========================================================= */
.pricing-card { position: relative; max-width: 560px; margin: 0 auto; padding: 2.75rem 2.25rem; text-align: center; border-radius: var(--radius-lg); background: linear-gradient(170deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)); border: 2px solid rgba(250,204,21,0.45); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(250,204,21,0.45); overflow: hidden; }
.pricing-card::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(250,204,21,0.12), transparent 30%, rgba(163,230,53,0.1), transparent 60%); animation: spin-plain 14s linear infinite; z-index: 0; }
.pricing-card > * { position: relative; z-index: 1; }
.pricing-badge { display: inline-block; padding: 7px 18px; border-radius: 999px; background: linear-gradient(180deg, #FDE047, #F59E0B); color: #3B1D02; font-weight: 900; font-size: 0.88rem; margin-bottom: 1.25rem; }
.pricing-card h2, .pricing-card h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.pricing-amount { margin-bottom: 1rem; }
.price-original { display: block; font-size: 1.1rem; color: var(--dim); text-decoration: line-through; }
.price-current { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; color: var(--gold); line-height: 1; }
.price-current small { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--muted); }
.pricing-note { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin-bottom: 1.75rem; }
.pricing-features li { position: relative; padding-left: 1.6rem; font-size: 0.92rem; font-weight: 700; color: var(--muted); }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 900; }
.pricing-trial { color: var(--lime); font-weight: 800; font-size: 0.92rem; margin-bottom: 1.5rem; }
.pricing-more { display: block; margin-top: 1rem; font-weight: 800; }

/* =========================================================
   SSS
   ========================================================= */
.faq-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-side h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 0.9rem 0 1rem; }
.faq-side p { color: var(--muted); }
.faq-mascot { width: 170px; margin-top: 1.5rem; animation: float 5s ease-in-out infinite; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: background 0.3s, border-color 0.3s; }
.faq-item[open] { background: var(--card-2); border-color: rgba(168,85,247,0.5); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 18px 22px; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,0.1); transition: transform 0.35s var(--bounce), background 0.3s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; border-radius: 2px; background: #fff; }
.faq-icon::after { transform: rotate(90deg); transition: transform 0.3s; }
.faq-item[open] .faq-icon { background: var(--violet); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { padding: 0 22px 20px; color: var(--muted); animation: pop-in 0.35s var(--ease); }

/* =========================================================
   İNDİR + SANDIK
   ========================================================= */
.download-box { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: radial-gradient(circle at 85% 50%, rgba(250,204,21,0.35), transparent 50%), linear-gradient(135deg, #6D28D9, #4C1D95 60%, #831843); box-shadow: 0 40px 90px -30px rgba(124,58,237,0.8); overflow: hidden; }
.download-box h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0.9rem 0 1rem; }
.download-box p { color: #EDE9FE; font-size: 1.05rem; margin-bottom: 1.75rem; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5rem; }
.store-badge { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 16px; background: #0B0420; color: #fff; border: 1px solid rgba(255,255,255,0.2); transition: transform 0.25s var(--bounce), box-shadow 0.25s; }
.store-badge:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.7); }
.store-badge small { display: block; font-size: 0.65rem; letter-spacing: 0.08em; opacity: 0.75; font-weight: 800; }
.store-badge strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.chest-area { position: relative; display: grid; place-items: center; min-height: 300px; }
.chest { position: relative; border: 0; background: none; cursor: pointer; display: grid; justify-items: center; gap: 10px; }
.chest img { width: 220px; position: relative; z-index: 1; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5)); animation: chest-idle 2.4s ease-in-out infinite; }
.chest-rays { position: absolute; left: 50%; top: 45%; width: 380px; height: 380px; margin: -190px 0 0 -190px; background: repeating-conic-gradient(rgba(253,224,71,0.35) 0 8deg, transparent 8deg 24deg); border-radius: 50%; mask: radial-gradient(circle, #000 20%, transparent 70%); -webkit-mask: radial-gradient(circle, #000 20%, transparent 70%); animation: spin-plain 16s linear infinite; }
.chest-label { position: relative; z-index: 1; padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--purple); font-family: var(--font-display); font-weight: 700; box-shadow: var(--shadow-lg); }
.chest:hover img { animation: chest-shake 0.5s ease-in-out infinite; }
.chest.is-open img { animation: chest-open 0.9s var(--bounce) forwards; }
.chest.is-open .chest-rays { animation-duration: 3s; }
.chest-kanki { position: absolute; right: -10px; bottom: -40px; width: 130px; transform: rotate(-8deg); animation: float 4s ease-in-out infinite; }
@keyframes chest-idle { 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes chest-shake { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
@keyframes chest-open { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(-8deg); } 100% { transform: scale(1.12); filter: drop-shadow(0 0 40px #FDE047); } }

/* eski indir.php düzeni */
.download-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.download-content h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1rem; }
.download-content > p { color: var(--muted); margin-bottom: 1.5rem; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.download-hero-img { border-radius: var(--radius-lg); border: 3px solid rgba(255,255,255,0.15); box-shadow: var(--shadow-lg); max-width: 320px; margin: 0 auto; }

/* =========================================================
   ÖZELLİK SAYFALARI
   ========================================================= */
.feature-hero { position: relative; padding: calc(var(--header-h) + 50px) 0 60px; overflow: hidden; }
.feature-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 500px at 80% 30%, color-mix(in srgb, var(--c1) 45%, transparent), transparent 70%), radial-gradient(600px 400px at 10% 90%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 70%); z-index: -1; }
.feature-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; font-weight: 700; color: var(--dim); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb b { color: #fff; }
.feature-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 1rem 0; background: linear-gradient(120deg, #fff 30%, color-mix(in srgb, var(--c1) 70%, #fff)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.feature-lead { color: var(--muted); font-size: 1.15rem; margin-bottom: 2rem; }
.feature-hero-visual { position: relative; }
.feature-hero-frame { border-radius: var(--radius-lg); overflow: hidden; border: 3px solid color-mix(in srgb, var(--c1) 55%, transparent); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--c1) 80%, transparent); transform: rotate(2deg); }
.feature-hero-frame img { width: 100%; max-height: 520px; object-fit: cover; }
.feature-hero-mascot { position: absolute; left: -50px; bottom: -40px; width: 170px; filter: drop-shadow(0 20px 26px rgba(0,0,0,0.5)); animation: float 5s ease-in-out infinite; }
.feature-hero-visual .float-chip--xp { right: -14px; top: 10%; }

.feature-points-section { padding: 20px 0 40px; }
.feature-highlights { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.feature-highlights li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--c1) 15%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); font-weight: 800; }
.feature-highlights li span { color: var(--lime); }

.steps-path { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.steps-path::before { content: ''; position: absolute; top: 58px; left: 12%; right: 12%; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--c1) 0 14px, transparent 14px 26px); opacity: 0.6; }
.step { position: relative; text-align: center; padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); transition: transform 0.3s var(--bounce); }
.step:hover { transform: translateY(-8px); }
.step-num { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #12062e; background: var(--gold); }
.step-icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0.5rem auto 1rem; border-radius: 24px; font-size: 2.2rem; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 14px 30px -10px var(--c1); position: relative; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.92rem; }

.feature-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.detail-block { display: grid; grid-template-columns: 70px 1fr; gap: 1.25rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.detail-block:last-child { border-bottom: 0; }
.detail-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1; background: linear-gradient(180deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.detail-block h2 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.detail-block p { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.sticky-visual { position: sticky; top: calc(var(--header-h) + 30px); display: grid; justify-items: center; }
.sticky-visual .device--phone { width: 270px; }
.sticky-mascot { width: 130px; margin-top: -60px; margin-right: -60%; position: relative; filter: drop-shadow(0 16px 20px rgba(0,0,0,0.5)); animation: float 5s ease-in-out infinite; }

.subject-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 2.5rem; }
.subject-card { display: grid; justify-items: center; gap: 4px; padding: 1.25rem 0.75rem; border-radius: var(--radius); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); text-align: center; }
.subject-card span { font-size: 2rem; }
.subject-card b { font-family: var(--font-display); }
.subject-card small { color: var(--dim); font-weight: 700; font-size: 0.75rem; }
.teacher-row { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; padding: 2rem; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.teacher-row img { width: 200px; }
.teacher-row h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.teacher-row p { color: var(--muted); }

.companion-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.companion-mini { display: grid; justify-items: center; text-align: center; padding: 1rem 0.5rem; border-radius: var(--radius); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform 0.3s var(--bounce); }
.companion-mini:hover { transform: translateY(-6px) rotate(-2deg); }
.companion-mini img { height: 120px; width: auto; }
.companion-mini b { font-family: var(--font-display); font-size: 1.1rem; }
.companion-mini small { color: var(--dim); font-weight: 700; font-size: 0.75rem; }

.feature-video { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; align-items: center; padding: 2.25rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 25%, transparent), color-mix(in srgb, var(--c2) 10%, transparent)); border: 1px solid color-mix(in srgb, var(--c1) 40%, transparent); }
.feature-video h2 { font-size: 2rem; margin: 0.9rem 0 0.6rem; }
.feature-video p { color: var(--muted); margin-bottom: 1.5rem; }

.feature-pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.feature-pager a { padding: 12px 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 800; color: #fff; }
.feature-pager a:hover { background: var(--card-2); color: var(--gold); }

.cta-band { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; padding: 1.75rem 2.25rem; border-radius: var(--radius-lg); background: linear-gradient(120deg, #7C3AED, #A855F7 50%, #DB2777); box-shadow: 0 30px 70px -30px rgba(168,85,247,0.9); }
.cta-band img { width: 110px; margin: -50px 0 -30px; filter: drop-shadow(0 14px 20px rgba(0,0,0,0.4)); animation: float 4s ease-in-out infinite; }
.cta-band h2 { font-size: 2rem; }
.cta-band p { color: #F5F3FF; font-weight: 700; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* tüm özellikler sayfası */
.page-hero { padding: calc(var(--header-h) + 50px) 0 30px; }
.page-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); margin: 1rem 0; }
.page-hero p { color: var(--muted); font-size: 1.12rem; }
.page-hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 3px solid rgba(250,204,21,0.35); transform: rotate(2deg); }
.feature-index { position: sticky; top: var(--header-h); z-index: 50; display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.feature-index::-webkit-scrollbar { display: none; }
.feature-index a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; font-weight: 800; font-size: 0.88rem; color: #fff; background: rgba(21,9,52,0.85); border: 1px solid color-mix(in srgb, var(--c1) 55%, transparent); backdrop-filter: blur(12px); }
.feature-index a:hover, .feature-index a.is-active { background: var(--c1); color: #12062e; }
.feature-row-section { padding: 80px 0; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.feature-row.is-reverse .feature-row-text { order: 2; }
.feature-row-kicker { font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; color: color-mix(in srgb, var(--c1) 70%, #fff); }
.feature-row h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.6rem 0 1rem; }
.feature-row-lead { color: var(--muted); font-size: 1.06rem; }
.feature-row-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.feature-row-visual { position: relative; min-height: 400px; display: grid; place-items: center; }
.feature-row-blob { position: absolute; inset: 8%; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%; background: linear-gradient(135deg, var(--c1), var(--c2)); opacity: 0.35; filter: blur(30px); animation: blob 12s ease-in-out infinite; }
.feature-row-scene { position: relative; width: 85%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 3px solid rgba(255,255,255,0.15); }
.feature-row-device { position: absolute; right: 0; bottom: -20px; }
.feature-row-device.device--tablet { width: 46%; padding: 7px; border-radius: 20px; }
.feature-row-device.device--tablet .device-screen { border-radius: 14px; }
.feature-row-device.device--phone { width: 130px; padding: 6px; border-radius: 24px; }
.feature-row-device.device--phone .device-screen { border-radius: 19px; }
.feature-row-mascot { position: absolute; left: -10px; bottom: -30px; width: 130px; filter: drop-shadow(0 14px 20px rgba(0,0,0,0.5)); animation: float 5s ease-in-out infinite; }
@keyframes blob { 50% { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; transform: rotate(10deg) scale(1.05); } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; margin-top: 60px; padding: 80px 0 0; background: #0C0424; }
.footer-wave { position: absolute; left: 0; right: 0; top: -59px; height: 60px; background: #0C0424; clip-path: ellipse(70% 100% at 50% 100%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-wordmark { width: 220px; margin-bottom: 1rem; }
.footer-brand p { color: var(--dim); font-size: 0.93rem; max-width: 380px; }
.footer-mascots { display: flex; gap: 4px; margin-top: 1.25rem; }
.footer-mascots img { width: 42px; height: auto; transition: transform 0.3s var(--bounce); }
.footer-mascots img:hover { transform: translateY(-8px) rotate(-8deg) scale(1.15); }
.site-footer h4 { font-size: 1rem; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.site-footer ul a { color: var(--dim); font-weight: 700; font-size: 0.92rem; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--dim); font-size: 0.85rem; }

/* =========================================================
   GÖREV PANELİ, TOAST, KONFETİ, VİDEO MODAL
   ========================================================= */
.quest-panel { position: fixed; inset: 0; z-index: 2100; display: flex; justify-content: flex-end; }
.quest-panel[hidden] { display: none; }
.quest-panel-backdrop { position: absolute; inset: 0; background: rgba(8,2,24,0.7); backdrop-filter: blur(6px); animation: fade-in 0.3s; }
.quest-panel-card { position: relative; width: min(440px, 100vw); height: 100%; overflow-y: auto; padding: 2rem 1.75rem; background: linear-gradient(180deg, #2A1366, #150934); border-left: 1px solid var(--line); animation: slide-in 0.45s var(--ease); }
.quest-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.1); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.quest-close:hover { background: rgba(255,255,255,0.2); }
.quest-head { display: flex; gap: 14px; align-items: flex-end; margin-bottom: 1rem; }
.quest-avatar { width: 84px; filter: drop-shadow(0 10px 14px rgba(0,0,0,0.4)); }
.quest-kicker { font-size: 0.75rem; font-weight: 900; color: var(--gold); text-transform: uppercase; letter-spacing: 0.08em; }
.quest-head h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.xp-bar--lg { height: 12px; }
.quest-xp { font-size: 0.85rem; color: var(--dim); font-weight: 700; margin-top: 6px; }
.quest-xp b { color: #fff; }
.quest-intro { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; }
.quest-list { list-style: none; display: grid; gap: 8px; margin-bottom: 1.5rem; }
.quest-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); font-weight: 700; font-size: 0.92rem; }
.quest-list li .q-check { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,0.3); font-size: 0.8rem; }
.quest-list li .q-xp { font-size: 0.78rem; font-weight: 900; color: var(--gold); }
.quest-list li.is-done { background: rgba(163,230,53,0.12); border-color: rgba(163,230,53,0.45); color: var(--muted); }
.quest-list li.is-done .q-check { background: var(--lime); border-color: var(--lime); color: #1A2E05; }
.quest-list li.is-done .q-title { text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.4); }
.quest-list a { color: inherit; }
.quest-badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 1.5rem; }
.quest-badges img { width: 100%; filter: grayscale(1) brightness(0.45); transition: filter 0.4s; }
.quest-badges img.is-on { filter: none; }

.toast-stack { position: fixed; left: 50%; bottom: 24px; z-index: 2300; display: grid; gap: 10px; transform: translateX(-50%); pointer-events: none; width: min(420px, 92vw); }
.toast { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 20px; background: rgba(255,255,255,0.97); color: #2E1065; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6); animation: toast-in 0.5s var(--bounce); pointer-events: auto; }
.toast.is-out { animation: toast-out 0.4s var(--ease) forwards; }
.toast img { width: 52px; height: 52px; object-fit: contain; }
.toast-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: linear-gradient(135deg, var(--lime), var(--gold)); }
.toast b { display: block; font-family: var(--font-display); font-size: 1.05rem; }
.toast small { font-weight: 700; color: #6D28D9; }
.toast--badge { background: linear-gradient(135deg, #FEF9C3, #fff); border: 2px solid var(--gold); }
.toast--level { background: linear-gradient(135deg, #ECFCCB, #fff); border: 2px solid var(--lime); }
@keyframes toast-in { from { opacity: 0; transform: translateY(30px) scale(0.8); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(20px) scale(0.9); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }

.xp-pop { position: fixed; z-index: 2400; pointer-events: none; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--lime); text-shadow: 0 2px 0 #365314, 0 0 20px rgba(163,230,53,0.8); animation: xp-pop 1.2s var(--ease) forwards; }
@keyframes xp-pop { 0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); } 20% { opacity: 1; transform: translate(-50%, -20px) scale(1.15); } 100% { opacity: 0; transform: translate(-50%, -90px) scale(1); } }

.confetti-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2200; }

.video-modal { position: fixed; inset: 0; z-index: 2500; display: flex; align-items: center; justify-content: center; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(8,2,24,0.92); backdrop-filter: blur(10px); animation: fade-in 0.3s; }
.video-modal-content { position: relative; width: min(1000px, 92vw); z-index: 1; animation: pop-in 0.45s var(--bounce); }
.video-modal-close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.15); color: #fff; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.video-modal-close:hover { background: var(--violet); }
#modal-video { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.7); background: #000; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
    .nav-link { padding: 8px 10px; font-size: 0.86rem; }
    .hud-chip-xp { display: none; }
    .powers-grid { grid-template-columns: repeat(2, 1fr); }
    .games-grid { grid-template-columns: repeat(4, 1fr); }
    .science-grid { grid-template-columns: repeat(2, 1fr); }
    .companion-row { grid-template-columns: repeat(4, 1fr); }
    .subject-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .hero-inner, .quest-banner-inner, .video-showcase, .try-grid, .memory, .companion-stage, .league, .parents-inner, .faq-inner, .download-box, .download-inner, .feature-hero-inner, .feature-detail, .feature-video, .page-hero-inner, .feature-row { grid-template-columns: 1fr; }
    .feature-row.is-reverse .feature-row-text { order: 0; }
    .hero { min-height: auto; }
    .hero-stage { height: 520px; max-width: 560px; margin: 0 auto; width: 100%; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stats-strip li, .stats-strip li:nth-child(5n) { border-right: 1px solid var(--line); }
    .stats-strip li:nth-child(2n) { border-right: 0; }
    .video-tabs { grid-template-columns: repeat(3, 1fr); }
    .video-tab { flex-direction: column; text-align: center; }
    .video-tab-text small { display: none; }
    .video-device { transform: none; }
    .companion-list { grid-template-columns: repeat(7, 1fr); }
    .companion-thumb:last-child { grid-column: auto; }
    .companion-thumb img { height: 64px; }
    .faq-side { position: static; }
    .faq-mascot { display: none; }
    .sticky-visual { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-path { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
    .steps-path::before { display: none; }
    .cta-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .cta-band img { margin: -60px 0 0; }
    .chest-kanki { right: 10%; }
    .parents-phone { right: 10px; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; order: 3; }
    .hud-chip { margin-left: auto; }
    .nav-menu { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 1rem 1.25rem 1.5rem; background: rgba(21,9,52,0.97); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform 0.4s var(--ease), opacity 0.3s; margin: 0; }
    .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
    .nav-link { padding: 12px 16px; font-size: 1rem; text-align: center; }
    .nav-cta { margin: 8px 0 0; }
    .site-header { background: rgba(21, 9, 52, 0.82); backdrop-filter: blur(18px); }
    .timeline-line { left: 28px; }
    .timeline-item { grid-template-columns: 56px 1fr; gap: 14px; }
    .timeline-dot { grid-column: 1; }
    .timeline-item.is-left .timeline-card, .timeline-item.is-right .timeline-card { grid-column: 2; }
    .games-grid { grid-template-columns: repeat(3, 1fr); }
    .parent-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    :root { --header-h: 66px; }
    .section { padding: 76px 0; }
    .nav-wordmark { width: 118px; }
    .nav-logo { width: 38px; height: 38px; }
    .hud-chip-body { min-width: 54px; }
    .hero-stage { height: 430px; min-height: 0; }
    .speech--hero { left: 0; max-width: 220px; font-size: 0.86rem; }
    .float-card--phone { width: 110px; }
    .float-badge--1 { width: 70px; } .float-badge--2 { width: 60px; } .float-badge--3 { display: none; }
    .float-chip--level { display: none; }
    .hero-actions .btn { flex: 1 1 100%; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stats-strip li, .stats-strip li:nth-child(5n) { border-right: 0; }
    .stats-num { font-size: 1.6rem; }
    .stats-hint { font-size: 0.68rem; }
    .powers-grid, .powers-grid--3 { grid-template-columns: 1fr; }
    .power-card { min-height: 0; }
    .video-tabs { grid-template-columns: 1fr; }
    .video-tab { flex-direction: row; text-align: left; }
    .video-cta { padding: 12px 14px; font-size: 0.9rem; }
    .video-cta-btn { width: 44px; height: 44px; }
    .quiz-options { grid-template-columns: 1fr; }
    .quiz-start { flex-direction: column; text-align: center; }
    .ai-result { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .concepts { justify-content: center; }
    .memory { padding: 1.25rem; }
    .memory-board { gap: 7px; grid-template-columns: repeat(3, 1fr); }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .companion-hero { grid-template-columns: 1fr; text-align: center; min-height: 0; padding: 1.5rem; }
    .companion-img { max-width: 200px; }
    .companion-pedestal { left: 30%; width: 40%; top: 270px; bottom: auto; }
    .companion-card h3 { font-size: 2.3rem; }
    .speech--inline::before { left: 50%; margin-left: -10px; }
    .companion-list { grid-template-columns: repeat(4, 1fr); }
    .science-grid { grid-template-columns: 1fr; }
    .compare th, .compare td { padding: 12px 12px; font-size: 0.85rem; }
    .compare .x, .compare .ok { display: none; }
    .lb-row { grid-template-columns: 30px 38px 1fr auto; gap: 8px; }
    .lb-row img { width: 38px; height: 38px; }
    .pricing-features { grid-template-columns: 1fr; }
    .price-current { font-size: 2.6rem; }
    .store-badge { flex: 1 1 100%; justify-content: center; }
    .chest img { width: 170px; }
    .chest-kanki { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .subject-grid { grid-template-columns: repeat(2, 1fr); }
    .companion-row { grid-template-columns: repeat(2, 1fr); }
    .teacher-row { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .steps-path { grid-template-columns: 1fr; }
    .feature-hero-mascot { width: 110px; left: -10px; }
    .detail-block { grid-template-columns: 1fr; gap: 0.5rem; }
    .parents-phone { width: 120px; }
    .screen-slide--tablet .device { width: 84vw; }
    .feature-row-visual { min-height: 0; padding-bottom: 30px; }
}

/* =========================================================
   GİRİŞ SAYFASI
   ========================================================= */
.auth-body { min-height: 100vh; display: flex; flex-direction: column; }
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 18px; padding-bottom: 10px; position: relative; z-index: 2; }
.auth-top-links { display: flex; align-items: center; gap: 14px; }
.auth-top-link { color: var(--muted); font-weight: 800; font-size: 0.92rem; }
.auth-top-link:hover { color: #fff; }
.auth-layout { flex: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding-top: 1.5rem; padding-bottom: 2.5rem; position: relative; z-index: 1; }
.auth-showcase h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.08; margin: 0.9rem 0 0.8rem; }
.auth-lead { color: var(--muted); font-size: 1.08rem; max-width: 520px; }

.auth-stage { position: relative; height: 380px; margin: 1.2rem 0 1.4rem; display: grid; place-items: end center; }
.auth-pedestal { position: absolute; bottom: 6px; width: 260px; height: 54px; border-radius: 50%; background: radial-gradient(ellipse, rgba(168,85,247,0.7), rgba(168,85,247,0) 70%); filter: blur(2px); }
.auth-kanki { position: relative; height: 310px; margin-bottom: 18px; width: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,0.5)); animation: auth-bob 4s ease-in-out infinite; z-index: 2; }
@keyframes auth-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
.auth-orbit { position: absolute; left: 50%; top: 50%; width: 330px; height: 330px; margin: -165px 0 0 -165px; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.12); animation: auth-spin 40s linear infinite; }
.auth-orbit-badge { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px; transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-165px) rotate(calc(-360deg / var(--n) * var(--i))); filter: drop-shadow(0 8px 14px rgba(0,0,0,0.45)); }
.auth-orbit-badge { animation: auth-counter 40s linear infinite; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
@keyframes auth-counter {
    from { transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-165px) rotate(calc(-360deg / var(--n) * var(--i))); }
    to { transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-165px) rotate(calc(-360deg / var(--n) * var(--i) - 360deg)); }
}
.auth-speech { position: absolute; top: 18px; right: max(0px, calc(50% - 290px)); max-width: 230px; padding: 12px 16px; border-radius: 18px 18px 18px 4px; background: #fff; color: #2E1065; font-weight: 800; font-size: 0.92rem; line-height: 1.35; box-shadow: 0 16px 30px -12px rgba(0,0,0,0.5); z-index: 3; transition: opacity 0.25s, transform 0.25s var(--bounce); }
.auth-speech.is-swap { opacity: 0; transform: translateY(6px) scale(0.96); }
.auth-xp { position: absolute; z-index: 3; padding: 6px 12px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: #fff; background: rgba(27,11,69,0.85); border: 1px solid rgba(255,255,255,0.18); box-shadow: 0 10px 20px -10px rgba(0,0,0,0.6); animation: auth-float 5s ease-in-out infinite; }
.auth-xp--1 { left: max(0px, calc(50% - 250px)); top: 90px; color: var(--lime); }
.auth-xp--2 { left: max(10px, calc(50% - 220px)); bottom: 60px; color: #FDBA74; animation-delay: -1.6s; }
.auth-xp--3 { right: max(0px, calc(50% - 250px)); bottom: 90px; color: var(--gold); animation-delay: -3.2s; }
@keyframes auth-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.auth-perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.auth-perks li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: transform 0.3s var(--bounce), border-color 0.3s; }
.auth-perks li:hover { transform: translateY(-4px); border-color: var(--c); }
.auth-perks li > span { flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 1.15rem; background: color-mix(in srgb, var(--c) 22%, transparent); }
.auth-perks b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.auth-perks small { color: var(--dim); font-size: 0.78rem; line-height: 1.3; display: block; }

.auth-panel { position: relative; }
.auth-card { position: relative; padding: 2.2rem 2rem 1.8rem; margin-top: 40px; border-radius: 28px; background: linear-gradient(165deg, rgba(76,29,149,0.75), rgba(27,11,69,0.92) 60%); border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 40px 90px -30px rgba(124,58,237,0.75), inset 0 1px 0 rgba(255,255,255,0.12); backdrop-filter: blur(14px); }
.auth-card::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, var(--lime), transparent 35%, transparent 65%, var(--pink)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.7; pointer-events: none; }
.auth-card.has-error { animation: auth-shake 0.5s ease; }
@keyframes auth-shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.auth-peekers { position: absolute; top: -52px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; pointer-events: none; }
.auth-peekers img { height: 62px; width: auto; filter: drop-shadow(0 6px 8px rgba(0,0,0,0.4)); animation: auth-peek 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.45s); }
@keyframes auth-peek { 0%, 100% { transform: translateY(6px); } 50% { transform: translateY(-4px) rotate(-3deg); } }
.auth-card-head { text-align: center; margin-bottom: 1.3rem; }
.auth-role { display: inline-block; padding: 5px 14px; border-radius: 999px; background: var(--gold); color: #3B1D00; font-weight: 900; font-size: 0.78rem; letter-spacing: 0.04em; }
.auth-card-head h2 { font-size: 2rem; margin: 0.6rem 0 0.2rem; }
.auth-card-head p { color: var(--muted); font-size: 0.95rem; }
.auth-error { margin-bottom: 1rem; padding: 12px 14px; border-radius: 14px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.5); color: #FECACA; font-weight: 700; font-size: 0.92rem; }

.auth-form { display: grid; gap: 14px; }
.auth-field { display: grid; gap: 6px; }
.auth-field-label { font-weight: 900; font-size: 0.85rem; color: var(--muted); }
.auth-input { position: relative; display: flex; align-items: center; border-radius: 16px; background: rgba(10,3,30,0.55); border: 2px solid rgba(255,255,255,0.12); transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.auth-input:focus-within { border-color: var(--lime); background: rgba(10,3,30,0.75); box-shadow: 0 0 0 5px rgba(163,230,53,0.15); }
.auth-input-ico { padding-left: 14px; font-size: 1.05rem; }
.auth-input input { flex: 1; min-width: 0; padding: 14px 12px; border: 0; outline: none; background: transparent; color: #fff; font: inherit; font-weight: 700; font-size: 1rem; }
.auth-input input::placeholder { color: rgba(255,255,255,0.35); }
.auth-input input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 100px #1E0B4A inset; caret-color: #fff; }
.auth-eye { margin-right: 8px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; font-size: 1.05rem; }
.auth-eye:hover { background: rgba(255,255,255,0.1); }
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; position: relative; overflow: hidden; }
.auth-submit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%); transform: translateX(-120%); animation: auth-shine 3.5s ease-in-out infinite; }
@keyframes auth-shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.auth-spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(26,46,5,0.3); border-top-color: #1A2E05; animation: auth-spin 0.8s linear infinite; }
.auth-submit.is-loading .auth-spinner { display: inline-block; }
.auth-submit.is-loading { opacity: 0.85; }

.auth-free { display: flex; align-items: center; gap: 10px; margin-top: 1.1rem; padding: 10px 14px; border-radius: 14px; background: rgba(250,204,21,0.1); border: 1px solid rgba(250,204,21,0.3); }
.auth-free img { width: 40px; height: 40px; flex-shrink: 0; }
.auth-free p { font-size: 0.9rem; color: #FEF3C7; }
.auth-free b { color: var(--gold); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 1.3rem 0 1rem; color: var(--dim); font-weight: 800; font-size: 0.85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,0.14); }
.auth-alt { display: grid; gap: 10px; }
.auth-alt-row { display: flex; gap: 10px; align-items: flex-start; }
.auth-alt-ico { flex-shrink: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,0.08); }
.auth-alt-row p { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.auth-alt-row b { color: #fff; }
.auth-download { justify-content: center; margin-top: 4px; }
.auth-foot { display: flex; justify-content: center; gap: 18px; padding-bottom: 20px; color: var(--dim); font-size: 0.85rem; position: relative; z-index: 1; }
.auth-foot a { color: var(--dim); }
.auth-foot a:hover { color: #fff; }

@media (max-width: 980px) {
    .auth-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .auth-showcase { text-align: center; }
    .auth-lead { margin: 0 auto; }
    .auth-stage { height: 280px; }
    .auth-kanki { height: 250px; }
    .auth-orbit { width: 290px; height: 290px; margin: -145px 0 0 -145px; }
    .auth-orbit-badge { width: 46px; height: 46px; margin: -23px; }
    @keyframes auth-counter {
        from { transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-145px) rotate(calc(-360deg / var(--n) * var(--i))); }
        to { transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-145px) rotate(calc(-360deg / var(--n) * var(--i) - 360deg)); }
    }
    .auth-panel { order: -1; }
    .auth-showcase .auth-stage, .auth-perks { max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
    .auth-top-link { display: none; }
    .nav-wordmark { width: 120px; }
    .auth-card { padding: 2rem 1.2rem 1.4rem; }
    .auth-peekers img { height: 50px; }
    .auth-perks { grid-template-columns: 1fr; text-align: left; }
    .auth-speech { font-size: 0.82rem; max-width: 180px; }
    .auth-xp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
