
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,0.4) 50%, transparent 100%),
    radial-gradient(1px 1px at 28% 72%, rgba(94,234,212,0.5) 50%, transparent 100%),
    radial-gradient(1px 1px at 47% 33%, rgba(255,255,255,0.3) 50%, transparent 100%),
    radial-gradient(1px 1px at 63% 88%, rgba(255,255,255,0.35) 50%, transparent 100%),
    radial-gradient(1px 1px at 78% 41%, rgba(245,158,11,0.35) 50%, transparent 100%),
    radial-gradient(1px 1px at 91% 14%, rgba(255,255,255,0.3) 50%, transparent 100%),
    radial-gradient(2px 2px at 35% 55%, rgba(255,255,255,0.2) 50%, transparent 100%),
    radial-gradient(2px 2px at 82% 65%, rgba(94,234,212,0.3) 50%, transparent 100%);
  background-size: 100% 100%;
}



.hero-jeu {
  --hero-marge: 0 0 28px;
  --hero-marge-mobile: 0 0 28px;
  --hero-radius: 18px;
  text-align: center;
  background:
    radial-gradient(circle 2px at calc(18% + 2px) calc(14% + 2px), rgba(255, 255, 255, 0.7) 0 99%, transparent 100%),
    radial-gradient(circle 2px at calc(78% - 2px) calc(28% + 2px), rgba(94, 234, 212, 0.7) 0 99%, transparent 100%),
    radial-gradient(circle 2px at calc(12% + 2px) calc(68% - 2px), rgba(245, 158, 11, 0.7) 0 99%, transparent 100%),
    radial-gradient(circle 2px at calc(72% - 2px) calc(80% - 2px), rgba(255, 255, 255, 0.7) 0 99%, transparent 100%),
    radial-gradient(circle 1.5px at calc(38% + 1.5px) calc(55% + 1.5px), rgba(94, 234, 212, 0.7) 0 99%, transparent 100%),
    radial-gradient(circle 1.5px at calc(86% - 1.5px) calc(70% + 1.5px), rgba(255, 255, 255, 0.7) 0 99%, transparent 100%),
    radial-gradient(circle 70px at 30px 30px, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0.12) 99%, transparent 100%),
    radial-gradient(circle 80px at calc(100% - 30px) calc(100% - 30px), rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.08) 99%, transparent 100%),
    radial-gradient(ellipse at 30% 30%, rgba(20, 184, 166, 0.18), transparent 65%),
    radial-gradient(ellipse at 75% 70%, rgba(245, 158, 11, 0.12), transparent 60%);
  border: 1px solid rgba(94, 234, 212, 0.18);
}


.hero-text { position: relative; z-index: 1; }
.hero-jeu .hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  line-height: 1.1;
  background: linear-gradient(90deg, #5eead4 0%, #2dd4bf 40%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-jeu .hero-h1 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 10px;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .hero-jeu .hero-title { font-size: 1.9rem; }
  .hero-jeu .hero-h1 { font-size: 0.95rem; }
}



.btn-cta-hero {
  position: relative;
  display: inline-block;
  margin-top: 18px;
  padding: 14px 36px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  background: #0f766e;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s;
}
.btn-cta-hero:hover {
  transform: scale(1.06);
}


.hero-live {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.live-dot { width: 8px; height: 8px; background: #5eead4; border-radius: 50%; }

a.mode-card { text-decoration: none; display: block; position: relative; }
a.mode-card h2 { margin: 6px 0 4px; }
.mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #14b8a6, #f59e0b);
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.mode-card:hover::before, .mode-card:focus-visible::before { opacity: 1; }
.mode-card:hover, .mode-card:focus-visible {
  border-color: rgba(20, 184, 166, 0.4);
}
.mode-card .mode-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-solo         { background: rgba(94, 234, 212, 0.18); color: #5eead4; }
.badge-defi         { background: rgba(251, 191, 36, 0.18); color: #fcd34d; }
.badge-action       { background: rgba(249, 115, 22, 0.18); color: #fdba74; }
.badge-entrainement { background: rgba(96, 165, 250, 0.18); color: #93c5fd; }


.lien-classement-accueil { text-align: center; margin: 18px 0 26px; }
.lien-classement-accueil a {
  display: inline-block; min-height: 48px; padding: 12px 22px; border-radius: 12px;
  background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fcd34d; font-weight: 700; text-decoration: none;
}
.lien-classement-accueil a:hover, .lien-classement-accueil a:focus-visible { background: rgba(251, 191, 36, 0.2); }


.rules { --rules-symbole: '\25C6'; }
.rules a { color: #fcd34d; }


.faq-section { display: grid; gap: 8px; margin-top: 10px; }
.faq-item { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; background: rgba(255, 255, 255, 0.03); overflow: hidden; }
.faq-question {
  display: block; width: 100%; min-height: 48px; padding: 12px 40px 12px 14px; position: relative;
  background: none; border: 0; color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer;
}
.faq-question::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: #5eead4; }
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-question:focus-visible { outline: 2px solid #5eead4; outline-offset: -2px; }
.faq-answer { padding: 0 14px 14px; line-height: 1.6; color: #cbd5e1; }
.faq-answer[hidden] { display: none; }


.table-defilante { overflow-x: auto; margin: 10px 0 14px; }
.table-regles { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table-regles th, .table-regles td { padding: 8px 10px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.1); vertical-align: top; }
.table-regles thead th { color: #5eead4; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.table-regles tbody th { white-space: nowrap; }


@media (max-width: 480px) {
  .btn-cta-hero { padding: 12px 28px; font-size: 1rem; }
}
