
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }

        body {
            min-height: 100vh;
            background: linear-gradient(145deg, #0a0c14 0%, #1a1f2e 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        /* Conteneur principal */
        .player-container {
            position: relative;
            max-width: 1000px;
            width: 100%;
            background: #0f1219;
            border-radius: 32px;
            box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7), 0 0 0 2px rgba(255, 215, 0, 0.1) inset;
            overflow: hidden;
            transition: box-shadow 0.4s ease;
        }

        .player-container:hover {
            box-shadow: 0 40px 60px rgba(0, 0, 0, 0.9), 0 0 0 3px rgba(255, 215, 0, 0.2) inset;
        }

        /* Bouton retour */
        .home-btn {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 20;
            width: 48px;
            height: 48px;
            background: rgba(20, 25, 40, 0.8);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 215, 0, 0.3);
            border-radius: 50%;
            color: #ffd700;
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
        }

        .home-btn:hover {
            background: #ffd700;
            color: #0f1219;
            border-color: #ffd700;
            transform: scale(1.1) rotate(-3deg);
            box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
        }

        /* Loader premium */
        .loader {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 70px;
            height: 70px;
            border: 5px solid rgba(255, 215, 0, 0.1);
            border-top: 5px solid #ffd700;
            border-radius: 50%;
            animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
            z-index: 15;
            display: none;
            box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        /* Titre vidéo */
        .video-title {
            position: absolute;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            font-size: 1.5rem;
            font-weight: 600;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 215, 0, 0.5);
            background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
            padding: 8px 30px;
            border-radius: 50px;
            backdrop-filter: blur(5px);
            z-index: 10;
            opacity: 0;
            transition: opacity 0.5s ease;
            white-space: nowrap;
            letter-spacing: 1px;
        }

        /* Wrapper vidéo */
        .video-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16/9;
            background: #000;
            cursor: pointer;
        }

        .custom-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            pointer-events: none;
        }

        /* Contrôles */
        .controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
            padding: 20px 25px 15px;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 25;
            backdrop-filter: blur(5px);
            border-top: 2px solid rgba(255, 215, 0, 0.2);
        }

        .player-container:hover .controls,
        .player-container:focus-within .controls {
            transform: translateY(0);
        }

        /* Barre de progression */
        .progress-area {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            margin-bottom: 18px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }

        .progress-bar {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, #ffd700, #ffaa00);
            border-radius: 10px;
            position: relative;
            transition: width 0.1s linear;
            box-shadow: 0 0 15px #ffd700;
        }

        .progress-bar::after {
            content: '';
            position: absolute;
            right: -5px;
            top: 50%;
            transform: translateY(-50%);
            width: 14px;
            height: 14px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 0 15px #ffd700;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .progress-area:hover .progress-bar::after {
            opacity: 1;
        }

        /* Contrôles bas */
        .controls-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
        }

        .controls-left, .controls-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .control-btn {
            background: transparent;
            border: none;
            color: white;
            font-size: 1.4rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(5px);
        }

        .control-btn:hover {
            background: #ffd700;
            color: #0f1219;
            transform: scale(1.1);
            box-shadow: 0 0 25px #ffd700;
        }

        .play-btn {
            background: #ffd700;
            color: #0f1219;
            font-size: 1.2rem;
        }

        .play-btn:hover {
            background: white;
        }

        .volume-area {
            width: 100px;
        }

        .volume-slider {
            width: 100%;
            height: 6px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.2);
            -webkit-appearance: none;
            appearance: none;
            outline: none;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: #ffd700;
            cursor: pointer;
            box-shadow: 0 0 15px #ffd700;
            transition: 0.2s;
        }

        .volume-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
        }

        .time {
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 1px;
            background: rgba(255, 255, 255, 0.1);
            padding: 5px 10px;
            border-radius: 50px;
            backdrop-filter: blur(5px);
        }

        .speed-btn {
            font-size: 1rem;
            font-weight: 600;
        }

        .fullscreen {
            font-size: 1.4rem;
        }

        /* Animation d'apparition */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .player-container {
            animation: fadeIn 0.6s ease-out;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .controls {
                padding: 15px;
            }
            
            .volume-area {
                width: 60px;
            }
            
            .time {
                font-size: 0.8rem;
            }
            
            .video-title {
                font-size: 1.2rem;
                padding: 5px 15px;
            }
        }
    