body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    overflow: hidden; /* Hide scrollbars */
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

#info-panel {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 10px;
    z-index: 10;
    max-width: 200px;
}

h1 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
}

#strength-display {
    font-size: 1.2em;
}

#type-display {
    font-size: 1.1em;
    margin-top: 5px;
}

#mode-display {
    font-size: 1.1em;
    margin-top: 5px;
}

#mode-select-panel {
    color: white;
}

#mode-select-panel button {
    background-color: #ddd;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

#mode-select-panel button:hover {
    background-color: #fff;
}

#game-over-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    color: white;
    z-index: 100;
}

#game-over-panel h2 {
    margin-top: 0;
}

#restart-btn {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #ddd;
    color: #333;
}

#restart-btn:hover {
    background-color: #fff;
}

#minimap-container {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid #fff;
    border-radius: 5px;
    z-index: 100;
}

#minimap {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
}

#siren-panel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: none;
    z-index: 200;
    animation: siren-flash 1s infinite;
}

@keyframes siren-flash {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.siren-indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    background: red;
    border-radius: 50%;
    animation: siren-blink 0.5s infinite;
}

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