/* ══════════════════════════════════════════
   GUIDE AGENT — Nanakelol Stream
   CRT Cyberpunk One-Page
   ══════════════════════════════════════════ */

:root {
    --c: 125, 200, 100;
    --c-full: rgb(var(--c));
    --c-90: rgba(var(--c), 0.95);
    --c-80: rgba(var(--c), 0.92);
    --c-60: rgba(var(--c), 0.70);
    --c-40: rgba(var(--c), 0.47);
    --c-25: rgba(var(--c), 0.30);
    --c-15: rgba(var(--c), 0.18);
    --c-10: rgba(var(--c), 0.12);
    --c-08: rgba(var(--c), 0.10);
    --c-04: rgba(var(--c), 0.05);
    --bg: #000;
    --bg-alt: #030503;
}

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

html {
    background: #000;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--c-40) #0a0a0a;
}

body {
    background: var(--bg);
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    color: var(--c-60);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: var(--c-25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-40); }

/* ── Scanlines global overlay ── */
.scanlines {
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none;
    background: repeating-linear-gradient(0deg,
        rgba(0, 0, 0, 0.06) 0px,
        rgba(0, 0, 0, 0.06) 1px,
        transparent 1px,
        transparent 3px);
}

/* ── Noise texture (fine film grain via canvas) ── */
.noise {
    position: fixed; inset: 0; z-index: 9998;
    width: 100vw; height: 100vh;
    pointer-events: none;
    opacity: 0.08;
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */

.nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid var(--c-25);
    backdrop-filter: blur(10px);
}

.nav-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 30px;
}

.nav-brand {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Orbitron', monospace;
}

.nav-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-full);
    box-shadow: 0 0 6px var(--c-full), 0 0 15px var(--c-40);
    animation: dotPulse 2s ease-in-out infinite alternate;
}

@keyframes dotPulse {
    0% { opacity: 0.6; box-shadow: 0 0 4px var(--c-full); }
    100% { opacity: 1; box-shadow: 0 0 8px var(--c-full), 0 0 20px var(--c-40); }
}

.nav-title {
    font-size: 14px; font-weight: 900;
    letter-spacing: 3px; color: var(--c-80);
}

.nav-separator {
    color: var(--c-25); font-size: 14px;
}

.nav-subtitle {
    font-size: 11px; font-weight: 400;
    letter-spacing: 2px; color: var(--c-40);
}

.nav-links {
    display: flex; gap: 8px;
}

.nav-link {
    font-family: 'Orbitron', monospace;
    font-size: 11px; font-weight: 700;
    letter-spacing: 2px;
    color: var(--c-40);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--c-80);
    border-color: var(--c-25);
    background: var(--c-04);
}

.nav-link.active {
    color: var(--c-full);
    border-color: var(--c-40);
    background: var(--c-08);
    text-shadow: 0 0 10px var(--c-25);
}

/* ── Burger button (mobile only) ── */
.nav-burger {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 6px; gap: 5px;
    flex-direction: column; align-items: center; justify-content: center;
    width: 36px; height: 36px;
}

.nav-burger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--c-60);
    transition: all 0.3s ease;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Side menu overlay ── */
.nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.open {
    opacity: 1;
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    padding: 80px 30px;
    overflow: hidden;
}

/* Vignette */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

/* Grid bg — vignette via mask */
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--c-10) 1px, transparent 1px),
        linear-gradient(90deg, var(--c-10) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    opacity: 0.5;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}

.hero-corners { position: absolute; inset: 30px; pointer-events: none; }

.corner { position: absolute; width: 30px; height: 30px; }
.corner::before, .corner::after { content: ''; position: absolute; background: var(--c-25); }
.corner.top-left { top: 0; left: 0; }
.corner.top-left::before { top: 0; left: 0; width: 30px; height: 1px; }
.corner.top-left::after  { top: 0; left: 0; width: 1px; height: 30px; }
.corner.top-right { top: 0; right: 0; }
.corner.top-right::before { top: 0; right: 0; width: 30px; height: 1px; }
.corner.top-right::after  { top: 0; right: 0; width: 1px; height: 30px; }
.corner.bottom-left { bottom: 0; left: 0; }
.corner.bottom-left::before { bottom: 0; left: 0; width: 30px; height: 1px; }
.corner.bottom-left::after  { bottom: 0; left: 0; width: 1px; height: 30px; }
.corner.bottom-right { bottom: 0; right: 0; }
.corner.bottom-right::before { bottom: 0; right: 0; width: 30px; height: 1px; }
.corner.bottom-right::after  { bottom: 0; right: 0; width: 1px; height: 30px; }

