/* ================================================================
   IMPORT POLICES (à charger dans le HTML)
   ================================================================ */
/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Orbitron:wght@400;700;800;900&display=swap'); */

/* ================================================================
   RESET & GÉNÉRAL
   ================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif;
    background: #0A0A0F;
    color: #E8E8F0;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
}

a {
    color: #FF0055;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: #00D4FF;
}

/* ================================================================
   FONDS (vidéo & particules)
   ================================================================ */
#myVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    height: 100vh;
    width: 100%;
    object-fit: fill;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Conteneur de contenu (pour la vidéo) */
.content {
    background: rgba(10, 10, 15, 0.95);
    width: 100%;
}
.content .container {
    width: 70%;
}

/* Conteneur de contenu (pour la photo) */
.content-photo {
    background:linear-gradient(rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.95)),url("../assets/img/content-bg.jpg")!important;
    background-size:cover!important;
    background-attachment:fixed!important;
    background-position:center!important;
    width: 100%!important;
}
.content .container {
    width: 70%;
}

/* ================================================================
   VARIABLES & NEON
   ================================================================ */
:root {
    --neon-red: #FF0055;
    --neon-blue: #00D4FF;
    --neon-purple: #A855F7;
    --neon-pink: #EC4899;
    --neon-green: #00FF88;
    --bg-dark: #0A0A0F;
    --bg-card: #111118;
    --text-white: #E8E8F0;
    --text-muted: #8A8A9A;
}

@keyframes rgb-border-anim {
    0% { border-color: var(--neon-red); box-shadow: 0 0 15px rgba(255, 0, 85, 0.2); }
    33% { border-color: var(--neon-blue); box-shadow: 0 0 15px rgba(0, 212, 255, 0.2); }
    66% { border-color: var(--neon-purple); box-shadow: 0 0 15px rgba(168, 85, 247, 0.2); }
    100% { border-color: var(--neon-red); box-shadow: 0 0 15px rgba(255, 0, 85, 0.2); }
}

.rgb-border {
    border: 2px solid var(--neon-red);
    animation: rgb-border-anim 4s ease-in-out infinite;
    transition: all 0.3s ease;
}
.rgb-border:hover {
    animation-duration: 2s;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.15);
}

.neon-text-red { color: var(--neon-red); text-shadow: 0 0 20px rgba(255, 0, 85, 0.3), 0 0 60px rgba(255, 0, 85, 0.1); }
.neon-text-blue { color: var(--neon-blue); text-shadow: 0 0 20px rgba(0, 212, 255, 0.3), 0 0 60px rgba(0, 212, 255, 0.1); }
.neon-text-purple { color: var(--neon-purple); text-shadow: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 60px rgba(168, 85, 247, 0.1); }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    background: transparent;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 0, 85, 0.1);
    padding: 0.8rem 0;
}
.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.navbar .logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 2px;
}
.navbar .logo span { color: var(--neon-red); }
.navbar .nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.navbar .nav-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
}
.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: #FFFFFF;
    border-color: var(--neon-red);
}
.navbar .nav-links .btn-neon {
    background: var(--neon-red);
    color: #0A0A0F !important;
    padding: 0.5rem 1.8rem;
    border: none;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border-radius: 0;
    text-align: center;
}
.navbar .nav-links .btn-neon:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}
.navbar .nav-links .user-info {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.navbar .nav-links .user-info img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}
.navbar .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ================================================================
   MENU MOBILE INTÉGRÉ
   ================================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s ease,
                visibility 0s linear 0.3s;
    visibility: hidden;
    opacity: 0;
    border-left: 1px solid rgba(255, 0, 85, 0.1);
    overflow-y: auto;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.3s ease,
                visibility 0s linear 0s;
}
.mobile-menu .close-btn {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}
.mobile-menu .links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 4rem;
}
.mobile-menu .links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}
.mobile-menu .links a:hover { color: var(--neon-red); }

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
}
.mobile-overlay.show { display: block; }

/* ================================================================
   RESPONSIVE - MOBILE (navbar)
   ================================================================ */
@media (max-width: 768px) {
    .navbar .nav-links { display: none; }
    .navbar .menu-toggle { display: block; }
}

/* ================================================================
   HERO SLIDER
   ================================================================ */
