@font-face {
    font-family: 'Exo 2';
    src: url('/assets/fonts/exo2-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Road Rage';
    src: url('/assets/fonts/roadrage.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-top:    #d9d0ff;
    --bg-bottom: #7f6dff;
    --aurora-a:  0.5;
    --texture-a: 0.9;

    --srf:      #1d2854;
    --srf-hi:   #303e78;
    --srf-lo:   #121a3a;
    --srf-edge: #0c1230;
    --bevel-a:  0.16;

    --ink:        #b9c9ff;
    --ink-soft:   #8fa3e8;
    --ink-strong: #eef2ff;
    --gold:       #ffd76a;

    --page-ink:      rgb(26, 22, 68);
    --page-ink-soft: rgb(59, 52, 120);

    --accent:  #5d8bff;
    --accent2: #a06bff;
    --cyan:    #35d6ff;
    --green:   #2fd47f;
    --rose:    #ff5d7a;

    --glow:      rgba(122, 110, 255, 0.50);
    --glow-soft: rgba(122, 110, 255, 0.28);
    --glow-a:    1;

    --aura-core: 255, 248, 222;
    --aura-main: 255, 208,  88;
    --aura-edge: 255, 150,  30;
    --aura-a:    1;

    --ink-day:   1;

    --bar-a: #3d6bff;
    --bar-b: #2fd4ff;

    --dl: 1;
    --nightmix: 0;

    --radius:    20px;
    --radius-sm: 14px;
    --maxw:      1180px;

    --section-y: clamp(3.5rem, 8vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 84px;
    overflow-x: clip;
}

body {
    margin: 0;
    font-family: 'Exo 2', 'Segoe UI', sans-serif;
    font-weight: 500;
    line-height: 1.65;
    color: var(--page-ink);
    background: var(--bg-bottom);
    overflow-x: clip;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: linear-gradient(to bottom, var(--bg-top), var(--bg-bottom));
}
#bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/img/pattern.webp') repeat center;
    opacity: calc(var(--texture-a) * 0.28);
    mix-blend-mode: multiply;
}
#aurora {
    position: fixed;
    inset: -20%;
    z-index: -2;
    pointer-events: none;
    opacity: var(--aurora-a);
    background:
        radial-gradient(38% 30% at 24% 30%, #6e8dff5c 0%, transparent 70%),
        radial-gradient(42% 34% at 78% 62%, #b06bff54 0%, transparent 70%),
        radial-gradient(30% 26% at 55% 12%, #35d6ff30 0%, transparent 70%);
    animation: aurora-drift 26s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes aurora-drift {
    0%   { transform: translate3d(-2.5%, -1.5%, 0) scale(1.00) rotate(-1deg); }
    50%  { transform: translate3d( 1.5%,  2.0%, 0) scale(1.06) rotate(0.5deg); }
    100% { transform: translate3d( 3.0%, -2.0%, 0) scale(1.02) rotate(1deg); }
}

#stars {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: var(--nightmix);
    transition: opacity 4s linear;
    background-image:
        radial-gradient(1.4px 1.4px at 12% 18%, #fff9 50%, transparent 100%),
        radial-gradient(1.2px 1.2px at 32% 62%, #fff7 50%, transparent 100%),
        radial-gradient(1.6px 1.6px at 58% 24%, #ffffffbb 50%, transparent 100%),
        radial-gradient(1.1px 1.1px at 71% 78%, #fff6 50%, transparent 100%),
        radial-gradient(1.5px 1.5px at 86% 38%, #fff9 50%, transparent 100%),
        radial-gradient(1.2px 1.2px at 22% 88%, #fff7 50%, transparent 100%),
        radial-gradient(1.3px 1.3px at 45% 8%,  #fff8 50%, transparent 100%),
        radial-gradient(1.1px 1.1px at 92% 66%, #fff6 50%, transparent 100%);
    background-size: 520px 520px;
}

.night-filter {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    background: #05030f;
    opacity: calc((1 - var(--dl)) * 0.20);
    transition: opacity 4s linear;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

.container {
    width: min(var(--maxw), 100% - 2.5rem);
    margin-inline: auto;
}
.container.narrow { width: min(860px, 100% - 2.5rem); }

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 10001;
    background: var(--srf);
    color: var(--ink-strong);
    padding: 10px 18px;
    border-radius: 10px;
}
.skip-link:focus { left: 8px; }

::selection { background: var(--accent2); color: #fff; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; }

.display {
    font-family: 'Road Rage', 'Exo 2', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1.display { font-size: clamp(3rem, 12vw, 6.4rem); }
h2.display { font-size: clamp(2.1rem, 5.6vw, 3.5rem); }
h3.display { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }

.display.gold {
    background: linear-gradient(180deg, #fff3c9 0%, var(--gold) 42%, #f0a92b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 2px rgba(20, 8, 60, 0.45));
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--page-ink-soft);
    margin-bottom: 0.9rem;
}
.kicker::before {
    content: "";
    width: 1.6em;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.card3d .kicker, .on-card .kicker { color: var(--ink-soft); }

.section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 790px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { font-size: 1.08rem; color: var(--page-ink-soft); }
.section-head p:last-child { margin-bottom: 0; }

.center { text-align: center; }
.center.section-head { margin-inline: auto; }
.center .kicker { justify-content: center; }

.on-card { color: var(--ink); }
.on-card h2, .on-card h3, .on-card strong { color: var(--ink-strong); }

.lead { font-size: 1.12rem; }

.card3d {
    position: relative;
    background: linear-gradient(180deg, var(--srf-hi) 0%, var(--srf) 45%, var(--srf-lo) 100%);
    border: 3px solid var(--srf-edge);
    border-radius: var(--radius);
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, var(--bevel-a)),
        inset 0 -10px 18px rgba(5, 3, 20, 0.45),
        0 14px 26px -10px rgba(8, 5, 25, 0.65),
        0 0 26px var(--glow-soft);
    color: var(--ink);
}
.card3d h2, .card3d h3, .card3d h4,
.card3d strong, .card3d b { color: var(--ink-strong); }

.card-pad { padding: clamp(1.4rem, 3.5vw, 2.4rem); }

.panel {
    position: relative;
    background:
        linear-gradient(180deg,
            rgba(24, 18, 56, calc(0.50 + 0.10 * var(--dl))) 0%,
            rgba(13, 9, 34, calc(0.62 + 0.10 * var(--dl))) 100%);
    border: 1.5px solid rgba(255, 255, 255, calc(0.10 + 0.06 * var(--dl)));
    border-radius: var(--radius);
    padding: clamp(1.25rem, 3vw, 2.1rem);
    color: var(--ink);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, calc(0.10 + 0.10 * var(--dl))),
        0 14px 32px -20px rgba(8, 5, 25, 0.7);
}
.panel p,
.panel li,
.panel .tagline { color: var(--ink); }
.panel h1, .panel h2, .panel h3, .panel h4,
.panel strong, .panel b { color: var(--ink-strong); }
.panel .kicker { color: var(--ink); }
.panel a:not(.btn) { color: var(--gold); }
.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(70% 90% at 0% 0%,
        rgba(255, 215, 106, calc(0.10 * var(--glow-a))) 0%, transparent 62%);
}
.panel > * { position: relative; }
.panel > :last-child { margin-bottom: 0; }

.section-head.panel { max-width: 860px; }
.section-head.panel.center { margin-inline: auto; }

.story.panel { padding: clamp(1.5rem, 4vw, 3rem); }
.story.panel h2:not(:first-child) { margin-top: 2rem; }

.panel-hero {
    padding: clamp(1.5rem, 3.6vw, 2.5rem) clamp(1.4rem, 3.4vw, 2.6rem);
    border-radius: 26px;
    border-width: 2px;
    border-color: rgba(255, 255, 255, calc(0.13 + 0.09 * var(--dl)));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, calc(0.14 + 0.14 * var(--dl))),
        inset 0 -26px 52px -32px rgba(var(--aura-main), calc(0.40 * var(--aura-a))),
        0 18px 44px -24px rgba(8, 5, 25, 0.8),
        0 0 38px -10px rgba(var(--aura-main), calc(0.30 * var(--aura-a)));
}
.panel-hero::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: -2px;
    height: 2px;
    border-radius: 2px;
    pointer-events: none;
    background: linear-gradient(90deg,
        transparent,
        rgba(var(--aura-main), calc(0.85 * var(--aura-a))) 35%,
        rgba(var(--aura-core), calc(1 * var(--aura-a))) 50%,
        rgba(var(--aura-main), calc(0.85 * var(--aura-a))) 65%,
        transparent);
}
.panel-hero::before {
    background:
        radial-gradient(62% 82% at 0% 0%, rgba(var(--aura-main), calc(0.16 * var(--aura-a))) 0%, transparent 60%),
        radial-gradient(55% 75% at 100% 100%, rgba(160, 107, 255, calc(0.18 * var(--glow-a))) 0%, transparent 62%);
}
.hero-split .panel-hero { margin-bottom: 1.3rem; }
.panel-hero .tagline { margin-bottom: 0; }

.hero .panel-hero h1 {
    background: linear-gradient(180deg, #fff6d8 0%, var(--gold) 46%, #f0a92b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 3px 5px rgba(6, 4, 22, 0.6));
}
.hero .panel-hero .tagline { color: var(--ink); }
.hero .panel-hero .tagline strong { color: var(--ink-strong); }

.card-lift { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
@media (hover: hover) {
    .card-lift:hover { transform: translateY(-6px); }
}

.card3d.featured { border-color: rgba(255, 215, 106, 0.55); }

.aura {
    position: relative;
    display: inline-block;
    line-height: 0;
    isolation: isolate;
}
.aura > * { position: relative; z-index: 2; }

.aura::before,
.aura::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 52%;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
}

.aura::before {
    width: var(--aura-size, 128%);
    transform: translate(-50%, -50%) scale(0.94);
    background: radial-gradient(closest-side,
        rgba(var(--aura-core), calc(0.86 * var(--aura-a))) 0%,
        rgba(var(--aura-main), calc(0.72 * var(--aura-a))) 32%,
        rgba(var(--aura-edge), calc(0.36 * var(--aura-a))) 56%,
        rgba(var(--aura-edge), calc(0.12 * var(--aura-a))) 76%,
        transparent 100%);
    animation: aura-breathe 4.6s ease-in-out infinite;
}

.aura::after {
    width: var(--aura-core-size, 84%);
    transform: translate(-50%, -50%) scale(1);
    z-index: 1;
    background: radial-gradient(closest-side,
        rgba(var(--aura-core), calc(0.68 * var(--aura-a))) 0%,
        rgba(var(--aura-main), calc(0.42 * var(--aura-a))) 46%,
        transparent 100%);
    animation: aura-core 4.6s ease-in-out infinite;
}

@keyframes aura-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(0.90); opacity: 0.55; }
    50%      { transform: translate(-50%, -50%) scale(1.10); opacity: 1; }
}
@keyframes aura-core {
    0%, 100% { transform: translate(-50%, -50%) scale(1.04); opacity: 0.85; }
    50%      { transform: translate(-50%, -50%) scale(0.92); opacity: 0.45; }
}

.aura.aura-slow::before,
.aura.aura-slow::after { animation-duration: 7s; }

.mascot {
    display: block;
    width: min(var(--mascot-w, 340px), 76vw);
    margin-inline: auto;
    filter:
        drop-shadow(0 0 2px rgba(0, 0, 0, 0.94))
        drop-shadow(0 0 11px rgba(var(--aura-main), calc(0.94 * var(--aura-a))))
        drop-shadow(0 0 69px rgba(var(--aura-main), calc(0.94 * var(--aura-a))));
    animation: float-soft 7s ease-in-out infinite;
    will-change: transform;
}
@keyframes float-soft {
    0%, 100% { transform: translateY(0) rotate(-0.6deg); }
    50%      { transform: translateY(-14px) rotate(0.8deg); }
}
.mascot.no-float { animation: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: color-mix(in srgb, var(--srf) 86%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--srf-edge);
    box-shadow: 0 8px 30px -12px rgba(8, 5, 25, 0.7), 0 0 24px var(--glow-soft);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    margin-right: auto;
    min-width: 0;
}
.brand img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    flex-shrink: 0;
}
.main-nav { display: flex; align-items: center; gap: 0.1rem; }
.main-nav a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    color: var(--ink);
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--ink-strong); background: rgba(255, 255, 255, 0.07); }
.main-nav a[aria-current="page"] {
    color: var(--gold);
    background: rgba(255, 215, 106, 0.10);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
    padding: 3px;
    border: 2px solid var(--srf-edge);
    border-radius: 12px;
    background: var(--srf-lo);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08);
}
.lang-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    text-decoration: none;
    opacity: 0.45;
    transition: opacity 0.2s, background 0.2s, transform 0.18s ease;
}
.lang-switch a:hover { opacity: 0.9; transform: translateY(-2px); }
.lang-switch a[aria-current="true"] {
    opacity: 1;
    background: rgba(255, 215, 106, 0.16);
    box-shadow: inset 0 0 0 1.5px rgba(255, 215, 106, 0.5);
}
.lang-switch svg {
    display: block;
    width: 24px;
    height: 16px;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.icon-btn {
    border: 2px solid var(--srf-edge);
    background: var(--srf-lo);
    color: var(--ink-strong);
    font: inherit;
    font-size: 1.15rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.18s ease;
}
.icon-btn:hover { transform: translateY(-2px); }
#nav-burger { display: none; }

.btn-mini {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.05rem;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    padding: 0.95rem 1.7rem;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.2s;
    border: none;
}
.btn:active { transform: scale(0.97); }

.btn-live {
    background: linear-gradient(180deg, #ffe397 0%, var(--gold) 45%, #f5b73a 100%);
    color: #3a2a00;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.55),
        inset 0 -6px 12px rgba(140, 80, 0, 0.28),
        0 12px 24px -8px rgba(140, 80, 0, 0.55);
}
.btn-live::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 30px 6px rgba(255, 215, 106, calc(0.75 * var(--glow-a)));
    opacity: 0.35;
    animation: soft-pulse 2.6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes soft-pulse {
    0%, 100% { opacity: 0.3; }
    50%      { opacity: 1; }
}
.btn-live:hover { transform: translateY(-2px) scale(1.03); filter: brightness(1.05); }

.btn-ghost {
    background: linear-gradient(180deg,
        rgba(24, 18, 56, calc(0.52 + 0.14 * var(--dl))) 0%,
        rgba(13, 9, 34, calc(0.64 + 0.14 * var(--dl))) 100%);
    color: var(--ink-strong);
    border: 2px solid rgba(255, 255, 255, calc(0.14 + 0.10 * var(--dl)));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 8px 18px -10px rgba(8, 5, 25, 0.7);
}
.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 106, 0.55);
}
.on-card .btn-ghost, .card3d .btn-ghost, .panel .btn-ghost { color: var(--ink-strong); }

.live-dot {
    position: relative;
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ff3b5c;
    flex-shrink: 0;
}
.live-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(255, 59, 92, 0.55);
    animation: live-dot 1.6s ease-out infinite;
    pointer-events: none;
}
@keyframes live-dot {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(3.2); opacity: 0; }
}

.hero {
    padding: clamp(1.2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem);
    overflow-x: clip;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    column-gap: clamp(1.5rem, 4vw, 3.5rem);
    row-gap: 0;
}
.hero-grid.hero-split {
    grid-template-areas:
        "top  art"
        "bot  art";
}
.hero-split .hero-top { grid-area: top; align-self: end; }
.hero-split .hero-bot { grid-area: bot; align-self: start; }
.hero-split .hero-art { grid-area: art; }
.hero-art { position: relative; text-align: center; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: color-mix(in srgb, var(--srf) 90%, transparent);
    border: 2px solid var(--srf-edge);
    color: var(--ink-strong);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.1), 0 6px 16px -6px rgba(8, 5, 25, 0.6);
}

.hero h1 {
    color: var(--page-ink);
    text-shadow: 0 3px 0 rgba(255, 255, 255, 0.22), 0 12px 34px rgba(60, 30, 140, 0.35);
    margin-bottom: 0.12em;
}
.hero .tagline {
    font-size: clamp(1.06rem, 2.1vw, 1.3rem);
    font-weight: 600;
    color: var(--page-ink-soft);
    max-width: 33em;
    margin: 0 0 1.5rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }

.hero-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.hero-mini-stats li {
    background: color-mix(in srgb, var(--srf) 88%, transparent);
    border: 2px solid var(--srf-edge);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), 0 4px 12px -4px rgba(8, 5, 25, 0.5);
}
.hero-mini-stats b { color: var(--gold); }

