/* =========================================
   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
========================================= */
/* The Cinematic Anomaly (The Glass Revealer) */
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); }
}

/* Cinematic Film Grain */
.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;
}

/* Explainer Subtitles */
.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; /* Highest priority, sits over everything */
}

.trailer-container {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: var(--void-black);
    z-index: 9998; /* Right behind the entry gate */
}

.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
========================================= */
.nexus-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem; margin-bottom: 3rem;
}
.logo { font-weight: 900; font-size: 1.5rem; letter-spacing: 2px; text-shadow: 0 0 15px rgba(255, 215, 0, 0.3); }

.nav-links a {
    color: #fff; text-decoration: none; margin: 0 1rem; 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 { 
    font-size: 0.8rem; letter-spacing: 1px; display: flex; align-items: center; color: var(--glitch-green); text-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
}
.pulse-dot {
    width: 8px; height: 8px; background-color: var(--glitch-green); border-radius: 50%;
    margin-right: 10px; 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 (Home Page)
========================================= */
.nexus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* This strictly enforces the 2x2 layout */
    gap: 2.5rem;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.division-card {
    display: grid;
    grid-template-columns: 1fr 2fr; 
    gap: 1.5rem;
    align-items: stretch; 
    padding: 2rem;
    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; }

.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; }
    .division-card { grid-template-columns: 80px 1fr; padding: 2rem 1.5rem; }
}

/* =========================================
   8. SHARED DIVISION PAGES (Banners & Layouts)
========================================= */
.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 */
.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 */
.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; } }

/* =========================================
   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; 
    /* Changed auto-fit to auto-fill to prevent single cards from becoming massive */
    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; }

/* =========================================
   THE ENTER MULTIVERSE BUTTON
========================================= */
.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); }
}


/* =========================================
   HEADER & GRID SPATIAL OVERRIDE
========================================= */
/* 1. Stacks the Header Vertically and Centers it */
.nexus-header {
    display: flex;
    flex-direction: column; /* Changes from horizontal to vertical stack */
    justify-content: center;
    align-items: center;
    gap: 15px; /* Perfect spacing between Logo, Links, and Status */
    padding: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Removes the old right-margin pushing things off center */
.status-indicator .pulse-dot { margin-right: 8px; }

/* 2. Widens the whole grid and changes the card ratio */
.nexus-grid {
    max-width: 1400px; /* Massively increased from 1100px */
    gap: 3rem;
}

.division-card {
    /* Changed from 1fr 2fr (33% image) to 1.2fr 1.5fr (roughly 45% image) */
    grid-template-columns: 1.2fr 1.5fr; 
    padding: 1.5rem; /* Slightly reduced padding to let the image push closer to the edges */
    gap: 2rem; /* More space between the image and text */
}

/* Ensures the text stays perfectly framed with the new size */
.division-data {
    padding-right: 1rem;
}


/* =========================================
   HEADER HUD & GRID MAXIMIZER
========================================= */
.nexus-header {
    position: relative; /* This is the anchor that lets us pin the uplink */
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    gap: 15px; 
    padding: 2rem 2rem 0 2rem; /* Reduced bottom padding to tighten the header */
    margin-bottom: 2rem;
    text-align: center;
}

/* Rips the uplink out of the center stack and pins it top-right */
.status-indicator {
    position: absolute;
    top: 2rem;
    right: 3rem;
}

/* Eats up the empty space on the sides and middle */
.nexus-grid {
    max-width: 1600px; /* Allows the grid to stretch much wider on big monitors */
    width: 95vw; /* Forces the grid to take up 95% of the screen width */
    gap: 2rem; /* Shrinks the empty half-inch in the middle */
    padding: 0; /* Removes the heavy side padding to push cards to the edge */
}

/* Mobile Safety Lock: Puts the uplink back in the center stack on small phone screens so it doesn't overlap the logo */
@media (max-width: 800px) {
    .status-indicator {
        position: relative;
        top: 0;
        right: 0;
        margin-top: 1rem;
    }
    .nexus-grid {
        width: 100%;
        padding: 0 1.5rem;
    }
}



/* =========================================
   [ARC_] FORGE: CUSTOM VIDEO LIGHTBOX UI
========================================= */
.custom-thumbnail-wrapper {
    position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 ratio */
    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;
}

/* Hover Effects */
.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); }

/* The Massive Popup Container */
.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; }

/* =========================================
   [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; /* Adds a cool sci-fi targeting cursor on hover */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    aspect-ratio: 16 / 9; /* Keeps them perfectly cinematic */
    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;
}

/* THE HOVER AWAKENING */
.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);
}