/* =========================================
   1. CSS VARIABLES (The ARC_ Brand Core)
========================================= */
:root {
    --stardust-gold: #FFD700;
    --glitch-green: #00FF00;
    --nebula-orange: #FF4500;
    --supernova-magenta: #FF00FF;
    --quantum-cyan: #00FFFF;
    --void-black: #050505;
}

/* =========================================
   2. TARGETED RESET & BASE STYLING
========================================= */
html, body, div, span, header, main, section, nav, a, h1, h2, h3, p, form, input, button {
    margin: 0; padding: 0; box-sizing: border-box;
}
img, video { max-width: 100%; display: block; }

body {
    background-color: var(--void-black); color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden; position: relative; min-height: 100vh;
}

/* =========================================
   3. BACKGROUNDS & ATMOSPHERE
========================================= */
body::before {
    content: ''; position: fixed; top: 20%; left: 40%; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, rgba(255, 0, 255, 0.08) 40%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%; z-index: -1; filter: blur(60px);
    animation: drift 15s infinite alternate ease-in-out;
}
@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-150px, 100px) scale(1.2); }
}

.bg-noise {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none; z-index: 999; opacity: 0.04;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* =========================================
   4. GLOBAL TYPOGRAPHY & UTILITIES
========================================= */
.headline {
    font-size: 3rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.sub-headline { color: #888; font-size: 1rem; margin-bottom: 3rem; }
.sys-text { font-size: 0.75rem; color: #666; letter-spacing: 1px; text-transform: uppercase; }
.glitch-text { font-size: 1.2rem; letter-spacing: 4px; color: var(--glitch-green); font-weight: 700; }
.text-center { text-align: center; }
.hidden { opacity: 0; visibility: hidden; }

.glass-panel {
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px;
}

.division-explainer {
    display: block; font-family: 'Share Tech Mono', monospace; font-size: 0.85rem;
    color: #888; letter-spacing: 2px; margin-top: 5px; text-transform: uppercase;
}
.header-explainer {
    display: block; font-family: 'Share Tech Mono', monospace; font-size: 0.7rem;
    color: #888; letter-spacing: 1.5px; margin-top: 2px;
}

/* =========================================
   5. LOADERS & GATES
========================================= */
.loader {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--void-black); display: flex; justify-content: center; align-items: center; z-index: 100;
}
.secondary-loader {
    position: fixed; top: 40vh; left: 0; width: 100vw; height: 60vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    z-index: 900; background-color: var(--void-black);
}
.holo-spinner {
    width: 40px; height: 40px; border: 2px dashed rgba(255, 255, 255, 0.2);
    border-top-color: currentColor; border-radius: 50%;
    animation: spin 2s linear infinite; margin-bottom: 20px;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.loading-bar-container { width: 250px; height: 2px; background: rgba(255, 255, 255, 0.1); margin-top: 15px; position: relative; overflow: hidden; }
.loading-bar { height: 100%; width: 0%; background: currentColor; animation: loadProgress 5s linear forwards; }
@keyframes loadProgress { 100% { width: 100%; } }

/* GLOBAL ENTRY GATE & BRAND TRAILER */
.entry-gate {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--void-black); display: flex; justify-content: center; align-items: center; z-index: 9999; 
}

.entry-gate button, .enter-btn {
    background: rgba(255, 215, 0, 0.05); color: var(--stardust-gold);
    border: 2px solid var(--stardust-gold); padding: 1.5rem 4rem;
    font-family: 'Share Tech Mono', monospace; font-size: 1.5rem;
    letter-spacing: 6px; cursor: pointer; text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2); transition: all 0.3s ease;
    animation: breathe-gold 2s infinite alternate;
}
.entry-gate button:hover, .enter-btn:hover {
    background: rgba(255, 215, 0, 0.2); box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
    text-shadow: 0 0 15px var(--stardust-gold); transform: scale(1.05);
}
@keyframes breathe-gold {
    0% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.1); }
    100% { box-shadow: 0 0 35px rgba(255, 215, 0, 0.4); }
}

.trailer-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--void-black); z-index: 9998; 
}
.trailer-container video { width: 100%; height: 100%; object-fit: cover; }
.skip-btn {
    position: absolute; bottom: 40px; right: 40px; background: rgba(0, 0, 0, 0.5);
    color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); padding: 0.5rem 1rem;
    font-family: 'Share Tech Mono', monospace; font-size: 0.9rem; letter-spacing: 2px;
    cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px);
}
.skip-btn:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }

/* =========================================
   6. HEADER & NAVIGATION (CONSOLIDATED)
========================================= */
.nexus-header {
    position: relative; /* Anchor for the uplink */
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    gap: 15px; padding: 2rem 2rem 0 2rem; margin-bottom: 2rem; text-align: center;
}
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: 2px; text-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }

.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links a {
    color: #fff; text-decoration: none; font-size: 0.8rem; letter-spacing: 1px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.nav-links a.nav-resonator:hover { color: var(--nebula-orange); text-shadow: 0 0 15px rgba(255, 69, 0, 0.6); }
.nav-links a.nav-cinematics:hover { color: var(--stardust-gold); text-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
.nav-links a.nav-anomalies:hover { color: var(--glitch-green); text-shadow: 0 0 15px rgba(0, 255, 0, 0.6); }
.nav-links a.nav-forge:hover { color: var(--supernova-magenta); text-shadow: 0 0 15px rgba(255, 0, 255, 0.6); }

.status-indicator {
    position: absolute; top: 2rem; right: 3rem;
    font-size: 0.8rem; letter-spacing: 1px; display: flex; align-items: center; 
}
.status-indicator .pulse-dot { margin-right: 8px; }

.pulse-dot {
    width: 8px; height: 8px; background-color: var(--glitch-green); border-radius: 50%;
    box-shadow: 0 0 10px var(--glitch-green); animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* =========================================
   7. THE NEXUS 2x2 COMMAND GRID (CONSOLIDATED)
========================================= */
.nexus-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
    max-width: 1600px; width: 95vw; padding: 0; margin: 4rem auto;
}
.division-card {
    display: grid; grid-template-columns: 1.2fr 1.5fr; gap: 2rem;
    align-items: stretch; padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; text-decoration: none; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    backdrop-filter: blur(5px); text-align: left;
}
.division-data { display: flex; flex-direction: column; justify-content: center; padding-right: 1rem; }
.holocon-wrapper { display: block; border-right: 1px solid rgba(255,255,255,0.1); padding-right: 1.5rem; width: 100%; height: 100%; overflow: hidden; }
.holocon-img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; opacity: 0.6; border-radius: 4px; transition: all 0.4s ease; }
.division-title { color: #fff; font-family: 'Share Tech Mono', monospace; font-size: 1.8rem; margin: 0; transition: color 0.4s ease; }

.division-card:hover {
    background: rgba(255, 255, 255, 0.05); border-color: var(--glow-color);
    box-shadow: 0 0 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
    transform: translateY(-5px) scale(1.02);
}
.division-card:hover .division-title { color: var(--glow-color); text-shadow: 0 0 15px var(--glow-color); }
.division-card:hover .holocon-img { opacity: 1; filter: drop-shadow(0 0 20px var(--glow-color)); transform: scale(1.1); }

@media (max-width: 800px) {
    .nexus-grid { grid-template-columns: 1fr; width: 100%; padding: 0 1.5rem; }
    .division-card { grid-template-columns: 80px 1fr; padding: 2rem 1.5rem; }
    .status-indicator { position: relative; top: 0; right: 0; margin-top: 1rem; }
}

/* =========================================
   8. SHARED DIVISION PAGES
========================================= */
.banner-intro-sequence {
    position: fixed; top: 0; left: 0; width: 100vw; height: 40vh;
    background-color: var(--void-black); z-index: 1000; overflow: hidden;
    border-bottom: 2px solid var(--stardust-gold); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}
.banner-intro-sequence video { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.hq-bg-image {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    z-index: -2; opacity: 0;
}
.division-content { width: 100%; min-height: 100vh; padding: 2rem; display: flex; flex-direction: column; position: relative; z-index: 10; }

/* =========================================
   9. [ARC_] RESONATOR (Audio Division)
========================================= */
.resonator-hero { display: flex; justify-content: space-between; align-items: center; padding: 3rem; margin-bottom: 3rem; border-color: var(--nebula-orange); }
.resonator-split-view { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; align-items: stretch; }
.album-drop-section { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3rem 2rem; background: linear-gradient(180deg, rgba(255,69,0,0.08) 0%, rgba(0,0,0,0) 100%); border-color: var(--nebula-orange); box-shadow: 0 10px 30px rgba(255, 69, 0, 0.15); }
.album-art-wrapper { width: 100%; max-width: 280px; margin-bottom: 2rem; }
.album-cover-img { width: 100%; height: auto; border-radius: 5px; box-shadow: 0 0 30px rgba(255, 69, 0, 0.3); border: 1px solid rgba(255, 69, 0, 0.5); position: relative; z-index: 2; }
.album-desc { margin: 1.5rem auto 0; max-width: 90%; }
.audio-terminal { display: flex; flex-direction: column; gap: 2.5rem; padding: 3rem 2rem; background: linear-gradient(180deg, rgba(255, 69, 0, 0.08) 0%, rgba(0,0,0,0) 100%); height: 100%; border-color: var(--nebula-orange); box-shadow: 0 10px 30px rgba(255, 69, 0, 0.15); }
.terminal-deck { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.active-track-title { font-family: 'Share Tech Mono', monospace; font-size: 1.8rem; color: #fff; margin: 1rem 0 2rem 0; text-shadow: 0 0 15px rgba(255, 69, 0, 0.4); text-align: center; }
.audio-controls { display: flex; gap: 20px; align-items: center; margin-top: 1rem; justify-content: center; }
.audio-btn { appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(5px); }
.audio-btn:hover { background: rgba(255, 69, 0, 0.1); border-color: var(--nebula-orange); color: var(--nebula-orange); text-shadow: 0 0 15px var(--nebula-orange); box-shadow: 0 0 20px rgba(255, 69, 0, 0.2); transform: scale(1.1); }
.play-btn-main { width: 70px; height: 70px; font-size: 1.8rem; color: var(--nebula-orange); border-color: rgba(255, 69, 0, 0.4); background: rgba(255, 69, 0, 0.05); animation: core-pulse 2s infinite ease-in-out; }
.play-btn-main:hover { background: rgba(255, 69, 0, 0.15); box-shadow: 0 0 40px rgba(255, 69, 0, 0.6); transform: scale(1.15); animation: none; }
@keyframes core-pulse { 0% { box-shadow: 0 0 10px rgba(255, 69, 0, 0.1); } 50% { box-shadow: 0 0 25px rgba(255, 69, 0, 0.5); } 100% { box-shadow: 0 0 10px rgba(255, 69, 0, 0.1); } }
.terminal-tracklist { max-height: 250px; overflow-y: auto; padding-right: 1rem; border-top: 1px solid rgba(255, 69, 0, 0.2); padding-top: 2rem; }
.tracklist-header { color: var(--nebula-orange); margin-bottom: 1rem; border-bottom: 1px dashed rgba(255,69,0,0.3); padding-bottom: 0.5rem;}
.terminal-tracklist::-webkit-scrollbar { width: 4px; }
.terminal-tracklist::-webkit-scrollbar-thumb { background: var(--nebula-orange); border-radius: 4px; }
.track-list { list-style: none; padding: 0; margin: 0; }
.track-item { padding: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); cursor: pointer; transition: all 0.3s ease; font-family: 'Share Tech Mono', monospace; color: #aaa; display: flex; justify-content: space-between; align-items: center; }
.track-item:hover { background: rgba(255, 69, 0, 0.1); color: #fff; padding-left: 1.5rem; }
.track-item.playing { color: var(--nebula-orange); border-left: 3px solid var(--nebula-orange); background: rgba(255, 69, 0, 0.1); text-shadow: 0 0 10px rgba(255, 69, 0, 0.5); }
@media(max-width: 1000px) { .resonator-split-view { grid-template-columns: 1fr; gap: 4rem; } }
.global-waveform { display: flex; gap: 5px; height: 60px; align-items: flex-end; }
.global-waveform .bar { width: 8px; background-color: var(--nebula-orange); border-radius: 2px; box-shadow: 0 0 10px var(--nebula-orange); animation: eq-pulse 1s ease-in-out infinite alternate; }
.global-waveform .bar:nth-child(1) { animation-duration: 0.7s; } .global-waveform .bar:nth-child(2) { animation-duration: 1.2s; }
.global-waveform .bar:nth-child(3) { animation-duration: 0.9s; } .global-waveform .bar:nth-child(4) { animation-duration: 0.6s; }
.global-waveform .bar:nth-child(5) { animation-duration: 1.1s; } .global-waveform .bar:nth-child(6) { animation-duration: 0.8s; }
@keyframes eq-pulse { 0% { height: 10px; } 100% { height: 60px; } }
.protocol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; }
.protocol-card { padding: 1.5rem; text-align: center; border-top: 2px solid transparent; transition: all 0.3s ease; }
.protocol-card:hover { border-top-color: var(--nebula-orange); transform: translateY(-5px); background: rgba(255, 69, 0, 0.05); }

/* =========================================
   10. [ARC_] CINEMATICS (Visual Division)
========================================= */
.wavelength-container { display: flex; width: 90vw; height: 65vh; max-width: 1400px; margin: 0 auto 5rem auto; gap: 10px; }
.accordion-panel { position: relative; flex: 1; border-radius: 8px; overflow: hidden; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.accordion-panel img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: grayscale(80%); transition: all 0.6s ease; }
.accordion-panel::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-shadow: inset 0 0 60px var(--sector-color); opacity: 0.6; transition: opacity 0.6s ease; pointer-events: none; }
.panel-label { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%) rotate(-90deg); transform-origin: left bottom; color: #fff; font-family: 'Share Tech Mono', monospace; letter-spacing: 3px; font-size: 1.2rem; white-space: nowrap; text-shadow: 0 0 10px var(--sector-color); opacity: 1; transition: all 0.4s ease; }
.accordion-panel:hover { flex: 10; border-color: var(--sector-color); box-shadow: 0 0 30px var(--sector-color); }
.accordion-panel:hover img { opacity: 1; filter: grayscale(0%); }
.accordion-panel:hover::after { opacity: 0; }
.accordion-panel:hover .panel-label { opacity: 0; }
.lightbox-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(10px); z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
#uplink-image { max-width: 90vw; max-height: 85vh; border: 2px solid rgba(255,255,255,0.2); box-shadow: 0 0 50px rgba(255, 255, 255, 0.1); transform: scale(0.9); transition: transform 0.4s ease; }
.lightbox-overlay.active #uplink-image { transform: scale(1); }
.close-btn { position: absolute; top: 40px; right: 40px; background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; font-family: 'Share Tech Mono', monospace; font-size: 1rem; padding: 0.5rem 1rem; cursor: pointer; transition: all 0.3s ease; }
.close-btn:hover { background: rgba(255,0,0,0.2); border-color: #ff3333; color: #ff3333; }
@media(max-width: 800px) { .wavelength-container { flex-direction: column; height: 120vh; } .panel-label { transform: none; left: 20px; bottom: 20px; } }

/* [ARC_] CINEMATICS: KINETIC VAULT GRID */
.vault-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; padding: 0 2rem; max-width: 1400px; margin: 0 auto; }
.vault-card { position: relative; border-radius: 6px; overflow: hidden; cursor: crosshair; border: 1px solid rgba(255, 255, 255, 0.1); background: #000; aspect-ratio: 16 / 9; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.vault-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; filter: grayscale(100%); transition: all 0.5s ease; }
.vault-label { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1rem; background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%); text-align: left; transform: translateY(10px); opacity: 0.7; transition: all 0.4s ease; }
.vault-card:hover { border-color: var(--glow-color); box-shadow: 0 0 30px var(--glow-color), inset 0 0 20px rgba(0,0,0,0.5); transform: translateY(-5px) scale(1.02); z-index: 10; }
.vault-card:hover .vault-video { opacity: 1; filter: grayscale(0%); }
.vault-card:hover .vault-label { transform: translateY(0); opacity: 1; }
.vault-card:hover .vault-label .sys-text { color: var(--glow-color) !important; text-shadow: 0 0 10px var(--glow-color); }

/* =========================================
   11. [ARC_] FORGE (Commercial Division)
========================================= */
.forge-hero { margin-bottom: 3rem; }
.sizzle-section { margin-bottom: 4rem; }
.sizzle-container { padding: 1rem; border-color: var(--supernova-magenta); box-shadow: 0 0 30px rgba(255, 0, 255, 0.1); }
.video-placeholder.massive { width: 100%; height: 60vh; border: 1px dashed rgba(255, 0, 255, 0.4); background: rgba(0, 0, 0, 0.6); display: flex; justify-content: center; align-items: center; }
.forge-title { color: #fff; font-size: 1.5rem; letter-spacing: 4px; border-bottom: 1px solid rgba(255, 0, 255, 0.3); padding-bottom: 10px; margin-bottom: 2rem; text-transform: uppercase; }
.arsenal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 2rem; margin-bottom: 5rem; }
.arsenal-card { padding: 2.5rem 2rem; border-top: 3px solid var(--supernova-magenta); transition: all 0.3s ease; background: linear-gradient(180deg, rgba(255,0,255,0.05) 0%, rgba(0,0,0,0) 100%); }
.arsenal-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(255, 0, 255, 0.15); border-color: #fff; }

/* CUSTOM VIDEO LIGHTBOX UI */
.custom-thumbnail-wrapper { position: relative; width: 100%; padding-bottom: 56.25%; overflow: hidden; border-radius: 4px; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.1); }
.custom-thumb { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; opacity: 0.7; }
.play-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; background: rgba(0,0,0,0.3); transition: all 0.4s ease; }
.play-icon { font-size: 3rem; color: rgba(255, 255, 255, 0.8); text-shadow: 0 0 20px rgba(0,0,0,0.8); transition: all 0.3s ease; }
.arsenal-card:hover .custom-thumb { opacity: 1; transform: scale(1.05); }
.arsenal-card:hover .play-icon { color: var(--supernova-magenta); text-shadow: 0 0 30px var(--supernova-magenta); transform: scale(1.2); }
.arsenal-card:hover .custom-thumbnail-wrapper { border-color: var(--supernova-magenta); box-shadow: 0 0 30px rgba(255, 0, 255, 0.3); }

.video-lightbox-container { width: 90vw; max-width: 1400px; aspect-ratio: 16 / 9; background: #000; border: 2px solid var(--supernova-magenta); box-shadow: 0 0 50px rgba(255, 0, 255, 0.2); transform: scale(0.9); transition: transform 0.4s ease; }
.lightbox-overlay.active .video-lightbox-container { transform: scale(1); }
#uplink-iframe { width: 100%; height: 100%; border: none; }

/* =========================================
   12. [ARC_] NETWORK BUTTON & MODAL DIRECTORY
========================================= */
.nav-network-btn {
    background: rgba(0, 0, 0, 0.5); color: #fff; border: 1px solid var(--supernova-magenta);
    padding: 0.6rem 1.2rem; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 900; letter-spacing: 2px;
    cursor: pointer; border-radius: 3px; box-shadow: 0 0 10px rgba(255, 0, 255, 0.2), inset 0 0 5px rgba(255, 0, 255, 0.2);
    animation: pulse-network 2s infinite; transition: all 0.3s ease;
}
.nav-network-btn:hover { background: var(--supernova-magenta); color: #000; box-shadow: 0 0 20px var(--supernova-magenta); animation: none; }
@keyframes pulse-network {
    0% { box-shadow: 0 0 10px rgba(255,0,255,0.2), inset 0 0 5px rgba(255,0,255,0.2); border-color: rgba(255,0,255,0.5); }
    50% { box-shadow: 0 0 20px rgba(255,0,255,0.8), inset 0 0 10px rgba(255,0,255,0.5); border-color: rgba(255,0,255,1); }
    100% { box-shadow: 0 0 10px rgba(255,0,255,0.2), inset 0 0 5px rgba(255,0,255,0.2); border-color: rgba(255,0,255,0.5); }
}
.network-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px);
    z-index: 9999; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.network-modal-overlay.active { opacity: 1; pointer-events: auto; }
.network-modal-content {
    position: relative; width: 90vw; max-width: 900px; padding: 4rem; border: 1px solid var(--supernova-magenta);
    transform: translateY(30px); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.network-modal-overlay.active .network-modal-content { transform: translateY(0); }
.network-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.network-card {
    display: flex; flex-direction: column; padding: 2.5rem; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.1);
    text-decoration: none; color: #fff; transition: all 0.3s ease; text-align: left;
}
.network-card:hover:not(.locked) { border-color: var(--supernova-magenta); background: rgba(255, 0, 255, 0.05); box-shadow: 0 0 30px rgba(255,0,255,0.2); transform: translateY(-5px); }
.network-card h3 { font-size: 1.8rem; margin: 0.5rem 0; letter-spacing: 2px; color: var(--supernova-magenta); }
.network-card.locked { opacity: 0.3; cursor: not-allowed; border-color: #333; }
.network-card.locked h3 { color: #555; text-decoration: line-through; }

/* =========================================
   13. GLOBAL SYSTEM FOOTER
========================================= */
.global-footer {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 3rem; margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px); z-index: 100;
}
.footer-links { display: flex; gap: 2rem; align-items: center; }
.footer-link {
    color: #fff; text-decoration: none; font-size: 0.8rem;
    font-weight: 700; letter-spacing: 2px; transition: all 0.3s ease;
}
.footer-link:hover:not(.locked) { color: var(--stardust-gold); text-shadow: 0 0 10px var(--stardust-gold); }
.footer-link.locked { color: #555; cursor: not-allowed; text-decoration: line-through; }

@media (max-width: 800px) {
    .global-footer { flex-direction: column; gap: 1rem; padding: 1.5rem; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}