/* ===== THÈME MODERNE AVEC FOND ANIMÉ ET BELLES UI ===== */

:root {
    --primary-violet: #8b5cf6;
    --secondary-violet: #7c3aed;
    --accent-blue: #3b82f6;
    --dark-bg: #0f0f23;
    --card-bg: rgba(30, 30, 50, 0.8);
    --border-glow: rgba(139, 92, 246, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --shadow-glow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

/* ===== RESET ET BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ===== FOND ANIMÉ AVEC PARTICULES ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -2;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Particules flottantes animées */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particles-container::before,
.particles-container::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-violet);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--primary-violet),
        100px 200px 0 rgba(139, 92, 246, 0.8),
        200px 100px 0 rgba(59, 130, 246, 0.6),
        300px 300px 0 rgba(124, 58, 237, 0.4),
        400px 50px 0 rgba(139, 92, 246, 0.7),
        500px 250px 0 rgba(59, 130, 246, 0.5),
        600px 150px 0 rgba(124, 58, 237, 0.8),
        700px 350px 0 rgba(139, 92, 246, 0.3),
        800px 80px 0 rgba(59, 130, 246, 0.9),
        900px 180px 0 rgba(124, 58, 237, 0.6);
    animation: float 20s linear infinite;
}

.particles-container::after {
    animation-delay: -10s;
    animation-duration: 25s;
}

@keyframes float {
    0% { transform: translateY(100vh) translateX(0px) rotate(0deg); }
    100% { transform: translateY(-100px) translateX(100px) rotate(360deg); }
}

/* Supprimer toutes les démarcations */
section, .section {
    border: none !important;
    margin: 0 !important;
    padding: 80px 0 !important;
    background: transparent !important;
}

/* ===== HEADER MODERNE ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.header.scrolled {
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(25px);
    border-bottom-color: var(--primary-violet);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.2);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.logo:hover::after {
    width: 100%;
}

.brand-text {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.3));
}

.brand-accent {
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.3));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 20px;
    border-radius: 8px;
    display: block;
}

.nav-link:hover {
    color: var(--primary-violet);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
    background: rgba(139, 92, 246, 0.05);
    backdrop-filter: blur(10px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 20px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: calc(100% - 40px);
    box-shadow: 0 0 10px var(--primary-violet);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.action-btn {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    color: var(--primary-violet);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.action-btn:hover {
    background: var(--primary-violet);
    color: white;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    border-color: var(--primary-violet);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.twitch-btn:hover {
    background: #9146ff;
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.4);
}

/* Menu Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    backdrop-filter: blur(10px);
}

.hamburger:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary-violet);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-violet);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(139, 92, 246, 0.3);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MAIN ET CONTAINER ===== */
.main {
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION MODERNE ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 !important;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    text-align: left;
}

.hero-title {
    margin-bottom: 30px;
}

.title-main {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    display: block;
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.title-sub {
    font-size: 1.8rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 15px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    line-height: 1.7;
}

/* ===== STATS HERO MODERNES ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.stat-item {
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 25px 15px;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.stat-item:hover::before {
    transform: translateX(0);
}

.stat-item:hover {
    transform: translateY(-8px);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-violet);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== BOUTONS CTA MODERNES ===== */
.hero-actions {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 18px 35px;
    border: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn.primary {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    color: white;
    box-shadow: var(--shadow-glow);
}

.cta-btn.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
}

.cta-btn.secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-glow);
    backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
    background: var(--primary-violet);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ===== HERO VISUAL MODERNE ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stream-preview {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    transition: all 0.4s ease;
}

.stream-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    animation: borderMove 3s ease-in-out infinite;
}

@keyframes borderMove {
    0%, 100% { background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue)); }
    50% { background: linear-gradient(90deg, var(--accent-blue), var(--primary-violet)); }
}