.hero-video-wrap {
    position: relative;
    width: var(--phone-w, min(300px, 82vw));
    aspect-ratio: 8.1 / 15.2;
    margin: 0 auto;
    overflow: hidden;
    filter:
        drop-shadow(0 0 2px rgba(0, 0, 0, 0.94))
        drop-shadow(0 0 11px rgba(var(--aura-main), calc(0.94 * var(--aura-a))))
        drop-shadow(0 0 69px rgba(var(--aura-main), calc(0.94 * var(--aura-a))));
    animation: float-soft 6s ease-in-out infinite;
    will-change: transform;
}
.phone-aura,
.phone-aura::after {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}
.phone-aura {
    width: calc(var(--phone-w, 300px) * 2.1);
    height: calc(var(--phone-w, 300px) * 2.1);
    max-width: 160vw;
    transform: translate(-50%, -50%);
    z-index: 0;
    background: radial-gradient(closest-side,
        rgba(var(--aura-core), calc(0.86 * var(--aura-a))) 0%,
        rgba(var(--aura-main), calc(0.72 * var(--aura-a))) 32%,
        rgba(var(--aura-edge), calc(0.36 * var(--aura-a))) 56%,
        rgba(var(--aura-edge), calc(0.12 * var(--aura-a))) 76%,
        transparent 100%);
    animation: aura-breathe 5.2s ease-in-out infinite;
}
.phone-aura::after {
    content: "";
    width: 64%;
    height: 64%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side,
        rgba(var(--aura-core), calc(0.68 * var(--aura-a))) 0%,
        rgba(var(--aura-main), calc(0.42 * var(--aura-a))) 48%,
        transparent 100%);
    animation: aura-core 5.2s ease-in-out infinite;
}
.hero-art .hero-video-wrap { position: relative; z-index: 1; }

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease-in-out;
}
.hero-video.v-visible { opacity: 1; }

