/* === Perds pas la tête — surcharge identité jeu === */

/* Bandeau joueur le plus actif */
.bandeau-joueur-actif {
  margin-bottom: 16px;
  padding: 9px 18px;
  background: rgba(70,163,217,0.12);
  border: 1px solid rgba(70,163,217,0.3);
  border-radius: 10px;
  text-align: center;
  font-size: 0.82rem;
  color: #cbd5e1;
  overflow: hidden;
  animation: bandeau-apparition 0.8s ease both;
}
.bandeau-joueur-actif strong { color: #46a3d9; font-weight: 700; }
.bandeau-carousel { position: relative; height: 1.4em; }
.bandeau-msg {
  position: absolute; inset: 0;
  text-align: center; line-height: 1.4em;
  opacity: 0; transform: translateY(100%);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.bandeau-msg-visible { opacity: 1; transform: translateY(0); }
.bandeau-msg-sortie { opacity: 0; transform: translateY(-100%); }
.bandeau-msg-entree { opacity: 0; transform: translateY(100%); }
@keyframes bandeau-apparition {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .bandeau-joueur-actif { font-size: 0.78rem; padding: 8px 12px; }
  .bandeau-carousel { height: 3.6em; }
  .bandeau-cta { display: block; }
}

/* Hero renforcé : paysage hivernal */
.hero-ppt {
  position: relative;
  padding: 32px 20px 28px;
  margin: -40px -32px 28px;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(190,231,248,0.16) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 100%, rgba(255,140,66,0.10) 0%, transparent 50%),
    rgba(0,0,0,0.2);
  overflow: hidden;
}
.hero-ppt::before {
  content: '';
  position: absolute;
  bottom: -36px; left: -20px; right: -20px;
  height: 80px;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(238,246,251,0.14) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 100%, rgba(238,246,251,0.10) 0%, transparent 55%);
  pointer-events: none;
}

/* Flocons décoratifs centrés en haut du hero */
.hero-flocons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 10px;
  height: 28px;
}
.flocon-hero {
  font-size: 1.4rem;
  color: rgba(190,231,248,0.85);
  text-shadow: 0 2px 8px rgba(70,163,217,0.35);
  animation: flocon-float 4.5s ease-in-out infinite;
  will-change: transform;
}
.flocon-hero:nth-child(2) { animation-delay: -1.5s; opacity: 0.85; font-size: 1.1rem; }
.flocon-hero:nth-child(3) { animation-delay: -3s; opacity: 0.7; font-size: 1.25rem; }
@keyframes flocon-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-7px) rotate(18deg); }
}

/* Titre hero */
.hero-ppt .hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px;
  line-height: 1.1;
  background: linear-gradient(90deg, #bee7f8, #46a3d9, #ff8c42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-ppt .hero-h1 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 10px;
  line-height: 1.4;
}
.hero-ppt .subtitle {
  margin-bottom: 20px;
}

/* Groupe des boutons d'action : Jouer / Classement */
.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 400px;
  margin: 4px auto 0;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.hero-action:hover { transform: translateY(-2px); }

/* Jouer — bouton primaire, palette carotte */
.hero-action-primary {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #e8702e, #ff8c42);
  box-shadow: 0 4px 18px rgba(232,112,46,0.35);
  border-color: transparent;
}
.hero-action-primary:hover {
  box-shadow: 0 6px 24px rgba(232,112,46,0.5);
}

/* Classement — palette dorée (flocons d'or) */
.hero-action-classement {
  color: #ffe9b8;
  background: rgba(255,215,110,0.10);
  border-color: rgba(255,215,110,0.40);
}
.hero-action-classement:hover {
  background: rgba(255,215,110,0.20);
  border-color: rgba(255,215,110,0.7);
}

/* Indicateur live */
.hero-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: #94a3b8;
}
.live-dot {
  position: relative;
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(34,197,94,0.4);
  animation: live-pulse 2s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes live-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(2.4); opacity: 0; }
}

/* Section rules */
.rules {
  position: relative;
  padding: 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.rules::before {
  content: '\26C4'; /* bonhomme de neige */
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.8rem;
  opacity: 0.16;
}

/* Responsive hero */
@media (max-width: 480px) {
  .hero-ppt { padding: 24px 14px 22px; margin: -28px -18px 22px; }
  .hero-ppt .hero-title { font-size: 1.8rem; }
  .hero-ppt .hero-h1 { font-size: 0.95rem; }
  .flocon-hero { font-size: 1.15rem; }
  .hero-flocons { gap: 22px; }
}
