body {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Courier New', monospace;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
            color: #00ff88;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100%;
        }

        html {
            height: 100%;
        }

        .control-panel {
            background: rgba(0, 20, 40, 0.9);
            border: 2px solid #00ff88;
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
            max-width: 500px;
            width: 90%;
        }

        .mission-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 30px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #ffffff;
        }

        .countdown-display {
            font-size: 48px;
            font-weight: bold;
            margin: 30px 0;
            padding: 20px;
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid #00ff88;
            border-radius: 10px;
            color: #ff6b6b;
            text-shadow: 0 0 10px currentColor;
        }

        .countdown-label {
            font-size: 16px;
            margin-bottom: 15px;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .password-section {
            margin: 30px 0;
        }

        .password-label {
            font-size: 16px;
            margin-bottom: 15px;
            color: #ffffff;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .password-input {
            width: 100%;
            padding: 15px;
            font-size: 18px;
            font-family: 'Courier New', monospace;
            background: rgba(0, 0, 0, 0.7);
            border: 2px solid #00ff88;
            border-radius: 8px;
            color: #00ff88;
            text-align: center;
            margin-bottom: 20px;
            box-sizing: border-box;
        }

        .password-input:focus {
            outline: none;
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
        }

        .submit-button {
            background: linear-gradient(45deg, #00ff88, #00cc6a);
            color: #000000;
            border: none;
            padding: 15px 30px;
            font-size: 16px;
            font-weight: bold;
            border-radius: 8px;
            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
        }

        .submit-button:hover {
            background: linear-gradient(45deg, #00cc6a, #00aa55);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
        }

        .submit-button:disabled {
            background: #666666;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .status-message {
            font-size: 20px;
            font-weight: bold;
            margin-top: 30px;
            padding: 20px;
            border-radius: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: none;
        }

        .success {
            background: rgba(0, 255, 136, 0.2);
            color: #00ff88;
            border: 2px solid #00ff88;
        }

        .failure {
            background: rgba(255, 107, 107, 0.2);
            color: #ff6b6b;
            border: 2px solid #ff6b6b;
        }

        .warning-lights {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 20px 0;
        }

        .warning-light {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #ff6b6b;
            animation: blink 1s infinite;
        }

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

        .confirmation-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }

        .confirmation-dialog {
            background: rgba(0, 20, 40, 0.95);
            border: 2px solid #00ff88;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            color: #ffffff;
            max-width: 400px;
            width: 90%;
        }

        .confirmation-buttons {
            margin-top: 20px;
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .confirm-btn, .cancel-btn {
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            font-weight: bold;
            cursor: pointer;
            text-transform: uppercase;
        }

        .confirm-btn {
            background: #ff6b6b;
            color: white;
        }

        .cancel-btn {
            background: #00ff88;
            color: black;
        }

        .crash-animation {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            animation: fadeIn 0.5s ease-in;
        }

        .spacecraft {
            font-size: 60px;
            animation: crash 3s ease-in-out;
            position: relative;
        }

        .explosion {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 80px;
            opacity: 0;
            animation: explode 1s ease-out 2s forwards;
        }

        .debris {
            position: absolute;
            font-size: 20px;
            animation: debris 2s ease-out 2.5s forwards;
            opacity: 0;
        }

        .debris:nth-child(3) { --debris-x: -100px; --debris-y: -80px; }
        .debris:nth-child(4) { --debris-x: 120px; --debris-y: -60px; }
        .debris:nth-child(5) { --debris-x: -80px; --debris-y: 100px; }
        .debris:nth-child(6) { --debris-x: 90px; --debris-y: 110px; }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes crash {
            0% {
                transform: translateY(-200px) rotate(0deg);
                opacity: 1;
            }
            70% {
                transform: translateY(100px) rotate(180deg);
                opacity: 1;
            }
            100% {
                transform: translateY(200px) rotate(270deg);
                opacity: 0.3;
            }
        }

        @keyframes explode {
            0% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.5);
            }
            50% {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1.5);
            }
            100% {
                opacity: 0;
                transform: translate(-50%, -50%) scale(2);
            }
        }

        @keyframes debris {
            0% {
                opacity: 1;
                transform: translate(0, 0) rotate(0deg);
            }
            100% {
                opacity: 0;
                transform: translate(var(--debris-x), var(--debris-y)) rotate(360deg);
            }
        }

        .crash-text {
            position: absolute;
            bottom: 20%;
            left: 50%;
            transform: translateX(-50%);
            color: #ff6b6b;
            font-size: 24px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
            opacity: 0;
            animation: showText 1s ease-in 3.5s forwards;
        }

        @keyframes showText {
            from { opacity: 0; transform: translateX(-50%) translateY(20px); }
            to { opacity: 1; transform: translateX(-50%) translateY(0); }
        }

@view-transition { navigation: auto; }