/* ============================================================
   LASER NINJA — Landing Page
   Aesthetic: CRT arcade flyer · neon · scanlines · monospace
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --bg:           #06060f;
    --bg-2:         #0b0b1a;
    --bg-3:         #11112a;
    --ink:          #e8e8f5;
    --ink-dim:      #8888a8;
    --ink-mute:     #555575;

    --cyan:         #00f0ff;
    --magenta:      #ff2bd6;
    --amber:        #ffe35a;
    --lime:         #4dff9b;
    --red:          #ff3a5c;
    --violet:       #9d6cff;

    --line:         rgba(232, 232, 245, 0.10);
    --line-strong:  rgba(232, 232, 245, 0.22);

    --glow-cyan:    0 0 12px rgba(0, 240, 255, 0.45), 0 0 32px rgba(0, 240, 255, 0.18);
    --glow-magenta: 0 0 12px rgba(255, 43, 214, 0.45), 0 0 32px rgba(255, 43, 214, 0.18);

    --font-pixel:   'Press Start 2P', system-ui, sans-serif;
    --font-display: 'VT323', 'Courier New', monospace;
    --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

    --radius:       2px;
    --radius-lg:    4px;
    --container:    1240px;
    --gutter:       clamp(20px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

/* ---------- CRT Overlays (fixed, pointer-events: none) ---------- */
.crt-overlay,
.crt-flicker,
.crt-vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}
.crt-overlay {
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0px,
        rgba(255, 255, 255, 0) 2px,
        rgba(0, 0, 0, 0.18) 3px,
        rgba(0, 0, 0, 0.18) 4px
    );
    mix-blend-mode: multiply;
    opacity: 0.55;
}
.crt-flicker {
    background: rgba(0, 240, 255, 0.018);
    animation: flicker 7s infinite;
}
.crt-vignette {
    background:
        radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%),
        linear-gradient(180deg, rgba(0,240,255,0.02) 0%, transparent 30%, transparent 70%, rgba(255,43,214,0.02) 100%);
}
@keyframes flicker {
    0%, 100% { opacity: 0.18; }
    3%       { opacity: 0.55; }
    6%       { opacity: 0.20; }
    7%       { opacity: 0.45; }
    8%       { opacity: 0.20; }
    50%      { opacity: 0.30; }
    52%      { opacity: 0.55; }
    53%      { opacity: 0.25; }
}

/* ---------- Marquee ---------- */
.marquee {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: var(--cyan);
    color: var(--bg);
    overflow: hidden;
    z-index: 100;
    font-family: var(--font-pixel);
    font-size: 9px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(0,0,0,0.4);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 60s linear infinite;
    height: 100%;
    align-items: center;
}
.marquee-track > span {
    padding: 0 18px;
    white-space: nowrap;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 28px;
    left: 0;
    right: 0;
    z-index: 80;
    background: rgba(6, 6, 15, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: 0.04em;
}
.logo-mark {
    color: var(--magenta);
    text-shadow: var(--glow-magenta);
}
.logo-text {
    background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-text i {
    color: var(--ink-mute);
    font-style: normal;
    -webkit-text-fill-color: var(--ink-mute);
    margin: 0 2px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
    list-style: none;
    font-family: var(--font-mono);
    font-size: 13px;
}
.nav-links a {
    color: var(--ink-dim);
    text-decoration: none;
    transition: color 120ms ease;
    padding: 6px 0;
    letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
    color: var(--cyan) !important;
    border: 1px solid currentColor;
    padding: 6px 14px !important;
    border-radius: var(--radius);
    font-family: var(--font-pixel);
    font-size: 9px !important;
    letter-spacing: 0.06em;
}
.nav-cta:hover {
    background: var(--cyan);
    color: var(--bg) !important;
    box-shadow: var(--glow-cyan);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--line-strong);
    padding: 8px;
    cursor: pointer;
}
.mobile-menu-btn span {
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 200ms ease;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--font-pixel);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: 1.5px solid currentColor;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 160ms ease;
    background: transparent;
    color: var(--ink);
    text-transform: uppercase;
    position: relative;
}
.btn-primary {
    color: var(--bg);
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}
.btn-primary:hover {
    background: var(--magenta);
    border-color: var(--magenta);
    color: var(--bg);
    box-shadow: var(--glow-magenta);
    transform: translateY(-2px);
}
.btn-ghost {
    color: var(--ink-dim);
    border-color: var(--line-strong);
}
.btn-ghost:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}
.btn-xl {
    padding: 22px 40px;
    font-size: 13px;
}
.apple-icon {
    width: 18px;
    height: 18px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 160px;
    padding-bottom: 80px;
    overflow: hidden;
    isolation: isolate;
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(0,240,255,0.18) 0%, transparent 45%),
        radial-gradient(ellipse at 90% 100%, rgba(255,43,214,0.15) 0%, transparent 45%),
        linear-gradient(rgba(0,240,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,240,255,0.06) 1px, transparent 1px);
    background-size: auto, auto, 48px 48px, 48px 48px;
    background-position: 0 0, 0 0, -1px -1px, -1px -1px;
    mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.eyebrow,
