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

:root {
    --bg: #020208;
    --bg-deep: #020208;
    --bg-panel: rgba(6, 8, 18, 0.88);
    --bg-card: rgba(0, 212, 255, 0.04);
    --cyan: #00d4ff;
    --cyan-bright: #40e8ff;
    --mint: #00ffc8;
    --magenta: #ff0096;
    --gold: #ffd700;
    --text: #d8e4f0;
    --text-muted: #7a90a8;
    --text-dim: #4a5a68;
    --border: rgba(0, 212, 255, 0.2);
    --border-bright: rgba(0, 212, 255, 0.45);
    --glow-sm: rgba(0, 212, 255, 0.12);
    --glow-md: rgba(0, 212, 255, 0.22);
    --glow-lg: rgba(0, 212, 255, 0.35);
    --glow: var(--glow-sm);
    --max-width: 1200px;
    --nav-height: 72px;
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(0, 212, 255, 0.25);
    color: #fff;
}

body {
    background: #020208;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Layer 4 — noise grain (CSS-only) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    background-repeat: repeat;
}

/* Layer 5 — CRT scan lines */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
}

a {
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:focus-visible,
button:focus-visible,
.play-badge:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

h1, h2, h3, h4,
.nav-brand,
.section-heading,
.hero-title,
.showcase-copy h3,
.footer-brand,
.cta-banner h2 {
    cursor: crosshair;
}

/* ─── Background: Living Neon Dimension ─── */

/* Layer 1 — atmosphere aurora */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.bg-animation::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 80% 80% at 50% 50%,
        transparent 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: opacity;
}

.bg-blob--cyan {
    width: 80vmax;
    height: 80vmax;
    top: -25%;
    left: -20%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.14) 0%, transparent 62%);
    animation: breathe-a 9s ease-in-out infinite;
}

.bg-blob--magenta {
    width: 60vmax;
    height: 60vmax;
    bottom: -20%;
    right: -15%;
    background: radial-gradient(circle, rgba(255, 0, 150, 0.08) 0%, transparent 62%);
    animation: breathe-b 11s ease-in-out infinite 2s;
}

.bg-blob--mint {
    width: 40vmax;
    height: 40vmax;
    top: -5%;
    left: 30%;
    background: radial-gradient(circle, rgba(0, 255, 200, 0.05) 0%, transparent 65%);
    animation: breathe-c 7s ease-in-out infinite 4s;
}

.bg-blob--ambient {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: radial-gradient(
        ellipse 100% 80% at 50% 45%,
        rgba(0, 212, 255, 0.04) 0%,
        transparent 70%
    );
    animation: breathe-a 14s ease-in-out infinite 1s;
}

@keyframes breathe-a {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes breathe-b {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes breathe-c {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Layer 2 — Tron perspective floor */
.grid-overlay {
    position: fixed;
    bottom: 0;
    left: -20%;
    right: -20%;
    height: 65vh;
    z-index: -1;
    pointer-events: none;
    transform: perspective(600px) rotateX(70deg);
    transform-origin: bottom center;
    will-change: background-position;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.12) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 12s linear infinite;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 75%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 75%);
}

@keyframes gridDrift {
    0% { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

/* Horizon glow line */
.grid-horizon {
    position: fixed;
    bottom: 35vh;
    left: 0;
    right: 0;
    height: 1px;
    z-index: -1;
    pointer-events: none;
    will-change: opacity;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 212, 255, 0) 10%,
        rgba(0, 212, 255, 0.5) 30%,
        rgba(0, 255, 200, 0.8) 50%,
        rgba(0, 212, 255, 0.5) 70%,
        rgba(0, 212, 255, 0) 90%,
        transparent 100%
    );
    box-shadow:
        0 0 8px rgba(0, 212, 255, 0.4),
        0 0 20px rgba(0, 212, 255, 0.2),
        0 0 40px rgba(0, 212, 255, 0.1);
    animation: horizonPulse 4s ease-in-out infinite;
}

@keyframes horizonPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Layer 3 — vertical light beams */
.light-beam {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 3px;
    z-index: -1;
    pointer-events: none;
    filter: blur(3px);
    opacity: 0;
    will-change: opacity;
    animation: beamFade 8s ease-in-out infinite;
}

.beam-1 {
    left: 15%;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.15), transparent);
    animation-delay: 0s;
}

