/* ========================================
   DIZS AUDIO PLAYER STYLES - MAKANI ANIMATION
   IMMER ANIMIERT (wie bei makani.uz)
   ======================================== */

/* Audio Element verstecken */
.dizs-audio {
    display: none;
}

/* Sound Player Container - UNTEN MITTIG positioniert */
.dizs-sound-player {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.dizs-sound-player:hover {
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Text Label */
.dizs-sound-player__text {
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animierte Balken Container */
.dizs-sound-player__anim {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 18px;
}

/* Einzelne Balken - IMMER ANIMIERT (wie bei makani) */
.dizs-sound-player__anim span {
    width: 1px;
    height: 18px;
    background: #fff;  /* Weiß wenn pausiert */
    border-radius: 2px;
    /* ANIMATION LÄUFT IMMER! */
    animation: dizs-sound-wave 2s ease-in-out infinite;
}

/* MAKANI DELAYS - Chaotische Reihenfolge (IMMER aktiv) */
.dizs-sound-player__anim span:nth-child(1) {
    animation-delay: 0s;
}
.dizs-sound-player__anim span:nth-child(2) {
    animation-delay: -0.2s;
}
.dizs-sound-player__anim span:nth-child(3) {
    animation-delay: -0.8s;
}
.dizs-sound-player__anim span:nth-child(4) {
    animation-delay: -0.4s;
}
.dizs-sound-player__anim span:nth-child(5) {
    animation-delay: -0.6s;
}
.dizs-sound-player__anim span:nth-child(6) {
    animation-delay: 0s;
}

/* NUR Farbwechsel wenn active - Animation läuft immer! */
.dizs-sound-player__anim.active span {
    background: #d4af37;  /* Gold wenn Audio läuft */
}

/* Keyframe Animation - EXAKT WIE BEI MAKANI */
@keyframes dizs-sound-wave {
    0%, 100% {
        height: 4px;
    }
    50% {
        height: 18px;
    }
}

/* Tablet Anpassungen */
@media (max-width: 991px) {
    .dizs-sound-player {
        bottom: 25px;
        font-size: 13px;
        padding: 10px 18px;
    }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .dizs-sound-player {
        bottom: 20px;
        font-size: 12px;
        gap: 8px;
        padding: 10px 16px;
    }
    
    .dizs-sound-player__anim {
        height: 15px;
        gap: 2px;
    }
    
    .dizs-sound-player__anim span {
        width: 1px;
    }
    
    /* Mobile Animation */
    @keyframes dizs-sound-wave {
        0%, 100% {
            height: 3px;
        }
        50% {
            height: 15px;
        }
    }
}

/* Sehr kleine Bildschirme */
@media (max-width: 480px) {
    .dizs-sound-player {
        bottom: 19px;
        padding: 14px 14px;
    }
    
    .dizs-sound-player__text {
        font-size: 14px;
        font-weight: 700;
    }
}

/* Extra kleine Bildschirme - Text ausblenden */
@media (max-width: 380px) {
    .dizs-sound-player__text {
        display: none;
    }
    
    .dizs-sound-player {
        padding: 10px 12px;
    }
}