/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --gold: #d4af37;
    --light-gold: #f0d77e;
    --dark-gold: #b8941f;
    --text-white: #ffffff;
    --text-gray: #b3b3b3;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(0,0,0,0.7));
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0,0,0,0.98);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold);
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.logo-subtitle {
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--light-gold);
    margin-top: -5px;
}

/* MENU HAMBURGER PLEIN ÉCRAN POUR TOUS */
/* MENU HAMBURGER PLEIN ÉCRAN - VERSION COMPLÈTE */
.nav-menu {
    display: none;
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(26, 26, 26, 0.98) 100%);
    backdrop-filter: blur(20px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-menu.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 120px 20px 60px;
}

/* Liens de navigation */
.nav-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    padding: 20px 40px;
    border-radius: 0;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 500px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.nav-menu.active .nav-link {
    animation: fadeInUp 0.5s ease forwards;
}

.nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.15s; }
.nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.2s; }
.nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.25s; }
.nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.3s; }
.nav-menu.active .nav-link:nth-child(6) { animation-delay: 0.35s; }

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
}

/* Dropdowns dans le menu */
.nav-dropdown {
    width: 100%;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
}

.nav-menu.active .nav-dropdown {
    animation: fadeInUp 0.5s ease forwards;
}

.nav-menu.active .nav-dropdown:nth-of-type(2) { animation-delay: 0.4s; }
.nav-menu.active .nav-dropdown:nth-of-type(3) { animation-delay: 0.45s; }
.nav-menu.active .nav-dropdown:nth-of-type(4) { animation-delay: 0.5s; }
.nav-menu.active .nav-dropdown:nth-of-type(5) { animation-delay: 0.55s; }

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 24px;
    padding: 20px 40px;
    color: var(--text-white);
    background: none;
    border: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.dropdown-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    background: rgba(26, 26, 26, 0.5);
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
}

.nav-dropdown.active .dropdown-content {
    display: block;
    animation: slideDown 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 15px 40px 15px 60px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.05);
    letter-spacing: 1px;
}

.dropdown-content a:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
    padding-left: 70px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 8px 40px 8px 20px;
    color: var(--text-white);
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    width: 250px;
}

.search-icon {
    position: absolute;
    right: 15px;
    font-size: 16px;
}

/* Menu Toggle Button - TOUJOURS VISIBLE */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1002;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
    margin-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--primary-black) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 28px;
    letter-spacing: 8px;
    color: var(--text-gray);
    margin-bottom: 10px;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 72px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 10px;
    margin-bottom: 30px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeIn 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeIn 1s ease 0.6s both;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--primary-black);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--gold);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}

.section-count {
    color: var(--text-gray);
    font-size: 14px;
}

.see-all {
    color: var(--gold);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.see-all:hover {
    color: var(--light-gold);
    transform: translateX(5px);
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-spinner p {
    margin-top: 20px;
    font-size: 16px;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Video Card */
.video-card {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--secondary-black) 100%);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--dark-gray) 100%);
    overflow: hidden;
}

.video-thumbnail-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    opacity: 0.3;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-overlay {
    opacity: 1;
}

.play-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.8);
}

.video-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(212, 175, 55, 0.95);
    color: var(--primary-black);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
}

.video-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 700;
}

.status-available {
    background: rgba(34, 197, 94, 0.95);
    color: white;
}

.status-soon {
    background: rgba(249, 115, 22, 0.95);
    color: white;
}

.video-info {
    padding: 12px 15px;
}

.video-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.video-rating {
    color: var(--gold);
    font-weight: 600;
}

.video-description {
    font-size: 12px;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    padding: 0 60px;
}

/* Carousel Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: var(--primary-black);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.carousel-nav:hover {
    background: var(--gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

.carousel-nav-left {
    left: 0;
}

.carousel-nav-right {
    right: 0;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Video Carousel */
.video-carousel {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) var(--dark-gray);
    scroll-snap-type: x mandatory;
}

.carousel-track::-webkit-scrollbar {
    height: 6px;
}

.carousel-track::-webkit-scrollbar-track {
    background: var(--dark-gray);
    border-radius: 10px;
}

.carousel-track::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.carousel-track .video-card {
    min-width: 240px;
    max-width: 240px;
    flex-shrink: 0;
    scroll-snap-align: start;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state-title {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 10px;
}

.empty-state-text {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Footer Moderne */
.footer {
    background: linear-gradient(180deg, var(--secondary-black) 0%, #000000 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 60px 0 30px;
    margin-top: 100px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo-text {
    font-size: 32px;
    font-weight: bold;
    color: var(--gold);
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.footer-logo-subtitle {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--light-gold);
    margin-top: -5px;
}

.footer-description {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 350px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--primary-black);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    transition: all 0.3s ease;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
    margin: 40px 0 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-copyright strong {
    color: var(--gold);
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 13px;
    font-style: italic;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .logo-text {
        font-size: 22px;
        letter-spacing: 2px;
    }
    
    .logo-subtitle {
        font-size: 8px;
    }
    
    .search-box {
        display: none;
    }
    
    .nav-link,
    .dropdown-toggle {
        font-size: 20px;
        padding: 18px 30px;
    }
    
    .dropdown-content a {
        font-size: 15px;
        padding: 12px 30px 12px 50px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero-subtitle {
        font-size: 48px;
        letter-spacing: 5px;
    }
    
    .hero-title {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .carousel-container {
        padding: 0 10px;
    }
    
    .carousel-nav {
        display: none;
    }
    
    .carousel-track {
        gap: 12px;
    }
    
    .carousel-track .video-card {
        min-width: 200px;
        max-width: 200px;
    }
    
    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-description {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 20px;
    }
    
    .nav-link,
    .dropdown-toggle {
        font-size: 18px;
        padding: 16px 20px;
    }
    
    .dropdown-content a {
        font-size: 14px;
        padding: 10px 20px 10px 40px;
    }
    
    .hero-subtitle {
        font-size: 36px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-track .video-card {
        min-width: 180px;
        max-width: 180px;
    }
    
    .footer-logo-text {
        font-size: 28px;
    }
    
    .footer-title {
        font-size: 14px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
}