/* ════════════════════════════════════════════════════════════════
   MiniMind — homepage styles (hero, sections, animations)
   Requires site.css (tokens + shared components) loaded first.
════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
#hero {
    background: linear-gradient(135deg, #0a0a1a 0%, #0d0d24 55%, #1a0a32 100%);
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; padding: 90px 0 70px;
}
#hero::before {
    content: ''; position: absolute; top: -30%; right: -15%; width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}
#hero::after {
    content: ''; position: absolute; bottom: -20%; left: -10%; width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(139,92,246,.14) 0%, transparent 65%);
    border-radius: 50%; pointer-events: none;
}
.hero-stars { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.star {
    position: absolute; width: 2px; height: 2px; background: #fff;
    border-radius: 50%; opacity: .3; animation: twinkle 4s infinite;
}
@keyframes twinkle { 0%,100% { opacity: .15; } 50% { opacity: .7; } }

.coin-float {
    position: absolute; bottom: -50px; font-size: 1.25rem; opacity: 0;
    pointer-events: none; animation: coinrise 9s linear infinite;
    filter: drop-shadow(0 0 6px rgba(245,158,11,.4));
}
@keyframes coinrise {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    8%   { opacity: .65; }
    85%  { opacity: .35; }
    100% { transform: translateY(-78vh) rotate(340deg); opacity: 0; }
}

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.3);
    color: #a78bfa; padding: 7px 18px; border-radius: 100px;
    font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.hero-tag span { width: 6px; height: 6px; background: var(--c-green); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero-h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.3rem); font-weight: 900;
    color: #fff; line-height: 1.08; margin-bottom: 24px;
}
.hero-h1 .hl {
    background: linear-gradient(90deg, #818cf8, #c4b5fd, #fbbf24, #818cf8);
    background-size: 300% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    animation: gradmove 7s linear infinite;
}
@keyframes gradmove { to { background-position: 300% 0; } }
.hero-p { font-size: 1.15rem; color: rgba(255,255,255,.68); line-height: 1.8; max-width: 560px; margin-bottom: 40px; }
.hero-strong { color: rgba(255,255,255,.85); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.btn-hero-main {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--grad-main);
    color: #fff; padding: 17px 34px; border-radius: 14px;
    font-size: 1rem; font-weight: 700; transition: transform .3s, box-shadow .3s;
    box-shadow: 0 8px 32px rgba(99,102,241,.4);
    position: relative; overflow: hidden;
}
.btn-hero-main::after {
    content: ''; position: absolute; top: 0; left: -80%; width: 45%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-20deg); animation: shine 3.8s ease-in-out infinite;
}
@keyframes shine { 0%, 55% { left: -80%; } 100% { left: 180%; } }
.btn-hero-main:hover { color: #fff; transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 44px rgba(99,102,241,.55); }
.btn-hero-sec {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
    color: #fff; padding: 16px 32px; border-radius: 14px; font-size: 1rem; font-weight: 600; transition: all .3s;
}
.btn-hero-sec:hover { color: #fff; background: rgba(255,255,255,.14); transform: translateY(-3px); }

.av-row { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.av-stack { display: flex; padding-left: 10px; }
.av-stack span {
    width: 36px; height: 36px; border-radius: 50%; margin-left: -10px;
    border: 2px solid #0d0d24; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800; color: #fff;
}
.av-note { font-size: 13px; color: rgba(255,255,255,.6); }
.av-note strong { color: #fff; }
.hero-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.hero-trust-item { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.55); font-size: 13px; font-weight: 500; }
.hero-trust-item i { color: var(--c-amber); font-size: 1rem; }

/* ── Phone trio ───────────────────────────────────────────────── */
.hero-phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 580px; }
.phone-glow { position: absolute; bottom: 60px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(99,102,241,.3) 0%, transparent 70%); border-radius: 50%; }
.phone {
    width: 268px; height: 545px; background: linear-gradient(160deg, #1e1e3a, #24183e);
    border-radius: 44px; border: 2px solid rgba(255,255,255,.1);
    box-shadow: 0 40px 90px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.07);
    position: relative; overflow: hidden; z-index: 2;
    animation: phonefloat 7s ease-in-out infinite;
}
@keyframes phonefloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.phone-inner { margin: 10px; background: var(--c-dark); border-radius: 36px; height: calc(100% - 20px); overflow: hidden; }
.phone-notch { width: 88px; height: 22px; background: #000; border-radius: 0 0 18px 18px; margin: 0 auto; }
.phone-header { padding: 12px 16px 8px; display: flex; align-items: center; justify-content: space-between; }
.phone-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 800; color: #fff; }
.phone-logo em { color: var(--c-amber); font-style: normal; }
.phone-coins { display: flex; align-items: center; gap: 4px; background: rgba(245,158,11,.15); padding: 4px 10px; border-radius: 100px; font-size: 12px; font-weight: 700; color: #fbbf24; }
.phone-games { padding: 8px 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.phone-game { border-radius: 14px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.phone-stats { padding: 12px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.phone-stat { background: rgba(255,255,255,.05); border-radius: 10px; padding: 10px; }
.phone-stat-n { font-size: 1.1rem; font-weight: 800; color: #fff; font-family: 'Space Grotesk', sans-serif; }
.phone-stat-l { font-size: 9px; color: rgba(255,255,255,.45); margin: 0; }

.pw { position: absolute; bottom: 48px; z-index: 1; }
.pw-left  { right: calc(50% + 92px); transform: rotate(-9deg); }
.pw-right { left:  calc(50% + 92px); transform: rotate(9deg); }
.mini-phone {
    width: 188px; height: 388px; background: linear-gradient(160deg, #1c1c36, #221638);
    border-radius: 32px; border: 2px solid rgba(255,255,255,.08);
    box-shadow: 0 30px 70px rgba(0,0,0,.55); overflow: hidden; opacity: .95;
    animation: phonefloat 8s ease-in-out infinite;
}
.pw-right .mini-phone { animation-delay: 1.2s; }
.mini-inner { margin: 8px; background: var(--c-dark); border-radius: 26px; height: calc(100% - 16px); padding: 16px 12px; }
.mini-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mini-title small { color: rgba(255,255,255,.4); font-weight: 600; }
.sudoku-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; }
.sudoku-grid span {
    aspect-ratio: 1; background: rgba(255,255,255,.06); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; color: #c7d2fe; font-weight: 700;
}
.sudoku-grid span.f { background: rgba(99,102,241,.35); color: #fff; }
.lb-mini-row {
    display: flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.05); border-radius: 9px;
    padding: 8px 9px; margin-bottom: 7px; font-size: 10px; color: rgba(255,255,255,.78); font-weight: 600;
}
.lb-mini-row .rk { width: 16px; text-align: center; font-weight: 800; }
.lb-mini-row .av { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; font-weight: 800; flex-shrink: 0; }
.lb-mini-row .sc { margin-left: auto; color: #fbbf24; font-weight: 800; }
.lb-mini-row.me { background: rgba(99,102,241,.22); border: 1px dashed rgba(129,140,248,.5); }

.float-card {
    position: absolute; z-index: 3;
    background: rgba(18,18,42,.85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.12); border-radius: 14px;
    padding: 11px 15px; display: flex; align-items: center; gap: 11px;
    box-shadow: 0 14px 44px rgba(0,0,0,.5);
    animation: floatcard 6s ease-in-out infinite;
}
@keyframes floatcard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-card .fc-emoji { font-size: 1.5rem; line-height: 1; }
.float-card .fc-t { font-size: 12.5px; font-weight: 800; color: #fff; line-height: 1.3; }
.float-card .fc-s { font-size: 10.5px; color: rgba(255,255,255,.55); }
.fc-achieve { top: 4%; left: -3%; animation: popcycle 7s ease-in-out infinite; }
@keyframes popcycle {
    0%       { opacity: 0; transform: translateY(14px) scale(.92); }
    7%, 80%  { opacity: 1; transform: translateY(0) scale(1); }
    92%,100% { opacity: 0; transform: translateY(-8px) scale(.96); }
}
.fc-streak { top: 19%; right: -4%; animation-delay: 1.5s; }
.fc-coins  { bottom: 17%; left: -1%; animation-delay: .8s; }
.fc-rank   { bottom: 5%; right: 0; animation-delay: 2.2s; }

/* ── Feature ticker ───────────────────────────────────────────── */
#ticker { background: #0d0d22; border-top: 1px solid rgba(255,255,255,.05); border-bottom: 1px solid rgba(255,255,255,.05); padding: 16px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker-item {
    color: rgba(255,255,255,.6); font-weight: 700; font-size: .9rem;
    white-space: nowrap; margin-right: 56px; display: inline-flex; align-items: center; gap: 9px;
}
.ticker-item .dot { color: var(--c-primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Stats bar ────────────────────────────────────────────────── */
#stats-bar { background: #fff; padding: 56px 0; border-bottom: 1px solid var(--c-border); }
.stat-box { text-align: center; padding: 8px 20px; }
.stat-ico { font-size: 1.6rem; margin-bottom: 8px; display: block; }
.stat-n {
    font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 900; line-height: 1;
    background: var(--grad-main);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    margin-bottom: 6px;
}
.stat-l { font-size: .85rem; color: var(--c-muted); font-weight: 600; }
.stat-sep { width: 1px; background: var(--c-border); height: 64px; display: none; }

/* ── Feature grid ─────────────────────────────────────────────── */
.feat-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: 20px;
    padding: 32px 28px; height: 100%; position: relative; overflow: hidden;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.feat-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--fg, var(--grad-main)); opacity: 0; transition: opacity .3s;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(99,102,241,.14); border-color: rgba(99,102,241,.25); }
.feat-card:hover::before { opacity: 1; }
.feat-ico {
    width: 60px; height: 60px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
    margin-bottom: 20px; transition: transform .3s;
}
.feat-card:hover .feat-ico { transform: scale(1.12) rotate(-6deg); }
.feat-card h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 10px; }
.feat-card p { font-size: .9rem; color: var(--c-muted); line-height: 1.7; margin-bottom: 0; }
.feat-chip {
    display: inline-flex; align-items: center; gap: 5px; margin-top: 16px;
    font-size: 11.5px; font-weight: 800; color: var(--c-primary);
    background: rgba(99,102,241,.08); padding: 4px 12px; border-radius: 100px;
}

/* ── Games ────────────────────────────────────────────────────── */
.cat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.cat-chip {
    padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--c-border);
    background: #fff; font-size: .85rem; font-weight: 700; color: var(--c-muted);
    display: inline-flex; align-items: center; gap: 7px; transition: all .25s;
}
.cat-chip:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99,102,241,.12); }
.game-card {
    background: #fff; border-radius: 20px; padding: 30px 20px 26px;
    border: 1px solid var(--c-border); text-align: center; height: 100%;
    transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.game-card::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; border-radius: 20px 20px 0 0;
    background: var(--gc, var(--grad-main));
}
.game-card:hover { transform: translateY(-8px); box-shadow: 0 22px 64px rgba(0,0,0,.12); }
.game-card-cta { background: linear-gradient(150deg,#f8faff,#eef2ff); }
.game-emoji { font-size: 3rem; display: inline-block; margin-bottom: 16px; line-height: 1; }
.game-card:hover .game-emoji { animation: wiggle .5s ease; }
@keyframes wiggle { 25% { transform: rotate(-9deg) scale(1.15); } 75% { transform: rotate(9deg) scale(1.15); } }
.game-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.game-card p { font-size: .85rem; color: var(--c-muted); line-height: 1.6; margin-bottom: 14px; }
.game-pill { display: inline-block; padding: 3px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; background: rgba(99,102,241,.1); color: var(--c-primary); }
.game-pill-solid { background: var(--grad-main); color: #fff; }

/* ── Rewards showcase ─────────────────────────────────────────── */
#rewards { background: var(--c-dark); position: relative; overflow: hidden; }
#rewards::before {
    content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: radial-gradient(circle at 15% 20%, rgba(245,158,11,.1) 0%, transparent 40%), radial-gradient(circle at 85% 70%, rgba(99,102,241,.14) 0%, transparent 45%);
}
.rw-panel {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px; padding: 28px; height: 100%; transition: all .3s; position: relative;
}
.rw-panel:hover { background: rgba(255,255,255,.07); border-color: rgba(99,102,241,.3); transform: translateY(-4px); }
.rw-panel h3 { font-size: 1.05rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.rw-panel .rw-sub { font-size: .85rem; color: rgba(255,255,255,.55); margin-bottom: 22px; }

.flame { font-size: 3.2rem; line-height: 1; display: inline-block; animation: flamepulse 1.8s ease-in-out infinite; filter: drop-shadow(0 0 14px rgba(245,158,11,.45)); }
@keyframes flamepulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.streak-n { font-family: 'Space Grotesk',sans-serif; font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; }
.streak-l { font-size: .8rem; color: rgba(255,255,255,.5); }
.streak-bonus { font-family: 'Space Grotesk',sans-serif; font-size: 1.4rem; font-weight: 900; color: #fbbf24; }
.milestones { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; position: relative; }
.milestones::before { content: ''; position: absolute; left: 14px; right: 14px; top: 13px; height: 2px; background: rgba(255,255,255,.12); }
.ms { position: relative; text-align: center; z-index: 1; }
.ms-dot {
    width: 28px; height: 28px; border-radius: 50%; margin: 0 auto 6px;
    background: var(--c-dark2); border: 2px solid rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center; font-size: 11px; color: rgba(255,255,255,.4);
}
.ms.hit .ms-dot { background: linear-gradient(135deg, #f59e0b, #ef4444); border-color: transparent; color: #fff; font-weight: 800; box-shadow: 0 0 14px rgba(245,158,11,.5); }
.ms-l { font-size: 9.5px; color: rgba(255,255,255,.45); font-weight: 700; }

.badge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.badge-cell { text-align: center; }
.badge-coin {
    width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 8px;
    display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
    border: 2px solid rgba(255,255,255,.14); transition: transform .25s;
    box-shadow: inset 0 2px 6px rgba(255,255,255,.18), 0 6px 18px rgba(0,0,0,.4);
}
.badge-cell:hover .badge-coin { transform: scale(1.14) rotate(8deg); }
.badge-coin.locked { background: rgba(255,255,255,.06) !important; filter: grayscale(1); opacity: .45; box-shadow: none; }
.badge-name { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.6); }

.mission { background: rgba(255,255,255,.05); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.mission:last-child { margin-bottom: 0; }
.mission-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.mission-t { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 8px; }
.mission-r { font-size: 11.5px; font-weight: 800; color: #fbbf24; }
.mission-track { height: 7px; background: rgba(255,255,255,.1); border-radius: 100px; overflow: hidden; }
.mission-fill { height: 100%; border-radius: 100px; background: var(--mf, var(--grad-main)); width: 0; }
.fade-up.in .mission-fill { animation: fillbar 1.3s cubic-bezier(.22,1,.36,1) .3s forwards; }
@keyframes fillbar { to { width: var(--w); } }
.mission-done { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; color: #34d399; background: rgba(16,185,129,.15); padding: 3px 10px; border-radius: 100px; }

.ach-pop {
    background: linear-gradient(135deg, rgba(245,158,11,.16), rgba(239,68,68,.1));
    border: 1px solid rgba(245,158,11,.35); border-radius: 16px;
    padding: 18px 20px; display: flex; align-items: center; gap: 16px;
    animation: achglow 3s ease-in-out infinite;
}
@keyframes achglow { 0%,100% { box-shadow: 0 0 0 rgba(245,158,11,0); } 50% { box-shadow: 0 0 28px rgba(245,158,11,.25); } }
.ach-pop .ap-ico { font-size: 2.3rem; line-height: 1; animation: flamepulse 2.2s ease-in-out infinite; }
.ach-pop .ap-t { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #fbbf24; }
.ach-pop .ap-n { font-size: 1rem; font-weight: 800; color: #fff; }
.ach-pop .ap-r { margin-left: auto; font-size: .95rem; font-weight: 900; color: #fbbf24; white-space: nowrap; }

.login-day { border-radius: 10px; padding: 10px 4px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.login-day.claimed { background: rgba(245,158,11,.15); border-color: rgba(245,158,11,.35); }
.login-day .ld-emoji { font-size: .95rem; }
.login-day .ld-name { font-size: 9.5px; font-weight: 800; color: rgba(255,255,255,.5); }
.login-day.claimed .ld-name { color: #fbbf24; }
.login-day .ld-coins { font-size: 9px; color: rgba(255,255,255,.4); }

/* ── Leaderboard showcase ─────────────────────────────────────── */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 18px; margin-bottom: 36px; }
.pod { text-align: center; }
.pod-av {
    width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 900; color: #fff; position: relative;
    border: 3px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.pod-crown { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 1.3rem; animation: floatcard 3s ease-in-out infinite; }
.pod-name { font-size: .8rem; font-weight: 800; margin-bottom: 8px; }
.pod-bar {
    width: 88px; border-radius: 14px 14px 0 0; transform-origin: bottom; transform: scaleY(0);
    display: flex; align-items: flex-start; justify-content: center; padding-top: 12px;
    font-family: 'Space Grotesk',sans-serif; font-weight: 900; color: rgba(255,255,255,.9); font-size: 1.3rem;
}
.fade-up.in .pod-bar { animation: podgrow 1s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes podgrow { to { transform: scaleY(1); } }
.pod-1 .pod-bar { height: 150px; background: linear-gradient(180deg, #f59e0b, #d97706); }
.pod-2 .pod-bar { height: 112px; background: linear-gradient(180deg, #94a3b8, #64748b); animation-delay: .15s !important; }
.pod-3 .pod-bar { height: 88px;  background: linear-gradient(180deg, #d97706, #92400e); animation-delay: .3s !important; }
.lb-list { background: #fff; border: 1px solid var(--c-border); border-radius: 18px; padding: 10px; box-shadow: 0 16px 48px rgba(99,102,241,.08); }
.lb-row {
    display: flex; align-items: center; gap: 14px; padding: 13px 16px;
    border-radius: 12px; transition: background .2s; font-size: .9rem;
}
.lb-row:hover { background: var(--c-soft); }
.lb-rank { width: 28px; font-weight: 900; font-family: 'Space Grotesk',sans-serif; color: var(--c-muted); text-align: center; }
.lb-av { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.lb-name { font-weight: 700; }
.lb-sub { font-size: .75rem; color: var(--c-muted); }
.lb-score { margin-left: auto; font-weight: 900; font-family: 'Space Grotesk',sans-serif; color: var(--c-amber); }
.lb-delta { font-size: .72rem; font-weight: 800; color: var(--c-green); }
.lb-row.me { background: rgba(99,102,241,.07); border: 1.5px dashed rgba(99,102,241,.4); }
.btn-lb-cta { padding: 13px 28px !important; font-size: .95rem; }

/* ── Benefits ─────────────────────────────────────────────────── */
#benefits {
    background: linear-gradient(135deg, #0f0a2a 0%, #0a1a2e 55%, #041a14 100%);
    position: relative; overflow: hidden;
}
#benefits::before {
    content: ''; position: absolute; inset: 0; opacity: .4; pointer-events: none;
    background-image: radial-gradient(circle at 20% 50%, rgba(99,102,241,.15) 0%, transparent 40%), radial-gradient(circle at 80% 20%, rgba(139,92,246,.12) 0%, transparent 40%);
}
.benefit-card {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px; padding: 24px; height: 100%; transition: all .3s;
    display: flex; align-items: flex-start; gap: 18px;
}
.benefit-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); border-color: rgba(99,102,241,.3); }
.benefit-icon {
    width: 48px; min-width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.benefit-card h3 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.benefit-card p { font-size: .85rem; color: rgba(255,255,255,.58); line-height: 1.65; margin: 0; }

/* ── How it works ─────────────────────────────────────────────── */
.step-card { text-align: center; padding: 28px 20px; }
.step-num {
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--grad-main);
    color: #fff; font-size: 1.25rem; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px; box-shadow: 0 8px 28px rgba(99,102,241,.35);
    transition: transform .3s;
}
.step-card:hover .step-num { transform: scale(1.12); }
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: .875rem; color: var(--c-muted); line-height: 1.65; margin: 0; }
.step-ico { color: var(--c-primary); }
.btn-how-cta { padding: 15px 32px; }

/* ── Screenshots ──────────────────────────────────────────────── */
#screenshots { background: #0d0d1f; }
.screen-mock {
    background: linear-gradient(160deg, #1e1e3a, #2a1a4a);
    border-radius: 24px; padding: 16px 12px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    transition: transform .35s, box-shadow .35s;
}
.screen-mock:hover { transform: translateY(-12px) rotate(-1.5deg); box-shadow: 0 32px 84px rgba(99,102,241,.22); }
.screen-raised { transform: translateY(-20px); }
.mock-bar { width: 50px; height: 5px; background: rgba(255,255,255,.18); border-radius: 100px; margin: 0 auto 10px; }
.mock-inner {
    border-radius: 16px; height: 220px;
    display: flex; align-items: center; justify-content: center; font-size: 4rem;
    position: relative; overflow: hidden;
}
.mock-inner::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.45));
}
.mock-inner span { position: relative; z-index: 1; }
.mock-label { text-align: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); margin-top: 12px; }

/* ── Ratings ──────────────────────────────────────────────────── */
#ratings { background: linear-gradient(135deg, #0a0a1a, #12122a); padding: 72px 0; }
.rating-box {
    text-align: center; padding: 32px 24px;
    background: rgba(255,255,255,.05); border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    transition: all .3s;
}
.rating-box:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); border-color: rgba(245,158,11,.3); }
.rating-stars-big { font-size: 1.9rem; margin-bottom: 10px; color: var(--c-amber); letter-spacing: 3px; }
.rating-big-n { font-family: 'Space Grotesk',sans-serif; font-size: 3.2rem; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 8px; }
.rating-sub { font-size: .85rem; color: rgba(255,255,255,.45); }
.rating-platform { font-size: .875rem; font-weight: 700; color: rgba(255,255,255,.75); margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── Why players love + comparison ────────────────────────────── */
.love-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: 18px;
    padding: 26px 22px; height: 100%; transition: all .3s;
}
.love-card:hover { transform: translateY(-6px); box-shadow: 0 18px 52px rgba(99,102,241,.12); border-color: rgba(99,102,241,.25); }
.love-emoji { font-size: 2.2rem; display: inline-block; margin-bottom: 14px; line-height: 1; }
.love-card:hover .love-emoji { animation: wiggle .5s ease; }
.love-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.love-card p { font-size: .85rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 12px; }
.love-stat { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--c-green); background: rgba(16,185,129,.08); padding: 4px 12px; border-radius: 100px; }
.vs-card { background: #fff; border: 1px solid var(--c-border); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(99,102,241,.08); }
.vs-head { display: grid; grid-template-columns: 1.4fr 1fr 1fr; background: var(--c-dark); color: #fff; }
.vs-head > div { padding: 18px 20px; font-weight: 800; font-size: .9rem; }
.vs-head .vs-mm { background: var(--grad-main); text-align: center; }
.vs-head .vs-ot { text-align: center; color: rgba(255,255,255,.55); }
.vs-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; border-top: 1px solid var(--c-border); align-items: center; }
.vs-row > div { padding: 15px 20px; font-size: .875rem; }
.vs-row .vs-f { font-weight: 600; }
.vs-row .vs-y, .vs-row .vs-n { text-align: center; font-size: 1.05rem; }
.vs-row .vs-y i { color: var(--c-green); }
.vs-row .vs-n i { color: #d1d5db; }
.vs-row:nth-child(even) { background: var(--c-soft); }

/* ── Testimonials marquee ─────────────────────────────────────── */
.t-marquee { overflow: hidden; position: relative; padding: 6px 0; }
.t-marquee::before, .t-marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.t-marquee::before { left: 0; background: linear-gradient(to right, var(--c-soft), transparent); }
.t-marquee::after { right: 0; background: linear-gradient(to left, var(--c-soft), transparent); }
.t-track { display: flex; width: max-content; animation: marquee 65s linear infinite; }
.t-track.rev { animation-direction: reverse; animation-duration: 75s; }
.t-marquee:hover .t-track { animation-play-state: paused; }
.testi-card {
    width: 380px; margin-right: 24px; flex-shrink: 0;
    background: #fff; border-radius: 20px; padding: 28px 26px;
    border: 1px solid var(--c-border); transition: all .3s; position: relative;
}
.testi-card::before {
    content: '"'; position: absolute; top: 16px; right: 24px;
    font-size: 4.5rem; line-height: 1; color: rgba(99,102,241,.1); font-family: serif;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px rgba(99,102,241,.12); border-color: rgba(99,102,241,.25); }
.testi-stars { color: var(--c-amber); letter-spacing: 2px; margin-bottom: 14px; }
.testi-text { font-size: .9rem; line-height: 1.7; color: var(--c-text); border: none; margin: 0 0 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; flex-shrink: 0; color: #fff; font-weight: 800;
}
.testi-name { font-size: .9rem; font-weight: 700; margin: 0; }
.testi-role { font-size: .8rem; color: var(--c-muted); }

/* ── Parents ──────────────────────────────────────────────────── */
#parents { background: linear-gradient(135deg, #fffbeb 0%, #fff7f7 100%); }
.parent-feat { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.parent-ico { width: 44px; min-width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.parent-feat h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.parent-feat p { font-size: .85rem; color: var(--c-muted); line-height: 1.6; margin: 0; }
.kids-badge { display: inline-flex; align-items: center; gap: 6px; background: #d1fae5; color: #065f46; padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.kid-benefit { border-bottom: 1px solid #f3f4f6; }
.kid-benefit .kb-emoji { font-size: 1.3rem; }
.kid-benefit strong { font-size: .9rem; }
.kid-benefit span.kb-desc { font-size: .8rem; color: var(--c-muted); }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-item { background: #fff; border: 1px solid var(--c-border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: border-color .2s; }
.faq-item:hover { border-color: rgba(99,102,241,.3); }
.faq-q {
    width: 100%; background: none; border: none; text-align: left;
    padding: 20px 24px; font-size: .95rem; font-weight: 600; color: var(--c-text);
    display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
}
.faq-q i { color: var(--c-primary); font-size: 1.1rem; transition: transform .3s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a { padding: 0 24px 20px; font-size: .9rem; color: var(--c-muted); line-height: 1.75; }

/* ── Blog ─────────────────────────────────────────────────────── */
.blog-card { background: #fff; border-radius: 16px; border: 1px solid var(--c-border); overflow: hidden; height: 100%; transition: all .3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 18px 54px rgba(99,102,241,.1); }
.blog-thumb { height: 180px; display: flex; align-items: center; justify-content: center; }
.blog-thumb span { font-size: 3.5rem; }
.blog-body { padding: 24px; }
.blog-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--c-primary); margin-bottom: 8px; }
.blog-card h3 { font-size: .975rem; font-weight: 700; margin-bottom: 10px; line-height: 1.45; }
.blog-card p { font-size: .85rem; color: var(--c-muted); line-height: 1.65; margin-bottom: 16px; }
.blog-meta { font-size: .8rem; color: var(--c-muted); display: flex; align-items: center; gap: 8px; }

/* ── Download CTA ─────────────────────────────────────────────── */
#download {
    background: linear-gradient(135deg, var(--c-primary) 0%, #7c3aed 50%, #be185d 100%);
    padding: 110px 0; position: relative; overflow: hidden;
}
#download::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3C/g%3E%3C/svg%3E");
}
.dl-brain { font-size: 3.6rem; display: inline-block; position: relative; animation: phonefloat 4s ease-in-out infinite; }
.dl-ring {
    position: absolute; inset: -18px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%;
    animation: ringpulse 2.4s ease-out infinite;
}
@keyframes ringpulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.btn-store {
    display: inline-flex; align-items: center; gap: 14px;
    background: #fff; color: var(--c-text);
    padding: 14px 28px; border-radius: 14px;
    transition: all .3s; font-weight: 600; border: none;
}
.btn-store:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 16px 48px rgba(0,0,0,.25); color: var(--c-text); }
.btn-store i { font-size: 2rem; }
.btn-store .ico-play { color: #34a853; }
.btn-store .ico-apple { color: #000; }
.btn-store-text small { display: block; font-size: 10px; color: #6b7280; font-weight: 400; }
.btn-store-text strong { font-size: 1rem; display: block; }
.dl-trust { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 8px 18px; border-radius: 100px; font-size: 12.5px; font-weight: 700; }

/* ── Mobile sticky download bar ───────────────────────────────── */
#mobile-dl {
    position: fixed; bottom: 12px; left: 14px; right: 14px; z-index: 1200;
    display: none; align-items: center; justify-content: center; gap: 10px;
    background: var(--grad-main); color: #fff;
    padding: 15px; border-radius: 16px; font-weight: 800; font-size: .95rem;
    box-shadow: 0 12px 40px rgba(99,102,241,.5);
}
#mobile-dl:active { transform: scale(.98); }

/* ── Responsive ───────────────────────────────────────────────── */
@media (min-width: 768px) {
    .stat-sep { display: block; }
}
@media (max-width: 1199px) {
    .pw-left  { right: calc(50% + 60px); }
    .pw-right { left:  calc(50% + 60px); }
}
@media (max-width: 991px) {
    .phone { width: 240px; height: 488px; }
    .hero-phones { min-height: 520px; }
    .mini-phone { width: 160px; height: 330px; }
    .testi-card { width: 320px; }
}
@media (max-width: 767px) {
    .hero-btns { flex-direction: column; }
    .btn-hero-main, .btn-hero-sec { justify-content: center; }
    #hero { text-align: center; }
    .hero-p { margin-left: auto; margin-right: auto; }
    .hero-trust { justify-content: center; }
    .hero-tag { margin: 0 auto 28px; }
    .av-row { justify-content: center; }
    .pw, .fc-achieve, .fc-rank { display: none; }
    .fc-streak { right: 2%; }
    .fc-coins { left: 2%; }
    .hero-phones { min-height: 540px; }
    .vs-head > div, .vs-row > div { padding: 12px 10px; font-size: .78rem; }
    .testi-card { width: 290px; }
    .podium { gap: 10px; }
    .pod-bar { width: 72px; }
    footer { padding-bottom: 96px; }
}
@media (max-width: 576px) {
    #mobile-dl { display: flex; }
}
