/* === Same Game — surcharge identité jeu (accueil) === */

.hero-samegame {
  position: relative;
  padding: 32px 20px 28px;
  margin: -40px -32px 28px;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(ellipse at 28% 0%, rgba(139,92,246,0.20) 0%, transparent 60%),
    radial-gradient(ellipse at 72% 100%, rgba(168,85,247,0.14) 0%, transparent 50%),
    rgba(0,0,0,0.2);
  overflow: hidden;
}
.hero-samegame::before {
  content: '';
  position: absolute;
  top: -20px; right: -30px;
  width: 180px; height: 180px;
  background-image: radial-gradient(circle, rgba(139,92,246,0.12) 30%, transparent 31%);
  background-size: 34px 34px;
  border-radius: 20px;
  transform: rotate(15deg);
  opacity: 0.7;
  pointer-events: none;
}

/* Blocs décoratifs flottants au-dessus du hero */
.hero-blocs-deco {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.bloc-float {
  width: 40px; height: 40px;
  border-radius: 8px;
  animation: bloc-float 3s ease-in-out infinite;
  will-change: transform;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.bloc-float:nth-child(2) { animation-delay: -1s; }
.bloc-float:nth-child(3) { animation-delay: -2s; }
.bloc-float:nth-child(4) { animation-delay: -1.5s; }
.bf-c1 { background: linear-gradient(145deg, #f87171, #dc2626); }
.bf-c2 { background: linear-gradient(145deg, #60a5fa, #2563eb); }
.bf-c3 { background: linear-gradient(145deg, #4ade80, #16a34a); }
.bf-c4 { background: linear-gradient(145deg, #c084fc, #9333ea); }
@keyframes bloc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-samegame .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, var(--color-light), var(--color-mid), var(--color-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-samegame .hero-h1 {
  font-size: 1rem;
  font-weight: 400;
  margin: 0 0 10px;
  line-height: 1.4;
}
.hero-samegame .subtitle { margin-bottom: 20px; }

.btn-cta-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 14px 36px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--color-btn1), var(--color-btn2));
  box-shadow: 0 6px 24px rgba(139,92,246,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.btn-cta-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.5); }

.badge-defi-jour { background: rgba(168,85,247,0.2); color: #d8b4fe; }
.badge-solo { background: rgba(139,92,246,0.2); color: #c4b5fd; }

@media (max-width: 600px) {
  .hero-samegame { margin: -32px -20px 22px; padding: 24px 14px 20px; }
}