.video-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--srf-lo);
    z-index: 10;
    transition: opacity 0.4s ease-out, visibility 0.4s;
    margin-top: 10px;
    margin-bottom: 10px;
}
.video-loader.video-loaded { opacity: 0; visibility: hidden; }
.video-loader.video-loaded .loader-ring { animation: none; }

.loader-ring {
    width: 48px;
    height: 48px;
    border: 4px solid var(--srf-hi);
    border-top: 4px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--glow);
    animation: spin-loader 1s linear infinite;
}
@keyframes spin-loader {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.video-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: top center;
    z-index: 5;
}
.hero-video-wrap .hero-video,
.hero-video-wrap .video-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 87.1%;
    border-radius: 12px;
    transform: translateX(7.5%);
}
.hero-video-wrap .hero-video { z-index: 3; }
.hero-video-wrap .video-loader { z-index: 4; }

.scroll-cue {
    display: flex;
    justify-content: center;
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.scroll-cue span {
    display: inline-block;
    color: var(--page-ink-soft);
    font-size: 1.6rem;
    line-height: 1;
    animation: cue-bounce 2.2s ease-in-out infinite;
}
@keyframes cue-bounce {
    0%, 100% { transform: translateY(0);   opacity: 0.55; }
    50%      { transform: translateY(9px); opacity: 1; }
}

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }

