/* ─── Design tokens ─────────────────────────────────────────────────────────── */
:root {
    --bg-dark:      #080812;
    --bg-card:      #0f0f22;
    --bg-card-alt:  #13132a;
    --neon-yellow:  #ffd700;
    --neon-cyan:    #00e5ff;
    --neon-green:   #39ff14;
    --neon-purple:  #a855f7;
    --text-light:   #e2e8f0;
    --text-muted:   #6b7280;
    --border-dim:   rgba(255,255,255,0.07);
    --border-glow:  rgba(168,85,247,0.3);
}

/* ─── Reset / base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
}

.pixel-font {
    font-family: 'Press Start 2P', monospace;
    line-height: 1.6;
}

/* ─── Header ────────────────────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 8, 18, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-dim);
}

.studio-wordmark {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--neon-yellow);
    text-decoration: none;
    transition: opacity 0.2s;
}
.studio-wordmark span {
    color: #9ca3af;
    margin-left: 0.1em;
}
.studio-wordmark:hover { opacity: 0.8; }

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-link:hover { color: #fff; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #080812 0%, #120820 50%, #0a0a1a 100%);
}

/* Perspective grid */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168,85,247,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168,85,247,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

/* Tiny scattered dots */
.hero-stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255,215,0,0.6) 1px, transparent 1px),
        radial-gradient(circle, rgba(0,229,255,0.4) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 180px 180px, 240px 200px, 130px 150px;
    background-position: 40px 30px, 90px 70px, 10px 100px;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    color: #fff;
    letter-spacing: 0.04em;
    text-shadow:
        0 0 40px rgba(168,85,247,0.5),
        0 0 80px rgba(168,85,247,0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: var(--neon-yellow);
    color: #000;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 6px;
    text-decoration: none;
    transition: filter 0.2s, transform 0.15s;
    letter-spacing: 0.02em;
}
.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--neon-yellow);
    font-weight: 600;
    font-size: 0.875rem;
    border: 1.5px solid var(--neon-yellow);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-secondary:hover {
    background: rgba(255,215,0,0.08);
    transform: translateY(-1px);
}

/* ─── Section title ─────────────────────────────────────────────────────────── */
.section-title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #fff;
    letter-spacing: 0.06em;
}

/* ─── Game card ─────────────────────────────────────────────────────────────── */
.game-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        0 0 0 1px rgba(168,85,247,0.1),
        0 8px 48px rgba(0,0,0,0.5),
        0 0 60px rgba(168,85,247,0.06);
}

@media (min-width: 900px) {
    .game-card {
        grid-template-columns: 420px 1fr;
        padding: 2.5rem;
    }
}

/* ─── Game art (CSS mockup of Jump Kid) ─────────────────────────────────────── */
.game-art-panel {
    display: flex;
    flex-direction: column;
}

.game-art-inner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #1a2a4a;
    border: 2px solid rgba(0,229,255,0.2);
}

.game-sky {
    position: absolute;
    inset: 0 0 35% 0;
    background: linear-gradient(180deg, #0a1628 0%, #1a3a6a 60%, #4a8aaa 100%);
}

/* Clouds */
.game-sky::before,
.game-sky::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,0.12);
    border-radius: 50px;
}
.game-sky::before {
    width: 60px; height: 16px;
    top: 20%; left: 10%;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.07);
}
.game-sky::after {
    width: 44px; height: 12px;
    top: 35%; left: 55%;
    box-shadow: 0 0 0 6px rgba(255,255,255,0.07);
}