.hero-slider {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0A0A0F;
}
.hero-slider .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    overflow: hidden;
}
.hero-slider .slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slider .slide .bg-zoom {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-slider .slide.active .bg-zoom { transform: scale(1.3); }
.hero-slider .slide .overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.7) 0%, rgba(10, 10, 15, 0.9) 80%, rgba(10, 10, 15, 0.6) 100%);
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 900px;
}
.hero-slider .slide-content .tag {
    display: inline-block;
    color: var(--neon-red);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    border: 1px solid rgba(255, 0, 85, 0.2);
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    margin-bottom: 2rem;
    padding: 15px 40px;
}
.hero-slider .slide-content h1 {
    font-size: clamp(2.5rem, 10vw, 6rem);
    line-height: 1.05;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
}
.hero-slider .slide-content h1 .highlight-red { color: var(--neon-red); }
.hero-slider .slide-content h1 .highlight-blue { color: var(--neon-blue); }
.hero-slider .slide-content p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0.5rem auto 2rem;
}
.hero-slider .slide-content .btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.hero-slider .slide-content .btn-primary {
    display: inline-block;
    background: var(--neon-red);
    color: #0A0A0F;
    padding: 0.8rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid var(--neon-red);
}
.hero-slider .slide-content .btn-primary:hover {
    background: transparent;
    color: var(--neon-red);
    box-shadow: 0 0 40px rgba(255, 0, 85, 0.15);
}
.hero-slider .slide-content .btn-outline {
    display: inline-block;
    background: transparent;
    color: #FFFFFF;
    padding: 0.8rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}
.hero-slider .slide-content .btn-outline:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}
.hero-slider .slide-content p{
    border-top: 1px #adadadaf solid;
    margin-top: 40px;
    padding-top: 40px;
}

.slide-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}
.slide-dots button {
    width: 40px;
    height: 3px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 3px;
    padding: 0;
}
.slide-dots button.active {
    background: var(--neon-red);
    width: 60px;
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.3);
}

@media (max-width: 768px) {
    .hero-slider .slide-content .btn-outline,
    .hero-slider .slide-content .btn-primary {
        width: 90%;
    }
}

/* ================================================================
   SECTIONS COMMUNES
   ================================================================ */
.section-spacing { 
    padding: 5rem 0; 
    background: rgba(10, 10, 15, 0.95);
}
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.section-title span { color: var(--neon-red); }
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-red), var(--neon-blue), var(--neon-purple));
    margin: 1rem auto 2rem;
    border-radius: 2px;
}

.section-spacing .container {
    border: 1px solid rgba(255, 0, 85, 0.141);
    box-shadow: 0 10px 20px rgba(255, 0, 85, 0.005), 0 0 30px rgba(255, 0, 85, 0.02);
    border-radius: 7px;
    width: 100%;
    padding: 100px 100px;
    background: rgba(10, 10, 15, 0.99);
}

@media (max-width: 768px) {
    .section-spacing .container {
        padding: 50px 10px;
    }
}

.section-stats .bg-card{
    padding: 55px;

}

.stats-label{
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 10px;
    padding-top: 20px;
    font-size: 16px;
}


/* ================================================================
   JEUX SUPPORTÉS
   ================================================================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}
.game-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,0,85,0.08);
    border-radius: 8px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}
.game-card:hover {
    border-color: var(--neon-red);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(255,0,85,0.05);
}
.game-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}
.game-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    color: #FFFFFF;
}
.game-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 20px;
    padding-top: 15px;
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
    .game-card {
        width: 90%;
        margin: auto;
    }
}

/* ================================================================
   ÉVÉNEMENTS À VENIR
   ================================================================ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.event-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,0,85,0.06);
    border-radius: 1px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid var(--neon-red);
}
.event-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0,212,255,0.05);
}
.event-card .date {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-red);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}
.event-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin: 0.3rem 0;
}
.event-card .info {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 20px;
    padding-top: 15px;
}
.event-card .info i {
    margin-right: 0.3rem;
    color: var(--neon-blue);
}

/* ================================================================
   TÉMOIGNAGES
   ================================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,0,85,0.06);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}
.testimonial-card:hover { border-color: var(--neon-purple); }
.testimonial-card .stars {
    color: #FFD700;
    font-size: 0.9rem;
    letter-spacing: 2px;
}
.testimonial-card .text {
    font-style: italic;
    color: rgba(255,255,255,0.7);
    margin: 0.8rem 0;
    font-size: 0.95rem;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
      border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 20px;
    padding-top: 15px;
}
.testimonial-card .author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-card .author .name {
    font-weight: 600;
    color: #FFFFFF;
    font-size: 0.9rem;
}
.testimonial-card .author .role {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ================================================================
   PALMARÈS MINI
   ================================================================ */