.feature-card { text-align: center; }
.feature-card .emoji {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 0.35rem;
    line-height: 1.1;
    filter: drop-shadow(0 4px 10px rgba(8, 5, 25, 0.6));
}
.feature-card h3 { font-size: 1.22rem; }
.feature-card p  { font-size: 0.98rem; margin: 0; }
.feature-card p + p { margin-top: 0.6rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: krok; }
.step {
    position: relative;
    padding-top: 2.4rem;
}
.step::before {
    counter-increment: krok;
    content: counter(krok);
    position: absolute;
    top: -1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
    font-family: 'Road Rage', sans-serif;
    font-size: 1.9rem;
    color: #3a2a00;
    background: linear-gradient(180deg, #ffe397 0%, var(--gold) 50%, #f0a92b 100%);
    border: 3px solid var(--srf-edge);
    border-radius: 50%;
    box-shadow: 0 8px 18px -6px rgba(8, 5, 25, 0.7), 0 0 22px rgba(255, 215, 106, calc(0.45 * var(--glow-a)));
}
.steps > .step { margin-top: 1.1rem; }

.option-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    text-align: left;
    padding: 0;
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 3px solid var(--srf-edge);
    background: linear-gradient(180deg, var(--srf-hi) 0%, var(--srf) 45%, var(--srf-lo) 100%);
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, var(--bevel-a)),
        inset 0 -10px 18px rgba(5, 3, 20, 0.55),
        0 12px 22px -10px rgba(8, 5, 25, 0.7);
    transition: transform 0.15s ease, border-color 0.25s;
}
.option-prefix {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.45rem;
    color: rgb(164, 183, 255);
    background: linear-gradient(180deg, #0f1736, var(--srf-edge));
    border-right: 2px solid rgba(255, 255, 255, 0.06);
    text-shadow: 0 0 12px rgba(93, 139, 255, calc(0.8 * var(--glow-a))), 0 2px 2px #000;
}
.option-content {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.05rem;
    color: var(--ink-strong);
    font-weight: 700;
    text-shadow: 0 2px 3px rgb(0 0 0), 0 0 6px #000;
    overflow: hidden;
    min-width: 0;
}
.option-content .bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0%;
    background: linear-gradient(to right, var(--bar-a), var(--bar-b));
    opacity: 0.55;
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.option-content > span:not(.bar) { position: relative; z-index: 1; }
.option-content .pct {
    margin-left: auto;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
    opacity: 0;
    transition: opacity 0.5s 0.4s;
    flex-shrink: 0;
}

#demo-quiz { position: relative; overflow: hidden; }
#demo-quiz .option-row { cursor: pointer; font: inherit; font-weight: 700; }
@media (hover: hover) {
    #demo-quiz:not(.revealed) .option-row:hover {
        transform: translateX(6px);
        border-color: var(--accent);
    }
}
#demo-quiz.revealed .option-row { cursor: default; }
#demo-quiz .option-row.correct {
    border-color: var(--green);
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, var(--bevel-a)),
        0 0 28px rgba(47, 212, 127, 0.5);
}
#demo-quiz .option-row.correct .option-prefix {
    color: #eafff2;
    background: linear-gradient(180deg, #2fae60, #0d5b2c);
}
#demo-quiz .option-row.correct .option-content {
    background: linear-gradient(180deg, rgba(55, 211, 119, 0.28) 0%, rgba(18, 138, 70, 0.34) 100%);
}
#demo-quiz .option-row.wrong-pick { border-color: var(--rose); }
#demo-quiz.revealed .pct { opacity: 1; }

