:root {
    --deep-blue: #0A0A2A;
    /* Even darker blue for depth */
    --midnight-blue: #191970;
    --gold: #D4AF37;
    --gold-glow: #FPD700;
    --neon-blue: #00F3FF;
    --glass-bg: rgba(25, 25, 112, 0.7);
    --border-gold: 2px solid #D4AF37;
    --font-header: 'Orbitron', sans-serif;
    --font-body: 'Cinzel', serif;
    --font-mono: 'Share Tech Mono', monospace;
}

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

body {
    background-color: var(--deep-blue);
    background-image:
        radial-gradient(circle at 50% 50%, rgba(20, 20, 80, 0.8), #000 90%),
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    color: #fff;
    font-family: var(--font-body);
    overflow-x: hidden;
    padding-bottom: 120px;
    /* Space for sticky footer */
}

/* Scanline Effect */
.scan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    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;
    pointer-events: none;
    z-index: 10;
    opacity: 0.3;
}

/* Ticker */
.top-ticker {
    background: #000;
    color: var(--neon-blue);
    font-family: var(--font-mono);
    padding: 10px 0;
    border-bottom: 1px solid var(--neon-blue);
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 20;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 20s linear infinite;
    font-weight: 700;
    text-shadow: 0 0 5px var(--neon-blue);
}

@keyframes ticker {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 40px 20px;
}

.main-headline {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 20px var(--midnight-blue);
}

.gold-text {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

.hero-visuals {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-eagle {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4));
    animation: eagleFloat 6s ease-in-out infinite;
}

@keyframes eagleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Video Section */
.video-container {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    border: 4px solid var(--gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.restricted-badge {
    background: #800000;
    color: #fff;
    font-family: var(--font-mono);
    padding: 10px;
    text-align: center;
    font-weight: bold;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.video-frame {
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    color: var(--gold);
    text-align: center;
    font-family: var(--font-mono);
}

.play-button {
    font-size: 4rem;
    margin-bottom: 10px;
    cursor: pointer;
    text-shadow: 0 0 20px var(--gold);
}

/* Truth Matrix */
.truth-matrix-section {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.4);
}

.section-title {
    text-align: center;
    font-family: var(--font-header);
    color: #fff;
    font-size: 2rem;
    margin-bottom: 40px;
}

.vs {
    color: var(--gold);
    font-style: italic;
}

.matrix-container {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.truth-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    border: 1px solid var(--neon-blue);
    background: rgba(10, 10, 42, 0.8);
    backdrop-filter: blur(10px);
}

.truth-table th,
.truth-table td {
    padding: 15px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    text-align: center;
}

.truth-table th {
    background: rgba(0, 0, 0, 0.8);
    color: var(--neon-blue);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.truth-table .gold-col {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--gold);
    position: relative;
    font-weight: bold;
}

.truth-table th.gold-col {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

.positive {
    color: #0f0;
    text-shadow: 0 0 5px #0f0;
}

.negative {
    color: #f00;
    text-shadow: 0 0 5px #f00;
}

.neutral {
    color: #ccc;
}

/* --- INTEL BRIEFING BLOCKS --- */
.intel-briefing-block {
    padding: 80px 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.intel-briefing-block.alt-bg {
    background: rgba(0, 0, 0, 0.3);
}

.briefing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.briefing-text {
    flex: 1;
}

.briefing-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.placeholder-box {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 2px dashed var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--font-mono);
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.briefing-header {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.briefing-subhead {
    font-family: var(--font-mono);
    color: var(--neon-blue);
    font-size: 1.2rem;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-left: 3px solid var(--gold);
    padding-left: 15px;
}

.briefing-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    text-align: justify;
}

.danger-text {
    color: #ff3333;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

.center-text {
    text-align: center;
}

.column-layout {
    flex-direction: column;
    text-align: center;
}

/* Valuation List */
.valuation-list {
    list-style: none;
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border: 1px solid var(--gold);
    border-radius: 5px;
}

.valuation-list li {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: var(--font-mono);
}

.bullet-icon {
    color: var(--gold);
    margin-right: 10px;
}

.highlight {
    color: var(--gold);
    font-weight: bold;
    text-shadow: 0 0 5px var(--gold);
}

/* Final Directive & Quantum CTA */
.final-directive {
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 40, 1));
    padding-top: 100px;
    padding-bottom: 150px;
}

.quantum-cta-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 50px;
}

.massive-cta {
    font-size: 2rem;
    padding: 25px 60px;
    letter-spacing: 2px;
    z-index: 5;
    position: relative;
}

.scanning-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 180%;
    border: 2px solid var(--neon-blue);
    border-radius: 50px;
    opacity: 0;
    animation: scanRing 2s infinite;
}

@keyframes scanRing {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .briefing-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .briefing-subhead {
        border-left: none;
        border-bottom: 3px solid var(--gold);
        padding-bottom: 10px;
        padding-left: 0;
        display: inline-block;
    }

    .invert-mobile {
        flex-direction: column-reverse;
        /* Puts image on top on mobile if desired, or keep standard flow */
    }

    .briefing-visual {
        width: 100%;
    }
}

/* Intel Section */
.intel-section {
    padding: 60px 20px;
}

.intel-card {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 60, 0.9));
    border: 1px solid var(--gold);
    padding: 30px;
    position: relative;
}

.flynn-portrait img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.flynn-quote blockquote {
    font-family: var(--font-header);
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.4;
}

.flynn-quote cite {
    font-family: var(--font-mono);
    color: var(--neon-blue);
    font-style: normal;
    text-transform: uppercase;
}

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-top: 3px solid var(--gold);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
    flex-wrap: wrap;
}

.counter-box {
    font-family: var(--font-mono);
    text-align: right;
}

.digital-counter {
    color: #f00;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px #f00;
}

.cta-button {
    background: linear-gradient(to bottom, #D4AF37, #B48E1D);
    border: none;
    padding: 15px 40px;
    font-family: var(--font-header);
    font-size: 1.2rem;
    color: #000;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: transform 0.2s;
    line-height: 1.2;
}

.sub-cta {
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

.pulse-glow {
    animation: pulseBtn 2s infinite;
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* Modals & Popups */
.hidden {
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    border: 4px solid #f00;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    position: relative;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.modal-header h2 {
    color: #f00;
    font-size: 3rem;
    margin-bottom: 10px;
    font-family: var(--font-header);
}

.modal-header h3 {
    color: #fff;
    font-family: var(--font-mono);
    margin-bottom: 20px;
}

.modal-body {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}

.modal-btn {
    background: #f00;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-family: var(--font-header);
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
}

/* Popups */
.social-popup {
    position: fixed;
    bottom: 120px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-left: 4px solid var(--gold);
    padding: 15px;
    color: #fff;
    font-family: var(--font-mono);
    max-width: 300px;
    z-index: 900;
    animation: slideIn 0.5s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.popup-icon {
    font-size: 1.5rem;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-headline {
        font-size: 1.5rem;
    }

    .intel-card {
        flex-direction: column;
        text-align: center;
    }

    .sticky-footer {
        flex-direction: column;
        gap: 10px;
        padding-bottom: 20px;
    }

    .counter-box {
        text-align: center;
    }

    .cta-button {
        width: 100%;
        font-size: 1rem;
    }

    .flynn-portrait img {
        width: 150px;
        height: 150px;
    }
}

.briefing-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 2px solid var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
    border-radius: 5px;
    transform: perspective(1000px) rotateY(10deg);
    transition: transform 0.3s ease;
}

.briefing-img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}