.section-eyebrow {
    font-family: var(--font-pixel);
    font-size: 10px;
    color: var(--cyan);
    letter-spacing: 0.16em;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-pixel);
    font-size: clamp(48px, 9vw, 96px);
    line-height: 1;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    letter-spacing: -0.01em;
}
.title-line {
    display: inline-block;
    position: relative;
}
.title-line-1 {
    color: var(--cyan);
    text-shadow:
        0 0 12px rgba(0,240,255,0.55),
        0 0 32px rgba(0,240,255,0.30);
    animation: subtle-flicker 5.4s infinite;
}
.title-line-2 {
    color: var(--magenta);
    text-shadow:
        0 0 12px rgba(255,43,214,0.55),
        0 0 32px rgba(255,43,214,0.30);
    margin-left: 0.6em;
    animation: subtle-flicker 5.4s infinite 1.2s;
}
@keyframes subtle-flicker {
    0%, 100% { opacity: 1; }
    91%      { opacity: 1; }
    92%      { opacity: 0.7; }
    93%      { opacity: 1; }
    97%      { opacity: 0.85; }
    98%      { opacity: 1; }
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 38px);
    color: var(--amber);
    line-height: 1.15;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
}
.hero-tagline em {
    color: var(--cyan);
    font-style: normal;
}

.hero-blurb {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.7;
    max-width: 46ch;
    margin-bottom: 32px;
}
.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.hero-meta {
    color: var(--ink-mute);
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* Phone frame */
.hero-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.phone {
    position: relative;
    width: min(380px, 92%);
    aspect-ratio: 1320 / 2868;
    background: linear-gradient(150deg, #2a2a40 0%, #14141f 100%);
    border-radius: 44px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 30px 60px -20px rgba(0,0,0,0.7),
        0 0 0 1px rgba(0,0,0,0.4) inset,
        0 0 80px rgba(0,240,255,0.12);
    z-index: 2;
}
.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #000;
    border-radius: 12px;
    z-index: 3;
}
.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 36px;
    overflow: hidden;
    background: #06060f;
}
.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.phone-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center top, rgba(0,240,255,0.12) 0%, transparent 60%),
        linear-gradient(180deg, #0e0e22 0%, #06060f 100%);
    padding: 24px;
    text-align: center;
}
.fallback-title {
    font-family: var(--font-pixel);
    font-size: 22px;
    line-height: 1.4;
    background: linear-gradient(180deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.fallback-button {
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--lime);
    border: 1.5px solid var(--lime);
    padding: 10px 18px;
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(77,255,155,0.4);
}
.fallback-meta {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--amber);
    letter-spacing: 0.06em;
}
.phone-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at center, rgba(255,43,214,0.18) 0%, transparent 60%);
    z-index: 1;
    filter: blur(40px);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--ink-mute);
    letter-spacing: 0.18em;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2.6s infinite ease-in-out;
}
.scroll-cue i {
    width: 10px;
    height: 10px;
    border-right: 1.5px solid var(--cyan);
    border-bottom: 1.5px solid var(--cyan);
    transform: rotate(45deg);
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Board ---------- */
.board {
    border-block: 1px solid var(--line);
    background:
        linear-gradient(90deg, transparent 0%, rgba(0,240,255,0.04) 50%, transparent 100%),
        var(--bg-2);
    padding: 28px 0;
}
.board-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.board-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 24px;
    border-left: 1px dashed var(--line-strong);
}
.board-cell:first-child { border-left: none; padding-left: 0; }
.board-label {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--ink-mute);
    letter-spacing: 0.10em;
}
.board-value {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    color: var(--amber);
    line-height: 1;
    letter-spacing: 0.04em;
    text-shadow: 0 0 18px rgba(255,227,90,0.28);
}

/* ---------- Sections (shared) ---------- */
section { padding: clamp(80px, 9vw, 130px) 0; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
    color: var(--ink);
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}
.section-title em {
    font-style: normal;
    color: var(--cyan);
    text-shadow: 0 0 14px rgba(0,240,255,0.35);
}
.section-lede {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.7;
    max-width: 56ch;
    margin-bottom: 48px;
}