.stream-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.stream-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stream-status.offline {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.stream-status.live {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.preview-content h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.preview-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.preview-icon {
    font-size: 4rem;
    color: var(--primary-violet);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.current-time {
    color: var(--text-secondary);
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

/* ===== SECTIONS TITLE MODERNES ===== */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
}

/* ===== ACTUALITÉS MODERNES ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* ===== ACTUALITÉS HORIZONTALES (3 DERNIÈRES) ===== */
.news-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.news-horizontal-grid .news-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(20px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.news-horizontal-grid .news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.news-horizontal-grid .news-card:hover::before {
    transform: scaleX(1);
}

.news-horizontal-grid .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.25);
    border-color: var(--primary-violet);
    background: rgba(139, 92, 246, 0.08);
}

.news-horizontal-grid .news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.news-horizontal-grid .news-type {
    background: var(--primary-violet);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-horizontal-grid .news-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    flex-grow: 1;
}

.news-horizontal-grid .news-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.news-horizontal-grid .news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.news-horizontal-grid .news-date {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-horizontal-grid .news-read-more {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-horizontal-grid .news-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top: 3px solid var(--primary-violet);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-actions {
    text-align: center;
    margin-top: 40px;
}

.view-all-news-btn {
    background: var(--glass-bg);
    border: 2px solid var(--primary-violet);
    color: var(--primary-violet);
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.view-all-news-btn:hover {
    background: var(--primary-violet);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.news-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-violet);
    background: rgba(139, 92, 246, 0.1);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.news-type {
    background: var(--primary-violet);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-content {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.news-date {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    font-weight: 500;
}

/* ===== FOOTER DES ACTUALITÉS ===== */
.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-author {
    color: var(--primary-violet);
    font-weight: 600;
    font-size: 0.95rem;
}

.news-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== BOUTON LIRE LA SUITE ===== */
.news-read-more {
    background: linear-gradient(135deg, var(--primary-violet), var(--secondary-violet));
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.news-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.news-read-more:hover::before {
    left: 100%;
}

.news-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--secondary-violet), var(--primary-violet));
}

.news-read-more:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.news-read-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* ===== PAGE ARTICLE INDIVIDUEL ===== */
.article-main {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: var(--bg-dark);
}

.article-navigation {
    margin-bottom: 40px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-violet);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border: 2px solid var(--primary-violet);
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(139, 92, 246, 0.1);
}

.back-button:hover {
    background: var(--primary-violet);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.article-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    backdrop-filter: blur(20px);
    position: relative;
}

.article-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 92, 246, 0.3);
    border-left: 4px solid var(--primary-violet);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(139, 92, 246, 0.2);
}

.article-type-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-violet), var(--secondary-violet));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-violet), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-weight: 500;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.article-author,
.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
}

.article-author i,
.article-date i {
    color: var(--primary-violet);
    font-size: 0.9rem;
}

.article-body {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body h2 {
    color: var(--primary-violet);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-weight: 700;
}

.article-body h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.article-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid rgba(139, 92, 246, 0.2);
}

.article-share h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.discord {
    background: #5865f2;
    color: white;
}

.share-btn.copy {
    background: var(--primary-violet);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ===== ARTICLES SUGGÉRÉS ===== */
.related-articles {
    margin-top: 60px;
}

.related-articles h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-articles h3 i {
    color: var(--primary-violet);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.related-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
    border-color: var(--primary-violet);
}

.related-type {
    background: var(--primary-violet);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.related-card h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.related-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
}

.related-date {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== ERREURS ARTICLE ===== */
.article-error {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-secondary);
}

.article-error i {
    font-size: 4rem;
    color: var(--primary-violet);
    margin-bottom: 20px;
}

.article-error h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.article-error p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.error-back-btn,
.error-retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-violet);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.error-back-btn:hover,
.error-retry-btn:hover {
    background: var(--secondary-violet);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

/* ===== RESPONSIVE ARTICLE ===== */
@media (max-width: 768px) {
    .article-main {
        padding: 100px 0 40px;
    }
    
    .article-content {
        padding: 25px;
        margin: 0 15px 40px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== MESSAGE D'ERREUR ACTUALITÉS ===== */
.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    backdrop-filter: blur(20px);
}

.error-message {
    max-width: 400px;
    margin: 0 auto;
}

.error-message i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 20px;
    display: block;
}

.error-message h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.error-message p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.error-detail {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    background: rgba(255, 107, 107, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin: 15px 0;
}

.retry-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    font-size: 1rem;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 255, 0.3);
}

