/* =========================================
   1. VARIABLES & RESET GLOBAL
   ========================================= */
:root {
  --primary-blue: #00b8ff;
  --primary-dark: #05070d;
  --secondary-dark: #080b12;
  --card-bg: rgba(10, 14, 24, 0.95);
  --card-border: rgba(0, 184, 255, 0.3);
  --text-gray: #a5b1c2;
  --text-light: #ffffff;
  --accent-green: #00ff88;
  --accent-red: #ff4040; /* Spécifique illégal */
  --success: #00ff73;    /* Spécifique avis */
  --error: #ff4040;      /* Spécifique avis */
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* --- STYLE PAR DÉFAUT (Index, Commerce, Activités) --- */
body {
  font-family: 'Montserrat', sans-serif;
  background: radial-gradient(circle at top, #071021 0, #020308 40%, #000 100%);
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
  /* Curseur global */
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2300b8ff' d='M7 2l12 11.2l-5.8.5l3.5 7.3l-2.2 1l-3.5-7.4L7 19V2z' stroke='white' stroke-width='1'/%3E%3C/svg%3E"), auto;
}

/* Background par défaut */
body::before {
  content: ''; position: fixed; inset: 0;
  background: url('../../image/background.png') center/cover no-repeat;
  opacity: 0.18; z-index: -2;
}
body.acceuil-page::before {
    background: url('../../image/background1.png') center/cover no-repeat;
    opacity: 0.15;
}
body::after {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(circle at top, rgba(0, 184, 255, 0.25), transparent 55%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.65), #020308 80%);
  mix-blend-mode: screen; z-index: -1;
}

/* Curseur Pointer */
a, button, .card, .btn, input[type="submit"], select, .nav-button, .social-links a {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%2300b8ff' d='M11.5 2c-.8 0-1.5.7-1.5 1.5v8.3L8.2 10c-.5-.5-1.4-.5-1.9 0s-.5 1.4 0 1.9l4.4 4.5c.3.3.7.4 1.1.4h4.7c1.4 0 2.5-1.1 2.5-2.5V8.5c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5V8c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5V7c0-.8-.7-1.5-1.5-1.5z' stroke='white' stroke-width='1'/%3E%3C/svg%3E"), pointer !important;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================================
   2. NAVBAR (OPTIMISÉE MELTODEV)
   ========================================= */
header.navbar {
  position: fixed; /* Changé de sticky à fixed pour garantir qu'elle reste toujours visible sans bug */
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(3, 6, 15, 0.98), rgba(3, 6, 15, 0.9), transparent);
  border-bottom: 1px solid rgba(0, 184, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1600px; /* Plus large pour les grands écrans */
  margin: 0 auto;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left img { height: 45px; width: auto; transition: transform 0.3s; }
.nav-left img:hover { transform: scale(1.05); }

/* --- NAVIGATION DESKTOP --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* --- Style des liens (Correction Alignement) --- */
.nav-link, .dropbtn {
  color: #cfd6e6;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s ease;

  /* FIX CRITIQUE : Garde l'icône et le texte alignés */
  display: inline-flex; 
  align-items: center;
  white-space: nowrap; /* Empêche le retour à la ligne */
  gap: 0; /* On gère l'espace via la marge de l'icône */
}

/* Animation du SOULIGNEMENT (Déplacé sur ::before pour libérer ::after) */
.nav-link::before, .dropbtn::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--primary-blue);
  box-shadow: 0 0 8px var(--primary-blue);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before, .dropbtn:hover::before, 
.nav-link.active::before {
  width: 100%;
}

.nav-link:hover, .dropbtn:hover { 
  color: #fff; 
  text-shadow: 0 0 10px rgba(0, 184, 255, 0.4); 
}

/* --- DROPDOWN MENU (Nouveau) --- */
.dropdown { position: relative; display: inline-block; }
.dropbtn i { font-size: 0.75rem; margin-left: 5px; transition: transform 0.3s; }
.dropdown:hover .dropbtn i { transform: rotate(180deg); }

.dropdown-content {
  display: block;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(8, 11, 20, 0.95);
  min-width: 220px;
  border: 1px solid rgba(0, 184, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
  overflow: hidden;
  z-index: 1001;
  backdrop-filter: blur(20px);
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

.dropdown-content a {
  color: #cfd6e6;
  padding: 12px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.dropdown-content a i { width: 20px; color: var(--primary-blue); text-align: center; }

.dropdown-content a:hover {
  background: rgba(0, 184, 255, 0.1);
  color: #fff;
  padding-left: 25px; /* Petit effet de glissement */
}

/* --- ÉLÉMENTS MOBILES CACHÉS SUR DESKTOP --- */
.mobile-close-btn, .mobile-nav-content, .mobile-overlay { display: none; }
.mobile-menu-btn { font-size: 1.5rem; color: #fff; cursor: pointer; display: none; }

/* --- RESPONSIVE (MOBILE & TABLETTE) --- */
@media (max-width: 1024px) {
  /* Cacher les éléments desktop */
  .desktop-only { display: none; }
  .mobile-menu-btn { display: block; z-index: 1002; }

  /* Drawer Mobile (Panneau latéral) */
  .nav-links {
    position: fixed;
    top: 0; right: -100%; /* Caché à droite */
    width: 280px;
    height: 100vh;
    background: rgba(5, 7, 12, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
    border-left: 1px solid rgba(0, 184, 255, 0.15);
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.active { right: 0; }

  /* Bouton Fermer Mobile */
  .mobile-close-btn {
    display: block;
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s;
  }
  .mobile-close-btn:hover { transform: rotate(90deg); color: var(--primary-blue); }

  /* Liens Mobile */
  .nav-link, .dropbtn {
    font-size: 1.1rem;
    width: 100%;
    text-align: left;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  /* Dropdown Mobile (Static) */
  .dropdown { width: 100%; }
  .dropdown-content {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    min-width: auto;
    display: none; /* Caché par défaut, on pourrait faire du JS pour l'ouvrir, mais affichons-le direct pour simplifier */
  }
  .dropdown:hover .dropdown-content { transform: none; display: block; animation: fadeIn 0.3s; }
  
  /* Socials & Boutons Mobile */
  .mobile-nav-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: auto; /* Pousse vers le bas */
    gap: 1.5rem;
    padding-top: 2rem;
  }
  .mobile-socials { display: flex; justify-content: center; gap: 1.5rem; }
  .mobile-socials a {
    font-size: 1.4rem; color: #cfd6e6; transition: color 0.3s;
  }
  .mobile-socials a:hover { color: var(--primary-blue); }
  
  .full-width {
    width: 100%;
    justify-content: center;
    padding: 0.8rem;
  }

  /* Overlay sombre */
  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .mobile-overlay.active { opacity: 1; visibility: visible; }
}

/* Petites corrections de Grid pour éviter que ça casse */
.grid {
    /* Utiliser 260px permet d'adapter aux petits mobiles */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
}

/* =========================================
   STYLE NAV-RIGHT (Premium Design - Final)
   ========================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- 1. Groupe Réseaux Sociaux --- */
.social-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.social-bubble {
    width: 38px; height: 38px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: #a5b1c2;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-decoration: none;
    position: relative; overflow: hidden;
}

.social-bubble:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.social-bubble.discord:hover { background: #5865F2; box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4); }
.social-bubble.youtube:hover { background: #FF0000; box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4); }
.social-bubble.tiktok:hover { background: linear-gradient(45deg, #00f2ea, #ff0050); box-shadow: 0 5px 15px rgba(255, 0, 80, 0.3); }
.social-bubble::after { display: none !important; }

/* --- 2. Séparateur & Actions --- */
.nav-separator {
    width: 1px; height: 24px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem; /* Espace entre Vote et Boutique */
}

/* --- 3. Bouton Top Serveur (Style Ghost) --- */
.btn-top-server {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15); /* Bordure subtile */
    color: #a5b1c2;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-top-server i { font-size: 0.9rem; transition: transform 0.3s; }

.btn-top-server:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}
.btn-top-server:hover i { transform: scale(1.1); }
.btn-top-server::after { display: none !important; }

/* --- 4. Bouton Boutique (Style Glow) --- */
.btn-boutique-glow {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, rgba(0, 184, 255, 0.1), rgba(0, 184, 255, 0.05));
    border: 1px solid rgba(0, 184, 255, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 184, 255, 0.1);
}

.btn-icon {
    color: #00b8ff; 
    font-size: 0.9rem;
    filter: drop-shadow(0 0 5px rgba(0, 184, 255, 0.5)); 
    transition: transform 0.3s;
}

.btn-text {
    color: #fff; font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px;
}

.btn-boutique-glow:hover {
    background: linear-gradient(135deg, rgba(0, 184, 255, 0.2), rgba(0, 184, 255, 0.1));
    border-color: #00b8ff;
    box-shadow: 0 0 25px rgba(0, 184, 255, 0.4);
    transform: translateY(-1px);
}
.btn-boutique-glow:hover .btn-icon { transform: rotate(15deg) scale(1.1); }
.btn-boutique-glow::after { display: none !important; }

/* =========================================
   3. HERO SECTIONS (Index, Legal, Illegal)
   ========================================= */

/* --- INDEX HERO --- */
.hero { padding: 9rem 2rem 5rem; position: relative; z-index: 1; }
.hero-inner { max-width: 1200px; margin: 0 auto 0 8%; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.hero-main { max-width: 640px; }
.hero-kicker { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 4px; color: var(--text-gray); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.6rem; }
.hero-kicker span.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-blue); box-shadow: 0 0 10px rgba(0, 184, 255, 0.7); }
.hero-title { font-size: 3.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 5px; line-height: 1; margin-bottom: 0.2rem; text-shadow: 0 0 25px rgba(0, 184, 255, 0.6); }
.hero-title span { display: block; color: var(--primary-blue); }
.hero-subtitle { font-size: 1.1rem; letter-spacing: 5px; text-transform: uppercase; color: #e2ecff; opacity: 0.9; margin-bottom: 1rem; }
.hero-text { font-size: 0.95rem; color: var(--text-gray); max-width: 520px; line-height: 1.7; margin-bottom: 1.6rem; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.8rem; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px;
  padding: 0.75rem 1.6rem; font-size: 0.9rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; text-decoration: none; border: 1px solid transparent; transition: all 0.25s ease;
}
.btn-hero.primary { background: linear-gradient(135deg, #5865f2, #3b48f2); color: #fff; box-shadow: 0 0 18px rgba(88, 101, 242, 0.7); border-color: rgba(255, 255, 255, 0.08); }
.btn-hero.secondary { background: rgba(0, 0, 0, 0.6); border-color: rgba(0, 184, 255, 0.4); color: #e2ecff; }
.btn-hero:hover { transform: translateY(-1px); box-shadow: 0 0 20px rgba(0, 184, 255, 0.5); }

.hero-connect { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; background: rgba(0, 0, 0, 0.75); border-radius: 999px; padding: 0.45rem 0.9rem; border: 1px solid rgba(0, 184, 255, 0.35); color: var(--text-gray); }
.hero-connect code { font-family: 'Montserrat', monospace; color: #fff; font-size: 0.8rem; }
.hero-stats-row { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 1.8rem; }
.hero-stat { min-width: 140px; transition: transform 0.25s ease; }
.hero-stat:hover { transform: translateY(-4px); }
.hero-stat-number { font-size: 2.1rem; font-weight: 800; color: var(--primary-blue); display: block; }
.hero-stat-label { font-size: 0.85rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; }

/* --- LEGAL HERO --- */
.legal-hero { padding: 8.5rem 2rem 2.5rem; }
.legal-hero-inner {
  max-width: 1200px; margin: auto; padding: 2.4rem 2.3rem; border-radius: 22px;
  border: 1px solid rgba(0,184,255,0.3); background: linear-gradient(135deg, rgba(6,10,24,0.96), rgba(0,40,76,0.9));
  box-shadow: 0 25px 60px rgba(0,0,0,0.85);
}
.legal-hero-title {
  text-align:center; font-size:2.6rem; text-transform:uppercase; letter-spacing:4px;
  color:var(--primary-blue); margin-bottom:0.5rem; text-shadow:0 0 25px rgba(0,184,255,0.6);
  display:flex; justify-content:center; align-items:center; gap:0.7rem;
}
.legal-subtitle, .illegal-subtitle { text-align:center; color:var(--text-gray); text-transform:uppercase; letter-spacing:2px; margin-bottom:2rem; font-size:0.9rem; }
.legal-hero-grid, .illegal-hero-grid { display:grid; grid-template-columns:1.7fr 1fr; gap:1.8rem; margin-bottom:2rem; }
.legal-hero-maintext, .illegal-hero-maintext { font-size:0.95rem; color:var(--text-gray); line-height:1.8; }
.legal-hero-callout {
  background:radial-gradient(circle at top left, rgba(0,184,255,0.22), rgba(0,0,0,0.9));
  border:1px solid rgba(0,184,255,0.4); border-radius:18px; padding:1.1rem 1.3rem;
  box-shadow:0 18px 40px rgba(0,0,0,0.8); font-size:0.9rem; color:var(--text-gray);
}
.legal-hero-callout-label {
  display:inline-flex; align-items:center; gap:0.4rem; background:rgba(0,0,0,0.7);
  border:1px solid rgba(255,255,255,0.2); padding:0.25rem 0.75rem; border-radius:50px;
  font-size:0.78rem; color:#e2f7ff; margin-bottom:0.7rem; text-transform:uppercase; letter-spacing:1px;
}

/* Grille hero légale – structure claire gauche / droite */
.legal-hero-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 1.8rem;
    align-items: start;
}

/* Colonne gauche */
.legal-hero-left {
    display: flex;
    flex-direction: column;
}

/* Bouton sous le texte */
.legal-hero-actions {
    margin-top: 22px;
}


/* =========================================
   4. SPÉCIFIQUE ILLÉGAL (OVERRIDES)
   ========================================= */
body.illegal-page::before {
  content: ''; position: fixed; inset: 0;
  background: url('image/background.png') center/cover no-repeat;
  opacity: 0.16; z-index: -2;
}
body.illegal-page::after {
  content: ''; position: fixed; inset: 0;
  background: radial-gradient(circle at top, rgba(255, 64, 64, 0.25), transparent 55%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.65), #020308 80%);
  mix-blend-mode: screen; z-index: -1;
}

.illegal-hero {
  padding: 8.5rem 2rem 2.5rem;
}

.illegal-hero-inner {
  max-width: 1200px; margin: auto; padding: 2.4rem 2.3rem; border-radius: 22px;
  border: 1px solid rgba(255,64,64,0.3); background: linear-gradient(135deg, rgba(6,6,10,0.96), rgba(55,5,15,0.9));
  box-shadow: 0 25px 60px rgba(0,0,0,0.85);
}
.illegal-hero-title {
  text-align:center; font-size:2.6rem; text-transform:uppercase; letter-spacing:4px;
  color:var(--accent-red); margin-bottom:0.5rem; text-shadow:0 0 25px rgba(255,64,64,0.6);
  display:flex; justify-content:center; align-items:center; gap:0.7rem;
}
.illegal-hero-callout {
  background:radial-gradient(circle at top left, rgba(255,64,64,0.22), rgba(0,0,0,0.9));
  border:1px solid rgba(255,64,64,0.4); border-radius:18px; padding:1.1rem 1.3rem;
  box-shadow:0 18px 40px rgba(0,0,0,0.8); font-size:0.9rem; color:var(--text-gray);
}
.illegal-hero-callout-label { color:#ffdede; }

/* Recherche */
.legal-search-row, .illegal-search-row { display:flex; align-items:center; gap:1rem; flex-wrap:wrap; margin-top:1.2rem; }
.legal-search-label, .illegal-search-label { font-size:0.8rem; text-transform:uppercase; letter-spacing:1px; color:var(--text-gray); display:flex; align-items:center; gap:0.5rem; }
.search-box {
  flex:1; min-width:260px; background:rgba(0,0,0,0.85); border-radius:999px;
  border:1px solid rgba(0,184,255,0.4); padding:0.15rem 0.2rem; display:flex; align-items:center;
  box-shadow:0 0 18px rgba(0,184,255,0.25);
}
body.illegal-page .search-box {
  border:1px solid rgba(255,64,64,0.4); box-shadow:0 0 18px rgba(255,64,64,0.25);
}
.search-box i { margin-left:0.9rem; color:#82889c; }
.search-box input { flex:1; padding:0.7rem 1.1rem; background:transparent; border:none; outline:none; color:white; font-size:0.9rem; }


/* =========================================
   5. GRILLES & CARTES
   ========================================= */
.legal-main, .illegal-main, .main-section { max-width:1400px; margin:auto; padding:2rem; flex:1; }
.category { margin-bottom:4rem; }
.category h2 { text-align:center; font-size:1.7rem; margin-bottom:2rem; letter-spacing:2px; display:flex; justify-content:center; align-items:center; gap:1rem; }
.category h2 i { font-size:1.6rem; }

/* Couleurs Titres */
.category.service h2 { color:#fffc47; text-shadow:0 0 20px rgba(255, 243, 71, 0.6); }
.category.commerce h2 { color:#00b8ff; text-shadow:0 0 20px rgba(0,184,255,0.6); }
.category.food h2 { color:#ff7832; text-shadow:0 0 20px rgba(255,120,50,0.6); }
.category.bars h2 { color:#cf32ff; text-shadow:0 0 20px rgba(255, 50, 211, 0.493); }
.category.others h2 { color:#fffcfa; text-shadow:0 0 20px rgba(255, 255, 255, 0.6); }
.category.indep h2 { color:#ffffff; text-shadow:0 0 20px rgba(255, 255, 255, 0.6); }
.category.gang h2 { color:#ffb30099; text-shadow:0 0 20px rgba(255, 179, 0, 0.6); }
.category.club h2 { color:#c8ff32; text-shadow:0 0 20px rgb(242, 255, 0); }
.category.orga h2 { color:#8200d999; text-shadow:0 0 20px rgba(130, 0, 217, 0.6); }

.grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:2rem; justify-items:center; max-width:1200px; margin:auto; }

/* Carte Standard */
.card {
  width:100%; max-width:360px; background:rgba(0, 14, 39, 0.9);
  border:1px solid rgba(0,184,255,0.3); border-radius:14px; overflow:hidden;
  text-decoration:none; color:white; transition:0.3s;
  box-shadow:0 0 18px rgba(0,184,255,0.15); display:flex; flex-direction:column;
}
.card:hover { transform:translateY(-4px) scale(1.02); box-shadow:0 0 40px rgba(0,184,255,0.35); border-color:rgba(0,184,255,0.7); }
.card img { width:100%; height:160px; object-fit:cover; filter:brightness(0.88); }
.card h3 { color:#00b8ff; text-transform:uppercase; margin:1rem 0 0.3rem; font-size:1.05rem; text-align:center; }
.card p { color:#aaa; font-size:0.9rem; margin-bottom:0.7rem; text-align:center; padding:0 1rem; }

/* Carte Illégale Overrides */
body.illegal-page .card {
  background:rgba(20,0,0,0.85); border:1px solid rgba(255,64,64,0.3); border-radius:10px;
  box-shadow:0 0 15px rgba(255,64,64,0.1);
}
body.illegal-page .card:hover {
  box-shadow:0 0 40px rgba(255,64,64,0.3); border-color:rgba(255,64,64,0.6);
}
body.illegal-page .card img { filter:none; }
body.illegal-page .card h3 { color:var(--accent-red); margin:1rem 0 0.4rem; }
body.illegal-page .card p { color:#ddd; padding:0 1rem 0.8rem; }

/* Tags */
.tags { display:flex; justify-content:center; gap:0.5rem; flex-wrap:wrap; margin:0 1rem 1.1rem; }
body.illegal-page .tags { padding-bottom:1rem; margin-bottom:0; }

.tag { padding:0.3rem 1rem; border-radius:20px; font-size:0.8rem; text-transform:uppercase; letter-spacing:1px; border:1px solid rgba(255,255,255,0.15); }
.tag.blue { background:rgba(0,180,255,0.1); color:#00b8ff; border-color:rgba(0,180,255,0.4); }
.tag.orange { background:rgba(255,120,50,0.1); color:#ff7832; border-color:rgba(255,120,50,0.4); }
.tag.purple { background:rgba(179,71,255,0.1); color:#b347ff; border-color:rgba(179,71,255,0.4); }
.tag.rose { background:rgba(234, 71, 255, 0.1); color:#ff47f0; border-color:rgba(255, 71, 230, 0.4); }
.tag.blanc { background:rgba(255, 255, 255, 0.1); color:#ffffff; border-color:rgba(255, 255, 255, 0.4); }
.tag.green { background:rgba(0,255,100,0.15); color:#00ff88; border-color:rgba(0,255,100,0.5); }
.tag.jaune { background:rgba(255, 230, 0, 0.15); color:#fbff00; border-color:rgba(251, 255, 0, 0.5); }

/* Tags Illégal Override */
body.illegal-page .tag { border:1px solid rgba(255,255,255,0.25); }
body.illegal-page .tag.green { background:rgba(0,255,100,0.2); }
body.illegal-page .tag.gang { background:rgba(255,120,50,0.2); color:#ff7832; }
body.illegal-page .tag.club { background:rgba(241,255,50,0.2); color:#f1ff32; }
body.illegal-page .tag.independant { background:rgba(255,255,255,0.2); }
body.illegal-page .tag.purple { background:rgba(179,71,255,0.2); color:#b347ff; }


/* =========================================
   6. ELEMENTS INDEX (Streamers, Video, Section Global)
   ========================================= */
.section { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem 0; }
.section-creators { margin-top: 8rem; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-title-block h2 { font-size: 1.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; }
.section-title-block p { font-size: 0.9rem; color: var(--text-gray); max-width: 420px; margin-top: 0.3rem; }
.section-pill {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; padding: 0.35rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(0, 184, 255, 0.4); background: rgba(0, 0, 0, 0.7); color: #e2ecff; display: inline-flex; align-items: center; gap: 0.4rem;
}
.section-pill i { color: var(--primary-blue); }

.streamers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.6rem; margin-bottom: 3rem; }
.streamer-card {
  background: linear-gradient(140deg, rgba(8, 13, 26, 0.98), rgba(3, 6, 15, 0.98));
  border-radius: 18px; border: 1px solid rgba(0, 184, 255, 0.25); padding: 1.2rem 1.3rem 1.4rem;
  position: relative; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex; flex-direction: column; min-height: 260px;
}
.streamer-card::before {
  content: ''; position: absolute; inset: -50%; background: radial-gradient(circle at top right, rgba(0, 184, 255, 0.18), transparent 60%);
  opacity: 0; transition: opacity 0.25s ease; z-index: 0;
}
.streamer-card:hover { transform: translateY(-4px); border-color: rgba(0, 184, 255, 0.6); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9); }
.streamer-card:hover::before { opacity: 1; }
.streamer-header { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 0.7rem; position: relative; z-index: 1; }
.streamer-avatar {
  width: 52px; height: 52px; border-radius: 50%; overflow: hidden;
  border: 2px solid rgba(0, 184, 255, 0.6); box-shadow: 0 0 18px rgba(0, 184, 255, 0.7); flex-shrink: 0;
}
.streamer-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.streamer-text { display: flex; flex-direction: column; gap: 0.1rem; }
.streamer-name { font-size: 0.98rem; font-weight: 600; }
.streamer-role { font-size: 0.8rem; color: var(--text-gray); }
.streamer-body { position: relative; z-index: 1; font-size: 0.85rem; color: #d4d9e6; line-height: 1.6; margin-bottom: 0.9rem; flex-grow: 1; }
.streamer-footer { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: var(--text-gray); position: relative; z-index: 1; margin-top: 0.2rem; }
.streamer-platform {
  display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; padding: 0.35rem 0.8rem;
  border-radius: 999px; border: 1px solid rgba(0, 184, 255, 0.4); background: rgba(0, 0, 0, 0.7); color: #fff; font-size: 0.8rem; transition: all 0.2s ease;
}
.streamer-platform.twitch i { color: #a970ff; }
.streamer-platform.tiktok i { color: #ff0050; }
.streamer-platform:hover { border-color: var(--primary-blue); box-shadow: 0 0 12px rgba(0, 184, 255, 0.5); }

.story-grid { display: grid; grid-template-columns: 1.1fr 1.1fr; gap: 2.5rem; align-items: center; margin-bottom: 3.5rem; }
.story-text { font-size: 0.95rem; color: var(--text-gray); line-height: 1.8; }
.story-text p + p { margin-top: 0.9rem; }
.story-highlight { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.6rem; color: var(--primary-blue); }
.story-video {
  position: relative; border-radius: 20px; overflow: hidden; border: 1px solid rgba(0, 184, 255, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85); background: #000;
}
.story-video::before {
  content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(0, 184, 255, 0.22), transparent 55%);
  pointer-events: none; mix-blend-mode: screen;
}
.story-video iframe { width: 100%; height: 340px; border: none; display: block; position: relative; z-index: 1; }


/* =========================================
   7. SECTION POSTULER (APPLY) - DÉPLACÉ ICI POUR PRIORITÉ
   ========================================= */
.apply-section { margin-bottom: 4rem; padding: 0 2rem; max-width: 1200px; margin-left: auto; margin-right: auto; }
.apply-card {
  position: relative; overflow: hidden; border-radius: 22px;
  border: 1px solid rgba(0, 184, 255, 0.45); background: url("../../image/background2.png") center/cover no-repeat;
  box-shadow: 0 0 25px rgba(0, 184, 255, 0.25); padding: 1.8rem 2.2rem;
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr); gap: 1.8rem; align-items: center; min-height: 190px;
}
.apply-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(0, 184, 255, 0.25), rgba(0, 0, 0, 0.92));
  pointer-events: none;
}
/* Apply Illégal Override */
body.illegal-page .apply-card {
  border: 1px solid rgba(255,64,64,0.85); box-shadow: 0 0 25px rgba(255,64,64,0.3);
}
body.illegal-page .apply-card::before {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(255, 0, 0, 0.25), rgba(0, 0, 0, 0.92));
}

.apply-left, .apply-right { position: relative; z-index: 1; }
.apply-pill {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.9rem; border-radius: 999px;
  border: 1px solid rgba(0, 184, 255, 0.5); background: rgba(0, 0, 0, 0.7); font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 1px; color: #dff6ff; margin-bottom: 0.5rem;
}
.apply-pill i { color: #00eaff; }

body.illegal-page .apply-pill { border:1px solid rgba(255,255,255,0.25); background:rgba(0,0,0,0.75); color:#ffe3e3; }
body.illegal-page .apply-pill i { color: var(--accent-red); }

.apply-left h3 { margin: 0.2rem 0 0.5rem; font-size: 1.35rem; text-transform: uppercase; letter-spacing: 1px; }
.apply-text { color: #e4f4ff; font-size: 0.93rem; line-height: 1.7; max-width: 520px; }
body.illegal-page .apply-text { color: #eee; }

.apply-note { margin-top: 0.7rem; font-size: 0.85rem; color: #b8eaff; display: flex; align-items: center; gap: 0.45rem; }
.apply-note i { color: #00b8ff; }
body.illegal-page .apply-note { color:#ffb3b3; }
body.illegal-page .apply-note i { color:#ffb3b3; }

.apply-right { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-end; justify-content: center; }
.apply-buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; }

.apply-btn {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; padding: 0.6rem 1.6rem;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; border: 1px solid transparent;
  transition: all 0.25s ease; cursor: pointer;
}
.apply-btn.primary {
  background: linear-gradient(135deg, #5865f2, #3b48f2); color: #fff; border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.8); font-weight: 600;
}
.apply-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 0 22px rgba(88, 101, 242, 1); }

.apply-btn.secondary { background: rgba(0, 0, 0, 0.75); color: #dff6ff; border-color: rgba(0, 184, 255, 0.5); font-weight: 500; }
.apply-btn.secondary:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(0, 184, 255, 0.4); }

body.illegal-page .apply-btn.secondary { color:#ffdede; border-color:rgba(255,255,255,0.3); }
body.illegal-page .apply-btn.secondary:hover { box-shadow:0 0 16px rgba(255,255,255,0.18); }

.apply-foot { font-size: 0.8rem; color: #d0e5ff; max-width: 260px; text-align: right; }
body.illegal-page .apply-foot { color:var(--text-gray); }

/* =========================================
   8. SPÉCIFIQUE PAGE AVIS
   ========================================= */

.avis-hero { padding: 10rem 2rem 4rem; text-align: center; position: relative; overflow: hidden; }
.avis-hero::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}
.avis-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.avis-hero h1 {
  font-size: 3.5rem; font-weight: 900; color: var(--primary-blue); text-transform: uppercase; letter-spacing: 4px;
  margin-bottom: 1rem; text-shadow: 0 0 25px rgba(0, 184, 255, 0.6);
  background: linear-gradient(45deg, #ffffff, var(--primary-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: titleGlow 3s ease-in-out infinite alternate;
}
@keyframes titleGlow {
  from { text-shadow: 0 0 20px rgba(0, 184, 255, 0.5); }
  to { text-shadow: 0 0 30px rgba(0, 184, 255, 0.8), 0 0 40px rgba(0, 184, 255, 0.6); }
}

.stats-container { display: flex; justify-content: center; gap: 3rem; margin-top: 3rem; flex-wrap: wrap; }
.stat {
  text-align: center; background: rgba(255, 255, 255, 0.05); padding: 1.5rem; border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition); backdrop-filter: blur(10px);
}
.stat:hover { transform: translateY(-5px); border-color: var(--primary-blue); box-shadow: 0 10px 25px rgba(0, 184, 255, 0.2); }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--primary-blue); display: block; }
.stat-label { font-size: 0.9rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 1px; }

.avis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.avis-container, .avis-list-container {
  background: rgba(0,14,39,0.85); border: 1px solid rgba(0,184,255,0.3); border-radius: 15px;
  padding: 2.5rem; box-shadow: 0 0 20px rgba(0,184,255,0.2); backdrop-filter: blur(10px); transition: var(--transition);
}
.avis-container:hover { box-shadow: 0 0 30px rgba(0,184,255,0.3); transform: translateY(-5px); }

.avis-form input, .avis-form textarea, .avis-form select {
  width: 100%; padding: 1rem; font-size: 1rem; margin-bottom: 1.5rem; border: none; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: white; font-family: inherit; transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.avis-form input:focus, .avis-form textarea:focus, .avis-form select:focus {
  outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 2px rgba(0, 184, 255, 0.2); background: rgba(255,255,255,0.12);
}
.avis-form textarea { height: 120px; resize: vertical; min-height: 100px; }
.avis-form select { cursor: pointer; }
.avis-form select option { background: #000e27; color: white; }

.stars { display: flex; justify-content: center; gap: 0.8rem; font-size: 2rem; margin-bottom: 1.5rem; }
.stars i { cursor: pointer; transition: var(--transition); color: #333; text-shadow: 0 0 5px rgba(0, 0, 0, 0.5); }
.stars i.active { color: gold; text-shadow: 0 0 15px gold; transform: scale(1.2); }
.stars i:hover { transform: scale(1.3); color: #ffd700; }
.rating-text { text-align: center; color: var(--text-gray); font-size: 1rem; margin-bottom: 1rem; font-weight: 500; }

.btn-submit {
  background: var(--primary-blue); color: white; border: none; border-radius: 10px; font-weight: 700;
  text-transform: uppercase; padding: 1.2rem 2rem; cursor: pointer; transition: var(--transition);
  width: 100%; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; position: relative; overflow: hidden;
}
.btn-submit::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;
}
.btn-submit:hover::before { left: 100%; }
.btn-submit:hover { background: #0090dd; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0, 184, 255, 0.4); }
.btn-submit:disabled { background: #666; cursor: not-allowed; transform: none; }

/* Bouton */
.btn-legal {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4f7cff, #2f55d4);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(79,124,255,0.25);
    transition: all 0.25s ease;
}

.btn-legal:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(79,124,255,0.35);
}

.btn-legal i {
    font-size: 16px;
}

.btn-legal:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(79,124,255,0.25);
}


.avis-list-container { max-height: 600px; overflow-y: auto; }
.avis-list-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 2rem; color: var(--primary-blue); text-align: center; text-transform: uppercase; letter-spacing: 2px; }
.avis-list { display: flex; flex-direction: column; gap: 1.5rem; }
.avis-item {
  background: rgba(255,255,255,0.08); border-left: 4px solid var(--primary-blue); border-radius: 10px;
  padding: 1.5rem; margin-bottom: 1.2rem; transition: var(--transition); animation: fadeInUp 0.6s ease-out;
}
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.avis-item:hover { transform: translateX(10px) translateY(-5px); box-shadow: 0 10px 25px rgba(0,180,255,0.3); background: rgba(255,255,255,0.12); }
.avis-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; flex-wrap: wrap; gap: 1rem; }
.avis-user { display: flex; align-items: center; gap: 0.8rem; }
.user-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-blue); display: flex; align-items: center; justify-content: center; font-weight: 700; color: white; font-size: 1.1rem; }
.user-info h4 { color: var(--primary-blue); font-size: 1.1rem; margin-bottom: 0.2rem; }
.user-category { color: #777; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.avis-item .note { color: gold; font-size: 1.1rem; text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
.avis-item small { color: #777; display: block; margin-top: 0.5rem; font-size: 0.8rem; text-align: right; }
.avis-item p { color: #ccc; margin-top: 0.8rem; line-height: 1.5; overflow-wrap: break-word; word-break: break-word; white-space: pre-wrap; max-width: 100%; }
.no-avis { text-align: center; color: #666; padding: 3rem; font-style: italic; font-size: 1.1rem; }
.loading { text-align: center; padding: 2rem; color: var(--text-gray); }

.avis-badge-source { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; margin-left: auto; }
.source-web { background: rgba(0, 184, 255, 0.15); color: #00b8ff; border: 1px solid rgba(0, 184, 255, 0.3); }
.source-discord { background: rgba(88, 101, 242, 0.15); color: #5865F2; border: 1px solid rgba(88, 101, 242, 0.3); }
.message { padding: 1rem; border-radius: 10px; margin-bottom: 1.5rem; text-align: center; font-weight: 600; animation: slideIn 0.5s ease-out; }
.message.success { background: rgba(0, 255, 115, 0.1); border: 1px solid var(--success); color: var(--success); }
.message.error { background: rgba(255, 64, 64, 0.1); border: 1px solid var(--error); color: var(--error); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }


/* Scrollbar Avis */
.avis-list-container::-webkit-scrollbar { width: 8px; }
.avis-list-container::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 10px; }
.avis-list-container::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 10px; }
.avis-list-container::-webkit-scrollbar-thumb:hover { background: #0090dd; }


/* =========================================
   9. FOOTER GLOBAL
   ========================================= */
footer {
  border-top: 1px solid rgba(0, 184, 255, 0.15); 
  padding: 1.7rem 2rem 2rem; 
  font-size: 0.85rem;
  color: var(--text-gray); 
  background: radial-gradient(circle at top, rgba(0, 184, 255, 0.18), rgba(0, 0, 0, 0.95));
  margin-top: auto;
}
body.illegal-page footer {
  background: radial-gradient(circle at top, rgba(22, 3, 3, 0.95), rgba(0, 0, 0, 0.95));
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 0.15rem; }
.footer-links { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; }
.footer-links a { color: var(--primary-blue); text-decoration: none; font-size: 0.95rem; transition: color 0.25s ease; }
.footer-links a:hover { color: #fff; }
.footer-connect { font-size: 0.82rem; }
.footer-connect a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(0, 184, 255, 0.4); }
.footer-connect a:hover { color: #fff; }

.footer-bottom { margin-top: 1rem; font-size: 0.78rem; color: #7f8a9e; text-align: left; }


/* =========================================
   10. ANIMATIONS & MEDIA QUERIES
   ========================================= */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-in-left { opacity: 0; transform: translateX(-50px); transition: var(--transition); }
.slide-in-left.visible { opacity: 1; transform: translateX(0); }
.slide-in-right { opacity: 0; transform: translateX(50px); transition: var(--transition); }
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

@media (max-width: 992px) {
  .legal-hero { padding: 7.5rem 1.5rem 2.5rem; }
  .illegal-hero { padding-top: 7.5rem; }
  .legal-hero-grid, .illegal-hero-grid { grid-template-columns:1fr; }
  .apply-card { grid-template-columns: 1fr; min-height: unset; }
  .apply-right { align-items:flex-start; }
  .apply-foot { text-align:left; }
  .hero-inner { grid-template-columns: 1fr; margin: 0 auto; }
  .hero { padding-top: 8rem; }
  .story-grid { grid-template-columns: 1fr; }
  .story-video iframe { height: 260px; }
}

@media (max-width: 768px) {
  .nav-container { padding-inline: 1.3rem; }
  .mobile-menu-btn { display: block; }
  nav.nav-links {
    position: absolute; left: 0; top: 100%; width: 100%;
    background: rgba(3, 6, 15, 0.98); border-top: 1px solid rgba(0, 184, 255, 0.25);
    flex-direction: column; align-items: flex-start; padding: 0.9rem 1.4rem 1.2rem;
    gap: 0.8rem; display: none;
  }
  nav.nav-links.active { display: flex; }
  .nav-right { display: none; }

  .legal-hero, .illegal-hero, .legal-main, .illegal-main, .hero, .section, .apply-section { padding-inline:1.5rem; }
  .legal-hero-inner, .illegal-hero-inner { padding:1.8rem 1.6rem; }
  .legal-hero-title, .illegal-hero-title { font-size:2rem; flex-direction:column; gap:0.4rem; }
  .legal-subtitle, .illegal-subtitle { font-size:0.8rem; margin-bottom:1.4rem; }
  .legal-search-row, .illegal-search-row { flex-direction:column; align-items:flex-start; gap:0.6rem; }
  .search-box { width:100%; }
  .search-box input { font-size:0.85rem; }
  .category h2 { font-size:1.3rem; }
  .grid { grid-template-columns:1fr; gap:1.6rem; }
  .apply-card { padding: 1.6rem 1.6rem; }
  footer { padding-inline:1.5rem; }
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 0.9rem; letter-spacing: 3px; }
  .hero-buttons, .apply-buttons { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-hero, .apply-btn { justify-content: center; width: 100%; }
  .hero-stats-row { gap: 1.2rem; }
  .streamers-grid { grid-template-columns: 1fr 1fr; }
  .avis-hero { padding: 8rem 1rem 3rem; }
  .avis-hero h1 { font-size: 2.5rem; }
  .stats-container { gap: 1.5rem; }
  .stat { padding: 1rem; }
  .stat-number { font-size: 2rem; }
  .main-section { padding: 2rem 1rem; }
  .avis-container, .avis-list-container { padding: 1.5rem; }
  .stars { font-size: 1.6rem; gap: 0.5rem; }
  .avis-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 520px) {
  .legal-hero, .illegal-hero { padding-top:7rem; }
  .legal-hero-inner, .illegal-hero-inner { padding:1.6rem 1.3rem; }
  .legal-hero-title, .illegal-hero-title { font-size:1.7rem; letter-spacing:2px; }
  .legal-hero-title i, .illegal-hero-title i { font-size:1.4rem; }
  .search-box { box-shadow:none; padding:0.1rem 0.5rem; }
  .search-box input { padding:0.55rem 0.6rem; }
  .card { max-width:100%; }
  .card h3 { font-size:1rem; }
  .card p { font-size:0.82rem; }
  .apply-card { padding: 1.5rem 1.4rem; }
  .streamers-grid { grid-template-columns: 1fr; }
  .story-video iframe { height: 220px; }
  .avis-hero h1 { font-size: 2rem; }
  .stats-container { flex-direction: column; align-items: center; }
}




/* =========================================
   11. NOUVELLE PAGE ACTIVITÉS (REFONTE LISTE)
   ========================================= */

/* Fond spécifique pour cette page si besoin */
body.page-activites-new {
    background: radial-gradient(circle at top, #0b1021 0, #000 100%);
}
body.page-activites-new::before {
    background: url('image/background.png') center/cover no-repeat;
    opacity: 0.15;
}

/* Structure Principale */
.act-main {
    max-width: 1000px;
    margin: 8rem auto 4rem; /* Marge top pour compenser la navbar fixe */
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* En-tête de la section (Titre + Bouton Tri) */
.act-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 184, 255, 0.2);
}

.act-title-block h1 {
    font-size: 2rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(0, 184, 255, 0.4);
}
.act-title-block p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Bouton de tri */
.act-sort-btn {
    background: rgba(0, 14, 39, 0.8);
    border: 1px solid rgba(0, 184, 255, 0.4);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}
.act-sort-btn:hover {
    background: rgba(0, 184, 255, 0.15);
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 184, 255, 0.3);
}

/* Le Rectangle Conteneur (Liste) */
.act-list-wrapper {
    background: rgba(5, 7, 12, 0.9);
    border: 1px solid rgba(0, 184, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    /* Effet néon background */
    box-shadow: 0 0 30px rgba(0, 184, 255, 0.15), inset 0 0 50px rgba(0, 0, 0, 0.8);
    transition: box-shadow 0.3s ease;
}

.act-list-wrapper.neon-glow:hover {
    box-shadow: 0 0 40px rgba(0, 184, 255, 0.25), inset 0 0 30px rgba(0, 0, 0, 0.7);
}

/* Header interne de la liste (Labels colonnes) */
.act-list-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(0, 184, 255, 0.05);
    border-bottom: 1px solid rgba(0, 184, 255, 0.2);
    color: var(--primary-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}

/* Zone scrollable - MODIFIÉ POUR HAUTEUR FIXE ET SCROLL ISOLÉ */
.act-scroll-container {
    /* Calcul pour 6 items exacts : (94px item + gap) * 6 = ~640px */
    height: 640px; 
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    
    /* Empêche le scroll de la page parent quand on arrive au bout de la liste */
    overscroll-behavior: contain;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.act-scroll-container::-webkit-scrollbar { width: 6px; }
.act-scroll-container::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.3); border-radius: 4px; }
.act-scroll-container::-webkit-scrollbar-thumb { background: var(--primary-blue); border-radius: 10px; }
.act-scroll-container::-webkit-scrollbar-thumb:hover { background: #fff; }


/* Item de la liste (Bloc Activité) */
.act-item {
    /* Hauteur minimale forcée pour garantir l'affichage de 6 items */
    min-height: 94px;
    box-sizing: border-box;
    flex-shrink: 0; /* Empêche l'item de s'écraser */
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Effet Hover Item */
.act-item:hover {
    background: rgba(0, 184, 255, 0.08);
    border-color: rgba(0, 184, 255, 0.3);
    border-left-color: var(--primary-blue);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Partie Gauche : Logo + Infos */
.act-item-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.act-item-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}
.act-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.act-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.act-desc {
    font-size: 0.85rem;
    color: #a5b1c2;
    max-width: 400px;
}

/* Partie Droite : Statut Rentabilité */
.act-item-right {
    display: flex;           /* Active Flexbox pour aligner les badges */
    align-items: center;
    justify-content: flex-end; /* Aligne à droite sur PC */
    gap: 0.6rem;             /* Espace entre les deux badges */
    min-width: 240px;        /* Élargir pour accueillir 2 badges */
}
.act-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid currentColor;
}

.type-interim {
    color: #ff9f43; /* Orange */
    background: rgba(255, 159, 67, 0.1);
    border-color: rgba(255, 159, 67, 0.5);
    box-shadow: 0 0 10px rgba(255, 159, 67, 0.15);
}

.type-activity {
    color: #feca57; /* Jaune */
    background: rgba(254, 202, 87, 0.1);
    border-color: rgba(254, 202, 87, 0.5);
    box-shadow: 0 0 10px rgba(254, 202, 87, 0.15);
}

/* Variables de statut */
.status-profit {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.15);
}
.status-loss {
    color: #ff4040;
    background: rgba(255, 64, 64, 0.1);
    box-shadow: 0 0 10px rgba(255, 64, 64, 0.15);
}

/* Media Query Mobile */
@media (max-width: 768px) {
    .act-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .act-item-right { width: 100%; justify-content: flex-start; flex-wrap: wrap; padding-left: calc(60px + 1.2rem); min-width: auto; }
    .act-desc { max-width: 100%; }
    .act-header-row { flex-direction: column; align-items: stretch; }
    .act-sort-btn { justify-content: center; }
}


/* =========================================
   12. ANIMATION ICÔNE LIEN EXTERNE
   ========================================= */

/* 1. Configuration de base de l'icône (invisible par défaut) */
.nav-links a[target="_blank"]::after,
.footer-links a[target="_blank"]::after,
.btn-hero[target="_blank"]::after,
.apply-btn[target="_blank"]::after,
.streamer-platform::after, 
.nav-button[target="_blank"]::after {
  content: "\f35d";                   /* Unicode de l'icône flèche carré */
  font-family: "Font Awesome 6 Free"; /* Police FontAwesome */
  font-weight: 900;                   /* Gras (Solid) */
  font-size: 0.75em;                  /* Taille */
  margin-left: 8px;                   /* Espace entre texte et icône */
  display: inline-block;              /* Nécessaire pour l'animation de mouvement */
  
  /* --- L'animation se joue ici --- */
  opacity: 0;                         /* Totalement transparent au début */
  transform: translateX(-5px);        /* Décalé légèrement vers la gauche */
  transition: all 0.3s ease-out;      /* Transition douce de 0.3 seconde */
}

/* 2. État au survol (l'icône apparaît) */
.nav-links a[target="_blank"]:hover::after,
.footer-links a[target="_blank"]:hover::after,
.btn-hero[target="_blank"]:hover::after,
.apply-btn[target="_blank"]:hover::after,
.streamer-platform:hover::after,
.nav-button[target="_blank"]:hover::after {
  opacity: 1;                         /* Devient visible */
  transform: translateX(0);           /* Revient à sa position normale */
}

/* =========================================
   13. PAGE STREAM & NAVBAR DOT
   ========================================= */

/* Point rouge navbar */
.nav-dot {
    width: 8px;
    height: 8px;
    background-color: #ff0000;
    border-radius: 50%;
    display: none; /* Caché par défaut */
    box-shadow: 0 0 10px #ff0000;
    animation: pulse-red 1.5s infinite;
}

.nav-dot.active {
    display: inline-block;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* Grille spécifique Stream */
.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

/* Carte Stream */
.stream-card {
    background: #0f0f13;
    border: 1px solid rgba(145, 71, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.stream-card:hover {
    transform: translateY(-5px);
    border-color: #9146FF;
    box-shadow: 0 10px 30px rgba(145, 71, 255, 0.25);
}

/* Zone Image (Thumbnail) */
.stream-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Ratio 16:9 */
    background: #000;
    overflow: hidden;
}

.stream-thumb {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.stream-card:hover .stream-thumb {
    transform: scale(1.05);
}

/* Overlays sur l'image */
.stream-status {
    position: absolute;
    top: 10px; left: 10px;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.stream-status.live {
    background: #e91e63;
    color: white;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
}

.stream-status.offline {
    background: rgba(0, 0, 0, 0.8);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stream-viewers {
    position: absolute;
    bottom: 10px; left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Infos Streamer */
.stream-info {
    padding: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: linear-gradient(to top, rgba(145, 71, 255, 0.05), transparent);
}

.stream-avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    border: 2px solid #9146FF;
    flex-shrink: 0;
    background: #000;
    display:flex; align-items:center; justify-content:center;
    font-weight:bold; color:#9146FF; font-size:1.2rem;
}

.stream-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.streamer-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.streamer-name i { color: #9146FF; }

.stream-title {
    font-size: 0.85rem;
    color: #a5b1c2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.stream-game {
    font-size: 0.75rem;
    color: #9146FF;
    margin-top: 4px;
}

/* Mobile */
@media (max-width: 768px) {
    .stream-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   14. SECTION TIKTOK & SÉPARATEUR (CORRIGÉ)
   ========================================= */

/* Le Séparateur Néon (Reste identique) */
.stream-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5rem auto 3rem;
  max-width: 1200px;
  position: relative;
  padding: 0 2rem;
}

.stream-separator::before,
.stream-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 80, 0.5), rgba(0, 242, 234, 0.5), transparent);
}

.separator-badge {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 0, 80, 0.4);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin: 0 1.5rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 15px rgba(255, 0, 80, 0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.separator-badge i {
  color: #00f2ea;
  text-shadow: 2px 0 #ff0050;
}

/* --- LA CORRECTION EST ICI --- */

.tiktok-section {
  max-width: 1400px; /* J'ai élargi un peu pour que les 3 blocs respirent */
  margin: 0 auto 5rem;
  padding: 0 2rem;
  width: 100%;
}

.tiktok-grid {
  display: grid;
  /* FORCE 3 colonnes de taille égale */
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem;
  width: 100%;
}

/* Carte TikTok */
.tiktok-card {
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  
  /* Ratio vertical forcé pour éviter que ça s'écrase */
  aspect-ratio: 9/16; 
  /* Hauteur minimale pour garantir l'affichage */
  min-height: 550px; 
}

.tiktok-card:hover {
  border-color: rgba(0, 242, 234, 0.6);
  box-shadow: 0 10px 40px rgba(0, 242, 234, 0.15), -5px 0 20px rgba(255, 0, 80, 0.15);
  transform: translateY(-5px);
  z-index: 2; /* Passe au dessus si besoin */
}

.tiktok-card iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --- RESPONSIVE OBLIGATOIRE --- */
/* Sur tablette et mobile, on ne PEUT PAS garder 3 colonnes sinon c'est illisible */

@media (max-width: 1024px) {
    .tiktok-grid {
        /* Passe à 2 colonnes sur tablettes/petits PC */
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .tiktok-grid {
        /* Passe à 1 colonne sur mobile */
        grid-template-columns: 1fr; 
    }
    .tiktok-card {
        min-height: 500px;
    }
}

/* =========================================
   15. OVERRIDES THÈME ILLÉGAL (PAGE POLICE)
   ========================================= */

/* 1. Titre principal en Rouge */
body.illegal-page .act-title-block h1 {
    color: var(--accent-red);
    text-shadow: 0 0 15px rgba(255, 64, 64, 0.4);
}

/* 2. Ligne de séparation sous le titre */
body.illegal-page .act-header-row {
    border-bottom-color: rgba(255, 64, 64, 0.2);
}

/* Force le cadre et la lueur en ROUGE */
body.illegal-page .act-list-wrapper {
    border-color: rgba(255, 64, 64, 0.5) !important;
    box-shadow: 0 0 30px rgba(255, 64, 64, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.9) !important;
}

/* Force l'effet au survol en ROUGE */
body.illegal-page .act-list-wrapper.neon-glow:hover {
    box-shadow: 0 0 50px rgba(255, 64, 64, 0.4), inset 0 0 30px rgba(0, 0, 0, 0.8) !important;
}

/* 4. En-tête du tableau (Type de braquage / Pré-requis) */
body.illegal-page .act-list-header {
    background: rgba(255, 64, 64, 0.05); /* Fond rouge très léger */
    border-bottom-color: rgba(255, 64, 64, 0.2);
    color: var(--accent-red);
}

/* 5. Les éléments de la liste (Lignes) au survol */
body.illegal-page .act-item:hover {
    background: rgba(255, 64, 64, 0.08);
    border-color: rgba(255, 64, 64, 0.3);
    border-left-color: var(--accent-red); /* Barre verticale gauche */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* 6. Barre de défilement (Scrollbar) en rouge */
body.illegal-page .act-scroll-container::-webkit-scrollbar-thumb {
    background: var(--accent-red);
}
body.illegal-page .act-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #ff7878;
}

/* =========================================
   ANIMATION LIEN EXTERNE (FIX GLOBAL)
   ========================================= */

/* Cible uniquement les liens texte classiques qui ouvrent un nouvel onglet */
.nav-link[target="_blank"]::after,
.footer-links a[target="_blank"]::after,
.dropdown-content a[target="_blank"]::after {
  content: "\f35d";                   /* Code icône FontAwesome (External Link) */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75em;
  margin-left: 6px;                   /* Espace propre entre texte et icône */
  display: inline-block;
  
  /* Animation d'apparition */
  opacity: 0;
  transform: translateX(-5px);        /* Part un peu de la gauche */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Au survol du lien, on affiche l'icône */
.nav-link[target="_blank"]:hover::after,
.footer-links a[target="_blank"]:hover::after,
.dropdown-content a[target="_blank"]:hover::after {
  opacity: 1;
  transform: translateX(0);           /* Arrive à sa place finale */
}

/* EXCEPTION : On désactive cette icône automatique pour les boutons stylisés 
   (Boutique, Vote, Réseaux sociaux) car ils ont déjà des icônes dédiées */
.social-bubble::after, 
.btn-boutique-glow::after, 
.btn-top-server::after,
.nav-button::after {
    content: none !important;
    display: none !important;
}

/* =========================================
   16. PAGE FORUM & FAQ
   ========================================= */

/* --- SECTION FAQ (Style Blocs Animés) --- */
.faq-section {
    max-width: 1200px;
    margin: 0 auto 5rem;
    padding: 0 1rem;
}

.faq-grid {
    display: grid;
    /* Création automatique de colonnes (min 280px de large) */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 1.5rem;
}

.faq-card {
    background: rgba(8, 11, 20, 0.7);
    border: 1px solid rgba(0, 184, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* Effet Hover Stylé */
.faq-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    background: rgba(8, 11, 20, 0.9);
    box-shadow: 0 10px 30px rgba(0, 184, 255, 0.15);
}

.faq-card:hover .faq-icon {
    transform: scale(1.2) rotate(10deg);
    color: #fff;
    text-shadow: 0 0 10px var(--primary-blue);
}

/* En-tête de la carte */
.faq-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.faq-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #e0e0e0;
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.arrow {
    color: #666;
    transition: transform 0.4s ease;
}

/* Contenu caché (Réponse) */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-content p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    font-size: 0.9rem;
    color: #a5b1c2;
    line-height: 1.6;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
}

/* État Actif (Déplié) */
.faq-card.active {
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.1);
    background: rgba(10, 14, 24, 0.95);
}

.faq-card.active .arrow {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.faq-card.active .faq-content {
    max-height: 300px; /* Suffisant pour le texte */
}

/* --- SECTION FORUM --- */
.forum-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Zone de saisie */
.forum-input-card {
    background: rgba(8, 11, 20, 0.95);
    border: 1px solid rgba(0, 184, 255, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.1);
}

.replying-badge {
    display: none;
    background: rgba(255, 159, 67, 0.2);
    color: #ff9f43;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 159, 67, 0.5);
    cursor: pointer;
}
.replying-badge:hover::after { content: " (Annuler)"; }

/* Liste des messages */
.forum-post {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeIn 0.5s ease;
}

.forum-post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}

.forum-author {
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forum-date {
    font-size: 0.75rem;
    color: #666;
}

.forum-content {
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 0.95rem;
    white-space: pre-wrap;
}

.forum-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

.forum-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
}

.forum-btn:hover { color: #fff; }
.forum-btn.like-btn:hover { color: #ff4040; }
.forum-btn.reply-btn:hover { color: var(--primary-blue); }

/* Réponses imbriquées */
.forum-replies {
    margin-top: 1rem;
    margin-left: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(0, 184, 255, 0.2);
}

.forum-reply {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    font-size: 0.9rem;
}

/* --- NOUVEAUX STYLES FORUM UX --- */

/* Classe utilitaire pour cacher avec animation possible */
.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Formulaire de réponse (Indépendant) */
.reply-form-container {
    margin-top: 1rem;
    margin-left: 2rem;
    padding: 1rem;
    background: rgba(0, 184, 255, 0.05);
    border-left: 2px solid var(--primary-blue);
    border-radius: 0 8px 8px 8px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Bouton Like Actif (Rouge) */
.forum-btn.liked {
    color: #ff4040;
    font-weight: bold;
}
.forum-btn.liked i {
    animation: heartBeat 0.3s ease-in-out;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Container du haut pour centrer le bouton participer */
.forum-actions-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

/* Ajustement largeur formulaire */
.forum-input-card {
    width: 100%;
    animation: fadeIn 0.5s ease;
}

/* =========================================
   17. SYSTÈME DE COMPTE (MODAL & PAGE)
   ========================================= */

/* --- Page Mon Compte --- */
.account-container {
    max-width: 900px;
    margin: 8rem auto 4rem;
    padding: 0 1.5rem;
}

.account-header {
    background: linear-gradient(135deg, rgba(8, 11, 20, 0.95), rgba(0, 20, 40, 0.95));
    border: 1px solid rgba(0, 184, 255, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.account-avatar-large {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; font-weight: 700; color: #fff;
    box-shadow: 0 0 25px rgba(0, 184, 255, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.account-info h1 {
    font-size: 2rem; color: #fff; margin-bottom: 0.5rem;
    text-transform: uppercase; letter-spacing: 1px;
}
.account-email { color: var(--text-gray); font-size: 1rem; margin-bottom: 1rem; display: block; }
.account-badges { display: flex; gap: 0.8rem; }
.badge-role {
    background: rgba(0, 184, 255, 0.1); border: 1px solid var(--primary-blue);
    color: var(--primary-blue); padding: 0.3rem 0.8rem; border-radius: 4px;
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;
}

.account-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem;
}

.account-card {
    background: rgba(8, 11, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px; padding: 2rem;
}
.account-card h3 { color: #fff; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.8rem; }

/* --- Modals (Pop-ups Connexion/Inscription) --- */
.auth-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none; justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.auth-modal-overlay.active { display: flex; opacity: 1; }

.auth-modal {
    background: #0b1021;
    border: 1px solid var(--primary-blue);
    border-radius: 16px;
    width: 100%; max-width: 420px;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 184, 255, 0.2);
    transform: translateY(20px); transition: transform 0.3s ease;
}
.auth-modal-overlay.active .auth-modal { transform: translateY(0); }

.auth-close {
    position: absolute; top: 1rem; right: 1rem;
    font-size: 1.5rem; color: #666; cursor: pointer; transition: color 0.3s;
}
.auth-close:hover { color: #fff; }

.auth-title { text-align: center; font-size: 1.8rem; margin-bottom: 2rem; color: #fff; text-transform: uppercase; }

.auth-input-group { margin-bottom: 1.2rem; }
.auth-input-group label { display: block; color: var(--text-gray); font-size: 0.85rem; margin-bottom: 0.5rem; }
.auth-input-group input {
    width: 100%; padding: 0.9rem; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; color: #fff; outline: none;
}
.auth-input-group input:focus { border-color: var(--primary-blue); }

.auth-switch { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-gray); }
.auth-switch span { color: var(--primary-blue); cursor: pointer; font-weight: 600; text-decoration: underline; }

/* Discord Button */
.btn-discord-auth {
    background: #5865F2; color: white; width: 100%; padding: 0.9rem;
    border-radius: 8px; border: none; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-bottom: 1rem;
    transition: background 0.3s;
}
.btn-discord-auth:hover { background: #4752c4; }
.divider { display: flex; align-items: center; margin: 1.5rem 0; color: #666; font-size: 0.8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.divider span { padding: 0 10px; }