:root {
            --primary-color: #7ceded;
            --secondary-color: #25303b;
            --tertiary-color: #6d3dc5;
            --accent-color: #a9b6c3;
            --dark-bg: #0E0E1A;
            --light-text: #F4F4F4;
            --gradient-bg: linear-gradient(90deg, #46280f, #5c6a79, #a9b6c3, #dce6ef, #6dcde0, #2f2932, #2f3540);
            --vh: 1vh;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--dark-bg);
            color: var(--light-text);
            overflow-x: hidden;
        }

        /* Navigation (preserved from original) */
        .nav-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(14, 14, 26, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .logo-container .logo-img {
            height: 50px;
            width: auto;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-link {
            color: var(--light-text);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-link:hover, .nav-link.active {
            color: var(--primary-color);
        }

        .burger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            z-index: 1001;
            position: relative;
        }

        .burger-line {
            width: 25px;
            height: 3px;
            background: var(--light-text);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .burger.active .burger-line:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .burger.active .burger-line:nth-child(2) {
            opacity: 0;
        }

        .burger.active .burger-line:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(14, 14, 26, 0.98);
            backdrop-filter: blur(20px);
            padding: 6rem 2rem 2rem;
            z-index: 999;
            opacity: 0;
            transform: translateY(-100%);
            transition: all 0.4s ease;
        }

        .mobile-menu.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu a {
            display: block;
            padding: 1.5rem 0;
            color: var(--light-text);
            text-decoration: none;
            border-bottom: 1px solid rgba(124, 237, 237, 0.2);
            font-size: 1.2rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .mobile-menu a:hover {
            color: var(--primary-color);
            padding-left: 1rem;
        }

      /* Hero Video Section */
.video-section {
    position: relative;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    overflow: hidden;
}

#mainVideo {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    
    /* Ajouts pour mobile */
    @media (max-width: 768px) and (orientation: portrait) {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(14, 14, 26, 0.7), rgba(109, 61, 197, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    
    /* Ajouts pour mobile */
    @media (max-width: 768px) {
        background: linear-gradient(45deg, rgba(14, 14, 26, 0.8), rgba(109, 61, 197, 0.4));
    }
}

/* Correction de la hauteur sur mobile pour éviter les problèmes de barre d'adresse */
@media (max-width: 768px) {
    .video-section {
        height: 100vh;
        height: -webkit-fill-available;
    }
}
        .hero-content {
            text-align: center;
            max-width: 800px;
            padding: 0 2rem;
        }

        .hero-title {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: glow 2s ease-in-out infinite alternate;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        @keyframes glow {
            from { filter: drop-shadow(0 0 20px rgba(124, 237, 237, 0.5)); }
            to { filter: drop-shadow(0 0 30px rgba(109, 61, 197, 0.8)); }
        }

        /* Main Content */
        .container {
            margin-top: 2rem;
            position: relative;
            z-index: 2;
        }

        /* Section Title */
        .section-title {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
        }

        .section-title h2 {
            font-size: 3rem;
            font-weight: 700;
            background: var(--gradient-bg);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
            border-radius: 2px;
        }

        /* Video Cards */
        .video-card {
            background: linear-gradient(135deg, rgba(37, 48, 59, 0.8), rgba(109, 61, 197, 0.1));
            border-radius: 20px;
            overflow: hidden;
            transition: all 0.4s ease;
            border: 1px solid rgba(124, 237, 237, 0.2);
            backdrop-filter: blur(10px);
            position: relative;
            margin-bottom: 2rem;
        }

        .video-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(124, 237, 237, 0.3);
            border-color: var(--primary-color);
        }

        .video-thumbnail {
            position: relative;
            overflow: hidden;
            aspect-ratio: 16/9;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .video-card:hover .video-thumbnail img {
            transform: scale(1.1);
        }

        .video-play {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .video-play:hover {
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: 0 15px 40px rgba(124, 237, 237, 0.4);
        }

        .play-icon {
            width: 0;
            height: 0;
            border-left: 20px solid white;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            margin-left: 4px;
        }

        .video-info {
            padding: 1.5rem;
        }

        .video-title {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--light-text);
        }

        .video-link {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .video-link:hover {
            color: var(--tertiary-color);
        }

        /* View All Button */
        .view-all {
            text-align: center;
            margin: 3rem 0;
        }

        .view-all-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 1rem 2rem;
            background: linear-gradient(45deg, var(--primary-color), var(--tertiary-color));
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(124, 237, 237, 0.3);
        }

        .view-all-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(124, 237, 237, 0.5);
            color: white;
        }

        /* Latest Video Section */
        .latest-video-section {
            background: linear-gradient(135deg, rgba(37, 48, 59, 0.5), rgba(109, 61, 197, 0.1));
            border-radius: 20px;
            padding: 2rem;
            margin: 4rem 0;
            border: 1px solid rgba(124, 237, 237, 0.2);
            backdrop-filter: blur(10px);
        }

        .latest-video-title {
            text-align: center;
            font-size: 2rem;
            font-weight: 600;
            margin-bottom: 2rem;
            color: var(--primary-color);
        }

        .latest-video-container {
            position: relative;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 15px;
            overflow: hidden;
            aspect-ratio: 16/9;
        }

        .loading-spinner {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            min-height: 300px;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(124, 237, 237, 0.3);
            border-top: 3px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 1rem;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 3rem;
            }
            
            .section-title h2 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .burger {
                display: flex;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .nav-content {
                padding: 0 1rem;
            }

            .video-play {
                width: 60px;
                height: 60px;
            }

            .play-icon {
                border-left: 15px solid white;
                border-top: 9px solid transparent;
                border-bottom: 9px solid transparent;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
            }

            .hero-subtitle {
                font-size: 1rem;
            }

            .section-title h2 {
                font-size: 1.8rem;
            }

            .latest-video-section {
                padding: 1.5rem;
            }

            .video-info {
                padding: 1rem;
            }

            .video-title {
                font-size: 1.2rem;
            }
        }

        /* Background Animation */
        .videos-section {
            position: relative;
        }

        .videos-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 20%, rgba(124, 237, 237, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(109, 61, 197, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 60%, rgba(169, 182, 195, 0.05) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        /* Scroll Animation */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }