/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-light: #f1f5f9;
    --text-gray: #94a3b8;
    --success: #10b981;
    --error: #ef4444;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(245, 158, 11, 0.2) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 2rem;
    animation: slideInDown 1s ease-out;
}

.site-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.live-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
    animation: pulse 2s infinite;
}

.main-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.brand {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-subtitle {
    animation: slideInUp 1s ease-out 0.5s both;
}

.hero-subtitle p {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid #ef4444;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.live-indicator:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
}

.pulse {
    width: 12px;
    height: 12px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Navigation */
.navigation {
    position: sticky;
    top: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 100;
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
    background: var(--gradient);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.special-nav {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: white !important;
    animation: specialGlow 2s ease-in-out infinite alternate;
}

.bonus-nav {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    animation: bonusGlow 2s ease-in-out infinite alternate;
}

@keyframes specialGlow {
    from { box-shadow: 0 0 20px rgba(245, 158, 11, 0.5); }
    to { box-shadow: 0 0 30px rgba(245, 158, 11, 0.8); }
}

@keyframes bonusGlow {
    from { box-shadow: 0 0 20px rgba(16, 185, 129, 0.5); }
    to { box-shadow: 0 0 30px rgba(16, 185, 129, 0.8); }
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Planning Section */
.timeline-container {
    display: grid;
    gap: 4rem;
}

.day-container {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: var(--shadow);
    animation: fadeInUp 0.8s ease-out;
}

.day-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.day-header h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.timeline {
    display: grid;
    gap: 1.5rem;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.timeline-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

/* Timeline item types */
.timeline-item.opening { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05)); }
.timeline-item.games { background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(99, 102, 241, 0.05)); }
.timeline-item.guests { background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(139, 92, 246, 0.05)); }
.timeline-item.break { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05)); }
.timeline-item.special { background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05)); }
.timeline-item.talk { background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05)); }
.timeline-item.night { background: linear-gradient(135deg, rgba(75, 85, 99, 0.1), rgba(75, 85, 99, 0.05)); }
.timeline-item.morning { background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.05)); }
.timeline-item.closing { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.05)); }
.timeline-item.casino { background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05)); }
.timeline-item.competition { background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(255, 69, 0, 0.05)); }
.timeline-item.quiz { background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(138, 43, 226, 0.05)); }

.time-badge {
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.timeline-item .content h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-item .content p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    display: block;
}

.info-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.info-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow);
}

.social-link.dlive:hover { background: #ffc107; color: #000; }
.social-link.youtube:hover { background: #ff0000; }
.social-link.discord:hover { background: #5865f2; }
.social-link.twitter:hover { background: #1da1f2; }

.social-link i {
    font-size: 2rem;
}

.social-link span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Live Info */
.live-info {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: var(--shadow);
    text-align: center;
}

.live-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ef4444;
    animation: pulse 2s infinite;
}

.live-info p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.watch-live-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.watch-live-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(239, 68, 68, 0.4);
}

.watch-live-btn i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: rgba(15, 23, 42, 0.8);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 2rem;
    text-align: center;
}

.footer-content p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.footer-content p:first-child {
    font-weight: 600;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .day-container {
        padding: 1.5rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        min-width: 100px;
        padding: 1rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem 0.5rem;
    }

    .countdown-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .brand {
        font-size: 1.2rem;
    }

    .hero-subtitle p {
        font-size: 1.2rem;
    }

    .live-indicator {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .timeline-item .content h5 {
        font-size: 1rem;
    }

    .timeline-item .content p {
        font-size: 0.85rem;
    }

    .time-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Accessibilité et animations avancées */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Effet de particules en arrière-plan */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.1), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(99, 102, 241, 0.2), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(1px 1px at 60% 10%, rgba(245, 158, 11, 0.2), transparent);
    background-repeat: repeat;
    background-size: 550px 550px, 350px 350px, 250px 250px, 150px 150px;
    animation: sparkle 20s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {
    from { transform: translateY(0px); }
    to { transform: translateY(-550px); }
}