.hero-corners {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    display: flex; flex-direction: column;
    align-items: center; gap: 16px;
    will-change: transform;
    transform-style: preserve-3d;
}

.hero-status {
    font-family: 'Orbitron', monospace;
    font-size: 14px; font-weight: 700;
    letter-spacing: 5px;
    color: var(--c-60);
    padding: 6px 20px;
    border: 1px solid var(--c-25);
    margin-bottom: 8px;
}

.hero-status .cursor {
    display: inline-block;
    width: 8px; height: 12px;
    background: var(--c-40);
    margin-left: 4px;
    vertical-align: middle;
    animation: cursorBlink 1s step-end infinite;
}

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

/* ── Hero particles canvas ── */
.hero-particles {
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 900;
    letter-spacing: 8px;
    color: var(--c-90);
    text-shadow: 0 0 30px var(--c-25), 0 0 60px var(--c-10);
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 13px; font-weight: 400;
    letter-spacing: 4px;
    color: var(--c-60);
}

.hero-divider {
    width: 120px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-40), transparent);
    margin: 8px 0;
}

.hero-desc {
    font-size: 14px;
    letter-spacing: 0.5px;
    color: var(--c-60);
    max-width: 600px;
    line-height: 1.7;
}

/* Glitch effect on title */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; right: 0;
    overflow: hidden;
    opacity: 0;
}

.glitch::before {
    color: rgba(255, 60, 60, 0.6);
    animation: glitch1 4s infinite;
}

.glitch::after {
    color: rgba(60, 60, 255, 0.6);
    animation: glitch2 4s infinite;
}

@keyframes glitch1 {
    0%, 92%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
    93% { opacity: 1; transform: translateX(-3px); clip-path: inset(20% 0 60% 0); }
    94% { opacity: 1; transform: translateX(2px); clip-path: inset(50% 0 20% 0); }
    95% { opacity: 0; }
}

@keyframes glitch2 {
    0%, 94%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
    95% { opacity: 1; transform: translateX(3px); clip-path: inset(40% 0 30% 0); }
    96% { opacity: 1; transform: translateX(-2px); clip-path: inset(10% 0 70% 0); }
    97% { opacity: 0; }
}

/* ══════════════════════════════════════════
   SECTIONS — Common
   ══════════════════════════════════════════ */

.section {
    padding: 80px 30px;
}

.section-alt {
    background: var(--bg-alt);
}

.section-inner {
    max-width: 1100px; margin: 0 auto;
}

.section-header {
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 8px;
    margin-bottom: 50px;
}

.section-tag {
    font-family: 'Orbitron', monospace;
    font-size: 11px; font-weight: 700;
    letter-spacing: 3px;
    color: var(--c-25);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.section-tag.counted {
    color: var(--c-60);
    text-shadow: 0 0 8px var(--c-25);
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 24px; font-weight: 900;
    letter-spacing: 4px;
    color: var(--c-80);
    text-shadow: 0 0 15px var(--c-10);
    transition: text-shadow 0.3s ease;
}

.section-title.scrambling {
    text-shadow: 0 0 20px var(--c-40), 0 0 40px var(--c-15);
}

.section-divider {
    width: 60px; height: 2px;
    background: var(--c-40);
    box-shadow: 0 0 8px var(--c-25);
}

.section-intro {
    font-size: 14px;
    color: var(--c-60);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.accent {
    color: var(--c-80);
}

/* ══════════════════════════════════════════
   COMMANDES — Grid
   ══════════════════════════════════════════ */

.commands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

.cmd-card {
    border: 1px solid var(--c-15);
    background: rgba(var(--c), 0.05);
    padding: 20px 22px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Scan sweep on hover */
.cmd-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--c-08), var(--c-15), var(--c-08), transparent);
    transition: none;
    pointer-events: none;
}

.cmd-card:hover::after {
    animation: scanSweep 0.6s ease-out forwards;
}

@keyframes scanSweep {
    0%   { left: -60%; }
    100% { left: 120%; }
}

.cmd-card:hover {
    border-color: var(--c-40);
    background: var(--c-08);
    box-shadow: 0 0 20px var(--c-08);
}

.cmd-name {
    font-family: 'Orbitron', monospace;
    font-size: 15px; font-weight: 700;
    letter-spacing: 1px;
    color: var(--c-80);
    margin-bottom: 8px;
}

.cmd-arg {
    color: var(--c-40);
    font-weight: 400;
    font-size: 12px;
}