/* ---------- Features (asymmetric grid) ---------- */
.features { background: var(--bg-2); }
.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 32px;
}
.feature {
    grid-column: span 2;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 32px;
    position: relative;
    transition: all 240ms ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}
.feature:hover {
    border-color: var(--cyan);
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px var(--cyan), var(--glow-cyan);
}
.feature-wide { grid-column: span 3; }
.feature-num {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--magenta);
    letter-spacing: 0.10em;
    margin-bottom: 18px;
}
.feature h3 {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.15;
    margin-bottom: 12px;
    color: var(--ink);
    letter-spacing: 0.02em;
}
.feature p {
    color: var(--ink-dim);
    font-size: 14px;
    line-height: 1.65;
}
.feature-honest h3 { color: var(--lime); }
.feature-honest:hover { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 0 14px rgba(77,255,155,0.4); }

/* combo illustration */
.feature-illustration {
    margin-top: auto;
    padding-top: 22px;
}
.combo-row {
    display: flex;
    gap: 8px;
    font-family: var(--font-pixel);
    font-size: 11px;
    color: var(--ink-mute);
    flex-wrap: wrap;
}
.combo-row span {
    padding: 6px 10px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: rgba(0,0,0,0.25);
}
.combo-row .hot {
    color: var(--bg);
    background: var(--amber);
    border-color: var(--amber);
    box-shadow: 0 0 18px rgba(255,227,90,0.4);
}

/* ---------- Rangers ---------- */
.rangers {
    background:
        radial-gradient(circle at 50% 0%, rgba(0,240,255,0.06) 0%, transparent 40%),
        var(--bg);
}
.ranger-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.ranger {
    background: var(--bg-2);
    border: 1px solid var(--line);
    padding: 28px 22px 22px;
    position: relative;
    transition: all 240ms ease;
    text-align: left;
    overflow: hidden;
}
.ranger::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ranger-color, var(--cyan));
    opacity: 0;
    transition: opacity 240ms ease;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.ranger:hover::before { opacity: 0.10; }
.ranger:hover {
    transform: translateY(-3px);
    border-color: var(--ranger-color, var(--cyan));
    box-shadow: 0 0 0 1px var(--ranger-color, var(--cyan)),
                0 0 24px var(--ranger-glow, rgba(0,240,255,0.30));
}
.ranger-glyph {
    width: 64px;
    height: 64px;
    border: 1.5px solid var(--ranger-color, var(--cyan));
    color: var(--ranger-color, var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pixel);
    font-size: 22px;
    margin-bottom: 22px;
    box-shadow: inset 0 0 14px var(--ranger-glow, rgba(0,240,255,0.18));
    position: relative;
    z-index: 1;
}
.ranger-red    { --ranger-color: var(--red);     --ranger-glow: rgba(255,58,92,0.30); }
.ranger-blue   { --ranger-color: var(--cyan);    --ranger-glow: rgba(0,240,255,0.30); }
.ranger-yellow { --ranger-color: var(--amber);   --ranger-glow: rgba(255,227,90,0.30); }
.ranger-green  { --ranger-color: var(--lime);    --ranger-glow: rgba(77,255,155,0.30); }
.ranger h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--ink);
    letter-spacing: 0.02em;
}
.ranger p {
    color: var(--ink-dim);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.ranger-tag {
    display: inline-block;
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--ranger-color, var(--cyan));
    border: 1px solid currentColor;
    padding: 4px 8px;
    letter-spacing: 0.10em;
    border-radius: var(--radius);
}

/* ---------- Power-ups ---------- */
.powerups { background: var(--bg-2); }
.powerup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 32px;
}
.powerup {
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 28px;
    transition: all 240ms ease;
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 18px;
    align-items: center;
}
.powerup:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px var(--cyan), var(--glow-cyan);
}
.powerup-icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    color: var(--cyan);
    flex-shrink: 0;
}
.powerup h4 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    letter-spacing: 0.02em;
    line-height: 1.15;
}
.powerup p {
    color: var(--ink-dim);
    font-size: 13px;
    line-height: 1.55;
    grid-column: 2 / 3;
}
.powerup-cost {
    grid-row: 1 / 3;
    grid-column: 3;
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--amber);
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* ---------- Screens ---------- */
.screens-rail {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 32px 0 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan) var(--bg-2);
}
.screens-rail::-webkit-scrollbar { height: 6px; }
.screens-rail::-webkit-scrollbar-track { background: var(--bg-2); }
.screens-rail::-webkit-scrollbar-thumb { background: var(--cyan); border-radius: 0; }

