@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:wght@400;700&display=swap');

body {
    margin: 0;
    background: #000;
    font-family: 'Courier Prime', monospace;
    color: #00ff00;
    overflow-x: auto;
}

.retro-bg {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%),
        #000011;
    background-attachment: fixed;
}

.retro-header {
    background: 
        linear-gradient(45deg, #000033 25%, transparent 25%),
        linear-gradient(-45deg, #000033 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #000033 75%),
        linear-gradient(-45deg, transparent 75%, #000033 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    box-shadow: 
        inset 0 0 20px rgba(0, 255, 0, 0.3),
        0 0 20px rgba(0, 255, 0, 0.2);
}

.retro-text {
    text-shadow: 
        0 0 5px #00ff00,
        0 0 10px #00ff00,
        0 0 15px #00ff00,
        2px 2px 0px #000;
    letter-spacing: 2px;
}

.retro-button {
    background: linear-gradient(145deg, #666, #333);
    border: 2px outset #888;
    color: #00ff00;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    text-shadow: 0 0 3px #00ff00;
}

.retro-button:hover {
    background: linear-gradient(145deg, #777, #444);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    transform: translateY(-1px);
}

.retro-button:active {
    border: 2px inset #888;
    transform: translateY(1px);
}

.retro-border {
    border: 3px outset #666;
    background: 
        linear-gradient(135deg, #001100 0%, #002200 50%, #001100 100%);
    box-shadow: 
        inset 0 0 10px rgba(0, 255, 0, 0.1),
        0 0 5px rgba(0, 255, 0, 0.2);
    position: relative;
}

.retro-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff00, #ffff00, #00ff00, #ffff00);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.retro-marquee {
    background: #000;
    border: 2px solid #00ff00;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.retro-marquee::before {
    content: attr(data-text);
    position: absolute;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    text-shadow: 0 0 5px #00ff00;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.retro-input {
    background: #000;
    border: 2px inset #666;
    color: #00ff00;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    text-transform: uppercase;
}

.retro-input:focus {
    outline: none;
    box-shadow: 
        0 0 5px rgba(0, 255, 0, 0.5),
        inset 0 0 5px rgba(0, 255, 0, 0.2);
    border-color: #00ff00;
}

.retro-input::placeholder {
    color: #006600;
}

/* Scanner line effect */
.retro-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    animation: scan 4s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(200px); opacity: 1; }
}

/* CRT screen effect */
.retro-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 255, 0, 0.02) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
}

/* Glitch effect for classified stamps */
.classified {
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 90%, 100% {
        transform: translate(0);
        filter: hue-rotate(0deg);
    }
    10% {
        transform: translate(-1px, 1px);
        filter: hue-rotate(90deg);
    }
    20% {
        transform: translate(1px, -1px);
        filter: hue-rotate(180deg);
    }
    30% {
        transform: translate(-1px, -1px);
        filter: hue-rotate(270deg);
    }
    40% {
        transform: translate(1px, 1px);
        filter: hue-rotate(360deg);
    }
}

/* Matrix-style text shadow */
h1, h2, h3 {
    text-shadow: 
        0 0 5px #00ff00,
        0 0 10px #00ff00,
        0 0 15px #00ff00;
}

/* Pixelated images */
img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Retro scrollbar */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: #333;
    border: 2px inset #666;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #666, #333);
    border: 2px outset #888;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #777, #444);
}

/* Blinking cursor effect */
.cursor::after {
    content: '_';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 90s table styling */
table {
    border-collapse: separate;
    border-spacing: 2px;
}

th, td {
    border: 1px solid #00ff00;
    background: rgba(0, 50, 0, 0.3);
}

th {
    background: rgba(0, 100, 0, 0.5);
    text-shadow: 0 0 3px #00ff00;
}

/* Under construction gif replacement */
.under-construction {
    animation: construction 2s infinite;
}

@keyframes construction {
    0%, 100% { background-color: #ffff00; }
    50% { background-color: #ff0000; }
}

/* Alien green glow */
.alien-glow {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
    border: 2px solid #00ff00;
}

.alien-glow:hover {
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.8);
    transform: scale(1.05);
}

/* FBI stamp effect */
.fbi-stamp {
    background: radial-gradient(circle, #ff0000, #cc0000);
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border: 3px solid #ff0000;
    border-radius: 50%;
    text-align: center;
    box-shadow: 
        inset 0 0 5px rgba(255, 255, 255, 0.3),
        0 0 10px rgba(255, 0, 0, 0.5);
    transform: rotate(-15deg);
}