.cmd-desc {
    font-size: 13px;
    color: var(--c-60);
    line-height: 1.5;
}

.cmd-highlight {
    color: var(--c-60);
    background: var(--c-08);
    padding: 1px 5px;
}

/* ── Subsection (theme commands) ── */

.subsection {
    border-top: 1px solid var(--c-10);
    padding-top: 30px;
}

.subsection-label {
    font-family: 'Orbitron', monospace;
    font-size: 12px; font-weight: 700;
    letter-spacing: 3px;
    color: var(--c-40);
    margin-bottom: 16px;
}

.theme-tags {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 12px;
}

.theme-tag {
    font-family: 'Orbitron', monospace;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1px;
    color: var(--c-60);
    padding: 6px 14px;
    border: 1px solid var(--c-15);
    background: var(--c-04);
    transition: all 0.3s ease;
}

.theme-tag:hover {
    border-color: var(--c-40);
    color: var(--c-80);
    box-shadow: 0 0 10px var(--c-08);
}

.subsection-desc {
    font-size: 13px;
    color: var(--c-40);
}

/* ══════════════════════════════════════════
   THEMES — Grid
   ══════════════════════════════════════════ */

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

.theme-card {
    display: flex;
    border: 1px solid var(--c-15);
    background: var(--c-04);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.theme-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--c-08), var(--c-15), var(--c-08), transparent);
    pointer-events: none;
}

.theme-card:hover::after {
    animation: scanSweep 0.6s ease-out forwards;
}

.theme-card:hover {
    border-color: var(--c-25);
    box-shadow: 0 0 20px var(--c-08);
}

.theme-card-color {
    width: 6px;
    flex-shrink: 0;
}

.theme-color-dark   { background: rgb(64, 200, 220); box-shadow: inset 0 0 8px rgba(64, 200, 220, 0.4); }
.theme-color-ex     { background: rgb(250, 224, 66); box-shadow: inset 0 0 8px rgba(250, 224, 66, 0.4); }
.theme-color-007    { background: rgb(125, 200, 100); box-shadow: inset 0 0 8px rgba(125, 200, 100, 0.4); }
.theme-color-enclave { background: rgb(255, 176, 0); box-shadow: inset 0 0 8px rgba(255, 176, 0, 0.4); }

.theme-card-content {
    padding: 20px 24px;
    display: flex; flex-direction: column; gap: 6px;
}

.theme-card-name {
    font-family: 'Orbitron', monospace;
    font-size: 15px; font-weight: 900;
    letter-spacing: 2px;
    color: var(--c-80);
}

.theme-card-cmd {
    font-size: 13px;
    color: var(--c-60);
}

.theme-card-cmd .cmd-arg {
    color: var(--c-25);
    font-size: 11px;
}

.theme-card-desc {
    font-size: 13px;
    color: var(--c-60);
    line-height: 1.5;
    margin-top: 4px;
}

@media (max-width: 900px) {
    .themes-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   SYSTEMES — Grid
   ══════════════════════════════════════════ */

/* ── Credits info callout ── */

.callout-group {
    display: flex; flex-direction: column; gap: 12px;
    margin-bottom: 40px;
}

.credits-info {
    display: flex; align-items: center; gap: 20px;
    padding: 20px 28px;
    border: 1px solid var(--c-15);
    border-left: 3px solid var(--c-40);
    background: var(--c-04);
}

.credits-info-icon {
    font-size: 28px;
    color: var(--c-40);
    min-width: 36px;
    text-align: center;
    text-shadow: 0 0 10px var(--c-15);
}

.credits-info-text {
    font-size: 13px;
    color: var(--c-60);
    line-height: 1.7;
}

@media (max-width: 600px) {
    .credits-info { flex-direction: column; gap: 10px; text-align: center; border-left: none; border-top: 3px solid var(--c-40); }
    .credits-info-icon { min-width: auto; }
}

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

.system-card {
    border: 1px solid var(--c-15);
    background: var(--c-04);
    padding: 30px;
    display: flex; gap: 24px;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.system-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--c-08), var(--c-15), var(--c-08), transparent);
    pointer-events: none;
}

.system-card:hover::after {
    animation: scanSweep 0.6s ease-out forwards;
}

.system-card:hover {
    border-color: var(--c-25);
    box-shadow: 0 0 25px var(--c-08);
}

.system-icon {
    font-size: 32px;
    color: var(--c-40);
    min-width: 44px;
    text-align: center;
    line-height: 1;
    padding-top: 4px;
    text-shadow: 0 0 15px var(--c-15);
}