.screen-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.screen-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1320 / 2868;
    background: linear-gradient(150deg, #2a2a40 0%, #14141f 100%);
    border-radius: 36px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 36px -12px rgba(0,0,0,0.6);
    overflow: hidden;
}
.screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}
.screen-frame.placeholder::after {
    content: '?';
    position: absolute;
    inset: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-linear-gradient(45deg, rgba(0,240,255,0.04) 0 8px, transparent 8px 16px),
        linear-gradient(180deg, #0e0e22 0%, #06060f 100%);
    border-radius: 22px;
    font-family: var(--font-pixel);
    font-size: 36px;
    color: var(--cyan);
    text-shadow: var(--glow-cyan);
}
.screen-card figcaption {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--ink-dim);
    letter-spacing: 0.04em;
}
.screens-note {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--ink-mute);
    letter-spacing: 0.10em;
    text-align: center;
    margin-top: 18px;
}

/* ---------- CTA ---------- */
.cta {
    background:
        radial-gradient(ellipse at center, rgba(0,240,255,0.10) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    border-block: 1px solid var(--line);
    text-align: center;
}
.cta-container { max-width: 700px; }
.cta-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--ink);
}
.cta-title em {
    font-style: normal;
    color: var(--magenta);
    text-shadow: 0 0 14px rgba(255,43,214,0.45);
}
.cta-blurb {
    color: var(--ink-dim);
    font-size: 16px;
    margin-bottom: 36px;
}
.cta-fineprint {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--ink-mute);
    letter-spacing: 0.10em;
    margin-top: 20px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    padding: 64px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p {
    color: var(--ink-mute);
    font-size: 13px;
    margin-top: 14px;
    max-width: 30ch;
}
.logo-footer { font-size: 10px; }
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.footer-col h4 {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--ink-mute);
    letter-spacing: 0.10em;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
    color: var(--ink-dim);
    text-decoration: none;
    font-size: 13px;
    transition: color 120ms ease;
}
.footer-col a:hover { color: var(--cyan); }

.footer-bar {
    border-top: 1px solid var(--line);
    padding: 18px 0;
}
.footer-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bar p {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
}
.footer-tag {
    font-family: var(--font-pixel) !important;
    font-size: 8px !important;
    color: var(--magenta) !important;
    letter-spacing: 0.10em;
}

/* ---------- Privacy page ---------- */
.legal {
    padding: 140px 0 100px;
    min-height: 100vh;
}
.legal-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.legal-back {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--cyan);
    letter-spacing: 0.10em;
    text-decoration: none;
    margin-bottom: 32px;
    display: inline-block;
}
.legal-back:hover { text-shadow: var(--glow-cyan); }
.legal h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 60px);
    color: var(--ink);
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}
.legal-meta {
    font-family: var(--font-pixel);
    font-size: 9px;
    color: var(--ink-mute);
    letter-spacing: 0.10em;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px dashed var(--line-strong);
}
.legal h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--cyan);
    letter-spacing: 0.02em;
    margin-top: 40px;
    margin-bottom: 14px;
}
.legal p,
.legal li {
    color: var(--ink-dim);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
}
.legal ul {
    list-style: none;
    padding-left: 0;
}
.legal li {
    padding-left: 22px;
    position: relative;
}
.legal li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--magenta);
    font-family: var(--font-pixel);
    font-size: 12px;
    top: 2px;
}
.legal strong { color: var(--ink); font-weight: 500; }
.legal a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}
.legal a:hover { text-shadow: var(--glow-cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 60px; }
    .hero-frame { order: -1; max-width: 380px; margin: 0 auto; }
    .feature-list { grid-template-columns: repeat(2, 1fr); }
    .feature, .feature-wide { grid-column: span 1; }
    .ranger-grid { grid-template-columns: repeat(2, 1fr); }
    .powerup-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; }
    .board-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .board-cell { padding: 12px 18px; }
    .board-cell:nth-child(1), .board-cell:nth-child(2) { border-bottom: 1px dashed var(--line-strong); padding-bottom: 18px; }
    .board-cell:nth-child(odd) { border-left: none; padding-left: 0; }
}

@media (max-width: 720px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-2);
        flex-direction: column;
        padding: 24px var(--gutter);
        gap: 18px;
        border-bottom: 1px solid var(--line);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: flex; }
    .nav-cta { align-self: flex-start; }

    .hero { padding-top: 130px; }
    .hero-title { font-size: clamp(40px, 14vw, 64px); }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; }

    .ranger-grid { grid-template-columns: 1fr; }
    .powerup-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }

    .footer-cols { grid-template-columns: repeat(2, 1fr); }

    .scroll-cue { display: none; }

    .marquee { font-size: 8px; height: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .crt-flicker { display: none; }
    .marquee-track { animation: none; }
}