.demo-topic {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
    background: linear-gradient(180deg, var(--srf-hi) 0%, var(--srf) 100%);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    margin-bottom: 0.9rem;
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, var(--bevel-a)), inset 0 -2px 6px rgba(5, 3, 20, 0.35);
}
.demo-topic .t-name {
    font-family: 'Road Rage', sans-serif;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--ink-strong);
    text-shadow: 0 2px 3px #00000090, 0 0 14px rgba(93, 139, 255, calc(0.55 * var(--glow-a)));
    margin-right: auto;
}
.demo-level {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--gold);
    border: 2px solid rgba(255, 215, 106, 0.4);
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}

.demo-timer {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
}
.demo-timer-track {
    flex: 1;
    height: 10px;
    border-radius: 999px;
    background: var(--srf-lo);
    border: 2px solid var(--srf-edge);
    overflow: hidden;
}
.demo-timer-fill {
    height: 100%;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bar-a), var(--bar-b));
    transform-origin: left center;
}
.demo-timer-num {
    font-family: 'Road Rage', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--ink-strong);
    min-width: 2.2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
#demo-quiz.timeup .demo-timer-num { color: var(--rose); }

.demo-question {
    font-size: clamp(1.12rem, 2.5vw, 1.45rem);
    font-weight: 800;
    color: var(--ink-strong);
    text-shadow: 0 2px 3px #000000c0;
    margin: 0 0 1.05rem;
}
.demo-options { display: grid; gap: 0.65rem; }
.demo-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.1rem;
    min-height: 44px;
}
.demo-msg { font-weight: 700; color: var(--ink); margin: 0; flex: 1 1 16rem; }
.demo-msg.win  { color: #a5ffce; }
.demo-msg.lose { color: #ffb3c1; }
#demo-next { display: none; }
#demo-quiz.revealed #demo-next { display: inline-flex; }

.voters-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--srf-lo);
    border: 2px solid var(--srf-edge);
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.voters-pill::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--cyan);
    animation: live-dot 1.6s ease-out infinite;
    flex-shrink: 0;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.stat-tile { text-align: center; padding: 1.5rem 0.7rem 1.2rem; }
.stat-tile .num {
    font-family: 'Road Rage', sans-serif;
    font-size: clamp(2.1rem, 4.4vw, 3.2rem);
    color: var(--gold);
    text-shadow: 0 2px 3px #000000b0, 0 0 22px rgba(255, 215, 106, calc(0.5 * var(--glow-a)));
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
    font-variant-numeric: tabular-nums;
}
.stat-tile .lbl {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    line-height: 1.35;
}

.versus .card3d { display: flex; flex-direction: column; }
.versus h3 { font-size: 1.28rem; display: flex; align-items: center; gap: 0.55rem; }
.versus ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.versus li { padding-left: 1.85rem; position: relative; font-size: 0.99rem; }
.versus li::before { position: absolute; left: 0; top: 0; font-weight: 900; }
.versus .vs-no  li::before { content: "✖"; color: #ff7d94; }
.versus .vs-yes li::before { content: "✔"; color: var(--green); }
.versus .vs-yes { border-color: rgba(47, 212, 127, 0.45); }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; padding: 0; margin: 0; list-style: none; }
.chips li {
    background: linear-gradient(180deg, var(--srf-hi), var(--srf));
    border: 2px solid var(--srf-edge);
    color: var(--ink);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.1), 0 6px 14px -6px rgba(8, 5, 25, 0.6);
    transition: transform 0.15s ease;
}
@media (hover: hover) {
    .chips li:hover { transform: translateY(-3px) rotate(-1deg); }
}
.chips li.more {
    color: var(--gold);
    border-color: rgba(255, 215, 106, 0.4);
    background: linear-gradient(180deg, rgba(255, 215, 106, 0.18), rgba(255, 176, 54, 0.1));
}

.goal-card { position: relative; overflow: hidden; }
.goal-bar-bg {
    height: 34px;
    border-radius: 999px;
    background: var(--srf-lo);
    border: 2px solid var(--srf-edge);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    position: relative;
}
.goal-bar {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--gold));
    box-shadow: 0 0 18px var(--glow), inset 0 2px 0 rgba(255, 255, 255, 0.35);
    transition: width 2.2s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}
.goal-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    background-size: 220% 100%;
    animation: goal-sheen 3.2s linear infinite;
    border-radius: inherit;
}
@keyframes goal-sheen {
    from { background-position: 130% 0; }
    to   { background-position: -120% 0; }
}
.goal-nums {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--ink);
    margin-top: 0.6rem;
}
.goal-nums b { color: var(--gold); font-size: 1.12rem; }

.timeline { position: relative; padding-left: 2.1rem; display: grid; gap: 1.4rem; }
.timeline::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(to bottom, var(--accent), var(--accent2));
    box-shadow: 0 0 12px var(--glow);
}
.tl-item { position: relative; }
.tl-item::before {
    content: "";
    position: absolute;
    left: calc(-2.1rem + 2px);
    top: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    border: 4px solid var(--srf-edge);
    box-shadow: 0 0 14px rgba(255, 215, 106, 0.65);
}
.tl-item.planned::before { background: var(--cyan); box-shadow: 0 0 14px rgba(53, 214, 255, 0.65); }
.tl-item .tl-date {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}
.tl-item.planned .tl-date { color: var(--cyan); }
.tl-item h3 { font-size: 1.2rem; margin: 0.15rem 0 0.35rem; }
.tl-item p  { margin: 0; font-size: 0.99rem; }