.system-content {
    flex: 1;
}

.system-name {
    font-family: 'Orbitron', monospace;
    font-size: 18px; font-weight: 900;
    letter-spacing: 3px;
    color: var(--c-80);
    margin-bottom: 4px;
}

.system-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 10px; font-weight: 400;
    letter-spacing: 3px;
    color: var(--c-40);
    margin-bottom: 16px;
}

.system-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 8px;
}

.system-list li {
    font-size: 13px;
    color: var(--c-60);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.system-list li::before {
    content: '>';
    position: absolute; left: 0;
    color: var(--c-25);
    font-family: 'Share Tech Mono', monospace;
}

/* ── Secret Quest Banner ── */

.secret-banner {
    margin-top: 40px;
}

.secret-banner-border {
    border: 1px solid var(--c-25);
    padding: 2px;
    position: relative;
    background: linear-gradient(135deg, var(--c-08), transparent 40%, transparent 60%, var(--c-08));
}

.secret-banner-border::before,
.secret-banner-border::after {
    content: '';
    position: absolute;
    background: var(--c-40);
}

.secret-banner-border::before {
    top: -1px; left: 20px; right: 20px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-40), transparent);
}

.secret-banner-border::after {
    bottom: -1px; left: 20px; right: 20px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-40), transparent);
}

.secret-banner-inner {
    display: flex; align-items: center; gap: 30px;
    padding: 30px 36px;
    border: 1px solid var(--c-10);
    background: rgba(125, 200, 100, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Scan sweep on hover — same as cards */
.secret-banner-inner::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--c-08), var(--c-15), var(--c-08), transparent);
    transition: none;
    pointer-events: none;
}

.secret-banner-inner:hover::after {
    animation: scanSweep 0.6s ease-out forwards;
}

.secret-banner-inner:hover {
    border-color: var(--c-25);
    box-shadow: 0 0 25px var(--c-08);
}

.secret-icon {
    font-size: 48px;
    color: var(--c-25);
    min-width: 60px;
    text-align: center;
    text-shadow: 0 0 15px var(--c-10);
    transition: all 0.3s ease;
}

.secret-banner-inner:hover .secret-icon {
    color: var(--c-40);
    text-shadow: 0 0 20px var(--c-25);
}

.secret-content {
    flex: 1;
    display: flex; flex-direction: column; gap: 8px;
}

.secret-label {
    font-family: 'Orbitron', monospace;
    font-size: 10px; font-weight: 700;
    letter-spacing: 4px;
    color: var(--c-25);
}

.secret-title {
    font-family: 'Orbitron', monospace;
    font-size: 20px; font-weight: 900;
    letter-spacing: 5px;
    color: var(--c-80);
    text-shadow: 0 0 15px var(--c-15);
}

.secret-desc {
    font-size: 13px;
    color: var(--c-60);
    line-height: 1.7;
    max-width: 700px;
}

.secret-footer {
    font-family: 'Orbitron', monospace;
    font-size: 10px; font-weight: 700;
    letter-spacing: 3px;
    color: var(--c-25);
    margin-top: 4px;
}

@media (max-width: 600px) {
    .secret-banner-inner {
        flex-direction: column; gap: 16px;
        padding: 24px 20px;
        text-align: center;
    }
    .secret-icon { min-width: auto; }
}

/* ══════════════════════════════════════════
   BOUTIQUE — Upgrades Grid
   ══════════════════════════════════════════ */

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

.upgrade-card {
    border: 1px solid var(--c-15);
    background: var(--c-04);
    padding: 24px;
    display: flex; flex-direction: column; gap: 16px;
    transition: all 0.3s ease;
}

.upgrade-card:hover {
    border-color: var(--c-25);
    box-shadow: 0 0 25px var(--c-08);
}

.upgrade-header {
    font-family: 'Orbitron', monospace;
    font-size: 16px; font-weight: 700;
    letter-spacing: 2px;
    color: var(--c-80);
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--c-10);
    text-shadow: 0 0 8px var(--c-10);
}

.upgrade-tiers {
    display: flex; flex-direction: column; gap: 10px;
}

.tier {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 14px;
    border: 1px solid var(--c-10);
}

.tier-level {
    font-family: 'Orbitron', monospace;
    font-size: 18px; font-weight: 900;
    color: var(--c-40);
    min-width: 30px;
    text-align: center;
}

