.main-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif;
}
canvas {
    border: 2px solid #333;
    background: #fff;
}
select {
    margin: 10px;
    width: 220px;
    font-size: 17px;
    font-weight: bold;
    color: white;
    background-color: seagreen;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    cursor: pointer;
}
select:focus {
    background-color: seagreen;
    color: white;
}
select:hover {
    background-color: #0a5d2e;
    color: white;
}
option {
    background-color: seagreen;
    color: white;
}
#progressContainer {
    width: 450px;
    height: 22px;
    background: #ddd;
    border: 1px solid #333;
    margin: 10px 0;
}
#progressBar {
    height: 100%;
    background: #4caf50;
    width: 0%;
    transition: width 0.3s ease;
}
#buttonContainer {
    display: flex;
}
#resetButton, #muteButton {
    font-size: 17px;
    margin: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
}
#resetButton {
    background: #ff4444;
}
#resetButton:hover {
    background: #cc0000;
}
#muteButton {
    background: #4444ff;
}
#muteButton:hover {
    background: #0000cc;
}
.game-hud {
    font-family: 'Press Start 2P', monospace;
    display: flex;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    justify-content: center;
}

.score, .level {
    background: linear-gradient(45deg, #ff007a, #ffcc00);
    padding: 10px 20px;
    border: 3px solid #fff;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 16px1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: pulse 2s infinite;
}

.score span, .level span {
    color: #00ffcc;
    font-weight: bold;
}

.align-top {
    vertical-align: top;
}

@keyframes pulse {
    0% { box-shadow: 0 0 5px #ff007a; }
    50% { box-shadow: 0 0 15px #ffcc00; }
    100% { box-shadow: 0 0 5px #ff007a; }
}
