*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #080810;
  --surface: #0f0f1a;
  --surface2: #14142a;
  --violet: #7c3aed;
  --violet-light: #a855f7;
  --violet-glow: #9333ea;
  --violet-pale: #c4b5fd;
  --text: #f1f0ff;
  --muted: #7c7a9a;
  --border: rgba(124, 58, 237, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  user-select: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--violet-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s, height 0.3s, background 0.3s;
  mix-blend-mode: screen;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(168,85,247,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease, width 0.3s, height 0.3s, opacity 0.3s;
}
body:hover .cursor {
  opacity: 1;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(8,8,16,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.nav-logo span {
  color: var(--violet-light);
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--violet-pale);
}
.nav-btn {
  background: var(--violet);
  color: #fff;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.nav-btn:hover {
  background: var(--violet-glow);
  box-shadow: 0 0 20px rgba(147,51,234,0.5);
  transform: translateY(-1px);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Halo discret via ::before */
.hero::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  top: -120px;
  left: -120px;
  background: radial-gradient(circle at top left,
    rgba(124, 58, 237, 0.35) 0%,
    rgba(124, 58, 237, 0.15) 35%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-pale);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}
.badge-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease 0.15s both;
}
.hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--violet-light), var(--violet-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease 0.45s both;
}
.hero-actions-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--violet-glow));
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.15s;
  border: none;
  cursor: none;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(124,58,237,0.6), 0 0 60px rgba(124,58,237,0.2);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: var(--violet-pale);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  cursor: none;
}
.btn-secondary:hover {
  background: rgba(124,58,237,0.1);
  border-color: rgba(124,58,237,0.5);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease 0.6s both;
}
.stat {
  text-align: center;
}
.stat-number {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--violet-light);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.stat-divider {
  width: 1px;
  background: var(--border);
  height: 50px;
  align-self: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SECTION STAFF */
#staff {
  padding: 7rem 3rem;
  position: relative;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 500px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Staff grid */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}

/* CARDS STAFF */
.staff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.staff-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124,58,237,0.5);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 20px rgba(124,58,237,0.1);
}
.staff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-light), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.staff-card:hover::before {
  opacity: 1;
}

.staff-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  margin: 0 auto 1rem;
  background: var(--surface2);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition:
    transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.3s,
    box-shadow 0.3s;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4);
}
.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-card:hover .staff-avatar {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--violet-light);
  box-shadow: 0 0 18px rgba(124,58,237,0.55);
}

.staff-name {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.staff-role {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(124,58,237,0.1);
  color: var(--violet-pale);
}
.role-fondateur { background: rgba(255,100,180,0.15); color: #ff80cc; border: 1px solid rgba(255,100,180,0.45); }
.role-codirector { background: rgba(56,189,248,0.15); color: #7dd3fc; border: 1px solid rgba(56,189,248,0.4); }
.role-admin { background: rgba(99,21,220,0.15); color: #a78bfa; border: 1px solid rgba(99,21,220,0.35); }
.role-modo { background: rgba(67,56,202,0.15); color: #93c5fd; border: 1px solid rgba(67,56,202,0.35); }
.role-support { background: rgba(245,158,11,0.1); color: #fde68a; border: 1px solid rgba(245,158,11,0.2); }
.role-legal { background: rgba(16,185,129,0.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,0.4); }
.role-illegal { background: rgba(239,68,68,0.15); color: #fca5a5; border: 1px solid rgba(239,68,68,0.4); }

/* Révélation douce des sections */
.section-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--violet-pale);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* Burger */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.2rem;
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: none;
}

/* Modal connexion */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 0 60px rgba(124,58,237,0.2);
}
.modal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-light), transparent);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.3rem;
  cursor: none;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--text);
}
.modal-step {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.modal-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.modal-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.modal-code-block {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.modal-code {
  font-family: monospace;
  font-size: 1rem;
  color: var(--violet-pale);
  letter-spacing: 0.03em;
}
.copy-btn {
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  color: var(--violet-pale);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-family: 'DM Sans', sans-serif;
  cursor: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.copy-btn:hover {
  background: rgba(124,58,237,0.3);
  border-color: var(--violet);
}
.modal-hint {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.modal-hint strong {
  color: var(--violet-pale);
}
.btn-ingame {
  background: rgba(124,58,237,0.12);
  color: var(--violet-pale);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(124,58,237,0.35);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.15s;
  cursor: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-ingame:hover {
  background: rgba(124,58,237,0.22);
  border-color: rgba(124,58,237,0.6);
  box-shadow: 0 0 24px rgba(124,58,237,0.25);
  transform: translateY(-2px);
}

/* DESKTOP FORCE */
@media (min-width: 769px) {
  nav {
    padding: 1.25rem 3rem;
    flex-wrap: nowrap;
  }
  .nav-links {
    display: flex !important;
  }
  .burger {
    display: none !important;
  }
  .hero {
    padding: 7rem 2rem 4rem;
  }
  .hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
  }
  #hero-logo {
    height: 110px !important;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions-row {
    flex-direction: row;
  }
  .btn-primary,
  .btn-secondary,
  .btn-ingame {
    width: auto;
    text-align: left;
    justify-content: flex-start;
  }
  #staff {
    padding: 7rem 3rem;
  }
  .staff-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem;
  }
  .staff-avatar {
    width: 72px !important;
    height: 72px !important;
    font-size: 1.6rem !important;
    border-radius: 18px !important;
  }
  .staff-card {
    padding: 1.75rem 1.5rem;
  }
  .staff-name {
    font-size: 1.05rem;
  }
  .staff-role {
    font-size: 0.75rem;
    padding: 0.2rem 0.75rem;
  }
  #reglement {
    padding: 7rem 3rem;
  }
  .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  footer {
    padding: 2.5rem 3rem;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  .divider {
    margin: 0 3rem;
    width: calc(100% - 6rem);
  }
}

/* Overlays staff / règlement avec fondu doux */
.staff-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,8,16,0.95);
  backdrop-filter: blur(12px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 5rem 3rem 3rem;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) transparent;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}
