.custom-audio-player {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.audio-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    bottom: -40px; /* Отрицательное значение — кнопка выходит за нижний край */
    right: -40px;  /* Отрицательное значение — кнопка выходит за правый край */
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(128, 128, 128, 0.4); /* Серая тень */
    z-index: 10; /* Кнопка поверх обложки */
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 12px rgba(128, 128, 128, 0.6); /* Усиление тени при наведении */
}

.play-button.playing {
    background: #ff6b6b; /* Красный цвет при воспроизведении */
    box-shadow: 0 4px 8px rgba(100, 100, 100, 0.5);
}

.triangle {
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid #333;
    margin-left: 4px;
}

.play-button.playing .triangle {
    border-left-color: white; /* Белый треугольник при воспроизведении */
}

audio {
    display: none;
}