/* ===== MODAL ACTUALITÉS ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 40px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-violet);
}

.modal-header h3 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.modal-meta {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-glow);
    padding-bottom: 20px;
}

.modal-body {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ===== COMMUNAUTÉ MODERNE AVEC COULEURS OFFICIELLES ===== */
.community-grid,
.community-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.community-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(20px);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== DISCORD - COULEUR OFFICIELLE ===== */
.community-card.disco {
    border-color: #5865f2;
    box-shadow: 0 8px 32px rgba(88, 101, 242, 0.15);
}

.community-card.disco::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5865f2, #7289da);
}

.community-card.disco:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.1);
    border-color: #7289da;
}

.community-card.disco .card-icon {
    color: #5865f2;
    filter: drop-shadow(0 0 20px rgba(88, 101, 242, 0.8));
}

.community-card.disco .card-btn {
    background: linear-gradient(45deg, #5865f2, #7289da);
    color: white;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.community-card.disco .card-btn:hover {
    box-shadow: 0 12px 35px rgba(88, 101, 242, 0.5);
    transform: translateY(-3px);
}

/* ===== TWITCH - COULEUR OFFICIELLE ===== */
.community-card.twch {
    border-color: #9146ff;
    box-shadow: 0 8px 32px rgba(145, 70, 255, 0.15);
}

.community-card.twch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9146ff, #772ce8);
}

.community-card.twch:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(145, 70, 255, 0.4);
    background: rgba(145, 70, 255, 0.1);
    border-color: #772ce8;
}

.community-card.twch .card-icon {
    color: #9146ff;
    filter: drop-shadow(0 0 20px rgba(145, 70, 255, 0.8));
}

.community-card.twch .card-btn {
    background: linear-gradient(45deg, #9146ff, #772ce8);
    color: white;
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.3);
}

.community-card.twch .card-btn:hover {
    box-shadow: 0 12px 35px rgba(145, 70, 255, 0.5);
    transform: translateY(-3px);
}

/* ===== YOUTUBE - COULEUR OFFICIELLE ===== */
.community-card.ytb {
    border-color: #ff0000;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.15);
}

.community-card.ytb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #cc0000);
}

.community-card.ytb:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.1);
    border-color: #cc0000;
}

.community-card.ytb .card-icon {
    color: #ff0000;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8));
}

.community-card.ytb .card-btn {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
}

.community-card.ytb .card-btn:hover {
    box-shadow: 0 12px 35px rgba(255, 0, 0, 0.5);
    transform: translateY(-3px);
}

/* ===== ÉLÉMENTS COMMUNS DES CARTES ===== */
.card-icon {
    font-size: 5rem;
    margin-bottom: 25px;
    display: block;
    transition: all 0.4s ease;
}

.card-icon.big {
    font-size: 6rem;
    margin-bottom: 30px;
}

.community-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-family: 'Orbitron', monospace;
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.2rem;
    flex-grow: 1;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.card-btn:hover::before {
    left: 100%;
}

.card-btn i {
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

/* ===== ANIMATIONS SPÉCIALES ===== */
@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.community-card:nth-child(1) {
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: 0s;
}

.community-card:nth-child(2) {
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: 2s;
}

.community-card:nth-child(3) {
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: 4s;
}

/* ===== EFFETS SUPPLÉMENTAIRES ===== */
.community-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    border-radius: 50%;
}

.community-card:hover::after {
    width: 200px;
    height: 200px;
}