.beam-2 {
    left: 38%;
    background: linear-gradient(to bottom, transparent, rgba(0, 255, 200, 0.1), transparent);
    animation-delay: 2.5s;
}

.beam-3 {
    left: 62%;
    background: linear-gradient(to bottom, transparent, rgba(0, 212, 255, 0.12), transparent);
    animation-delay: 5s;
}

.beam-4 {
    left: 80%;
    background: linear-gradient(to bottom, transparent, rgba(255, 0, 150, 0.08), transparent);
    animation-delay: 1.5s;
}

@keyframes beamFade {
    0%, 100% { opacity: 0; }
    40%, 60% { opacity: 1; }
}

@keyframes badgePulse {
    0%, 100% { opacity: 0.75; box-shadow: 0 0 12px rgba(0, 255, 200, 0.4), inset 0 0 8px rgba(0, 255, 200, 0.08); }
    50% { opacity: 1; box-shadow: 0 0 20px rgba(0, 255, 200, 0.55), inset 0 0 12px rgba(0, 255, 200, 0.12); }
}

@keyframes glitch {
    0%, 88%, 100% {
        text-shadow:
            0 0 7px #fff,
            0 0 10px var(--cyan),
            0 0 21px var(--cyan),
            0 0 42px var(--cyan),
            0 0 82px var(--cyan);
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }
    20% {
        text-shadow:
            -3px 0 10px var(--magenta),
            3px 0 10px var(--cyan),
            0 0 21px var(--cyan);
        transform: translate(2px, 0);
        clip-path: inset(8% 0 42% 0);
    }
    40% {
        text-shadow:
            3px 0 10px var(--cyan),
            -3px 0 10px var(--magenta),
            0 0 42px var(--cyan);
        transform: translate(-2px, 0);
        clip-path: inset(52% 0 6% 0);
    }
    60% {
        text-shadow:
            0 0 7px #fff,
            0 0 21px var(--cyan),
            0 0 82px var(--cyan);
        transform: translate(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes heroCascade {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ctaSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes bulletPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Navigation ─── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: rgba(4, 4, 10, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 1px 0 rgba(0, 212, 255, 0.08), 0 4px 24px rgba(0, 0, 0, 0.4);
    transition: box-shadow 0.4s var(--ease-spring), background 0.4s var(--ease-spring);
}

.site-nav.scrolled {
    background: rgba(4, 4, 10, 0.92);
    box-shadow: 0 0 0 1px rgba(0, 212, 255, 0.1), 0 8px 40px rgba(0, 212, 255, 0.08);
}

.nav-inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cyan);
    text-decoration: none;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-brand-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
}

.nav-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.38);
}

.nav-brand span {
    color: var(--mint);
    text-shadow: 0 0 10px var(--mint);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a:not(.play-badge) {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8c8d8;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:not(.play-badge):hover {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

.nav-links a:not(.play-badge).active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
    background: transparent;
    box-shadow: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--cyan);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    cursor: crosshair;
    font-size: 1.25rem;
}

.page-main {
    padding-top: var(--nav-height);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero--visual {
    min-height: calc(100dvh - var(--nav-height));
    padding: 48px 0 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-cascade {
    opacity: 0;
    animation: heroCascade 0.7s var(--ease-spring) forwards;
    animation-delay: calc(0.08s * var(--cascade-i, 0));
}

.hero-badge {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--mint);
    border: 1px solid rgba(0, 255, 200, 0.4);
    background: rgba(0, 255, 200, 0.06);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
    opacity: 0;
    animation: badgePulse 2s ease-in-out 0.7s infinite, heroCascade 0.7s var(--ease-spring) forwards;
    animation-delay: calc(0.08s * var(--cascade-i, 0)), calc(0.08s * var(--cascade-i, 0));
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    line-height: 1.05;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 6px;
}

.hero-title.hero-cascade {
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-bottom: 20px;
    animation: glitch 5s 0.7s infinite, heroCascade 0.7s var(--ease-spring) forwards;
    animation-delay: calc(0.08s * var(--cascade-i, 0)), calc(0.08s * var(--cascade-i, 0));
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text);
    letter-spacing: 0.5px;
    max-width: 560px;
    margin-bottom: 28px;
}

.hero-copy .store-note {
    margin-top: 12px;
    margin-bottom: 28px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Stat chips */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero-stat-chip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 20px;
    min-width: 120px;
    transition: border-color 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), transform 0.4s var(--ease-spring);
}

