/**
 * CTFCEPTION // STYLESHEET
 * Palette: Dark Obsidian (#08090d), Slate (#0f172a), Saffron Gold (#f59e0b, #d97706), Cyan (#06b6d4)
 */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #07090e;
    --bg-surface: #0d111a;
    --bg-card: rgba(16, 22, 34, 0.75);
    --bg-card-hover: rgba(22, 30, 46, 0.85);
    --border-subtle: rgba(245, 158, 11, 0.15);
    --border-focus: #f59e0b;
    --border-cyan: rgba(6, 182, 212, 0.3);
    
    --saffron-500: #f59e0b;
    --saffron-600: #d97706;
    --saffron-glow: rgba(245, 158, 11, 0.25);
    --gold-light: #fbbf24;
    
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --emerald-400: #34d399;
    --red-400: #f87171;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --font-mono: 'Fira Code', monospace;
    --font-sans: 'Plus Jakarta Sans', sans-serif;

    --glass-blur: blur(12px);
}

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

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Scanline / Grid background atmosphere */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(7, 9, 14, 0.94), rgba(7, 9, 14, 0.96)),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.25) 3px),
        radial-gradient(ellipse at top, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.app-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Bootloader overlay */
#bootloader-overlay {
    position: fixed;
    inset: 0;
    background: #040609;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#bootloader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.boot-container {
    width: 90%;
    max-width: 540px;
    padding: 2.5rem;
    background: rgba(13, 17, 26, 0.9);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8), 0 0 15px var(--saffron-glow);
    text-align: center;
}

.boot-logo {
    font-size: 2.5rem;
    color: var(--saffron-500);
    margin-bottom: 0.5rem;
}

.boot-title {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.boot-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.boot-progress-track {
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1rem;
}

#bootloader-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--saffron-600), var(--gold-light));
    transition: width 0.3s ease;
}

.boot-status-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

#bootloader-text {
    color: var(--saffron-500);
}

/* Header & Telemetry Bar */
.site-header {
    background: rgba(10, 14, 22, 0.85);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--gold-light);
    filter: drop-shadow(0 0 8px var(--saffron-glow));
}

.brand-title {
    font-family: var(--font-mono);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 2px;
    color: var(--text-main);
}

.brand-title span {
    color: var(--saffron-500);
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-telemetry {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.telemetry-node {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.3rem 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-400);
    box-shadow: 0 0 8px var(--emerald-400);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.canvas-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#signal-canvas {
    width: 140px;
    height: 24px;
}

.btn-header-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--saffron-500);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-header-action:hover, .btn-header-action.active {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--saffron-500);
    box-shadow: 0 0 12px var(--saffron-glow);
}

/* Main Container */
.main-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Hero Section */
.hero-section {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.08), transparent 70%);
    pointer-events: none;
}

.hero-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.hero-title span {
    background: linear-gradient(135deg, var(--gold-light), var(--saffron-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.hero-quotes-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-card {
    background: rgba(7, 9, 14, 0.6);
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--saffron-500);
    border-radius: 0 6px 6px 0;
}

.quote-card.quote-prx02 {
    border-left-color: var(--cyan-400);
}

.quote-text {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.35rem;
}

.quote-author {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--saffron-500);
}

.quote-prx02 .quote-author {
    color: var(--cyan-400);
}

/* Investigation Metrics Bar */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.metric-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-2px);
    border-color: var(--saffron-500);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    margin: 0.5rem 0 0.25rem;
}

.metric-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.5rem;
}

.nav-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.nav-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
    color: #07090e;
    background: var(--gold-light);
    box-shadow: 0 0 15px var(--saffron-glow);
}

/* Tab Content Areas */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Archive File Explorer */
.explorer-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 1.5rem;
    min-height: 520px;
}

.explorer-sidebar {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--saffron-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
    max-height: 480px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
}

.file-item.selected {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--saffron-500);
}

.file-icon {
    font-size: 1.25rem;
}

.file-meta {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.file-name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.explorer-inspector-pane {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.inspector-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inspector-title {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-light);
}

.inspector-path {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.inspector-actions {
    display: flex;
    gap: 0.5rem;
}

.inspector-meta-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-pill {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-muted);
}

.meta-cat {
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--cyan-400);
}

.inspector-body {
    flex: 1;
    background: #05070a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 1.25rem;
    overflow: auto;
    max-height: 380px;
}

.inspector-code {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
}

.inspector-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Timeline Layout */
.timeline-view {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-view::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--saffron-500), rgba(245, 158, 11, 0.1));
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    margin-bottom: 2.5rem;
    width: 50%;
}

