body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #000000 0%, #1a0033 100%);
    font-size: 14px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: 100vh;
}

.header {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
}

h1 {
    font-size: 42px;
    margin: 0 0 10px 0;
    color: #ff00ff;
    text-shadow:
        0 0 10px #ff00ff,
        0 0 20px #ff00ff,
        0 0 30px #ff00ff;
    letter-spacing: 8px;
}

.score-panel {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 10px;
}

.score-item {
    font-size: 18px;
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
    letter-spacing: 2px;
}

.score-item span {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
    font-weight: bold;
}

#gameCanvas {
    border: 3px solid #00ff00;
    box-shadow:
        0 0 20px #00ff00,
        inset 0 0 20px rgba(0, 255, 0, 0.1);
    background-color: #000;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.control-section {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid #00ff00;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.control-section h3 {
    margin: 0 0 12px 0;
    color: #ff00ff;
    font-size: 16px;
    text-shadow: 0 0 5px #ff00ff;
    letter-spacing: 2px;
}

.btn {
    background: linear-gradient(to bottom, #ff00ff 0%, #aa00aa 100%);
    border: 2px solid #ff00ff;
    color: #fff;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    transition: all 0.2s;
    letter-spacing: 1px;
}

.btn:hover {
    background: linear-gradient(to bottom, #ff33ff 0%, #cc00cc 100%);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.slider-control {
    margin: 10px 0;
}

.slider-control label {
    display: block;
    margin-bottom: 5px;
    color: #00ffff;
    font-size: 12px;
    letter-spacing: 1px;
}

.slider-control span {
    color: #ffff00;
    font-weight: bold;
}

input[type="range"] {
    width: 200px;
    height: 8px;
    background: #333;
    border: 1px solid #00ff00;
    outline: none;
    border-radius: 3px;
    box-shadow: inset 0 0 5px rgba(0, 255, 0, 0.3);
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #ff00ff;
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #ff00ff;
    border: 2px solid #fff;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
}

.toggle-control {
    margin: 10px 0;
}

.toggle-control label {
    color: #00ffff;
    cursor: pointer;
    font-size: 12px;
    letter-spacing: 1px;
}

input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    accent-color: #ff00ff;
}

.info {
    text-align: center;
    color: #00ff00;
    font-size: 12px;
    letter-spacing: 1px;
}

.info p {
    margin: 5px 0;
    opacity: 0.7;
}