.rank-mini {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.rank-mini .row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
    border-left: 2px solid rgba(255,0,85,0.1);
    transition: all 0.3s ease;
}
.rank-mini .row:hover {
    background: rgba(255,0,85,0.04);
    border-left-color: var(--neon-red);
}
.rank-mini .row .pos {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--neon-red);
    width: 30px;
}
.rank-mini .row .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.rank-mini .row .name {
    flex: 1;
    color: #FFFFFF;
    font-weight: 500;
}
.rank-mini .row .score {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-blue);
    font-size: 0.85rem;
}

/* ================================================================
   ACTUALITÉS
   ================================================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.news-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,0,85,0.06);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.news-card:hover {
    border-color: var(--neon-blue);
    transform: translateY(-3px);
}
.news-card .img {
    height: 160px;
    background-size: cover;
    background-position: center;
}
.news-card .content {
    padding: 1.2rem 1.5rem 1.5rem;
}
.news-card .content .tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neon-blue);
    font-weight: 700;
}
.news-card .content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    margin: 0.3rem 0;
}
.news-card .content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.news-card .content .date {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
}

/* ================================================================
   CHAT APERÇU
   ================================================================ */
.chat-preview {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,0,85,0.06);
    border-radius: 8px;
    padding: 1.5rem;
    max-height: 250px;
    overflow-y: auto;
}
.chat-preview .msg {
    display: flex;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.chat-preview .msg:last-child { border-bottom: none; }
.chat-preview .msg .username {
    font-weight: 600;
    color: var(--neon-red);
    font-size: 0.85rem;
    min-width: 80px;
}
.chat-preview .msg .text {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}
.chat-preview .msg .time {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-left: auto;
}

/* ================================================================
   TOURNAMENTS (page)
   ================================================================ */
.content-tournament .container {
    margin-top: 50px;
    border: 1px solid rgba(255, 0, 85, 0.242);
    padding: 100px 100px;
    background: rgba(10, 10, 15, 0.99);
    border-radius: 10px;
}
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}
.filters-bar input,
.filters-bar select {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 0.5rem 1rem;
    color: #FFFFFF;
    outline: none;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    min-width: 150px;
}
.filters-bar input::placeholder { color: var(--text-muted); }
.filters-bar select option { background: #0A0A0F; }

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.tournament-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 0, 85, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}
.tournament-card:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 40px rgba(255, 0, 85, 0.05);
    transform: translateY(-4px);
}
.tournament-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.tournament-card .info { padding: 1.5rem; }
.tournament-card .info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.tournament-card .info .game {
    color: var(--neon-blue);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tournament-card .info .meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.tournament-card .info .meta i { margin-right: 0.3rem; }
.tournament-card .info .status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}
.status-upcoming { background: rgba(0, 212, 255, 0.15); color: var(--neon-blue); }
.status-live { background: rgba(255, 0, 85, 0.15); color: var(--neon-red); animation: pulse 1.5s infinite; }
.status-finished { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); }

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.pagination button {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    color: #FFFFFF;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.pagination button:hover {
    background: var(--neon-red);
    color: #0A0A0F;
}
.pagination button.active {
    background: var(--neon-red);
    color: #0A0A0F;
    border-color: var(--neon-red);
}
.pagination button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .content-tournament {
        padding: 0%;
    }
    .content-tournament .container {
        width: 100%;
        padding-top: 150px;
        padding-left: 0;
        padding-right: 0;
        margin-top: 0px;
    }
}

/* ================================================================
   RANKINGS
   ================================================================ */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card) !important;
    border: 1px solid rgba(255, 0, 85, 0.08);
    margin: auto;
}
.ranking-table th {
    font-family: 'Orbitron', sans-serif;
    text-align: left;
    padding: 1rem 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 0, 85, 0.1);
}
.ranking-table td {
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.ranking-table tr:hover td {
    background: var(--bg-card) !important;
}
.ranking-table .rank {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: var(--neon-red);
}
.ranking-table .player {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.ranking-table .player img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.ranking-table .score {
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-blue);
}

@media (max-width: 768px) {
    .ranking-table td {
        display: block;
        margin: auto;    
    }
}

/* ================================================================
   COUNTDOWN
   ================================================================ */
.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}
.countdown .item {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 0, 85, 0.1);
    padding: 1.5rem 2rem;
    width: 20%;
}
.countdown .item .number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--neon-red);
}
.countdown .item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 20px;
    padding-top: 15px;
}