.timeline-node.node-left {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-node.node-right {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.node-marker {
    position: absolute;
    top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.node-left .node-marker {
    right: -1rem;
    transform: translateX(50%);
}

.node-right .node-marker {
    left: -1rem;
    transform: translateX(-50%);
}

.marker-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 3px solid #07090e;
    box-shadow: 0 0 10px var(--saffron-500);
}

.marker-year {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold-light);
    background: #0d111a;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-subtle);
}

.node-card {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.node-card:hover {
    transform: translateY(-3px);
    border-color: var(--saffron-500);
}

.node-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--cyan-400);
    background: rgba(6, 182, 212, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.node-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.node-sub {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 0.75rem;
}

.node-loc {
    color: var(--saffron-500);
}

.node-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.node-quote {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--gold-light);
    border-left: 2px solid var(--saffron-500);
    padding-left: 0.75rem;
    margin-bottom: 0.75rem;
}

.node-left .node-quote {
    border-left: none;
    border-right: 2px solid var(--saffron-500);
    padding-left: 0;
    padding-right: 0.75rem;
}

.node-annotation {
    font-size: 0.75rem;
    color: var(--text-dim);
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.node-left .node-annotation {
    justify-content: flex-end;
}

.annot-tag {
    font-family: var(--font-mono);
    color: var(--saffron-500);
    font-weight: 600;
}

/* Dossier & Rabbit Holes */
.dossier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.dossier-panel {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.75rem;
}

.dossier-panel-title {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dossier-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.dossier-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.dossier-list li {
    font-size: 0.85rem;
    padding: 0.4rem 0;
    color: var(--text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.dossier-list li strong {
    font-family: var(--font-mono);
    color: var(--saffron-500);
    display: inline-block;
    width: 140px;
}

/* Cyber Buttons */
.btn-cyber {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid var(--saffron-500);
    color: var(--gold-light);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.btn-cyber:hover {
    background: var(--saffron-500);
    color: #07090e;
    box-shadow: 0 0 15px var(--saffron-glow);
}

.btn-download {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--cyan-400);
    color: var(--cyan-400);
}

.btn-download:hover {
    background: var(--cyan-400);
    color: #07090e;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

/* Modals */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 10, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.show {
    display: flex;
}

.modal-window {
    background: #0b0f17;
    border: 1px solid var(--saffron-500);
    border-radius: 8px;
    width: 100%;
    max-width: 750px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 0 20px var(--saffron-glow);
    animation: modalPop 0.2s ease;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--red-400);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-pre {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
    background: #06080d;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Victory Modal Content */
.victory-modal-content {
    text-align: center;
    padding: 1rem;
}

.victory-icon {
    font-size: 3rem;
    color: var(--gold-light);
    filter: drop-shadow(0 0 15px var(--saffron-glow));
    margin-bottom: 0.5rem;
}

.victory-heading {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.victory-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.flag-reveal-card {
    background: #05070a;
    border: 2px solid var(--saffron-500);
    box-shadow: 0 0 25px var(--saffron-glow);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.flag-reveal-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--saffron-500);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.flag-reveal-code {
    font-family: var(--font-mono);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    word-break: break-all;
    margin-bottom: 1rem;
    user-select: all;
}

.btn-copy-flag {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

.victory-notes {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.song-announcement {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--cyan-400);
}

/* Decoy Admin Modal */
.decoy-admin-box {
    padding: 1rem;
}

.decoy-warning {
    color: var(--red-400);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.decoy-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.decoy-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.decoy-form label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.decoy-input {
    background: #05070a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-family: var(--font-mono);
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
}

.decoy-error {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--red-400);
    margin-top: 0.5rem;
}

/* Footer */
.site-footer {
    background: rgba(8, 11, 18, 0.9);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-credits {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-credits strong {
    color: var(--gold-light);
}

.footer-quote {
    font-size: 0.8rem;
    font-style: italic;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan-400);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: var(--gold-light);
    text-decoration: underline;
}

/* ==========================================================================
   Hero Poster & Visual Archive Imagery Integration
   ========================================================================== */

/* Main Hero Poster (Wide Cinematic Visual) */
.hero-poster-container {
    position: relative;
    margin: 1.75rem 0 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: #05070a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.12);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-poster-container:hover {
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 30px var(--saffron-glow);
}

.hero-poster-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 1672 / 941;
    border-radius: 7px;
}

.hero-poster-hud {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-poster-hud-bottom {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan-400);
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Historical Visual Archive Section (Multi-Panel Collage) */
.visual-archive-section {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem 2.5rem;
    margin-top: 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.visual-archive-section:hover {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.visual-archive-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-archive-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 2px;
    margin-bottom: 0.35rem;
}

.visual-archive-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.visual-archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.visual-archive-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #05070a;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.visual-archive-container:hover {
    transform: translateY(-2px);
    border-color: var(--saffron-500);
}

.visual-archive-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 1672 / 941;
    border-radius: 7px;
}

.visual-archive-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.visual-archive-caption {
    font-style: italic;
    color: var(--text-muted);
}


