body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #1a1a1a;
    color: #00ff00;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.container {
    background-color: #2d2d2d;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    max-width: 800px;
    width: 100%;
}

h1, h2 {
    color: #00ff00;
    margin-bottom: 20px;
}

#scenario {
    margin-bottom: 20px;
    line-height: 1.6;
}

#animation-area {
    width: 100%;
    height: 150px;
    background-color: #000;
    position: relative;
    margin: 20px 0;
    border: 2px solid #00ff00;
    overflow: hidden;
}

#missile {
    width: 20px;
    height: 10px;
    background-color: #ff0000;
    position: absolute;
    top: 70px;
    left: -20px;
    animation: missileMove 60s linear forwards;
}

#radar {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 2px solid #00ff00;
    border-radius: 50%;
    position: absolute;
    bottom: 10px;
    right: 20px;
    animation: radarScan 2s infinite linear;
    opacity: 0.5;
}

@keyframes missileMove {
    0% { left: -20px; }
    100% { left: 100%; }
}

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

#timer {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    color: #ff0000;
    background-color: #000;
    padding: 10px;
    border-radius: 5px;
}

.task {
    margin: 20px 0;
    padding: 15px;
    background-color: #1e1e1e;
    border-radius: 5px;
}

input[type="number"], input[type="range"] {
    padding: 10px;
    margin: 10px;
    background-color: #000;
    color: #00ff00;
    border: 2px solid #00ff00;
    border-radius: 5px;
    width: 200px;
    text-align: center;
}

button {
    padding: 10px 20px;
    background-color: #004400;
    color: #00ff00;
    border: 2px solid #00ff00;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    margin: 5px;
}

button:hover {
    background-color: #006600;
}

.seq-btn {
    width: 60px;
    height: 60px;
    color: white;
    font-weight: bold;
}

#result {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.6;
}
