body {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Grundlegender CRT-Stil */
#zombieMinigame {
    font-family: "Courier New", monospace;
    color: #33ff33;
    background-color: #001100;
    border: 3px solid #00ff00;
    box-shadow: 0 0 10px #00ff00;
    width: 850px;
    height: auto;           /* Lässt die Höhe vom Inhalt bestimmen */
    display: inline-block;  /* Wichtig für height:auto im iFrame */
    flex-direction: column;
}

/* Windows 98 Titelleiste */
.window-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #008080; /* Windows 98 hellgrün-blau */
    color: #ffffff;
    padding: 3px 5px;
    border-bottom: 2px solid #ffffff;
    font-weight: bold;
    font-size: 14px;
}

.window-close-btn {
    background: #c6c6c6;
    color: #000000;
    border: 2px outset #ffffff;
    padding: 1px 6px;
    cursor: pointer;
    font-weight: bold;
}

.window-close-btn:active {
    border: 2px inset #000000;
}

.window-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Spielbereich */
#game-container {
    border: 1px solid #00ff00;
    margin-bottom: 10px;
}

#zombieCanvas {
    display: block;
    background-color: #000000; /* Der eigentliche Canvas-Hintergrund */
    cursor: default;
}

/* HUD und Buttons */
#minigame-hud {
    text-align: center;
    margin-bottom: 10px;
}

#minigame-hud button,
#reward-panel button {
    background-color: #005500;
    color: #33ff33;
    border: 1px solid #00ff00;
    padding: 5px 10px;
    cursor: pointer;
    margin-top: 5px;
}

#minigame-hud button:hover,
#reward-panel button:hover {
    background-color: #007700;
}

#reward-panel {
    border: 1px dashed #ffcc00;
    padding: 10px;
    text-align: center;
}

#reward-select {
    background-color: #001100;
    color: #33ff33;
    border: 1px solid #00ff00;
    margin-right: 10px;
}

/* Flicker-Effekt */
.flicker {
    animation: flicker-anim 1s infinite alternate;
}

@keyframes flicker-anim {
    0%   { opacity: 1; }
    100% { opacity: 0.8; }
}
