:root {
    --primary: #00ff41;
    --secondary: #00e5ff;
    --danger: #ff003c;
    --dark-bg: #050a0e;
    --panel-bg: rgba(13, 25, 33, 0.85);
    --border: rgba(0, 255, 65, 0.3);
    --font-tech: 'Orbitron', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

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

body {
    background: var(--dark-bg);
    color: #e0e0e0;
    font-family: var(--font-mono);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#matrix-rain {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    opacity: 0.3;
}

.scanline {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: rgba(0, 255, 65, 0.1);
    z-index: 100;
    pointer-events: none;
    animation: scan 6s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100vh); }
    100% { transform: translateY(100vh); }
}

.main-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 10;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.status-bar {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.neon-green { color: var(--primary); text-shadow: 0 0 5px var(--primary); }
.neon-cyan { color: var(--secondary); text-shadow: 0 0 5px var(--secondary); }

.glitch-text {
    font-family: var(--font-tech);
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 2px 2px var(--danger), -2px -2px var(--secondary);
    position: relative;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.7;
}

.action-panel {
    width: 100%;
    max-width: 500px;
    background: var(--panel-bg);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    padding: 40px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

.info-box {
    margin-bottom: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.info-box p {
    margin-bottom: 10px;
}

/* Cyber Button */
.cyber-btn {
    width: 100%;
    height: 60px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-tech);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.cyber-btn:hover {
    background: var(--primary);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--primary);
}

.cyber-btn.success {
    border-color: var(--secondary);
    color: var(--secondary);
}

.cyber-btn.success:hover {
    background: var(--secondary);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--secondary);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 90%;
    max-width: 400px;
    background: var(--panel-bg);
    border: 1px solid var(--primary);
    padding: 40px;
    text-align: center;
}

.modal-content.success {
    border-color: var(--secondary);
}

.radar-box {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.radar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.radar-sweep {
    position: absolute;
    top: 50%; left: 50%;
    width: 50%; height: 50%;
    background: linear-gradient(45deg, transparent 50%, rgba(0, 255, 65, 0.4) 100%);
    transform-origin: top left;
    animation: rotate 2s linear infinite;
}

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

.radar-circle {
    position: absolute;
    top: 50%; left: 50%;
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.circle-1 { width: 33%; height: 33%; }
.circle-2 { width: 66%; height: 66%; }
.circle-3 { width: 95%; height: 95%; }

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.1s linear;
}

#modal-log {
    font-size: 12px;
    color: var(--primary);
    opacity: 0.8;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--secondary);
}

.footer {
    position: absolute;
    bottom: 20px;
    font-size: 10px;
    opacity: 0.5;
}

@media (max-width: 600px) {
    .glitch-text { font-size: 2rem; }
}