/* ===== RESPONSIVE COMMUNAUTÉ ===== */
@media (max-width: 1024px) {
    .community-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .news-horizontal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .news-horizontal-grid .news-card {
        padding: 20px;
        min-height: 300px;
    }
    
    .news-horizontal-grid .news-title {
        font-size: 1.2rem;
    }
    
    .news-horizontal-grid .news-content {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .community-card {
        min-height: 350px;
        padding: 30px 20px;
    }
    
    .card-icon.big {
        font-size: 4.5rem;
        margin-bottom: 20px;
    }
    
    .community-card h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .community-card p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .community-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .news-horizontal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-horizontal-grid .news-card {
        padding: 20px;
        min-height: 280px;
    }
    
    .news-horizontal-grid .news-title {
        font-size: 1.1rem;
    }
    
    .news-horizontal-grid .news-content {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .community-card {
        min-height: 320px;
        padding: 25px 15px;
    }
    
    .card-icon.big {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }
    
    .community-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .community-card p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .card-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .community-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .community-card {
        min-height: 280px;
        padding: 20px 10px;
    }
    
    .card-icon.big {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }
    
    .community-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .community-card p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .card-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* ===== SECTION STREAM EN DIRECT MODERNE ===== */
.stream-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.stream-player {
    position: relative;
}

.stream-placeholder {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.stream-status-display {
    text-align: center;
    padding: 40px;
}

.status-icon {
    font-size: 4rem;
    color: var(--primary-violet);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}

.stream-status-display h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.stream-status-display p {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

#twitch-live-container iframe {
    border-radius: 20px;
    border: none;
}

/* ===== STREAM INFO MODERNE ===== */
.stream-info {
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 100px;
}

.stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.stream-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.stream-status.offline {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.stream-status.live {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.4);
    animation: livePulse 2s ease-in-out infinite;
}

.viewers-count {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 10px 16px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.stream-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.stream-category {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* ===== STREAM TAGS MODERNES ===== */
.stream-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tag {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* ===== BOUTONS STREAM CONTROLS MODERNES ===== */
.stream-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stream-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stream-controls button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.stream-controls button:hover::before {
    left: 100%;
}

.follow-btn {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.5);
}

.notify-btn {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    color: white;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.5);
}

.share-btn {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-glow);
    backdrop-filter: blur(10px);
}

.share-btn:hover {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

/* ===== BOUTON TWITCH SPÉCIAL ===== */
.twitch-stream-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: linear-gradient(45deg, #9146ff, #772ce8);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.3);
}

.twitch-stream-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.twitch-stream-btn:hover::before {
    left: 100%;
}

.twitch-stream-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(145, 70, 255, 0.5);
}

.twitch-stream-btn i {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* ===== CHAT SECTION MODERNE ===== */
.stream-chat {
    grid-column: 1 / -1;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 0;
    backdrop-filter: blur(20px);
    margin-top: 30px;
    overflow: hidden;
    max-height: 400px;
}

.chat-header {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.chat-header h4 {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-controls {
    display: flex;
    gap: 15px;
}

.chat-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.chat-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.chat-messages {
    padding: 20px 25px;
    max-height: 200px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
}

.chat-message {
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--primary-violet);
}

.chat-message.system {
    border-left-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.timestamp {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-right: 10px;
}

.username {
    color: var(--primary-violet);
    font-weight: 700;
    margin-right: 10px;
}

.username.system {
    color: var(--accent-blue);
}

.message {
    color: var(--text-primary);
}

.chat-input-area {
    padding: 15px 25px;
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
}

/* ===== CHAT TWITCH INTÉGRÉ ===== */
#twitch-chat-container {
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

#twitch-chat {
    border: none;
    border-radius: 0 0 20px 20px;
}

.chat-btn.active {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.chat-input {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.chat-input::placeholder {
    color: var(--text-secondary);
}

.send-btn {
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    border: none;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

/* ===== RESPONSIVE STREAM SECTION ===== */
@media (max-width: 1024px) {
    .stream-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stream-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .stream-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .stream-controls {
        gap: 12px;
    }
    
    .stream-controls button {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .chat-header {
        flex-direction: column;
        text-align: center;
    }
    
    .chat-controls {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .title-main {
        font-size: 3rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(25px);
        border: 1px solid var(--border-glow);
        border-top: none;
        border-radius: 0 0 15px 15px;
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px 20px;
        border-radius: 10px;
        background: rgba(139, 92, 246, 0.05);
        border: 1px solid rgba(139, 92, 246, 0.1);
        text-align: center;
        backdrop-filter: blur(10px);
    }
    
    .nav-link:hover {
        background: rgba(139, 92, 246, 0.15);
        border-color: var(--primary-violet);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .news-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .news-horizontal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        padding: 20px;
    }
}

/* ===== NOTIFICATIONS SYSTÈME ===== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(20px);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    min-width: 300px;
    box-shadow: var(--shadow-glow);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #10b981;
    color: #10b981;
}

.notification.error {
    border-left: 4px solid #ef4444;
    color: #ef4444;
}

.notification.info {
    border-left: 4px solid var(--primary-violet);
    color: var(--primary-violet);
}

.notification i {
    font-size: 1.2rem;
    min-width: 20px;
}

.notification span {
    font-weight: 500;
    color: var(--text-primary);
}

.notification:hover {
    transform: translateX(-5px);
    cursor: pointer;
}

/* ===== STYLES POUR PAGE CONTACT ===== */

/* Section contact */
.contact-section {
    padding: 6rem 2rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-violet), var(--accent-blue));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-header .icon {
    color: var(--primary-violet);
    margin-right: 1rem;
    font-size: 2.5rem;
}

/* Grille contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info, .contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.contact-info::before, .contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    border-radius: 24px 24px 0 0;
}

.contact-info h3, .contact-form h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-violet);
    width: 24px;
    text-align: center;
}

.contact-item span, .contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-violet);
}

/* Boutons sociaux */
.social-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-violet), var(--secondary-violet));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--secondary-violet), var(--primary-violet));
}

.social-btn i {
    font-size: 1.1rem;
}

/* Styles du formulaire */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-violet);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

input::placeholder, textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

select {
    cursor: pointer;
    appearance: none;
    background-color: rgba(30, 30, 50, 0.9);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
}

select option {
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 0.5rem;
    border: none;
}

select option:hover, select option:focus {
    background-color: var(--primary-violet);
    color: white;
}

textarea {
    min-height: 120px;
    max-height: 300px;
}

/* Bouton d'envoi */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--primary-violet), var(--accent-blue));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, var(--secondary-violet), var(--primary-violet));
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-left: 0.5rem;
}