.tier-effect {
    font-family: 'Orbitron', monospace;
    font-size: 12px; font-weight: 700;
    letter-spacing: 1px;
    color: var(--c-60);
    flex: 1;
}

.tier-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-60);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.upgrade-cmd {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-60);
    text-align: center;
    letter-spacing: 1px;
    padding-top: 4px;
    border-top: 1px solid var(--c-08);
}

/* ══════════════════════════════════════════
   REWARDS
   ══════════════════════════════════════════ */

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.reward-item {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 20px;
    border: 1px solid var(--c-10);
    background: var(--c-04);
    transition: all 0.3s ease;
}

.reward-item:hover {
    border-color: var(--c-25);
}

.reward-name {
    font-family: 'Orbitron', monospace;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1px;
    color: var(--c-60);
    min-width: 160px;
}

.reward-desc {
    font-size: 13px;
    color: var(--c-60);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */

.footer {
    padding: 40px 30px;
}

.footer-inner {
    max-width: 1100px; margin: 0 auto;
}

.footer-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-15), transparent);
    margin-bottom: 30px;
}

.footer-content {
    display: flex; align-items: center; justify-content: space-between;
}

.footer-link {
    font-family: 'Orbitron', monospace;
    font-size: 13px; font-weight: 700;
    letter-spacing: 2px;
    color: var(--c-60);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--c-full);
    text-shadow: 0 0 10px var(--c-40);
}

.footer-version {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--c-15);
}

/* ══════════════════════════════════════════
   FADE-IN ANIMATIONS
   ══════════════════════════════════════════ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children within grids */
.fade-in:nth-child(2) { transition-delay: 0.05s; }
.fade-in:nth-child(3) { transition-delay: 0.1s; }
.fade-in:nth-child(4) { transition-delay: 0.15s; }
.fade-in:nth-child(5) { transition-delay: 0.2s; }
.fade-in:nth-child(6) { transition-delay: 0.25s; }
.fade-in:nth-child(7) { transition-delay: 0.3s; }
.fade-in:nth-child(8) { transition-delay: 0.35s; }
.fade-in:nth-child(9) { transition-delay: 0.4s; }
.fade-in:nth-child(10) { transition-delay: 0.45s; }
.fade-in:nth-child(11) { transition-delay: 0.5s; }
.fade-in:nth-child(12) { transition-delay: 0.55s; }
.fade-in:nth-child(13) { transition-delay: 0.6s; }
.fade-in:nth-child(14) { transition-delay: 0.65s; }
.fade-in:nth-child(15) { transition-delay: 0.7s; }
.fade-in:nth-child(16) { transition-delay: 0.75s; }
.fade-in:nth-child(17) { transition-delay: 0.8s; }
.fade-in:nth-child(18) { transition-delay: 0.85s; }
.fade-in:nth-child(19) { transition-delay: 0.9s; }
.fade-in:nth-child(20) { transition-delay: 0.95s; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 900px) {
    .commands-grid { grid-template-columns: repeat(2, 1fr); }
    .systems-grid { grid-template-columns: 1fr; }
    .upgrades-grid { grid-template-columns: 1fr; }
    .rewards-grid { grid-template-columns: 1fr; }
    .nav-inner { padding: 12px 20px; }
    .nav-subtitle { display: none; }
    .nav-separator { display: none; }
    .section { padding: 60px 20px; }
    .hero { min-height: 70vh; padding: 60px 20px; }
}

@media (max-width: 600px) {
    .commands-grid { grid-template-columns: 1fr; }

    /* Burger visible */
    .nav-burger { display: flex; }

    /* Side menu */
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 240px; height: 100vh;
        background: rgba(0, 0, 0, 0.96);
        border-right: 1px solid var(--c-25);
        flex-direction: column;
        gap: 0;
        padding: 70px 0 30px;
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-overlay.open {
        display: block;
        opacity: 1;
    }

    .nav-link {
        font-size: 12px;
        padding: 14px 24px;
        letter-spacing: 3px;
        border: none;
        border-bottom: 1px solid var(--c-08);
    }

    .nav-link:hover, .nav-link.active {
        border: none;
        border-bottom: 1px solid var(--c-08);
        background: var(--c-08);
    }

    .system-card { flex-direction: column; gap: 16px; }
    .system-icon { min-width: auto; }
    .reward-item { flex-direction: column; gap: 6px; align-items: flex-start; }
    .reward-name { min-width: auto; }
    .footer-content { flex-direction: column; gap: 12px; text-align: center; }
    .hero-title { letter-spacing: 4px; }
    .hero-desc br { display: none; }
}
