* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
        }
        
        body {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #001510);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        
        .player-container {
            width: 100%;
            max-width: 900px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
            border-radius: 20px;
            overflow: hidden;
            position: relative;
        }
        
        .video-wrapper {
            position: relative;
            padding-top: 56.25%; /* Ratio 16:9 */
        }
        
        .custom-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 20px 20px 0 0;
        }
        
        .controls {
            background: rgba(0, 0, 0, 0.8);
            padding: 15px;
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            backdrop-filter: blur(10px);
        }
        
        .progress-area {
            width: 100%;
            height: 8px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            cursor: pointer;
        }
        
        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #ff416c, #ff4b2b);
            border-radius: 10px;
            position: relative;
        }
        
        .controls-bottom {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .controls-left, .controls-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .control-btn {
            background: transparent;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease;
        }
        
        .control-btn:hover {
            color: #ff4b2b;
            transform: scale(1.1);
        }
        
        .volume-area {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        input[type="range"] {
            height: 5px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.2);
            outline: none;
        }
        
        input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: #ff4b2b;
            cursor: pointer;
        }
        
        .time {
            color: #fff;
            font-size: 14px;
            display: flex;
            gap: 5px;
        }
        
        .fullscreen {
            font-size: 22px;
        }
        
        /* Animation de chargement */
        .loader {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 60px;
            height: 60px;
            border: 5px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top: 5px solid #ff4b2b;
            animation: spin 1s linear infinite;
            display: none;
        }
        
        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }
        
        /* Titre flottant */
        .video-title {
            position: absolute;
            top: 20px;
            left: 20px;
            color: white;
            font-size: 24px;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            opacity: 0;
            transition: opacity 0.5s;
            z-index: 10;
        }
        
        .player-container:hover .video-title {
            opacity: 1;
        }

          /* Ajout du style pour le bouton d'accueil */
        .home-btn {
            position: absolute;
            top: 20px;
            left: 20px;
            z-index: 100;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }
        
        .home-btn:hover {
            background: #ff4b2b;
            transform: scale(1.1);
        }