/*
 * Fusions de Monstres : identité de la page d'accueil. Tout le reste (hero-jeu,
 * hero-flex, cartes de modes) vient du CSS partagé chargé avant.
 */
.deco-feu   { background: #f87171; }
.deco-eau   { background: #60a5fa; }
.deco-terre { background: #a3d977; }
.deco-air   { background: #e9d5ff; }

.rules { --rules-symbole: '\25C6'; }

.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(167, 139, 250, 0.2); color: #ddd6fe; }
.badge-defi         { background: rgba(251, 191, 36, 0.18); color: #fcd34d; }
.badge-action       { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.badge-entrainement { background: rgba(96, 165, 250, 0.18); color: #93c5fd; }
.badge-classement   { background: rgba(163, 217, 119, 0.18); color: #bef264; }

.modes-header {
  text-align: center;
  font-weight: 700;
  margin: 6px 0 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
a.mode-card { text-decoration: none; display: block; }
a.mode-card h2 { margin: 6px 0 4px; }

.lien-classement-accueil { text-align: center; margin: 4px 0 22px; font-weight: 700; }

/* Questions fréquentes : accordéon (js/faq-accordeon.js partagé) */
.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: #c4b5fd; }
.faq-question[aria-expanded="true"]::after { content: '−'; }
.faq-question:focus-visible { outline: 2px solid #c4b5fd; outline-offset: -2px; }
.faq-answer { padding: 0 14px 14px; line-height: 1.6; color: #d6d3e4; }
.faq-answer[hidden] { display: none; }

/* Tableaux des règles : défilent sur eux-mêmes sur un écran étroit, jamais la page. */
.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: #c4b5fd; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.table-regles tbody th { white-space: nowrap; }
.credit-icones { font-size: 0.72rem; opacity: 0.75; }
