/* --- GRUNDLAYOUT --- */
body {
    font-family: sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 40px;
}

/* --- BILDER CONTAINER --- */
.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.responsive-img {
    max-width: 90vw;
    height: auto;
    display: block;
}

.responsive-img:not(.text-img) {
    max-height: 300px; 
}

.text-img {
    max-height: 160px;
}

/* --- IMAGE PLAYER WRAPPER --- */
.image-player-wrapper {
    position: relative; /* Wichtig, damit der Button sich am Bild orientiert */
    display: inline-block;
}

/* --- OVERLAY BUTTON --- */
.overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert den Button exakt in der Mitte des Bildes */
    width: 80px;
    height: 80px;
    font-size: 45px; /* Etwas größeres Icon */
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6); /* Schwarz mit 60% Deckkraft (transparent) */
    color: #fff;
    cursor: pointer;
    opacity: 0; /* Standardmäßig unsichtbar */
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    justify-content: center;
    align-items: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* Hover-Effekt: Zeigt den Button, wenn die Maus über das Bild ODER den Button fährt */
.image-player-wrapper:hover .overlay-btn {
    opacity: 1; 
}

.overlay-btn:hover {
    background-color: rgba(0, 0, 0, 0.8); /* Etwas dunkler, wenn die Maus direkt auf dem Button ist */
    transform: translate(-50%, -50%) scale(1.1); /* Leichter Zoom */
}

.overlay-btn:active {
    transform: translate(-50%, -50%) scale(0.95); /* Klick-Effekt */
}

/* --- FALLBACK --- */
.noscript-player {
    text-align: center;
    margin-top: 20px;
}

.noscript-player p {
    color: #ff4d4d;
    font-weight: bold;
    margin-bottom: 10px;
}