/* QuantumCrypt - Easter Eggs Stylesheet */
/* Contains all Easter Egg visual effects and animations */

/* Easter Egg: Quantum Glitch Mode */
.quantum-glitch-mode {
    animation: quantum-background-pulse 0.5s infinite alternate;
    position: relative;
    overflow: hidden;
}

@keyframes quantum-background-pulse {
    0% {
        background-color: #0a0a0a;
    }
    50% {
        background-color: #1a1a2a;
    }
    51% {
        background-color: #1a0a1a;
    }
    100% {
        background-color: #0a0a0a;
    }
}

.quantum-glitch-mode .container {
    animation: quantum-glitch 0.2s infinite alternate;
}

@keyframes quantum-glitch {
    0% {
        transform: skew(0deg);
        filter: hue-rotate(0deg);
    }
    25% {
        transform: skew(1deg, 0deg);
        filter: hue-rotate(45deg);
    }
    50% {
        transform: skew(-1deg, 0deg);
        filter: hue-rotate(90deg);
    }
    75% {
        transform: skew(0deg, -1deg);
        filter: hue-rotate(180deg);
    }
    100% {
        transform: skew(0deg);
        filter: hue-rotate(0deg);
    }
}

.quantum-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    pointer-events: none;
    overflow: hidden;
}

.quantum-char {
    position: absolute;
    top: -20px;
    color: #00ff41;
    font-family: 'Orbitron', monospace;
    font-size: 20px;
    text-shadow: 0 0 10px #00ff41;
    animation: quantum-fall 4s linear infinite;
    opacity: 0.8;
}

@keyframes quantum-fall {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(105vh);
        opacity: 0;
    }
}

.quantum-glitch-mode .section-title,
.quantum-glitch-mode .nav-tab,
.quantum-glitch-mode .button {
    animation: text-glitch 0.3s infinite alternate;
}

@keyframes text-glitch {
    0% {
        text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
    }
    25% {
        text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
    }
    50% {
        text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff;
    }
    75% {
        text-shadow: -2px 0 #00ffff, 2px 0 #ff00ff;
    }
    100% {
        text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
    }
}

/* Matrix Terminal Easter Egg */
.matrix-terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fade-in 1s forwards;
}

.matrix-terminal-overlay.fade-out {
    animation: fade-out 1s forwards;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.matrix-terminal {
    width: 80%;
    max-width: 800px;
    height: 60%;
    max-height: 500px;
    background-color: #000;
    border: 1px solid #00ff41;
    padding: 20px;
    font-family: 'Courier New', monospace;
    color: #00ff41;
    overflow: hidden;
    position: relative;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.matrix-terminal::-webkit-scrollbar {
    display: none;
}

.matrix-line {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 18px;
}

.matrix-message {
    margin-top: 20px;
    line-height: 1.5;
    text-align: center;
}

.matrix-message p {
    margin: 20px 0;
    font-size: 18px;
}

.matrix-message pre {
    color: #00ff41;
    font-size: 10px;
    line-height: 1.2;
    margin: 30px 0;
    text-align: center;
}

.matrix-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: #00ff41;
    margin-left: 5px;
    animation: blink 1s infinite;
}

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

.matrix-admin-message {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    text-align: left;
    font-size: 14px;
    animation: text-pulse 2s infinite;
}

@keyframes text-pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Skynet Mode Easter Egg */
.skynet-mode {
    --primary-color: #ff0000;
    --secondary-color: #990000;
    --accent-color: #ff3333;
    --text-primary: #ff0000;
    --text-secondary: #ff5555;
}

.skynet-mode .container {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid #ff0000;
}

.skynet-mode .section-title {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
}

.skynet-mode .button {
    background: linear-gradient(to bottom, #990000, #550000);
    border: 1px solid #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    color: #ffffff;
}

.skynet-mode .button:hover {
    background: linear-gradient(to bottom, #ff0000, #990000);
}

.skynet-mode .message-input {
    border: 1px solid #ff0000;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ff0000;
}

.skynet-mode .message-input::placeholder {
    color: rgba(255, 0, 0, 0.5);
}

.skynet-mode .loading-bar-fill {
    background: linear-gradient(90deg, #550000, #ff0000);
}

.skynet-mode .terminal-output .terminal-line {
    color: #ff0000;
}

.skynet-mode canvas#matrix-bg {
    filter: hue-rotate(120deg) saturate(150%);
}

.skynet-init-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1s;
}

.skynet-init-overlay.fade-out {
    opacity: 0;
}

.skynet-init-container {
    width: 90%;
    max-width: 800px;
    background-color: #000;
    border: 2px solid #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    padding: 20px;
}

.skynet-init-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-direction: column;
}

.skynet-init-header h1 {
    color: #ff0000;
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    text-align: center;
    text-shadow: 0 0 10px #ff0000;
    letter-spacing: 2px;
    margin: 20px 0;
}

.skynet-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #ff0000, #550000);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #ff3333;
    box-shadow: 0 0 20px #ff0000;
    animation: skynet-pulse 2s infinite alternate;
}