.hero-stat-chip:hover {
    border-color: var(--border-bright);
    box-shadow: 0 0 24px var(--glow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.hero-stat-chip__marker {
    display: block;
    font-size: 0.5rem;
    color: var(--mint);
    margin-bottom: 6px;
    opacity: 0.8;
}

.hero-stat-chip strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--mint);
    line-height: 1.2;
}

.hero-stat-chip--gold strong {
    color: var(--gold);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.hero-stat-chip span:last-child {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Rank preview */
.rank-preview {
    margin-top: 8px;
}

.rank-preview-track {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 12px;
}

.rank-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.rank-node__letter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    border: 2px solid;
}

.rank-node--novice .rank-node__letter {
    color: #9aa8b8;
    border-color: rgba(154, 168, 184, 0.6);
    background: rgba(80, 90, 100, 0.25);
}

.rank-node--advanced .rank-node__letter {
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.7);
    background: rgba(120, 60, 180, 0.2);
}

.rank-node--max .rank-node__letter {
    color: var(--gold);
    border-color: rgba(255, 215, 0, 0.65);
    background: rgba(255, 215, 0, 0.08);
}

.rank-node--current .rank-node__letter {
    width: 48px;
    height: 48px;
    font-size: 1rem;
    box-shadow: 0 0 24px rgba(192, 132, 252, 0.5), 0 0 48px rgba(192, 132, 252, 0.2);
}

.rank-node__name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.rank-node__lvl {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.rank-line {
    flex: 1;
    min-width: 32px;
    max-width: 72px;
    height: 2px;
    margin: 0 8px 28px;
    background: linear-gradient(90deg, rgba(154, 168, 184, 0.4), rgba(192, 132, 252, 0.6), rgba(255, 215, 0, 0.5));
    border-radius: 999px;
}

/* Hero character + status HUD */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character-wrap {
    position: relative;
    width: min(400px, 92vw);
    min-height: min(480px, 65vh);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-character-bloom {
    position: absolute;
    left: 50%;
    bottom: 5%;
    width: 70%;
    height: 55%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.45) 0%, rgba(0, 255, 200, 0.12) 40%, transparent 70%);
    filter: blur(36px);
    z-index: 0;
    pointer-events: none;
    animation: characterBloom 4s ease-in-out infinite;
}

.hero-character-glow-ring {
    position: absolute;
    left: 50%;
    bottom: 8%;
    width: 55%;
    height: 12%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.5) 0%, transparent 70%);
    filter: blur(12px);
    z-index: 0;
    pointer-events: none;
    animation: characterBloom 3s ease-in-out infinite 0.5s;
}

@keyframes characterBloom {
    0%, 100% { opacity: 0.55; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

.hero-character-frame {
    position: relative;
    z-index: 1;
    width: 78%;
    max-width: 320px;
    margin: 0 auto;
    line-height: 0;
    animation: float 6s ease-in-out infinite;
}

.hero-character-frame img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: screen;
    filter:
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.5))
        drop-shadow(0 0 20px rgba(0, 212, 255, 0.85))
        drop-shadow(0 0 48px rgba(0, 212, 255, 0.55))
        drop-shadow(0 0 90px rgba(0, 255, 200, 0.25));
}

.hero-hud-corner {
    position: absolute;
    width: 52px;
    height: 52px;
    color: rgba(0, 212, 255, 0.55);
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.6));
}

.hero-hud-corner--tl {
    top: 4%;
    left: 2%;
}

