/* Made for Arcadia by Vyrriox */
.custom-video-player {
    position: relative;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(245, 158, 11, 0.2);
}

.custom-video-player video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.7), transparent);
    padding: 20px 15px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.custom-video-player:hover .video-controls,
.custom-video-player.playing .video-controls {
    opacity: 1;
}

.control-btn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--arcadia-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: var(--arcadia-primary);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.6);
}

.control-btn i {
    font-size: 1.2rem;
}

.progress-bar-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-filled {
    height: 100%;
    background: linear-gradient(90deg, var(--arcadia-primary), #d97706);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--arcadia-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

.time-display {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.volume-slider {
    width: 80px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--arcadia-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--arcadia-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.8);
}


@media (max-width: 768px) {
    .volume-slider {
        display: none;
    }
    
    .video-controls {
        padding: 15px 10px 10px;
        gap: 8px;
    }
    
    .control-btn {
        width: 36px;
        height: 36px;
    }
}