/* Sun */
.game-sun {
    position: absolute;
    top: 6%;
    right: 14%;
    width: 36px;
    height: 36px;
    background: radial-gradient(circle, #fff5b0, #ffd700);
    border-radius: 50%;
    box-shadow: 0 0 20px 6px rgba(255,215,0,0.4);
    z-index: 5;
}
.sun-face {
    position: absolute;
    inset: 6px;
}
.sun-eye {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #7b3a00;
    border-radius: 50%;
    top: 30%;
}
.sun-eye-left { left: 18%; }
.sun-eye-right { right: 18%; }
.sun-mouth {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 4px;
    border-bottom: 2px solid #7b3a00;
    border-radius: 0 0 6px 6px;
}
.sun-ray {
    position: absolute;
    width: 3px;
    height: 10px;
    background: rgba(255,215,0,0.7);
    border-radius: 2px;
    left: 50%;
    top: 50%;
    transform-origin: 50% -18px;
}
.sun-ray-1 { transform: rotate(0deg) translateX(-50%); }
.sun-ray-2 { transform: rotate(90deg) translateX(-50%); }
.sun-ray-3 { transform: rotate(180deg) translateX(-50%); }
.sun-ray-4 { transform: rotate(270deg) translateX(-50%); }

/* Road */
.game-road {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(180deg, #5a3a1a 0%, #3d2710 100%);
    border-top: 2px solid #8a6240;
    z-index: 10;
}

/* Grass strips */
.game-road::before,
.game-road::after {
    content: '';
    position: absolute;
    top: -8px;
    height: 8px;
    background: #2d5a1a;
}
.game-road::before { left: 0; width: 15%; }
.game-road::after  { right: 0; width: 15%; }

/* Lane dashes */
.road-lane-dash {
    position: absolute;
    top: 40%;
    left: 0;
    width: 22px;
    height: 4px;
    background: #ffd700;
    border-radius: 2px;
    opacity: 0.7;
}
.road-dash-2 { left: 50%; }

/* Cactus */
.game-cactus {
    position: absolute;
    right: 20%;
    bottom: 0;
    width: 14px;
    height: 32px;
}
.cactus-stem {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 28px;
    background: #2d7a30;
    border-radius: 3px;
}
.cactus-arm-left {
    position: absolute;
    bottom: 60%;
    left: 0;
    width: 7px;
    height: 4px;
    background: #2d7a30;
    border-radius: 2px;
}
.cactus-arm-right {
    position: absolute;
    bottom: 70%;
    right: 0;
    width: 7px;
    height: 4px;
    background: #2d7a30;
    border-radius: 2px;
}

/* Coin */
.game-coin {
    position: absolute;
    left: 45%;
    bottom: 60%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Player */
.game-player {
    position: absolute;
    left: 28%;
    bottom: 0;
    width: 14px;
}
.player-head {
    width: 12px;
    height: 12px;
    background: #ffb347;
    border-radius: 50%;
    margin: 0 auto 1px;
    border: 1.5px solid #e07b20;
}
.player-body {
    width: 10px;
    height: 14px;
    background: #e03030;
    border-radius: 2px;
    margin: 0 auto;
}

/* HUD */
.game-hud {
    position: absolute;
    top: 6px;
    left: 8px;
    display: flex;
    gap: 12px;
    z-index: 20;
}

/* ─── Platform badges ───────────────────────────────────────────────────────── */
.platform-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(0,229,255,0.1);
    border: 1px solid rgba(0,229,255,0.25);
    color: var(--neon-cyan);
}

/* ─── Game info ─────────────────────────────────────────────────────────────── */
.game-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.genre-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: rgba(168,85,247,0.15);
    border: 1px solid rgba(168,85,247,0.35);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background: rgba(57,255,20,0.12);
    border: 1px solid rgba(57,255,20,0.3);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.game-title {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--neon-yellow);
    text-shadow: 0 0 24px rgba(255,215,0,0.35);
    letter-spacing: 0.06em;
}

.game-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Feature list ──────────────────────────────────────────────────────────── */
.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}
.feature-icon {
    flex-shrink: 0;
    width: 1.25rem;
    color: var(--neon-yellow);
    font-size: 0.85rem;
    margin-top: 0.05rem;
}

/* ─── Coming soon ───────────────────────────────────────────────────────────── */
.coming-soon-card {
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 2.5rem;
    background: rgba(255,255,255,0.02);
}

/* ─── About stats ───────────────────────────────────────────────────────────── */
.stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-dim);
    border-radius: 10px;
    min-width: 90px;
}

/* ─── Privacy / prose ───────────────────────────────────────────────────────── */
.prose-block h2 {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.65rem;
    color: var(--neon-yellow);
    letter-spacing: 0.08em;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.prose-block h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neon-cyan);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose-block p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.prose-block ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.prose-block li {
    margin-bottom: 0.35rem;
}

.prose-block a {
    color: var(--neon-cyan);
    text-decoration: underline;
}

.prose-block a:hover {
    color: var(--neon-yellow);
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border-dim);
    background: var(--bg-dark);
}
