:root {
    --blood-red: #cc0000;
    --deep-black: #0a0a0a;
    --metal-grey: #2d2d2d;
    --radar-green: #00ff41;
    --text-silver: #cccccc;
}

body {
    background-color: var(--deep-black);
    color: var(--text-silver);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    line-height: 1.6;
}

/* Header & Nav */
header { padding: 20px 5%; background: rgba(0,0,0,0.9); border-bottom: 1px solid var(--metal-grey); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: 2px; }
.logo span { color: var(--blood-red); }
nav ul { list-style: none; display: flex; gap: 20px; }
nav a { color: var(--text-silver); text-decoration: none; font-size: 0.9rem; font-weight: bold; }
nav a:hover { color: var(--blood-red); }

/* Hero Section */
.hero { padding: 120px 5%; text-align: center; background: radial-gradient(circle, #1a1a1a 0%, #000 100%); }
.hero h1 { font-size: 3rem; margin-bottom: 10px; color: #fff; }
.search-bar { margin-top: 30px; }
.search-bar input { padding: 15px; width: 300px; background: #111; border: 1px solid var(--metal-grey); color: white; }
.search-bar button { padding: 15px 30px; background: var(--blood-red); color: white; border: none; font-weight: bold; cursor: pointer; }
.search-bar button:hover { background: #ff0000; }

/* THE DASHBOARD LAYOUT */
.dashboard-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 60px 5%;
    align-items: start;
}

@media (min-width: 1024px) {
    .dashboard-wrapper.active {
        grid-template-columns: 2fr 1fr;
    }
}

.results-column { display: flex; flex-direction: column; gap: 20px; }
.data-card { background: var(--metal-grey); padding: 30px; border-top: 3px solid var(--blood-red); text-align: left; }

/* Generic Grids */
.data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; padding: 40px 5%; }

/* Newsletter Section */
.newsletter { background: #1a1a1a; padding: 80px 5%; text-align: center; border-top: 1px solid var(--metal-grey); }
.btn-primary { background: var(--radar-green); color: black; border: none; font-weight: bold; cursor: pointer; }
.btn-primary:hover { background: #00cc33; color: white; }

footer { text-align: center; padding: 40px; font-size: 0.8rem; border-top: 1px solid var(--metal-grey); }

/* FULL SCREEN ANIMATION OVERLAY */
.scan-overlay {
    display: none; 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.98); z-index: 9999; overflow: hidden;
}
.scan-content {
    position: relative; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.glitch-text {
    color: var(--blood-red); font-size: 3rem; font-family: 'Courier New', Courier, monospace;
    letter-spacing: 5px; animation: pulseText 1s infinite; z-index: 2; text-align: center;
}
@keyframes pulseText { 0% { opacity: 0.3; } 50% { opacity: 1; text-shadow: 0 0 20px var(--blood-red); } 100% { opacity: 0.3; } }

.zombie-horde {
    position: absolute; bottom: 5%; width: 300%; height: 30vh;
    background: url('https://upload.wikimedia.org/wikipedia/commons/e/e0/Zombie_silhouettes.svg') repeat-x bottom left;
    background-size: contain; opacity: 0.3; animation: moveHorde 5s linear infinite;
    filter: drop-shadow(0 0 10px var(--blood-red));
}
@keyframes moveHorde { from { transform: translateX(0); } to { transform: translateX(-30%); } }

.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 8px;
    background: var(--radar-green); box-shadow: 0 0 20px 5px var(--radar-green);
    opacity: 0.8; animation: scanDown 2s linear infinite; z-index: 3;
}
@keyframes scanDown { 0% { top: -10px; } 100% { top: 100%; } }

/* CUSTOM MAP MARKER GLOW */
.custom-biohazard-marker {
    filter: drop-shadow(0 0 10px rgba(204, 0, 0, 0.9));
}