.faq-list { display: grid; gap: 0.9rem; }
details.faq-item { border-radius: var(--radius); }
details.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.35rem;
    font-weight: 800;
    font-size: 1.04rem;
    color: var(--ink-strong);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: "+";
    margin-left: auto;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    color: var(--gold);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-body { padding: 0 1.35rem 1.25rem; }
details.faq-item .faq-body p { margin: 0 0 0.6em; }
details.faq-item .faq-body p:last-child { margin: 0; }
details.faq-item .faq-body a { color: var(--gold); }

.formula {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    text-align: center;
}
.formula-part {
    background: linear-gradient(180deg, var(--srf-hi), var(--srf-lo));
    border: 2px solid var(--srf-edge);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.1rem;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, var(--bevel-a)), 0 8px 16px -8px rgba(8, 5, 25, 0.6);
    min-width: 8.5rem;
}
.formula-part .fp-top {
    display: block;
    font-family: 'Road Rage', sans-serif;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--ink-strong);
}
.formula-part .fp-bot {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.formula-part.gold .fp-top { color: var(--gold); }
.formula-op {
    font-family: 'Road Rage', sans-serif;
    font-size: 1.9rem;
    color: var(--gold);
    line-height: 1;
}

.point-list { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.point-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: linear-gradient(180deg, var(--srf-hi) 0%, var(--srf) 55%, var(--srf-lo) 100%);
    border: 2px solid var(--srf-edge);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, var(--bevel-a)), 0 8px 16px -9px rgba(8, 5, 25, 0.6);
}
.point-row .pr-icon {
    flex: 0 0 3.1rem;
    width: 3.1rem;
    height: 3.1rem;
    display: grid;
    place-items: center;
}
.point-row .pr-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(5, 3, 20, 0.55));
}
.point-row .pr-icon.emoji,
.point-row .pr-icon.plain {
    background: linear-gradient(180deg, #2a2050, #140c33);
    border-radius: 13px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), 0 4px 10px -4px rgba(8, 5, 25, 0.7);
}
.point-row .pr-icon.emoji { font-size: 1.4rem; line-height: 1; }
.point-row .pr-icon.plain img { width: 62%; height: 62%; }

.gift-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
}
.gift-strip li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
    padding: 0.75rem 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(180deg, var(--srf-hi) 0%, var(--srf) 55%, var(--srf-lo) 100%);
    border: 2px solid var(--srf-edge);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, var(--bevel-a)), 0 8px 16px -9px rgba(8, 5, 25, 0.65);
    transition: transform 0.16s ease;
}
@media (hover: hover) {
    .gift-strip li:hover { transform: translateY(-4px); }
}
.gift-strip img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
}
.gift-strip span {
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
}
.point-row .pr-body { flex: 1; min-width: 0; }
.point-row .pr-title { display: block; font-weight: 800; color: var(--ink-strong); }
.point-row .pr-note  { display: block; font-size: 0.9rem; color: var(--ink-soft); }
.point-row .pr-value {
    flex-shrink: 0;
    font-family: 'Road Rage', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 2px 3px #000000b0;
    white-space: nowrap;
}
.point-row .pr-value.is-word {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    max-width: 6.5rem;
    text-align: right;
    white-space: normal;
    line-height: 1.2;
}

.calc { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.calc li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.42rem 0.2rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-size: 0.98rem;
}
.calc li span:last-child { font-weight: 800; color: var(--ink-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc li.total {
    border-bottom: none;
    border-top: 2px solid rgba(255, 215, 106, 0.4);
    margin-top: 0.35rem;
    padding-top: 0.7rem;
    font-size: 1.08rem;
}
.calc li.total span:last-child {
    font-family: 'Road Rage', sans-serif;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--gold);
}

.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
.level {
    text-align: center;
    padding: 1.1rem 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
}
.level .lv-mult {
    display: block;
    font-family: 'Road Rage', sans-serif;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    line-height: 1;
    color: var(--gold);
    text-shadow: 0 2px 3px #000000b0, 0 0 20px rgba(255, 215, 106, calc(0.45 * var(--glow-a)));
}
.level .lv-name {
    display: block;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-top: 0.3rem;
}
.level .lv-diff {
    display: block;
    font-size: 0.8rem;
    color: var(--ink);
    margin-top: 0.15rem;
}

.gift-card { display: flex; flex-direction: column; gap: 0.2rem; }
.gift-card .g-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; }
.gift-card .g-icon {
    flex: 0 0 3.4rem;
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #6d55d6 0%, #402a99 55%, #1c0f52 100%);
    border-radius: 14px;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.22), 0 6px 12px -5px rgba(8, 5, 25, 0.7);
}
.gift-card .g-icon img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.55));
}
.gift-card h3 { margin: 0; font-size: 1.12rem; }
.gift-card p  { margin: 0; font-size: 0.96rem; }
.gift-card .g-tag {
    align-self: flex-start;
    margin-top: 0.7rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gold);
    border: 2px solid rgba(255, 215, 106, 0.38);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
}

.note {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    background: linear-gradient(180deg, var(--srf) 0%, var(--srf-lo) 100%);
    border: 2px solid var(--srf-edge);
    border-left: 5px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 1rem 1.2rem;
    color: var(--ink);
}
.note .note-icon { font-size: 1.4rem; line-height: 1.3; flex-shrink: 0; }
.note p { margin: 0; }
.note p + p { margin-top: 0.5rem; }
.note strong { color: var(--ink-strong); }
.note a { color: var(--gold); }
.note.note-cyan { border-left-color: var(--cyan); }
.note.note-green { border-left-color: var(--green); }

.toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    list-style: none;
}
.toc a {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink);
    background: color-mix(in srgb, var(--srf) 88%, transparent);
    border: 2px solid var(--srf-edge);
    border-radius: 999px;
    padding: 0.42rem 0.95rem;
    transition: transform 0.15s ease, color 0.2s;
}
.toc a:hover { transform: translateY(-2px); color: var(--gold); }

.shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.6vw, 1.9rem);
}
@media (min-width: 981px) {
    .shots > :last-child:nth-child(3n+1) { grid-column: 2; }
}
.shot { display: flex; flex-direction: column; gap: 0.9rem; }
.shot-frame {
    position: relative;
    aspect-ratio: 1210 / 2157;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid var(--srf-edge);
    background: var(--srf-lo);
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, var(--bevel-a)),
        0 16px 32px -14px rgba(8, 5, 25, 0.8),
        0 0 26px var(--glow-soft);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (hover: hover) {
    .shot-frame:hover { transform: translateY(-6px); }
}
.shot-frame img,
.shot-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.shot-frame .hero-video { border-radius: 0; }
.shot-frame .video-loader { margin: 0; border-radius: 0; }
.shot-live {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 11;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.24rem 0.6rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-strong);
    background: rgba(10, 7, 28, 0.78);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
}
.shot-num {
    position: absolute;
    top: 0.7rem;
    left: 0.7rem;
    z-index: 11;
    width: 2.1rem;
    height: 2.1rem;
    display: grid;
    place-items: center;
    font-family: 'Road Rage', sans-serif;
    font-size: 1.25rem;
    color: #3a2a00;
    background: linear-gradient(180deg, #ffe397 0%, var(--gold) 50%, #f0a92b 100%);
    border: 2px solid var(--srf-edge);
    border-radius: 50%;
    box-shadow: 0 6px 14px -4px rgba(8, 5, 25, 0.8);
}
.shot-cap { font-size: 0.95rem; color: var(--ink); }
.shot-cap b { display: block; color: var(--ink-strong); font-size: 1.04rem; margin-bottom: 0.15rem; }
.panel .shot-cap { color: var(--ink); }

.person {
    display: grid;
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
    gap: clamp(1.3rem, 3.4vw, 2.6rem);
    align-items: start;
}
.person-photo {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid var(--srf-edge);
    background: linear-gradient(180deg, var(--srf-hi) 0%, var(--srf) 50%, var(--srf-lo) 100%);
    box-shadow:
        inset 0 3px 0 rgba(255, 255, 255, var(--bevel-a)),
        0 16px 30px -14px rgba(8, 5, 25, 0.8),
        0 0 26px var(--glow-soft);
}
.person-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.person-role {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
}
.person h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.6rem; }

.social-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.55rem 1.05rem;
    border-radius: 12px;
    color: var(--ink-strong);
    background: linear-gradient(180deg, var(--srf-hi) 0%, var(--srf) 55%, var(--srf-lo) 100%);
    border: 2px solid var(--srf-edge);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), 0 8px 16px -9px rgba(8, 5, 25, 0.7);
    transition: transform 0.18s ease, border-color 0.2s;
}
.btn-social:hover { transform: translateY(-2px); border-color: rgba(255, 215, 106, 0.5); }
.btn-social svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }

.spec { margin: 0; padding: 0; display: grid; }
.spec > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1.2rem;
    padding: 0.62rem 0.15rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.11);
    font-size: 0.98rem;
}
.spec > div:last-child { border-bottom: none; }
.spec dt { color: var(--ink-soft); font-weight: 700; }
.spec dd { margin: 0; color: var(--ink-strong); font-weight: 800; text-align: right; }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.pill {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    border: 2px solid var(--srf-edge);
    background: var(--srf-lo);
    color: var(--ink);
    white-space: nowrap;
}
.pill.ok { border-color: rgba(47, 212, 127, 0.5); color: #a5ffce; }
.pill.gold { border-color: rgba(255, 215, 106, 0.5); color: var(--gold); }
.pill.cyan { border-color: rgba(53, 214, 255, 0.5); color: #a8ecff; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.contact-list li { display: flex; align-items: center; gap: 0.85rem; }
.contact-list .ci {
    flex: 0 0 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 1.15rem;
    background: linear-gradient(180deg, #2a2050, #140c33);
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), 0 4px 10px -4px rgba(8, 5, 25, 0.7);
}
.contact-list .cv { min-width: 0; }
.contact-list .cl {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.contact-list a { color: var(--gold); word-break: break-word; }

.cta-banner {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: clamp(2.4rem, 6vw, 4rem) clamp(1.2rem, 4vw, 3rem);
}
.cta-banner::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(30% 40% at 25% 30%, rgba(160, 107, 255, 0.35), transparent 70%),
        radial-gradient(30% 40% at 75% 70%, rgba(53, 214, 255, 0.25), transparent 70%);
    animation: aurora-drift 18s ease-in-out infinite alternate;
    pointer-events: none;
    will-change: transform;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(2rem, 5vw, 3rem); }
.cta-banner p  { max-width: 46em; margin-inline: auto; }
.cta-banner .btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.4rem;
}

.cta-mascot {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
    text-align: left;
}
.cta-mascot .cta-body { min-width: 0; }
.cta-mascot .btn-row { justify-content: flex-start; }

.site-footer { margin-top: clamp(3rem, 7vw, 5rem); position: relative; color: var(--ink); }
#eq-wave { display: block; width: 100%; height: 88px; margin-bottom: -2px; }
.footer-body {
    background: linear-gradient(180deg, var(--srf) 0%, var(--srf-lo) 100%);
    border-top: 3px solid var(--srf-edge);
    padding: 2.6rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.footer-brand img { width: 54px; height: 54px; border-radius: 14px; }
.footer-brand span { font-family: 'Road Rage', sans-serif; font-size: 2rem; color: var(--ink-strong); }
.site-footer h4 {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.8rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--ink-strong); text-decoration: underline; }
.footer-note {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--ink-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
    align-items: center;
}
.footer-flags { display: flex; align-items: center; gap: 0.5rem; }
.footer-flags img { width: 30px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); }