@media (max-width: 768px) {
    .countdown .item {
        width: 90%;
    }
}

/* ================================================================
   STREAMS
   ================================================================ */
.stream-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}
.stream-main {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 0, 85, 0.08);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.stream-main .stream-placeholder {
    text-align: center;
    padding: 1rem;
}
.stream-main .stream-placeholder i {
    font-size: 3rem;
    color: var(--neon-red);
    opacity: 0.5;
}
.stream-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.stream-side .stream-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 0, 85, 0.06);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}
.stream-side .stream-item:hover {
    border-color: var(--neon-red);
    background: rgba(255, 0, 85, 0.03);
}
.stream-side .stream-item .thumb {
    width: 80px;
    height: 50px;
    background: #1A1A2E;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.7rem;
}
.stream-side .stream-item .info h4 { font-size: 0.9rem; }
.stream-side .stream-item .info .viewers {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.stream-side .stream-item .live-dot {
    width: 8px;
    height: 8px;
    background: var(--neon-red);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@media (max-width: 768px) {
    .stream-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   AUTH FORM
   ================================================================ */
.auth-form {
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,0,85,0.08);
    padding: 2.5rem 2rem;
    border-radius: 8px;
}
.auth-form h3 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1.5rem;
}
.auth-form .form-group { margin-bottom: 1.2rem; }
.auth-form .form-group label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}
.auth-form .form-group input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 0.7rem 1rem;
    color: #FFFFFF;
    outline: none;
    border-radius: 0;
    font-size: 0.95rem;
}
.auth-form .form-group input:focus { border-color: var(--neon-red); }
.auth-form .form-group .error {
    color: var(--neon-red);
    font-size: 0.8rem;
    margin-top: 0.3rem;
}
.auth-form .btn-submit {
    width: 100%;
    background: var(--neon-red);
    color: #0A0A0F;
    border: none;
    padding: 0.8rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}
.auth-form .btn-submit:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}
.auth-form .auth-switch {
    text-align: center;
    margin-top: 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.auth-form .auth-switch a {
    color: var(--neon-red);
    font-weight: 600;
}
.auth-form .auth-switch a:hover { color: var(--neon-blue); }

/* ================================================================
   CHAT (communauté)
   ================================================================ */
.chat-container {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255, 0, 85, 0.242);
    border-radius: 8px;
    overflow: hidden;
    padding: 15px;
}
.chat-messages {
    max-height: 400px;
    overflow-y: auto;
    padding: 1.5rem;
}
.chat-messages .msg {
    margin-bottom: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
    border-left: 2px solid rgba(255,0,85,0.2);
}
.chat-messages .msg .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-messages .msg .header strong {
    color: #FFFFFF;
    font-size: 0.85rem;
}
.chat-messages .msg .header .time {
    color: var(--text-muted);
    font-size: 0.7rem;
}
.chat-messages .msg p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-top: 0.2rem;
}
.chat-input {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    gap: 0.5rem;
}
.chat-input input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 0.8rem 1rem;
    color: #FFFFFF;
    outline: none;
    border-radius: 0;
}
.chat-input button {
    background: var(--neon-red);
    color: #0A0A0F;
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
}
.chat-input button:hover { background: var(--neon-blue); }
.chat-input button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ================================================================
   TOAST NOTIFICATIONS
   ================================================================ */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.toast {
    padding: 1rem 1.5rem;
    background: rgba(10,10,15,0.95);
    border: 1px solid rgba(255,0,85,0.2);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    color: #FFFFFF;
    font-size: 0.9rem;
    animation: slideUp 0.3s ease;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.toast.success { border-color: var(--neon-green); }
.toast.error { border-color: var(--neon-red); }
.toast.info { border-color: var(--neon-blue); }

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

/* ================================================================
   FOOTER
   ================================================================ */
footer {
    background: #0A0A0F;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 0, 85, 0.04);
}
footer .social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
footer .social a {
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
footer .social a:hover { color: var(--neon-red); }
footer .copy {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
}

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0A0A0F; }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, var(--neon-red), var(--neon-blue)); border-radius: 4px; }

/* ================================================================
   UTILITAIRES
   ================================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: 1fr 1fr; }
.bg-card { background: var(--bg-card); }
.border-neon { border: 1px solid rgba(255, 0, 85, 0.1); }
.rounded { border-radius: 8px; }
.p-4 { padding: 1.5rem; }

@media (max-width: 768px) {
    .grid-cols-2 { grid-template-columns: 1fr; }
}
