/* Custom rainbow skin for HTML5 audio player */
.custom audio {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #4e89ae, #a77dc2);
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom audio::-webkit-media-controls-panel {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #4e89ae, #a77dc2);
}

.custom audio::-webkit-media-controls-play-button,
.custom audio::-webkit-media-controls-timeline,
.custom audio::-webkit-media-controls-volume-slider {
    filter: brightness(1.2) contrast(1.2);
}

.custom .bfp-player-title {
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.custom .bfp-player-wrapper {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.custom .bfp-player-wrapper::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Add some fun hover effects */
.custom .bfp-player-wrapper:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.custom audio:hover {
    filter: brightness(1.1);
    transition: filter 0.3s ease;
}