/* Responsive pour contact */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-info, .contact-form {
        padding: 2rem;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .contact-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .social-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* ===== FOOTER MODERNE ===== */
.footer {
    position: relative;
    margin-top: 4rem;
    background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95) 0%, 
        rgba(30, 30, 50, 0.95) 50%, 
        rgba(22, 33, 62, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    border-top: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 -10px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
    animation: footerGlow 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes footerGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.footer-gradient {
    position: relative;
    z-index: 1;
}

.footer-content-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo-modern {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    position: relative;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.footer-logo-modern .brand-text {
    color: var(--text-primary);
    text-shadow: 
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 40px rgba(139, 92, 246, 0.3);
}

.footer-logo-modern .brand-accent {
    color: var(--primary-violet);
    text-shadow: 
        0 0 20px rgba(139, 92, 246, 0.8),
        0 0 40px rgba(139, 92, 246, 0.4);
}

.footer-social-modern {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social-modern button {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2), 
        rgba(59, 130, 246, 0.2)
    );
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer-social-modern button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-violet), var(--accent-blue));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-modern button:hover {
    transform: translateY(-5px) scale(1.1);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.4), 
        rgba(59, 130, 246, 0.4)
    );
    box-shadow: 
        0 8px 25px rgba(139, 92, 246, 0.4),
        0 0 30px rgba(139, 92, 246, 0.3);
    color: #ffffff;
}

.footer-social-modern button:hover::before {
    opacity: 1;
}

.footer-social-modern button:active {
    transform: translateY(-2px) scale(1.05);
}

.footer-links-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links-modern span:first-child {
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.footer-links-modern a {
    color: var(--primary-violet);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links-modern a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-violet), var(--accent-blue));
    transition: width 0.3s ease;
}

.footer-links-modern a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.footer-links-modern a:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content-modern {
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
    }
    
    .footer-logo-modern {
        font-size: 2rem;
    }
    
    .footer-social-modern {
        gap: 1rem;
    }
    
    .footer-social-modern button {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .footer-links-modern {
        font-size: 0.9rem;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer-content-modern {
        padding: 2rem 1rem;
    }
    
    .footer-logo-modern {
        font-size: 1.8rem;
    }
    
    .footer-social-modern button {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .footer-links-modern {
        font-size: 0.85rem;
    }
}