.intro-split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.intro-split .section-head { margin-bottom: 0; max-width: none; }
.intro-split .mascot-figure { margin: 0; justify-self: center; }
.intro-split .mascot { animation-duration: 5s; }

.mascot-block {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}
.mascot-block > .mascot-figure { justify-self: center; }
.mascot-block.flip { grid-template-columns: 1.18fr 0.82fr; }
.mascot-block.flip > .mascot-figure { order: 2; }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--d, 0s);
    will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: none; will-change: auto; }

main[data-spa] { outline: none; }
.page-enter { animation: page-in 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes page-in {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
    #nav-burger { display: block; }
    .main-nav {
        position: fixed;
        inset: 73px 0 auto 0;
        z-index: 9999;
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        background: var(--srf);
        border-bottom: 3px solid var(--srf-edge);
        box-shadow: 0 20px 40px -10px rgba(5, 3, 20, 0.8);
        padding: 1rem 1.2rem 1.4rem;
        transform: translateY(-125%);
        transition: transform 0.3s ease;
        visibility: hidden;
    }
    .main-nav.open { transform: none; visibility: visible; }
    .main-nav a { font-size: 1.1rem; padding: 0.75rem 1rem; }
}

@media (max-width: 1080px) {
    .levels { grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
    .level { padding: 0.9rem 0.3rem 0.7rem; }
}

@media (max-width: 980px) {
    .grid3, .steps { grid-template-columns: repeat(2, 1fr); }
    .grid4 { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .levels { grid-template-columns: repeat(3, 1fr); }
    .shots { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        row-gap: 1.3rem;
        --phone-w: min(240px, 60vw);
    }
    .mascot { width: min(var(--mascot-w, 340px), 64vw); }
    .hero-grid.hero-split { grid-template-areas: "top" "art" "bot"; }
    .hero-split .hero-top, .hero-split .hero-bot { align-self: auto; }
    .hero .tagline { margin-inline: auto; margin-bottom: 0; }
    .hero-grid:not(.hero-split) .tagline { margin-bottom: 1.5rem; }
    .hero-ctas, .hero-mini-stats { justify-content: center; }
    .hero-badge { margin-bottom: 0.7rem; }
    .hero-video-wrap { width: var(--phone-w); }

    .mascot-block, .mascot-block.flip { grid-template-columns: 1fr; }
    .mascot-block.flip > .mascot-figure { order: 0; }
    .intro-split { grid-template-columns: 1fr; text-align: center; }
    .intro-split .mascot-figure { order: -1; }
    .intro-split .kicker { justify-content: center; }
    .grid2, .versus { grid-template-columns: 1fr; }

    .cta-mascot { grid-template-columns: 1fr; text-align: center; }
    .cta-mascot .btn-row { justify-content: center; }
    .cta-mascot .mascot-figure { order: -1; }

    .person { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .person-photo { width: min(250px, 62vw); }
    .person .social-row, .person .pill-row { justify-content: center; }
    .person .kicker { justify-content: center; }
}

@media (max-width: 760px) {
    .shots { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
}

@media (max-width: 620px) {
    .grid3, .grid4, .steps { grid-template-columns: 1fr; }
    .steps > .step { margin-top: 1.6rem; }
    .levels { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { --phone-w: min(220px, 56vw); }
    .mascot { width: min(var(--mascot-w, 340px), 58vw); }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn { width: 100%; }
    .cta-banner .btn-row { flex-direction: column; align-items: stretch; }
    .cta-banner .btn-row .btn { width: 100%; }
    .btn-mini { padding: 0.45rem 0.7rem; font-size: 0.8rem; gap: 0.35rem; }
    .nav-inner { gap: 0.4rem; }
    .brand img { width: 46px; height: 46px; }
    .icon-btn { width: 40px; height: 40px; font-size: 1.05rem; }
    .lang-switch { padding: 2px; gap: 1px; }
    .lang-switch a { width: 28px; height: 28px; border-radius: 7px; }
    .lang-switch svg { width: 19px; height: 13px; }
    .option-prefix { flex-basis: 46px; font-size: 1.25rem; }
    .stats-grid { gap: 0.7rem; }
    .stat-tile { padding: 1.1rem 0.4rem 0.9rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .timeline { padding-left: 1.7rem; }
    .formula { flex-direction: column; gap: 0.4rem; }
    .formula-part { width: 100%; min-width: 0; padding: 0.65rem 0.85rem; }
    .formula-op { font-size: 1.5rem; }
    .point-row { gap: 0.7rem; padding: 0.7rem 0.8rem; }
    .point-row .pr-icon { flex-basis: 2.2rem; height: 2.2rem; font-size: 1.15rem; }
    .point-row .pr-value { font-size: 1.25rem; }
    .footer-note { justify-content: flex-start; }
    .spec > div { flex-direction: column; gap: 0.1rem; }
    .spec dd { text-align: left; }

    .site-header {
        background: var(--srf);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

@media (max-width: 430px) {
    .container { width: min(var(--maxw), 100% - 1.8rem); }
    .hero-grid { --phone-w: min(210px, 58vw); }
}

@media (max-width: 359px) {
    .btn-mini .btn-live-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .aura::before, .aura::after,
    .phone-aura, .phone-aura::after { opacity: 0.8; }
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 6px;
}
