*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #020202;
  --surface: #0a0a0a;
  --surface2: #141414;

  /* Variables gardées pour ne rien casser dans ton HTML/JS */
  --violet: #8a8a8a;
  --violet-light: #f1f1f1;
  --violet-glow: #ffffff;
  --violet-pale: #d7d7d7;

  --text: #f5f5f5;
  --muted: #8d8d8d;
  --border: rgba(255, 255, 255, 0.16);

  --silver-gradient: linear-gradient(135deg, #4a4a4a 0%, #b8b8b8 32%, #ffffff 50%, #8f8f8f 72%, #3d3d3d 100%);
  --silver-gradient-soft: linear-gradient(135deg, #272727 0%, #a7a7a7 45%, #ffffff 55%, #4a4a4a 100%);
  --black-glass: rgba(255,255,255,0.035);
  --white-glow: rgba(255,255,255,0.28);
}

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;
  box-shadow: 0 0 12px rgba(255,255,255,0.75), 0 0 28px rgba(255,255,255,0.22);
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.42);
  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(0,0,0,0.72);
  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 {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.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, text-shadow 0.2s;
}
.nav-links a:hover {
  color: var(--violet-pale);
  text-shadow: 0 0 14px rgba(255,255,255,0.35);
}
.nav-btn {
  background: var(--silver-gradient);
  color: #050505;
  border: none;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: none;
  transition: box-shadow 0.2s, transform 0.15s, filter 0.2s;
}
.nav-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 24px rgba(255,255,255,0.32);
  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(255,255,255,0.20) 0%,
    rgba(255,255,255,0.08) 35%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Grid lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 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(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.22);
  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: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffffff;
  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: var(--silver-gradient);
  -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: var(--silver-gradient);
  color: #050505;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: box-shadow 0.25s, transform 0.15s, filter 0.2s;
  border: none;
  cursor: none;
}
.btn-primary:hover {
  box-shadow: 0 0 30px rgba(255,255,255,0.35), 0 0 60px rgba(255,255,255,0.12);
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.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, box-shadow 0.2s;
  cursor: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 0 20px rgba(255,255,255,0.10);
}

.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);
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.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: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.018));
  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(255,255,255,0.35);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55), 0 0 24px rgba(255,255,255,0.10);
}
.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(255,255,255,0.42);
}

.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(255,255,255,0.075);
  color: var(--violet-pale);
  border: 1px solid rgba(255,255,255,0.14);
}
.role-fondateur { background: rgba(255,255,255,0.12); color: #ffffff; border: 1px solid rgba(255,255,255,0.45); }
.role-codirector { background: rgba(210,210,210,0.12); color: #ededed; border: 1px solid rgba(210,210,210,0.34); }
.role-admin { background: rgba(165,165,165,0.13); color: #e5e5e5; border: 1px solid rgba(190,190,190,0.32); }
.role-modo { background: rgba(145,145,145,0.13); color: #d7d7d7; border: 1px solid rgba(170,170,170,0.28); }
.role-support { background: rgba(120,120,120,0.12); color: #cfcfcf; border: 1px solid rgba(150,150,150,0.22); }
.role-legal { background: rgba(180,180,180,0.12); color: #f1f1f1; border: 1px solid rgba(210,210,210,0.32); }
.role-illegal { background: rgba(80,80,80,0.22); color: #bdbdbd; border: 1px solid rgba(130,130,130,0.35); }

/* 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, text-shadow 0.2s;
}
.footer-links a:hover {
  color: var(--violet-pale);
  text-shadow: 0 0 12px rgba(255,255,255,0.22);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #4d4d4d, #ffffff, #6f6f6f); 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(0,0,0,0.88);
  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(255,255,255,0.12);
}
.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.45);
  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(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  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(255,255,255,0.16);
  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(255,255,255,0.075);
  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(255,255,255,0.20);
  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(255,255,255,0.13);
  border-color: rgba(255,255,255,0.38);
  box-shadow: 0 0 24px rgba(255,255,255,0.16);
  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(0,0,0,0.96);
  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(255,255,255,0.08);
  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(255,255,255,0.15);
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .staff-overlay {
    padding: 4rem 1.25rem 2rem;
  }
}

/* LOADING SCREEN */
#loader {
  position: fixed;
  inset: 0;
  background: #000000;
  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(255,255,255,0.42));
}
@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.34));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 45px rgba(255,255,255,0.72));
  }
}
.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 {
  background: var(--silver-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}
.loader-bar-wrap {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.6s ease 0.6s forwards;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--silver-gradient);
  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.65), 0 0 22px rgba(255,255,255,0.07);
  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(--silver-gradient);
  color: #050505;
  border: none;
}
.cookie-accept:hover {
  box-shadow: 0 0 18px rgba(255,255,255,0.26);
  filter: brightness(1.08);
}
.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(255,255,255,0.10);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s;
}
.accordion-item:hover {
  border-color: rgba(255,255,255,0.26);
}
.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(255,255,255,0.045);
}
.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(255,255,255,0.35);
  background: rgba(255,255,255,0.035);
}
.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(0, 0, 0, 0.96);
    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(255,255,255,0.18);
  background: rgba(10,10,10,0.92);
  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,
    box-shadow 0.25s ease;
}
.tab-btn.active {
  background: var(--silver-gradient);
  border-color: transparent;
  color: #050505;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(255,255,255,0.18);
}
.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;
}
