.sound-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: 0.25s ease;
}

.sound-btn.playing {
    width: 110px;
    height: 60px;
    border-radius: 999px;
    gap: 12px;
}



.playing-waves {
    display: none;
    gap: 4px;
}

.sound-btn.playing .playing-waves {
    display: inline-flex;
}

.playing-waves .bar {
    width: 4px;
    height: 10px;
    background: #fff;
    border-radius: 50px;
    transition: height 0.1s, opacity 0.1s;
}
.sound-btn {
    box-shadow:
        0 0 10px rgba(255,255,255,0.5),
        inset 0 0 15px rgba(255,255,255,0.3);
}

.sound-btn:hover {
    transform: scale(1.08);
    background: rgba(255,255,255,0.28);
    box-shadow:
        0 0 18px rgba(255,255,255,0.8),
        inset 0 0 20px rgba(255,255,255,0.45);
}


/* A natív mobil audio vezérlők elrejtése */
audio {
    display: none !important;
}


audio::-webkit-media-controls-panel,
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}


/* PLAY ikon – fehér háromszög */
.play-icon {
    width: 0;
    height: 0;
    display: inline-block;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #ffffff;
    vertical-align: middle;
}

/* PAUSE ikon – garantált működés ABSOLUTE pozícionálással */
.pause-icon {
    position: relative;
    width: 14px;          /* csíkok közelsége */
    height: 20px;
    display: inline-block;
}

/* két csík */
.pause-icon::before,
.pause-icon::after {
    content: "";
    position: absolute;
    width: 4px;           /* csík vastagsága */
    height: 100%;
    background: white;
    border-radius: 2px;
}

/* bal csík */
.pause-icon::before {
    left: 0;
}

/* jobb csík — kicsit közelebb a balhoz */
.pause-icon::after {
    right: 0;
}


