.video-player {
    text-align: left;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/**
 * Video Player Container
 * PRIMARY SOURCE - Cette classe est la source de vérité pour le conteneur du player vidéo.
 * Ne pas dupliquer dans d'autres fichiers CSS.
 * Gère: dimensions, border-radius, ombre, overflow, background
 */
.video-player-container {
    text-align: left;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 4px 12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

.video-player-container:hover {
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.6),
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.vp-video {
    text-align: left;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    display: block;
    margin-left: 0;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.vp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vp-big-play-btn {
    pointer-events: auto;
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 1;
}

.vp-big-play-btn svg {
    width: 40px;
    height: 40px;
    color: #fff;
    fill: #fff;
    margin-left: 4px;
}

.vp-big-play-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.vp-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 60px 20px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.vp-controls-left,
.vp-controls-center,
.vp-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vp-controls-center {
    flex: 1;
    justify-content: center;
}

.vp-play-btn,
.vp-fullscreen-btn,
.vp-subtitles-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.vp-play-btn svg,
.vp-fullscreen-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
    fill: #fff;
}

.vp-subtitles-toggle svg {
    width: 14px;
    height: 14px;
    color: #fff;
    stroke: #fff;
}

.vp-play-btn:hover,
.vp-fullscreen-btn:hover,
.vp-subtitles-toggle:hover {
    background: rgba(255,255, 255, 0.1);
}

.vp-play-btn:active,
.vp-fullscreen-btn:active,
.vp-subtitles-toggle:active {
    transform: scale(0.95);
}

.vp-play-btn svg,
.vp-fullscreen-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
    fill: #fff;
}

.vp-play-btn:hover,
.vp-fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vp-play-btn:active,
.vp-fullscreen-btn:active {
    transform: scale(0.95);
}

.vp-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-family: monospace;
    font-weight: 500;
}

.vp-time-separator {
    opacity: 0.6;
}

.vp-seek-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: height 0.2s ease, transform 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.vp-seek-bar-container:hover {
    height: 8px;
    transform: translateY(-2px);
}

.vp-seek-buffer {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    width: 0%;
}

.vp-seek-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #c9a961;
    width: 0%;
    transition: width 0.1s linear;
}

.vp-seek-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease, left 0.1s linear;
}

.vp-seek-bar-container:hover .vp-seek-thumb {
    opacity: 1;
}

.vp-seek-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.01;
    cursor: pointer;
    z-index: 100;
    -webkit-appearance: none;
    appearance: none;
}

.vp-seek-input::-webkit-slider-runnable-track {
    -webkit-appearance: none;
}

.vp-seek-input::-webkit-slider-thumb {
    -webkit-appearance: none;
}

.vp-seek-input::-moz-range-track {
    -moz-appearance: none;
}

.vp-seek-input::-moz-range-thumb {
    -moz-appearance: none;
}

@media (max-width: 768px) {
    .vp-controls {
        padding: 40px 12px 12px;
        gap: 8px;
    }

    .vp-controls-center {
        gap: 8px;
    }

    .vp-big-play-btn {
        width: 60px;
        height: 60px;
    }

    .vp-big-play-btn svg {
        width: 30px;
        height: 30px;
    }

    .vp-play-btn svg,
    .vp-fullscreen-btn svg {
        width: 20px;
        height: 20px;
    }

    .vp-time {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .vp-controls {
        padding: 30px 8px 8px;
        gap: 6px;
    }

    .vp-controls-center {
        gap: 6px;
    }

    .vp-big-play-btn {
        width: 50px;
        height: 50px;
    }

    .vp-big-play-btn svg {
        width: 24px;
        height: 24px;
    }

    .vp-play-btn svg,
    .vp-fullscreen-btn svg {
        width: 18px;
        height: 18px;
    }

    .vp-time {
        font-size: 10px;
    }
}