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

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #b0b0b0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Scrolling shutdown banner */
.shutdown-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ff0000;
    color: #000;
    padding: 10px 0;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
}

.banner-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 20s linear infinite;
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: 2px;
}

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

/* Main container */
.container {
    padding: 80px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Content styling */
.content {
    text-align: center;
}

h1 {
    font-size: 4em;
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    margin-bottom: 30px;
    letter-spacing: 5px;
}

/* Glitch effect */
.glitch {
    position: relative;
    animation: glitch-skew 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(42px, 9999px, 71px, 0); }
    40% { clip: rect(65px, 9999px, 23px, 0); }
    60% { clip: rect(12px, 9999px, 88px, 0); }
    80% { clip: rect(77px, 9999px, 34px, 0); }
    100% { clip: rect(55px, 9999px, 12px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 23px, 0); }
    20% { clip: rect(12px, 9999px, 88px, 0); }
    40% { clip: rect(77px, 9999px, 34px, 0); }
    60% { clip: rect(31px, 9999px, 94px, 0); }
    80% { clip: rect(42px, 9999px, 71px, 0); }
    100% { clip: rect(55px, 9999px, 12px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-2deg); }
    20% { transform: skew(0deg); }
    30% { transform: skew(1deg); }
    40% { transform: skew(0deg); }
}

/* Classified stamp */
.classified-stamp {
    color: #ff0000;
    font-size: 3em;
    font-weight: bold;
    border: 5px solid #ff0000;
    padding: 10px 40px;
    display: inline-block;
    transform: rotate(-15deg);
    opacity: 0.7;
    margin: 20px 0;
    letter-spacing: 10px;
}

/* Warning box */
.warning-box {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid #666;
    padding: 30px;
    margin: 40px auto;
    max-width: 700px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.warning-box h2 {
    color: #ff6600;
    margin-bottom: 20px;
    animation: pulse-warning 1.5s ease-in-out infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.warning-box p {
    margin: 15px 0;
    line-height: 1.6;
    font-size: 1.1em;
}

.redacted {
    background: #000;
    color: #000;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.redacted:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #ff0000;
}

.blink {
    animation: blink 1s step-start infinite;
    color: #ff0000;
    font-weight: bold;
    font-size: 1.3em !important;
}

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

/* Alert box */
.alert-box {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff0000;
    padding: 20px;
    margin: 30px auto;
    max-width: 500px;
    font-size: 1.2em;
}

.alert-line {
    margin: 10px 0;
    letter-spacing: 2px;
}

.critical {
    color: #ff0000;
    font-weight: bold;
    animation: pulse-warning 1s ease-in-out infinite;
}

.failed {
    color: #ff6600;
    font-weight: bold;
}

/* Glitch overlay */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0;
    animation: glitch-overlay-anim 10s infinite;
}

@keyframes glitch-overlay-anim {
    0%, 90%, 100% { opacity: 0; }
    91%, 92% { 
        opacity: 0.8;
        background: linear-gradient(
            0deg,
            transparent 0%,
            rgba(255, 0, 0, 0.1) 50%,
            transparent 100%
        );
    }
}

/* Static noise effect */
.static-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 998;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' /%3E%3C/svg%3E");
    animation: static-anim 0.2s infinite;
}

@keyframes static-anim {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(5%, 0); }
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: #666;
    border-radius: 50%;
    opacity: 0.3;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-200px) translateX(-50px); }
    75% { transform: translateY(-100px) translateX(100px); }
}

/* Employee Access Section */
.employee-access {
    margin-top: 60px;
    padding: 40px 20px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    border-radius: 5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.access-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #666, transparent);
    margin-bottom: 30px;
}

.employee-text {
    color: #888;
    font-size: 1em;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.code-input-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.code-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    background: #0a0a0a;
    border: 2px solid #444;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    border-radius: 3px;
    transition: all 0.3s;
}

.code-input:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.code-input::placeholder {
    color: #444;
}

.submit-btn {
    padding: 12px 30px;
    background: #1a1a1a;
    border: 2px solid #666;
    color: #888;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 2px;
    border-radius: 3px;
}

.submit-btn:hover {
    background: #2a2a2a;
    border-color: #00ff00;
    color: #00ff00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.submit-btn:active {
    transform: scale(0.95);
}

.error-message {
    color: #ff0000;
    font-size: 0.9em;
    margin-top: 15px;
    text-align: center;
    min-height: 20px;
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    
    .classified-stamp {
        font-size: 2em;
        padding: 5px 20px;
    }
    
    .warning-box {
        padding: 20px;
    }

    .employee-access {
        padding: 30px 15px;
        margin-top: 40px;
    }

    .code-input-container {
        flex-direction: column;
    }

    .code-input {
        width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}