.hero-hud-corner--br {
    bottom: 8%;
    right: 2%;
}

/* Floating status HUD chips */
.hero-status-hud {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    font-family: 'Orbitron', sans-serif;
}

.hud-rank-badge {
    position: absolute;
    top: 6%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid rgba(255, 0, 150, 0.55);
    background: rgba(8, 4, 16, 0.75);
    box-shadow:
        0 0 12px rgba(255, 0, 150, 0.35),
        inset 0 0 16px rgba(0, 212, 255, 0.08);
    clip-path: polygon(12% 0, 88% 0, 100% 12%, 100% 88%, 88% 100%, 12% 100%, 0 88%, 0 12%);
}

.hud-rank-badge__rank {
    font-size: 0.65rem;
    font-weight: 700;
    color: #c084fc;
    line-height: 1;
    margin-bottom: 2px;
}

.hud-rank-badge__level {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--cyan-bright);
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.hud-rank-badge__label {
    font-size: 0.45rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 2px;
}

.hud-pill {
    position: absolute;
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    font-weight: 700;
}

.hud-pill--rank {
    top: 8%;
    right: 0;
    color: #fff;
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.85), rgba(180, 0, 120, 0.9));
    border: 1px solid rgba(255, 100, 200, 0.5);
    box-shadow: 0 0 16px rgba(255, 0, 150, 0.45);
}

.hud-stat-tile {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 52px;
    padding: 8px 10px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

.hud-stat-tile__label {
    font-size: 0.5rem;
    letter-spacing: 2px;
    color: var(--mint);
}

.hud-stat-tile__value {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.hud-stat-tile--str {
    bottom: 22%;
    left: -2%;
}

.hud-stat-tile--str .hud-stat-tile__value {
    color: #ff6b7a;
    text-shadow: 0 0 8px rgba(255, 80, 100, 0.5);
}

.hud-stat-tile--vit {
    bottom: 10%;
    left: 18%;
}

.hud-stat-tile--vit .hud-stat-tile__value {
    color: var(--cyan-bright);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.hud-stat-tile--agi {
    bottom: 18%;
    right: -2%;
}

.hud-stat-tile--agi .hud-stat-tile__value {
    color: var(--mint);
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.45);
}

.hud-level-tag {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    border: 1px solid rgba(0, 212, 255, 0.35);
    background: rgba(4, 8, 18, 0.7);
    border-radius: 4px;
}

.hud-level-tag__label {
    font-size: 0.55rem;
    letter-spacing: 4px;
    color: var(--mint);
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.5);
}

/* Play badge */
.play-badge {
    display: inline-block;
    line-height: 0;
    transition: transform 0.25s var(--ease-spring), filter 0.25s ease;
}

.play-badge img {
    display: block;
    width: auto;
    height: 60px;
    max-width: 100%;
}

.play-badge--hero img { height: 72px; }
.play-badge--cta img { height: 80px; }
.play-badge--nav img { height: 44px; }

.play-badge:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 8px 24px rgba(0, 212, 255, 0.45));
}

.nav-play-wrap {
    display: flex;
    align-items: center;
    margin-left: 4px;
}

.play-badge--footer { margin-top: 16px; }

/* ─── Sections ─── */
.section-block {
    padding: 90px 0;
    position: relative;
}

.section-showcase {
    padding-top: 48px;
}

.section-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.3);
}

.section-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 24px;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.35);
}

.section-divider {
    height: 1px;
    margin-bottom: 56px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--mint), transparent);
    opacity: 0.6;
}

.section-intro {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 48px;
}

/* Showcase */
.showcase-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 48px;
    padding: 48px 32px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.02), transparent);
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row--reverse {
    background: linear-gradient(135deg, rgba(255, 0, 150, 0.02), transparent);
}

.showcase-row--reverse .showcase-media {
    order: 2;
}

.showcase-row--reverse .showcase-copy {
    order: 1;
}

.showcase-media {
    display: flex;
    justify-content: center;
}

.showcase-frame {
    position: relative;
    line-height: 0;
    transition: transform 0.6s var(--ease-spring);
}