.staff-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.staff-overlay-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  cursor: none;
  transition: background 0.2s, transform 0.2s;
  z-index: 160;
}
.staff-overlay-close:hover {
  background: rgba(124,58,237,0.3);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .staff-overlay {
    padding: 4rem 1.25rem 2rem;
  }
}

/* LOADING SCREEN */
#loader {
  position: fixed;
  inset: 0;
  background: #080810;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: loaderPulse 1.8s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(168,85,247,0.7));
}
@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(168,85,247,0.5));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 45px rgba(168,85,247,0.9));
  }
}
.loader-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.4s forwards;
}
.loader-name span {
  color: var(--violet-light);
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}
.loader-bar-wrap {
  width: 160px;
  height: 2px;
  background: rgba(124,58,237,0.2);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.6s forwards;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
  border-radius: 999px;
  animation: loaderProgress 1.8s ease 0.8s forwards;
}
@keyframes loaderProgress {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}
.loader-tagline {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.8s forwards;
}

/* BgParticles */
#bgParticles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 90%;
  max-width: 600px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}
.cookie-content {
  flex: 1;
}
.cookie-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}
.cookie-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
}
.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.cookie-accept {
  background: var(--violet);
  color: white;
  border: none;
}
.cookie-accept:hover {
  background: var(--violet-glow);
  box-shadow: 0 0 15px rgba(124,58,237,0.4);
}
.cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.cookie-decline:hover {
  border-color: var(--violet-pale);
  color: var(--text);
}

/* ACCORDION STYLES */
.accordion-item {
  margin-bottom: 0.75rem;
  border: 1px solid rgba(124,58,237,0.1);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s;
}
.accordion-item:hover {
  border-color: rgba(124,58,237,0.3);
}
.accordion-header {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: none;
  user-select: none;
  transition: background 0.3s;
}
.accordion-header:hover {
  background: rgba(124,58,237,0.05);
}
.accordion-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.accordion-icon {
  width: 18px;
  height: 18px;
  color: var(--violet-pale);
  transition: transform 0.3s;
}
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}
.accordion-item.active {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.03);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  /* Nav */
  nav {
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  /* mobile: nav-links cachés par défaut */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 8, 16, 0.95);
    padding: 1.5rem 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
    z-index: 120;
  }

  /* Etat ouvert via .nav-open (JS toggleMobileMenu) */
  .nav-links.nav-open {
    display: flex;
    animation: navFadeIn 0.25s ease-out;
  }

  .nav-btn {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
  }

  .burger {
    display: block;
  }

  /* Hero */
  .hero {
    padding: 7rem 1.25rem 3rem;
  }
  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero-actions {
    align-items: stretch;
  }
  .hero-actions-row {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary,
  .btn-ingame {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
  #hero-logo {
    height: 80px !important;
  }

  /* Staff */
  #staff {
    padding: 4rem 1.25rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .staff-card {
    padding: 1.25rem 1rem;
    border-radius: 20px;
  }
  .staff-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
    border-radius: 16px;
  }
  .staff-name {
    font-size: 0.9rem;
  }
  .staff-role {
    font-size: 0.68rem;
    padding: 0.15rem 0.55rem;
  }

  /* Règlement */
  #reglement {
    padding: 4rem 1.25rem;
  }
  .regl-grid {
    grid-template-columns: 1fr !important;
  }

  /* Cookie banner mobile */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 1rem;
    padding: 1.25rem;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
  }

  /* Divider */
  .divider {
    margin: 0 1.25rem;
    width: calc(100% - 2.5rem);
  }

  /* Footer */
  footer {
    padding: 2rem 1.25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .footer-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* petite anim d’apparition du menu mobile */
@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ONGLET: NAV + PANELS (transition douce) */
.tabs-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.tab-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,0.25);
  background: rgba(15,15,26,0.9);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease;
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--violet), var(--violet-glow));
  border-color: transparent;
  color: #fff;
  transform: translateY(-1px);
}
.tab-panel {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.tab-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}