:root {
    --bg-color: #0d0d0d;
    --acc-green: #4b664b; /* slightly lighter than #2f3e2f for text readability */
    --acc-green-dark: #2f3e2f;
    --acc-orange: #d95c14;
    --acc-red: #c92a2a;
    --acc-metal: #7a7a7a;
    --border-color: #2a2a2a;
    --font-mono: 'Share Tech Mono', monospace;
    --font-head: 'Orbitron', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--acc-green);
    font-family: var(--font-mono);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background-color: var(--acc-orange);
    color: var(--bg-color);
}

/* Overlays */
.overlay-scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
    opacity: 0.6;
}

.overlay-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 998;
    pointer-events: none;
}

/* Typography & Colors */
.txt-orange { color: var(--acc-orange); text-shadow: 0 0 8px rgba(217, 92, 20, 0.4); }
.txt-red { color: var(--acc-red); text-shadow: 0 0 8px rgba(201, 42, 42, 0.5); }
.txt-green { color: #55a655; text-shadow: 0 0 8px rgba(85, 166, 85, 0.4); }
.txt-metal { color: var(--acc-metal); }
.accent { color: var(--acc-orange); }

h1, h2, h3 { font-family: var(--font-head); letter-spacing: 2px; }
h1 { font-size: 3rem; font-weight: 900; color: #fff; text-transform: uppercase; margin-bottom: 20px;}
h2.section-title { font-size: 1.5rem; margin-bottom: 30px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; color: #fff;}

/* Buttons */
button {
    font-family: var(--font-mono);
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid var(--acc-green);
    color: var(--acc-green);
    padding: 10px 20px;
    font-size: 1rem;
}

button:hover { background: var(--acc-green-dark); color: #fff; }

.primary-btn { border-color: var(--acc-orange); color: var(--acc-orange); font-weight: bold; }
.primary-btn:hover { background: rgba(217, 92, 20, 0.2); color: #fff; box-shadow: 0 0 15px rgba(217, 92, 20, 0.5); }
.pulse-glow { animation: pulseGlow 2s infinite; }

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 15px; font-weight: bold; }
.logo-img { height: 40px; border-radius: 50%; border: 1px solid var(--acc-orange); box-shadow: 0 0 10px rgba(217,92,20,0.5); }
.nav-links { display: flex; gap: 15px; }
.terminal-btn { font-size: 0.8rem; padding: 5px 10px; border: none; }

/* Layout Sections */
.section { padding: 80px 5% 40px; max-width: 1200px; margin: 0 auto; position: relative; }

/* Hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;}
.hero-bg { position: absolute; top:0; left:0; width: 100%; height: 100%; z-index: -1; background: #050505;}
.smoke-effect {
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(217, 92, 20, 0.15), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(201, 42, 42, 0.1), transparent 30%),
                radial-gradient(circle at 80% 20%, #111, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(217, 92, 20, 0.05), transparent 60%);
    animation: oilChurn 20s infinite alternate ease-in-out;
    filter: blur(20px);
    z-index: 0;
}
@keyframes oilChurn {
    0% { transform: scale(1) translate(0, 0) rotate(0deg); }
    50% { transform: scale(1.1) translate(-2%, 2%) rotate(2deg); }
    100% { transform: scale(1) translate(2%, -2%) rotate(-1deg); }
}
.hero-content { position: relative; width: 100%; z-index: 10; margin-top: -50px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.subtitle { font-size: 1.2rem; margin-bottom: 15px; color: var(--acc-orange); }
.desc { font-size: 1rem; margin-bottom: 40px; color: var(--acc-metal); max-width: 600px; text-align: center; }
.hero-actions { display: flex; gap: 20px; margin-bottom: 60px; justify-content: center; }
.reserve-ticker { padding: 15px; border: 1px dashed var(--border-color); display: inline-block; background: rgba(0,0,0,0.5); font-size: 1.2rem; }
.ticking-number { font-family: var(--font-head); color: var(--acc-orange); font-weight: bold; font-size: 1.5rem; text-shadow: 0 0 10px rgba(217,92,20,0.6);}

/* Panels Grid */
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;}
.panel-card { background: #111; border: 1px solid var(--border-color); padding: 20px; display: flex; flex-direction: column; justify-content: center;}
.card-label { font-size: 0.8rem; color: var(--acc-metal); margin-bottom: 10px; text-transform: uppercase; }
.card-value { font-size: 2rem; font-family: var(--font-head); font-weight: bold; }
.wide-card { grid-column: 1 / -1; }
.border-alert { border-color: var(--acc-red); box-shadow: inset 0 0 20px rgba(201,42,42,0.1); }

/* Map Section */
.map-container { position: relative; border: 1px solid var(--border-color); overflow: hidden; background: #000; }
.global-map-img { width: 100%; display: block; opacity: 0.8; mix-blend-mode: screen; filter: contrast(1.2) sepia(0.2) hue-rotate(-20deg); }
.map-overlay-text { position: absolute; bottom: 20px; left: 20px; background: rgba(0,0,0,0.8); border: 1px solid var(--acc-green-dark); padding: 15px; max-width: 300px; }
.log-stream { margin-top: 10px; font-size: 0.8rem; color: var(--acc-metal); }
.log-stream p { margin: 2px 0; }

/* Flow / How it Works */
.flow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.flow-step { border-left: 2px solid var(--acc-orange); padding-left: 15px; position: relative; }
.flow-step::before { content: ''; position: absolute; left:-6px; top:0; width: 10px; height: 10px; background: var(--bg-color); border: 2px solid var(--acc-orange); border-radius: 50%; }
.step-num { font-weight: bold; color: #fff; margin-bottom: 10px; font-family: var(--font-head); }

/* Vault */
.vault-container { border: 1px solid var(--border-color); position: relative; }
.vault-img { width: 100%; display: block; filter: grayscale(50%) contrast(1.2); }
.vault-caption { position: absolute; bottom: 0; width: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); padding: 30px 20px 10px; text-align: center; font-style: italic;}

/* Docs Section */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.doc-link { display: flex; align-items: center; gap: 15px; background: #111; padding: 15px; border: 1px solid #222; text-decoration: none; color: inherit; transition: 0.2s;}
.doc-link:hover { background: #1a1a1a; border-color: var(--acc-metal); }
.doc-name { flex: 1; }

/* Warning Section */
.warning-box { border: 2px solid var(--acc-red); background: rgba(201, 42, 42, 0.05); padding: 30px; text-align: center; position: relative; }
.warning-box::before { content: 'CLASSIFIED'; position: absolute; top: -10px; left: 30px; background: var(--bg-color); padding: 0 10px; color: var(--acc-red); font-weight: bold; }
.warning-header { font-size: 1.5rem; color: var(--acc-red); font-family: var(--font-head); margin-bottom: 15px; font-weight: bold;}
.countdown { margin-top: 20px; font-size: 1.2rem; }
.countdown span { font-family: var(--font-head); color: var(--acc-orange); font-size: 1.5rem; letter-spacing: 2px;}

/* Token panel */
.token-panel { background: #111; border-top: 1px solid var(--acc-green); border-bottom: 1px solid var(--acc-green); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.token-row { display: flex; justify-content: space-between; border-bottom: 1px dashed #222; padding-bottom: 5px;}
.blurred-text { filter: blur(3px); user-select: none; transition: filter 0.3s; }
.blurred-text:hover { filter: blur(0); }

/* Footer */
.footer { border-top: 1px solid var(--border-color); padding: 40px 5%; text-align: center; color: var(--acc-metal); font-size: 0.8rem; }
.disclaimer { color: #fff; margin-bottom: 10px; }
.clearance { color: var(--acc-red); margin-bottom: 30px; }
.social-links { display: flex; justify-content: center; gap: 20px; }
.social-links a { color: var(--acc-green); text-decoration: none; }
.social-links a:hover { color: #fff; }

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 5px rgba(217, 92, 20, 0.2); }
    50% { box-shadow: 0 0 20px rgba(217, 92, 20, 0.6); }
    100% { box-shadow: 0 0 5px rgba(217, 92, 20, 0.2); }
}

@keyframes glitch {
    2%, 64% { transform: translate(2px,0) skew(0deg); }
    4%, 60% { transform: translate(-2px,0) skew(0deg); }
    62% { transform: translate(0,0) skew(5deg); }
}

.glitch { animation: glitch 4s infinite; position: relative;}
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8; }
.glitch::before { left: 2px; text-shadow: -1px 0 red; clip: rect(24px, 550px, 90px, 0); animation: glitch-anim 3s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -1px 0 blue; clip: rect(85px, 550px, 140px, 0); animation: glitch-anim 2.5s infinite linear alternate-reverse; }

@keyframes glitch-anim {
    0% { clip: rect(84px, 9999px, 86px, 0); }
    20% { clip: rect(10px, 9999px, 81px, 0); }
    40% { clip: rect(59px, 9999px, 100px, 0); }
    60% { clip: rect(22px, 9999px, 60px, 0); }
    80% { clip: rect(12px, 9999px, 5px, 0); }
    100% { clip: rect(89px, 9999px, 32px, 0); }
}

.status-blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0.3; } }

.type-writer {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--acc-orange);
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--acc-orange); } }

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .nav-links { display: none; } /* Hide on mobile for simplicity, or make a hamburger */
}