.showcase-frame:hover {
    transform: translateY(-4px);
    animation: floatSoft 3s ease-in-out infinite;
}

.showcase-frame img {
    display: block;
    width: 100%;
    max-width: min(340px, 45vw);
    height: auto;
    border-radius: 18px;
    position: relative;
    z-index: 1;
}

.showcase-frame::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    z-index: 0;
    box-shadow:
        0 0 0 1px rgba(0, 212, 255, 0.4),
        0 0 20px rgba(0, 212, 255, 0.2),
        0 0 60px rgba(0, 212, 255, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.showcase-frame--magenta::before {
    box-shadow:
        0 0 0 1px rgba(255, 0, 150, 0.4),
        0 0 20px rgba(255, 0, 150, 0.15),
        0 0 60px rgba(255, 0, 150, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.6);
}

.showcase-copy {
    position: relative;
    padding-left: 8px;
}

.showcase-num {
    position: absolute;
    top: -24px;
    left: 0;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(4rem, 12vw, 5rem);
    font-weight: 900;
    color: var(--cyan);
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.showcase-num-label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: rgba(0, 212, 255, 0.45);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.showcase-copy h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.showcase-copy > p {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.showcase-bullets {
    list-style: none;
    border-left: 1px solid rgba(0, 212, 255, 0.15);
    padding-left: 16px;
    position: relative;
    z-index: 1;
}

.showcase-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.showcase-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--cyan);
    transform: rotate(45deg);
    box-shadow: 0 0 6px var(--cyan);
}

.showcase-bullets.visible li::before,
.showcase-copy.visible .showcase-bullets li::before {
    animation: bulletPulse 2s ease-in-out infinite;
}

.showcase-bullets.visible li:nth-child(2)::before,
.showcase-copy.visible .showcase-bullets li:nth-child(2)::before {
    animation-delay: 0.2s;
}

.showcase-bullets.visible li:nth-child(3)::before,
.showcase-copy.visible .showcase-bullets li:nth-child(3)::before {
    animation-delay: 0.4s;
}

/* CTA */
.cta-banner {
    position: relative;
    text-align: center;
    padding: 80px 60px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 150, 0.06));
    border: 2px solid rgba(0, 212, 255, 0.35);
    border-radius: 16px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--mint), var(--magenta), transparent);
    animation: ctaSweep 4s linear infinite;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2,
.cta-banner p,
.cta-banner .play-badge {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--cyan);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.cta-banner p {
    font-size: 1.15rem;
    color: var(--text);
    max-width: 640px;
    margin: 0 auto 28px;
}

.cta-banner .play-badge {
    margin-top: 8px;
}

/* Panels */
.panel {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(10, 10, 20, 0.9) 100%);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s var(--ease-spring);
}

.panel:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 16px 48px rgba(0, 212, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-icon {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--mint);
    margin-bottom: 16px;
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.35);
}

.feature-text {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: rgba(0, 212, 255, 0.25);
    margin-bottom: 12px;
}

.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 10px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.highlight-list {
    list-style: none;
}

.highlight-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 1.05rem;
}

.highlight-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--mint);
}

/* Buttons (legacy) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    cursor: crosshair;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
    color: var(--bg);
    background: linear-gradient(135deg, var(--cyan), var(--mint));
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.35);
}

.btn-secondary {
    color: var(--cyan);
    background: transparent;
    border: 1px solid var(--border-bright);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.store-note {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Page hero (inner) */
.page-hero {
    padding: 80px 0 48px;
    text-align: center;
}

.page-hero .hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.45), 0 0 21px rgba(0, 212, 255, 0.25);
}

.page-hero .hero-title.visible,
.page-hero .reveal.hero-title.visible {
    animation: glitch 5s infinite;
}

.page-hero .hero-subtitle {
    margin: 0 auto;
    max-width: 520px;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.contact-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.35);
}

.contact-card p,
.contact-card a {
    color: var(--text);
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--mint);
    text-shadow: 0 0 8px rgba(0, 255, 200, 0.4);
}

.contact-email-link {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--mint) !important;
    text-shadow: 0 0 10px rgba(0, 255, 200, 0.35);
}

