/* Hub des 3 jeux — tokens via --rde-jeux-* (admin Apparence) */
.rde-hub {
  --hub-bg: var(--rde-jeux-card-bg, #f7f6f2);
  --hub-ink: var(--rde-jeux-text, #1a1a26);
  --hub-title: var(--rde-jeux-title, #1a1a26);
  --hub-muted: var(--rde-jeux-text-muted, #6e6e7c);
  --hub-line: var(--rde-jeux-card-border, #dddcd3);
  --hub-brand: var(--rde-jeux-accent, #075ac8);
  --hub-brand-dark: var(--rde-jeux-button-hover, #054a9e);
  --hub-badge: var(--rde-jeux-badge, #075ac8);
  --hub-btn-bg: var(--rde-jeux-button-bg, #075ac8);
  --hub-btn-text: var(--rde-jeux-button-text, #ffffff);
  --hub-font: system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
  font-family: var(--hub-font);
  color: var(--hub-ink);
}

.rde-hub__header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.rde-hub__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--hub-title);
}

.rde-hub__intro {
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--hub-muted);
  max-width: 32rem;
}

.rde-hub__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.rde-hub__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.25rem 1.2rem 1.35rem;
  background: var(--hub-bg);
  border: 1px solid var(--hub-line);
  border-radius: 12px;
  min-height: 100%;
}

.rde-hub__badge {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hub-badge);
}

.rde-hub__card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--hub-title);
}

.rde-hub__card-desc {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--hub-muted);
}

.rde-hub__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  align-self: flex-start;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--hub-btn-bg);
  color: var(--hub-btn-text) !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.rde-hub__cta:hover,
.rde-hub__cta:focus {
  background: var(--hub-brand-dark);
  color: var(--hub-btn-text) !important;
}

@media (max-width: 800px) {
  .rde-hub__grid {
    grid-template-columns: 1fr;
  }
}
