        @font-face {
            font-family: 'RetroPixelThick5';
            src: url('assets/fonts/RetroPixelThick5.ttf') format('truetype');
            font-weight: 400;
            font-style: normal;
            font-display: swap;
        }

        :root {
            --red: #FF0040;
            --red-dark: #CC0033;
            --yellow: #FFE600;
            --cyan: #00F0FF;
            --dark: #0D0D0D;
            --dark-card: #1A1A1A;
            --text: #FFFFFF;
            --text-dim: #B0B0B0;
            --ks-green: #05CE78;
            --discord: #5865F2;
            --discord-dark: #3C45A5;
            --font-pixel: 'RetroPixelThick5', monospace;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Space Grotesk', sans-serif;
            background: var(--dark);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Scanline overlay */
        .scanlines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1000;
            pointer-events: none;
            background: repeating-linear-gradient(
                0deg,
                rgba(0, 0, 0, 0.15),
                rgba(0, 0, 0, 0.15) 1px,
                transparent 1px,
                transparent 2px
            );
            opacity: 0.3;
        }

        /* CRT glow effect */
        .crt-glow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            background: radial-gradient(ellipse at center, rgba(255, 0, 64, 0.1) 0%, transparent 70%);
            pointer-events: none;
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 1rem 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(13, 13, 13, 0.9);
            border-bottom: 3px solid var(--red);
        }

        .nav-logo {
            height: 58px;
            image-rendering: pixelated;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            transition: all 0.2s ease;
            padding: 0.5rem 1rem;
            border: 2px solid transparent;
        }

        .nav-links a:hover {
            color: var(--yellow);
            border-color: var(--yellow);
            box-shadow: 0 0 20px rgba(255, 230, 0, 0.3);
        }

        /* Hero Section with Parallax */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            padding: 6rem 2rem 4rem;
            overflow: hidden;
            isolation: isolate;
            background: var(--dark);
            /* Full-bleed: the section cap would box the background art */
            max-width: none;
            width: 100%;
        }

        .hero-bg {
            position: absolute;
            top: -40%;
            left: 0;
            width: 100%;
            height: 180%;
            background: url('assets/bg-menu.png') center 22% / cover no-repeat;
            filter: saturate(1);
            z-index: 0;
            will-change: transform;
        }

        .hero-bg-overlay {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 70% 60% at 50% 38%, rgba(13, 13, 13, 0.35) 0%, rgba(13, 13, 13, 0.18) 65%, rgba(13, 13, 13, 0.28) 100%),
                linear-gradient(180deg, rgba(13, 13, 13, 0.42) 0%, rgba(13, 13, 13, 0.12) 32%, rgba(13, 13, 13, 0.22) 58%, rgba(13, 13, 13, 0.9) 100%),
                radial-gradient(ellipse at 30% 50%, rgba(255, 0, 64, 0.1) 0%, transparent 55%),
                radial-gradient(ellipse at 70% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 55%);
            z-index: 1;
            pointer-events: none;
        }

        .hero-content {
            text-align: center;
            max-width: 1000px;
            position: relative;
            z-index: 2;
        }

        .hero-logo {
            width: clamp(280px, 30vw, 480px);
            margin-bottom: 2.5rem;
            filter: drop-shadow(0 0 20px rgba(255, 0, 64, 0.5));
            animation: glitch 3s infinite;
        }

        @keyframes glitch {
            0%, 90%, 100% { transform: translate(0); filter: drop-shadow(0 0 20px rgba(255, 0, 64, 0.5)); }
            92% { transform: translate(-2px, 2px); filter: drop-shadow(0 0 30px rgba(255, 0, 64, 0.8)); }
            94% { transform: translate(2px, -2px); filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.8)); }
            96% { transform: translate(-2px, -2px); filter: drop-shadow(0 0 30px rgba(255, 230, 0, 0.8)); }
            98% { transform: translate(2px, 2px); filter: drop-shadow(0 0 20px rgba(255, 0, 64, 0.5)); }
        }

        /* Readable by search engines and screen readers, not by eyes */
        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: -1px;
            padding: 0;
            overflow: hidden;
            clip: rect(0 0 0 0);
            clip-path: inset(50%);
            white-space: nowrap;
            border: 0;
        }

        .hero-tagline {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: clamp(1.85rem, 5.5vw, 3.1rem);
            line-height: 1.35;
            color: var(--cyan);
            margin-bottom: 2rem;
            letter-spacing: 0.08em;
        }

        .hero-description {
            font-size: 1.1rem;
            color: var(--text-dim);
            max-width: 720px;
            margin: 0 auto 1.5rem;
            font-weight: 400;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
        }

        .steam-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            margin: 0 auto 2.5rem;
            padding: 0.55rem 1rem;
            border: 2px solid var(--cyan);
            color: var(--cyan);
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            background: rgba(0, 240, 255, 0.08);
        }

        .steam-chip strong {
            color: var(--yellow);
            font-weight: 700;
        }

        .cta-group {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 3rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 1.2rem 2.5rem;
            font-family: 'Press Start 2P', monospace;
            font-size: 0.8rem;
            text-transform: uppercase;
            text-decoration: none;
            border: 3px solid;
            transition: all 0.2s ease;
            position: relative;
            image-rendering: pixelated;
        }

        .btn-primary {
            background: var(--red);
            color: white;
            border-color: var(--red);
            box-shadow: 0 0 20px rgba(255, 0, 64, 0.4), inset 0 -4px 0 var(--red-dark);
        }

        .btn-primary:hover {
            background: var(--red-dark);
            transform: translateY(-4px);
            box-shadow: 0 0 40px rgba(255, 0, 64, 0.6), inset 0 -4px 0 var(--red);
        }

        .btn-secondary {
            background: transparent;
            color: var(--cyan);
            border-color: var(--cyan);
            box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
        }

        .btn-secondary:hover {
            background: var(--cyan);
            color: var(--dark);
            box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
        }

        .btn-kickstarter {
            background: var(--ks-green);
            color: #062814;
            border-color: var(--ks-green);
            box-shadow: 0 0 20px rgba(5, 206, 120, 0.35), inset 0 -4px 0 #049a5a;
        }

        .btn-kickstarter:hover {
            background: #04b86b;
            transform: translateY(-4px);
            box-shadow: 0 0 40px rgba(5, 206, 120, 0.55), inset 0 -4px 0 #037a48;
        }

        .platforms {
            display: flex;
            gap: 2rem;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }

        .platform {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--text-dim);
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            padding: 0.75rem 1.5rem;
            border: 2px solid var(--text-dim);
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .platform:hover {
            border-color: var(--yellow);
            color: var(--yellow);
            box-shadow: 0 0 15px rgba(255, 230, 0, 0.3);
        }

        .platform-logo {
            height: 22px;
            width: 22px;
            flex-shrink: 0;
            fill: currentColor;
        }

        /* Parallax Sections */
        .parallax-section {
            position: relative;
            overflow: hidden;
            isolation: isolate;
        }

        .parallax-bg {
            position: absolute;
            top: -40%;
            left: 0;
            width: 100%;
            height: 180%;
            background-size: cover;
            background-position: center;
            z-index: 0;
            will-change: transform;
            opacity: 0.28;
        }

        /* Keeps text readable over the moving layer */
        .parallax-scrim {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(13, 13, 13, 0.75) 0%, rgba(13, 13, 13, 0.9) 100%);
            z-index: 1;
            pointer-events: none;
        }

        .parallax-section > *:not(.parallax-bg):not(.parallax-scrim) {
            position: relative;
            z-index: 2;
        }

        /* Background spans the viewport, content keeps the shared page width */
        .bleed {
            max-width: none;
            width: 100%;
            padding-left: 0;
            padding-right: 0;
        }

        .bleed-inner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 3rem;
        }

        /* Scroll reveal. Gated on .js so content is never hidden when scripts fail. */
        .js .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }

        .js .reveal.is-visible {
            opacity: 1;
            transform: none;
        }

        @media (prefers-reduced-motion: reduce) {
            .js .reveal {
                opacity: 1;
                transform: none;
                transition: none;
            }
            .hero-bg,
            .parallax-bg,
            .hero-portrait-layer,
            .discord-glow {
                transform: none !important;
            }
            .discord-glow,
            .discord-live,
            .discord h2::after {
                animation: none !important;
            }
        }

        /* Sections */
        section {
            padding: 5rem 3rem;
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
        }

        .section-title {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: clamp(1.85rem, 5.5vw, 3.1rem);
            line-height: 1.35;
            text-align: center;
            margin-bottom: 3rem;
            color: var(--red);
            text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
        }

        .section-title-spaced {
            margin-top: 4rem;
        }

        /* Kickstarter banner */
        .kickstarter {
            background:
                repeating-linear-gradient(
                    90deg,
                    #ffe600 0,
                    #ffe600 16px,
                    #ffd400 16px,
                    #ffd400 32px
                );
            color: #111;
            border-top: 6px solid #111;
            border-bottom: 6px solid #111;
            text-align: center;
            padding: 4.5rem 2rem;
        }

        .kickstarter .bleed-inner {
            max-width: 980px;
        }

        .ks-kicker {
            display: inline-block;
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 0.7rem;
            letter-spacing: 0.18em;
            background: #111;
            color: var(--yellow);
            padding: 0.65rem 1rem;
            margin-bottom: 1.5rem;
        }

        .kickstarter h2 {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: clamp(1.3rem, 4vw, 2.2rem);
            line-height: 1.35;
            margin-bottom: 1.5rem;
            color: #111;
            text-shadow: 4px 4px 0 rgba(255, 0, 64, 0.25);
        }

        .kickstarter p {
            font-size: 1.15rem;
            line-height: 1.7;
            margin: 0 auto 1.25rem;
            max-width: 780px;
        }

        .kickstarter .ks-note {
            font-size: 0.95rem;
            color: #333;
            margin-bottom: 2rem;
        }

        .ks-perks {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin: 0 auto 2.25rem;
            max-width: 860px;
            list-style: none;
        }

        .ks-perks li {
            background: #111;
            color: var(--yellow);
            border: 3px solid #111;
            padding: 1.15rem 1rem;
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 0.85rem;
            line-height: 1.45;
        }

        .kickstarter .cta-group {
            margin-bottom: 0;
        }

        /* Discord hall */
        .discord {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            text-align: center;
            padding: 5rem 2rem;
            color: var(--text);
            background:
                radial-gradient(ellipse 80% 70% at 50% 0%, rgba(88, 101, 242, 0.28) 0%, transparent 58%),
                radial-gradient(ellipse 50% 40% at 20% 90%, rgba(0, 240, 255, 0.12) 0%, transparent 55%),
                radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 0, 64, 0.12) 0%, transparent 55%),
                repeating-linear-gradient(
                    0deg,
                    rgba(0, 240, 255, 0.04) 0,
                    rgba(0, 240, 255, 0.04) 1px,
                    transparent 1px,
                    transparent 8px
                ),
                #070914;
            border-top: 6px solid var(--cyan);
            border-bottom: 6px solid var(--cyan);
            box-shadow: inset 0 0 80px rgba(88, 101, 242, 0.2);
        }

        .discord-glow {
            position: absolute;
            inset: -20%;
            z-index: 0;
            pointer-events: none;
            background:
                radial-gradient(circle at 50% 40%, rgba(88, 101, 242, 0.22) 0%, transparent 42%);
            animation: discord-breathe 5.5s ease-in-out infinite;
        }

        .discord .bleed-inner {
            position: relative;
            z-index: 1;
            max-width: 920px;
        }

        .discord-kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 0.7rem;
            letter-spacing: 0.18em;
            color: var(--cyan);
            border: 3px solid var(--cyan);
            padding: 0.65rem 1rem;
            margin-bottom: 1.6rem;
            background: rgba(0, 0, 0, 0.45);
            box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
        }

        .discord-live {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--cyan);
            box-shadow: 0 0 10px var(--cyan);
            animation: discord-pulse 1.2s ease-in-out infinite;
        }

        .discord h2 {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: clamp(1.3rem, 4vw, 2.2rem);
            line-height: 1.35;
            margin-bottom: 1.5rem;
            color: var(--yellow);
            text-shadow: 4px 4px 0 rgba(255, 0, 64, 0.45), 0 0 24px rgba(88, 101, 242, 0.45);
        }

        .discord h2::after {
            content: '_';
            color: var(--cyan);
            margin-left: 0.12em;
            animation: discord-cursor 1s step-end infinite;
        }

        .discord p {
            font-size: 1.15rem;
            line-height: 1.7;
            margin: 0 auto 1.75rem;
            max-width: 760px;
            color: var(--text);
        }

        .discord-signals {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin: 0 auto 2.25rem;
            max-width: 860px;
            list-style: none;
        }

        .discord-signals li {
            background: rgba(13, 13, 13, 0.72);
            color: var(--cyan);
            border: 3px solid var(--cyan);
            padding: 1.15rem 1rem;
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 0.85rem;
            line-height: 1.45;
            box-shadow: 0 0 16px rgba(0, 240, 255, 0.12);
        }

        .discord .cta-group {
            margin-bottom: 0;
        }

        .btn-discord {
            background: var(--discord);
            color: #fff;
            border-color: var(--discord);
            box-shadow: 0 0 20px rgba(88, 101, 242, 0.45), inset 0 -4px 0 var(--discord-dark);
        }

        .btn-discord:hover {
            background: #6b76f4;
            transform: translateY(-4px);
            box-shadow: 0 0 40px rgba(88, 101, 242, 0.7), inset 0 -4px 0 var(--discord-dark);
        }

        .btn-discord-icon {
            width: 1.35rem;
            height: 1.35rem;
            flex-shrink: 0;
        }

        @keyframes discord-pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.35; transform: scale(0.72); }
        }

        @keyframes discord-cursor {
            0%, 49% { opacity: 1; }
            50%, 100% { opacity: 0; }
        }

        @keyframes discord-breathe {
            0%, 100% { opacity: 0.7; transform: scale(1); }
            50% { opacity: 1; transform: scale(1.08); }
        }

        /* About Section */
        .about {
            background: var(--dark-card);
            border: 3px solid var(--red);
            width: calc(100% - 6rem);
            margin: 0 auto;
            padding: 3rem;
            box-shadow: 0 0 40px rgba(255, 0, 64, 0.2);
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            align-items: center;
        }

        .about-text h3 {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 1.4rem;
            line-height: 1.4;
            color: var(--yellow);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            color: var(--text-dim);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .about-list {
            color: var(--text-dim);
            font-size: 0.95rem;
            margin: 0 0 1.5rem 1.1rem;
        }

        .about-list li {
            margin-bottom: 0.45rem;
        }

        .about-image {
            position: relative;
            border: 3px solid var(--cyan);
            overflow: hidden;
            box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            image-rendering: pixelated;
        }

        /* Features */
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .feature-card {
            background: var(--dark-card);
            border: 3px solid var(--text-dim);
            padding: 2rem;
            transition: all 0.2s ease;
            position: relative;
        }

        .feature-card:hover {
            border-color: var(--yellow);
            transform: translate(-4px, -4px);
            box-shadow: 8px 8px 0 var(--red);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            background: #111;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            border: 3px solid var(--yellow);
            padding: 6px;
        }

        .feature-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            image-rendering: pixelated;
        }

        .feature-card h3 {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 1.2rem;
            line-height: 1.4;
            color: var(--yellow);
            margin-bottom: 1rem;
        }

        .feature-card p {
            color: var(--text-dim);
            font-size: 0.9rem;
        }

        /* Heroes */
        .heroes-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.25rem;
        }

        .hero-card {
            background: var(--dark-card);
            border: 3px solid var(--cyan);
            padding: 0 0 1.35rem;
            overflow: hidden;
        }

        .hero-visual {
            position: relative;
            height: 280px;
            margin-bottom: 1rem;
            overflow: hidden;
            isolation: isolate;
            background: #0a0a0a;
            border-bottom: 3px solid var(--cyan);
        }

        .hero-visual::after {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            pointer-events: none;
            background: radial-gradient(ellipse at 50% 72%, transparent 18%, rgba(10, 10, 10, 0.55) 100%);
        }

        .hero-portrait-layer {
            position: absolute;
            top: -20%;
            left: 0;
            width: 100%;
            height: 140%;
            z-index: 0;
            opacity: 0.32;
            pointer-events: none;
            will-change: transform;
        }

        .hero-portrait {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 32%;
            transform: scale(1.25);
            transform-origin: center 32%;
            filter: saturate(0.9);
        }

        .hero-idle {
            position: absolute;
            left: 50%;
            bottom: 1rem;
            transform: translateX(-50%);
            height: 168px;
            width: auto;
            z-index: 2;
            image-rendering: pixelated;
            image-rendering: crisp-edges;
            filter: drop-shadow(3px 3px 0 #000) drop-shadow(0 0 14px rgba(0, 240, 255, 0.28));
            pointer-events: none;
        }

        .hero-heading {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 0.85rem;
            padding: 0 1.25rem 0.35rem;
        }

        .hero-heading-text {
            min-width: 0;
            flex: 1;
        }

        .hero-face {
            width: 72px;
            height: 72px;
            flex-shrink: 0;
            object-fit: cover;
            image-rendering: pixelated;
            border: 3px solid var(--yellow);
            background: #111;
            box-shadow: 3px 3px 0 var(--red);
        }

        .hero-face--valraven { object-position: 50% 10%; }
        .hero-face--branok { object-position: 52% 6%; }
        .hero-face--darkblade { object-position: 40% 16%; }
        .hero-face--elowen { object-position: 48% 8%; }

        .hero-card h3,
        .hero-card p {
            padding-left: 1.25rem;
            padding-right: 1.25rem;
        }

        .hero-heading h3,
        .hero-heading p {
            padding-left: 0;
            padding-right: 0;
        }

        .hero-card h3 {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 1.2rem;
            color: var(--yellow);
            margin-bottom: 0.4rem;
            line-height: 1.4;
        }

        .hero-card .hero-role {
            color: var(--cyan);
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 0.85rem;
        }

        .hero-card p {
            color: var(--text-dim);
            font-size: 0.88rem;
        }

        .hero-card .hero-sin {
            color: var(--red);
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 0.7rem;
        }

        .section-lead {
            text-align: center;
            color: var(--text-dim);
            max-width: 780px;
            margin: -1.25rem auto 3rem;
            font-size: 1.05rem;
        }

        .coming-note {
            text-align: center;
            color: var(--cyan);
            font-size: 0.95rem;
            margin-top: 2rem;
        }

        .coming-note-pixel {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 1.05rem;
            line-height: 1.5;
        }

        .biome-grid,
        .roadmap-grid,
        .foe-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.25rem;
        }

        .biome-card,
        .roadmap-card,
        .foe-card,
        .platform-card {
            background: var(--dark-card);
            border: 3px solid var(--text-dim);
            padding: 1.5rem 1.35rem;
        }

        .biome-card h3,
        .roadmap-card h3,
        .foe-card h3 {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 1.15rem;
            color: var(--yellow);
            line-height: 1.4;
            margin-bottom: 0.55rem;
        }

        .biome-card p,
        .roadmap-card p,
        .foe-card p {
            color: var(--text-dim);
            font-size: 0.9rem;
        }

        .status {
            display: inline-block;
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 1.15rem;
            letter-spacing: 0.08em;
            padding: 0.6rem 0.85rem;
            margin-bottom: 0.85rem;
        }

        .status-live {
            background: var(--ks-green);
            color: #062814;
        }

        .status-soon {
            background: transparent;
            color: var(--cyan);
            border: 2px solid var(--cyan);
        }

        .platform-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 0.5rem;
        }

        .platform-table th,
        .platform-table td {
            text-align: left;
            padding: 0.85rem 1rem;
            border: 2px solid #2a2a2a;
            font-size: 1.15rem;
        }

        .platform-table th {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 1.15rem;
            color: var(--yellow);
            letter-spacing: 0.06em;
        }

        .platform-table td {
            color: var(--text-dim);
        }

        /* Gallery */
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .gallery-item {
            position: relative;
            border: 3px solid var(--cyan);
            overflow: hidden;
            aspect-ratio: 16/9;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .gallery-item:hover {
            border-color: var(--yellow);
            box-shadow: 0 0 30px rgba(255, 230, 0, 0.4);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            image-rendering: pixelated;
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            background: rgba(13, 13, 13, 0.8);
            opacity: 0;
            transition: opacity 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay p {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 0.8rem;
            color: var(--yellow);
            text-align: center;
            padding: 1rem;
        }

        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 2000;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 3.5rem 4.5rem 4rem;
            background: rgba(0, 0, 0, 0.92);
        }

        .lightbox.is-open {
            display: flex;
        }

        .lightbox img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
            border: 3px solid var(--cyan);
            box-shadow: 0 0 40px rgba(0, 240, 255, 0.25);
        }

        .lightbox-caption {
            position: absolute;
            left: 0;
            right: 0;
            bottom: 1.1rem;
            text-align: center;
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            font-size: 0.75rem;
            color: var(--yellow);
            letter-spacing: 0.08em;
        }

        .lightbox-close,
        .lightbox-prev,
        .lightbox-next {
            position: absolute;
            background: transparent;
            border: 3px solid var(--text-dim);
            color: var(--text);
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            cursor: pointer;
            line-height: 1;
        }

        .lightbox-close {
            top: 1rem;
            right: 1rem;
            width: 48px;
            height: 48px;
            font-size: 1.4rem;
        }

        .lightbox-prev,
        .lightbox-next {
            top: 50%;
            transform: translateY(-50%);
            width: 48px;
            height: 64px;
            font-size: 1.6rem;
        }

        .lightbox-prev { left: 1rem; }
        .lightbox-next { right: 1rem; }

        .lightbox-close:hover,
        .lightbox-prev:hover,
        .lightbox-next:hover {
            border-color: var(--yellow);
            color: var(--yellow);
        }

        body.lightbox-open {
            overflow: hidden;
        }

        /* Footer */
        footer {
            background: var(--dark-card);
            padding: 4rem 3rem;
            text-align: center;
            border-top: 3px solid var(--red);
        }

        .footer-logo-link {
            display: inline-block;
            margin-bottom: 2rem;
            line-height: 0;
        }

        .footer-logo {
            height: 128px;
            width: auto;
            image-rendering: pixelated;
            transition: filter 0.2s ease, transform 0.2s ease;
        }

        .footer-logo-link:hover .footer-logo {
            transform: translateY(-4px);
            filter: drop-shadow(0 0 18px rgba(255, 0, 255, 0.55));
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin-bottom: 2rem;
        }

        .social-links a {
            width: 50px;
            height: 50px;
            border: 3px solid var(--text-dim);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-dim);
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .social-links a:hover {
            border-color: var(--cyan);
            color: var(--cyan);
            box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
            transform: translateY(-4px);
        }

        .footer-links {
            display: flex;
            gap: 2rem;
            justify-content: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--text-dim);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            transition: color 0.2s ease;
        }

        .footer-links a:hover {
            color: var(--yellow);
        }

        .contact-email {
            font-family: var(--font-pixel);
            -webkit-font-smoothing: none;
            color: var(--cyan);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .contact-email a {
            color: inherit;
            text-decoration: none;
        }

        .copyright {
            color: var(--text-dim);
            font-size: 0.8rem;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .nav-links { gap: 0.6rem; }
            .nav-links a { font-size: 0.7rem; padding: 0.4rem 0.65rem; }
        }

        @media (max-width: 1024px) {
            nav { padding: 1rem 2rem; }
            .hero { padding: 5rem 2rem 3rem; }
            section { padding: 4rem 2rem; }
            .bleed-inner { padding: 0 2rem; }
            .about { width: calc(100% - 4rem); padding: 2rem; }
            .about-grid { grid-template-columns: 1fr; gap: 2rem; }
            .heroes-grid,
            .biome-grid,
            .roadmap-grid,
            .foe-grid,
            .features-grid { grid-template-columns: 1fr 1fr; }
            .ks-perks,
            .discord-signals { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            .nav-links { display: none; }
            .cta-group { flex-direction: column; align-items: center; }
            .btn { width: 100%; max-width: 300px; justify-content: center; }
            .gallery { grid-template-columns: 1fr; }
            .footer-links { flex-direction: column; gap: 1rem; }
            .platforms { flex-direction: column; gap: 1rem; }
            .heroes-grid,
            .biome-grid,
            .roadmap-grid,
            .foe-grid,
            .features-grid { grid-template-columns: 1fr; }
        }
/* Legal pages */
.legal {
    max-width: 860px;
    margin: 0 auto;
    padding: 8.5rem 2rem 5rem;
}

.legal h1 {
    font-family: var(--font-pixel);
    -webkit-font-smoothing: none;
    font-size: clamp(0.85rem, 2.4vw, 1.15rem);
    color: var(--yellow);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0 var(--red);
}

.legal h2 {
    font-family: var(--font-pixel);
    -webkit-font-smoothing: none;
    font-size: 0.7rem;
    color: var(--cyan);
    margin: 2.5rem 0 1rem;
    letter-spacing: 0.06em;
}

.legal p,
.legal li {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 1.15rem;
}

.legal ul {
    margin: 0 0 1.15rem 1.25rem;
}

.legal a {
    color: var(--cyan);
}

.legal a:hover {
    color: var(--yellow);
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
}
