/* === Pong — surcharge identité jeu === */

/* Bandeau joueur le plus actif */
.bandeau-joueur-actif {
  margin-bottom: 16px;
  padding: 9px 18px;
  background: rgba(0, 229, 255, 0.10);
  border: 1px solid rgba(0, 229, 255, 0.28);
  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: #00e5ff; 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é Pong : grille néon + halos cyan/magenta */
.hero-pong {
  position: relative;
  padding: 32px 20px 28px;
  margin: -40px -32px 28px;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(0,229,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 100%, rgba(255,0,128,0.15) 0%, transparent 55%),
    rgba(10,14,26,0.45);
  overflow: hidden;
}
.hero-pong::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,229,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  opacity: 0.6;
}
.hero-pong::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 1px; height: 60%;
  transform: translate(-50%, -50%);
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.18) 0 8px, transparent 8px 16px);
  pointer-events: none;
}

/* Paddles + balle décoratifs */
.hero-pong-deco {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.paddle-deco {
  width: 8px; height: 32px;
  border-radius: 3px;
  animation: paddle-pulse 2s ease-in-out infinite;
  will-change: transform;
}
.paddle-deco.cyan {
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0,229,255,0.7);
}
.paddle-deco.magenta {
  background: #ff0080;
  box-shadow: 0 0 12px rgba(255,0,128,0.7);
  animation-delay: -1s;
}
.ball-deco {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
  animation: ball-bounce 1.2s ease-in-out infinite;
  will-change: transform;
}
@keyframes paddle-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes ball-bounce {
  0%, 100% { transform: translateX(-12px); }
  50% { transform: translateX(12px); }
}

/* Titre Pong avec gradient néon */
.hero-pong .hero-title {
  background: linear-gradient(135deg, #00e5ff, #fff, #ff0080);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-pong .hero-h1 {
  color: #cbd5e1;
}
.hero-pong .subtitle {
  color: #94a3b8;
  margin-bottom: 20px;
}
.hero-pong .hero-visual {
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,229,255,0.25), 0 4px 16px rgba(255,0,128,0.15);
}

/* Badges spécifiques Pong */
.badge-multi {
  background: rgba(0,229,255,0.15);
  color: #00e5ff;
  border: 1px solid rgba(0,229,255,0.3);
}
.badge-prive {
  background: rgba(255,0,128,0.12);
  color: #ff0080;
  border: 1px solid rgba(255,0,128,0.3);
}

/* Symbole décoratif rules (Pong = balle) */
.rules::before,
.section-panel::before {
  content: '\25CF';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.6rem;
  opacity: 0.10;
  color: #00e5ff;
}

/* Mode-icon plus grandes */
.mode-icon {
  font-size: 2.6rem !important;
  display: block;
  margin-bottom: 4px;
  transition: transform 0.3s ease;
}

/* Responsive hero */
@media (max-width: 600px) {
  .hero-pong .hero-text { text-align: center; align-items: center; }
  .hero-pong .subtitle { font-size: 0.82rem; }
}
@media (max-width: 480px) {
  .hero-pong { padding: 24px 14px 22px; margin: -28px -18px 22px; }
  .hero-pong .hero-title { font-size: 1.8rem; }
  .hero-pong .hero-h1 { font-size: 0.95rem; }
}