.contact-form label {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.05rem;
    padding: 12px 14px;
    margin-bottom: 18px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 12px;
}

/* Footer */
.site-footer {
    position: relative;
    border-top: none;
    padding: 56px 0 32px;
    margin-top: 40px;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 212, 255, 0.4) 50%, transparent 100%);
    z-index: 2;
}

.footer-grid-floor {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 220px;
    pointer-events: none;
    perspective: 800px;
    overflow: hidden;
    opacity: 0.5;
}

.footer-grid-floor::before {
    content: '';
    position: absolute;
    left: -50%;
    right: -50%;
    top: 0;
    height: 200%;
    transform-origin: center top;
    transform: rotateX(-60deg);
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, transparent 90%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-grid--compact {
    grid-template-columns: 1.5fr 1fr 1fr;
}

.footer-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 3px;
    color: var(--cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.footer-text {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 280px;
}

.footer-col h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--mint);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
}

.footer-col a:hover {
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.35);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 212, 255, 0.12);
    color: var(--text-dim);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(32px) scale(0.97);
    transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.showcase-media {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

.showcase-row--reverse .showcase-media {
    transform: translateX(40px);
}

.showcase-copy {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-spring) 0.15s, transform 0.7s var(--ease-spring) 0.15s;
}

.showcase-row--reverse .showcase-copy {
    transform: translateX(-40px);
}

.showcase-row.visible .showcase-media,
.showcase-row.visible .showcase-copy {
    opacity: 1;
    transform: translateX(0);
}

.showcase-row.visible .showcase-copy {
    /* bullets pulse when copy visible */
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 212, 255, 0.05); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--cyan), var(--mint));
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    filter: brightness(1.15);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(4, 4, 10, 0.98);
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s;
        backdrop-filter: blur(20px);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a:not(.play-badge) {
        width: 100%;
        text-align: center;
    }

    .hero-grid,
    .split-section,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero--visual {
        min-height: auto;
        padding: 40px 0 56px;
    }

    .hero-visual {
        order: -1;
    }

    .features-grid,
    .steps-grid,
    .footer-grid,
    .footer-grid--compact {
        grid-template-columns: 1fr;
    }

    .showcase-row,
    .showcase-row--reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 20px;
    }

    .showcase-row--reverse .showcase-media,
    .showcase-row--reverse .showcase-copy {
        order: unset;
    }

    .showcase-frame img {
        max-width: 260px;
    }

    .hero-character-wrap {
        width: min(320px, 95vw);
        min-height: 420px;
    }

    .hero-character-frame {
        width: 85%;
    }

    .hud-rank-badge {
        width: 48px;
        height: 48px;
        top: 2%;
    }

    .hud-pill--rank {
        top: 4%;
        font-size: 0.55rem;
        padding: 4px 10px;
    }

    .hud-stat-tile {
        min-width: 44px;
        padding: 6px 8px;
    }

    .hud-stat-tile--vit {
        left: 8%;
    }

    .hero-hud-corner {
        width: 36px;
        height: 36px;
    }

    .rank-line {
        max-width: 40px;
    }

    .nav-play-wrap {
        width: 100%;
        justify-content: center;
        margin: 8px 0 0;
    }

    .play-badge--nav img {
        height: 52px;
    }

    .cta-banner {
        padding: 56px 24px;
    }

    .showcase-media,
    .showcase-row--reverse .showcase-media,
    .showcase-copy,
    .showcase-row--reverse .showcase-copy {
        transform: translateY(24px);
    }

    .showcase-row.visible .showcase-media,
    .showcase-row.visible .showcase-copy {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg-animation,
    .bg-blob,
    .grid-overlay,
    .grid-horizon,
    .light-beam {
        animation: none !important;
    }

    .bg-blob,
    .grid-horizon {
        opacity: 0.7;
    }

    .hero-character-bloom,
    .hero-character-glow-ring {
        animation: none !important;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal, .showcase-media, .showcase-copy, .hero-cascade {
        opacity: 1;
        transform: none;
    }
}