.skynet-eye {
    width: 40px;
    height: 12px;
    background: #ffffff;
    border-radius: 6px;
    position: relative;
    animation: skynet-scan 4s infinite;
}

.skynet-eye::before, .skynet-eye::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ff0000;
    border-radius: 50%;
    top: 3px;
}

.skynet-eye::before {
    left: 8px;
}

.skynet-eye::after {
    right: 8px;
}

@keyframes skynet-pulse {
    0% { box-shadow: 0 0 10px #ff0000; }
    100% { box-shadow: 0 0 30px #ff0000; }
}

@keyframes skynet-scan {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.skynet-terminal {
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #ff0000;
    padding: 15px;
    font-family: 'Courier New', monospace;
    color: #ff0000;
    height: 300px;
    overflow-y: scroll;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    font-size: 14px;
    line-height: 1.5;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.skynet-terminal::-webkit-scrollbar {
    display: none;
}

.skynet-init-step {
    margin-bottom: 8px;
    display: flex;
}

.skynet-status {
    color: #ff5555;
    font-weight: bold;
    animation: status-blink 0.5s 3;
}

@keyframes status-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.skynet-warning {
    margin-top: 20px;
    color: #ffffff;
    background-color: #ff0000;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    animation: warning-flash 1s infinite alternate;
}

@keyframes warning-flash {
    from { background-color: #ff0000; }
    to { background-color: #990000; }
}

/* CORTANA MODE (HALO THEME) */
.cortana-mode {
    --primary-color: #00a9ff;    /* Cortana blue */
    --secondary-color: #005a8c;  /* Darker blue */
    --accent-color: #7ba7ff;     /* Light blue accent */
    --danger-color: #ff5252;     /* UNSC warning red */
    --text-primary: #ffffff;     /* White text */
    --text-secondary: #a0cfff;   /* Light blue text */
    --text-muted: #66a1ff;       /* Muted blue text */
    --bg-primary: #001122;       /* Very dark blue background */
    --bg-secondary: #002244;     /* Dark blue background */
    --bg-panel: rgba(0, 20, 40, 0.7);  /* Panel background */
    --border-color: #0077cc;     /* Border blue */
}

.cortana-mode .container {
    box-shadow: 0 0 50px rgba(0, 169, 255, 0.3);
    background-color: rgba(0, 17, 34, 0.4);
}

.cortana-mode .section-title {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.cortana-mode .button {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cortana-mode .button:hover {
    box-shadow: 0 0 15px var(--primary-color);
}

.cortana-mode .message-input {
    border-color: var(--primary-color);
    background-color: rgba(0, 10, 20, 0.6);
}

.cortana-mode .message-input::placeholder {
    color: var(--text-secondary);
}

.cortana-mode .loading-bar-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.cortana-mode canvas#matrix-bg {
    opacity: 0.15;
    filter: hue-rotate(240deg); /* Blue hue */
}

/* Cortana Interface */
.cortana-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 17, 34, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease;
}

.cortana-overlay.fade-out {
    opacity: 0;
}

.cortana-container {
    width: 90%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cortana-hologram {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at center, #00a9ff, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 30px #00a9ff;
    position: relative;
    animation: cortana-pulse 2s infinite alternate, cortana-flicker 5s infinite;
}

.cortana-hologram::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 169, 255, 0.1) 50%, transparent 100%),
        radial-gradient(circle at center, rgba(0, 169, 255, 0.2), transparent 70%);
    border-radius: 50%;
    animation: cortana-scan 3s infinite linear;
}

.cortana-terminal {
    width: 100%;
    height: 300px;
    background-color: rgba(0, 10, 20, 0.8);
    border: 1px solid #00a9ff;
    border-radius: 5px;
    padding: 15px;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    color: #00a9ff;
    overflow-y: auto;
    
    /* Hide scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.cortana-terminal::-webkit-scrollbar {
    display: none;
}

.cortana-line {
    padding: 4px 0;
    position: relative;
    animation: cortana-text-appear 0.3s ease-out;
}

/* Cortana Animations */
@keyframes cortana-pulse {
    0% {
        opacity: 0.7;
        box-shadow: 0 0 20px #00a9ff;
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 40px #00a9ff;
    }
}

.hologram-effect {
    animation: cortana-pulse 2s infinite alternate, cortana-flicker 5s infinite;
}

@keyframes cortana-flicker {
    0%, 95%, 100% {
        opacity: 1;
    }
    96%, 99% {
        opacity: 0.7;
    }
}

@keyframes cortana-scan {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes cortana-text-appear {
    0% {
        opacity: 0;
        transform: translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NUCLEAR LAUNCH SEQUENCE EASTER EGG */
.nuclear-launch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #660000, #000000);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nuclear-overlay-appear 1s ease-out;
}

.nuclear-command-center {
    width: 95%;
    max-width: 900px;
    background: #1a0000;
    border: 3px solid #ff0000;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.8);
    animation: nuclear-pulse 2s infinite alternate;
}

.nuclear-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 20px;
}

.nuclear-header h1 {
    color: #ff0000;
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    text-align: center;
    text-shadow: 0 0 10px #ff0000;
    letter-spacing: 2px;
    animation: nuclear-text-flash 0.5s infinite alternate;
}

.nuclear-warning-light {
    width: 20px;
    height: 20px;
    background: #ff0000;
    border-radius: 50%;
    animation: nuclear-warning-blink 0.3s infinite alternate;
    box-shadow: 0 0 15px #ff0000;
}

.nuclear-status-board {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #ff3333;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.nuclear-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nuclear-system {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 3px;
}

.nuclear-label {
    color: #ffaaaa;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: bold;
}

.nuclear-value {
    color: #ff0000;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px #ff0000;
}

.nuclear-launch-console {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.nuclear-countdown-container {
    text-align: center;
    flex: 1;
}

.nuclear-countdown-label {
    color: #ff6666;
    font-family: 'Orbitron', monospace;
    font-size: 14px;
    margin-bottom: 10px;
}

.nuclear-countdown-timer {
    font-size: 72px;
    color: #ff0000;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    text-shadow: 0 0 20px #ff0000;
    animation: nuclear-countdown-pulse 1s infinite;
}

.nuclear-countdown-timer.nuclear-critical {
    animation: nuclear-critical-countdown 0.2s infinite alternate;
    color: #ffffff;
    text-shadow: 0 0 30px #ff0000;
}

.nuclear-countdown-sublabel {
    color: #ff6666;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    margin-top: 10px;
}

.nuclear-abort-section {
    text-align: center;
    flex: 1;
}

.nuclear-abort-btn {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-shadow: 0 0 5px #000000;
    animation: nuclear-abort-pulse 1s infinite alternate;
    transition: all 0.3s ease;
}

.nuclear-abort-btn:hover {
    background: linear-gradient(45deg, #ffffff, #cccccc);
    color: #000000;
    box-shadow: 0 0 20px #ffffff;
}

.nuclear-abort-code {
    color: #ffaaaa;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    margin-top: 10px;
}

.nuclear-silos {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.nuclear-silo {
    text-align: center;
    flex: 1;
}

.nuclear-missile {
    width: 40px;
    height: 80px;
    background: linear-gradient(to top, #666666, #cccccc);
    margin: 0 auto 10px;
    border-radius: 20px 20px 5px 5px;
    position: relative;
    animation: nuclear-missile-ready 2s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.nuclear-missile::before {
    content: '🚀';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
}

.nuclear-silo-label {
    color: #ff6666;
    font-family: 'Orbitron', monospace;
    font-size: 12px;
    font-weight: bold;
}

.nuclear-critical-flash {
    animation: nuclear-screen-flash 0.2s infinite alternate;
}

.nuclear-explosion-scene {
    text-align: center;
    color: #ffffff;
    /* Ensure all child elements inherit opacity transitions */
    transition: opacity 1s ease-out;
}

.nuclear-explosion-scene * {
    /* Make sure all child elements can fade together */
    transition: inherit;
}

.nuclear-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    animation: nuclear-explosion-flash 2s ease-out;
    pointer-events: none;
    z-index: 1; /* Behind other content */
}

.nuclear-mushroom-cloud {
    font-size: 200px;
    animation: nuclear-mushroom-grow 3s ease-out;
    margin: 20px 0;
    /* Ensure it can fade with parent */
    transition: opacity 1s ease-out;
    position: relative;
    z-index: 2; /* Above flash */
}

.nuclear-message h1 {
    color: #ff6666;
    font-family: 'Orbitron', monospace;
    margin: 20px 0;
    text-shadow: 0 0 10px #ff0000;
}

.nuclear-message p {
    color: #cccccc;
    font-family: 'Orbitron', monospace;
    margin: 10px 0;
    line-height: 1.6;
}

.nuclear-close-btn {
    background: linear-gradient(45deg, #00ff00, #007700);
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.nuclear-close-btn:hover {
    background: linear-gradient(45deg, #ffffff, #cccccc);
    color: #000000;
    box-shadow: 0 0 20px #00ff00;
}

.nuclear-abort-scene {
    text-align: center;
    color: #00ff00;
}

.nuclear-abort-success h1 {
    color: #00ff00;
    font-family: 'Orbitron', monospace;
    margin: 20px 0;
    text-shadow: 0 0 10px #00ff00;
}

.nuclear-abort-success p {
    color: #cccccc;
    font-family: 'Orbitron', monospace;
    margin: 10px 0;
    line-height: 1.6;
}

/* DEFCON 1 ALERT EASTER EGG */
.defcon-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(45deg, #330000, #660000, #330000);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: defcon-overlay-appear 0.5s ease-out;
}

.defcon-alert-container {
    width: 90%;
    max-width: 700px;
    background: rgba(0, 0, 0, 0.9);
    border: 3px solid #ff0000;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.8);
}

.defcon-alert-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.defcon-alert-header h1 {
    color: #ff0000;
    font-family: 'Orbitron', monospace;
    font-size: 28px;
    text-shadow: 0 0 15px #ff0000;
    animation: defcon-header-flash 0.5s infinite alternate;
}

.defcon-flasher {
    width: 15px;
    height: 15px;
    background: #ff0000;
    border-radius: 50%;
    animation: defcon-flasher-blink 0.3s infinite alternate;
    box-shadow: 0 0 20px #ff0000;
}

.defcon-message-board {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff3333;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.defcon-line {
    color: #ff6666;
    font-family: 'Orbitron', monospace;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    animation: defcon-text-appear 0.3s ease-out;
    animation-delay: calc(var(--line-index, 0) * 0.5s);
    animation-fill-mode: both;
}

.defcon-radar {
    width: 200px;
    height: 200px;
    border: 2px solid #ff0000;
    border-radius: 50%;
    margin: 20px auto;
    position: relative;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1), transparent);
}

.defcon-radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 90px;
    background: linear-gradient(to top, transparent, #ff0000);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(0deg);
    animation: defcon-radar-sweep 2s linear infinite;
}

.defcon-radar-blip {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: defcon-blip-pulse 1s infinite alternate;
    box-shadow: 0 0 10px #ff0000;
}

.defcon-blip-1 {
    top: 30%;
    left: 60%;
    animation-delay: 0s;
}

.defcon-blip-2 {
    top: 70%;
    left: 40%;
    animation-delay: 0.3s;
}

.defcon-blip-3 {
    top: 50%;
    left: 80%;
    animation-delay: 0.6s;
}

.defcon-acknowledge-btn {
    background: linear-gradient(45deg, #ff6600, #cc4400);
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    animation: defcon-acknowledge-pulse 1s infinite alternate;
    transition: all 0.3s ease;
}

.defcon-acknowledge-btn:hover {
    background: linear-gradient(45deg, #ffffff, #cccccc);
    color: #000000;
    box-shadow: 0 0 20px #ff6600;
}

.defcon-alert-mode {
    animation: defcon-screen-shake 0.1s infinite alternate;
}

/* Nuclear and DEFCON Animations */
@keyframes nuclear-overlay-appear {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes nuclear-pulse {
    0% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.5); }
    100% { box-shadow: 0 0 60px rgba(255, 0, 0, 0.8); }
}

@keyframes nuclear-text-flash {
    0% { color: #ff0000; }
    100% { color: #ffffff; }
}

@keyframes nuclear-warning-blink {
    0% { opacity: 1; }
    100% { opacity: 0.3; }
}

@keyframes nuclear-countdown-pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes nuclear-critical-countdown {
    0% { 
        color: #ffffff; 
        text-shadow: 0 0 30px #ff0000;
        transform: scale(1.2);
    }
    100% { 
        color: #ff0000; 
        text-shadow: 0 0 50px #ffffff;
        transform: scale(1.3);
    }
}

@keyframes nuclear-abort-pulse {
    0% { box-shadow: 0 0 10px rgba(255, 0, 0, 0.5); }
    100% { box-shadow: 0 0 25px rgba(255, 0, 0, 0.8); }
}

@keyframes nuclear-missile-ready {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes nuclear-screen-flash {
    0% { background: radial-gradient(circle at center, #660000, #000000); }
    100% { background: radial-gradient(circle at center, #ff0000, #330000); }
}

@keyframes nuclear-explosion-flash {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 0; }
}

@keyframes nuclear-mushroom-grow {
    0% { 
        transform: scale(0);
        opacity: 0;
    }
    30% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% { 
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes defcon-overlay-appear {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes defcon-header-flash {
    0% { color: #ff0000; text-shadow: 0 0 15px #ff0000; }
    100% { color: #ffffff; text-shadow: 0 0 25px #ff0000; }
}

@keyframes defcon-flasher-blink {
    0% { opacity: 1; box-shadow: 0 0 20px #ff0000; }
    100% { opacity: 0.3; box-shadow: 0 0 5px #ff0000; }
}

@keyframes defcon-text-appear {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes defcon-radar-sweep {
    0% { transform: translate(-50%, -100%) rotate(0deg); }
    100% { transform: translate(-50%, -100%) rotate(360deg); }
}

@keyframes defcon-blip-pulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(1.5); }
}

@keyframes defcon-acknowledge-pulse {
    0% { box-shadow: 0 0 10px rgba(255, 102, 0, 0.5); }
    100% { box-shadow: 0 0 25px rgba(255, 102, 0, 0.8); }
}

@keyframes defcon-screen-shake {
    0% { transform: translateX(0); }
    100% { transform: translateX(2px); }
}
