/* ══════════════════════════════════════════
   SUREBET — home.css
   Hero, platform cards, footer cards
══════════════════════════════════════════ */

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 64px 20px 48px;
  animation: fadeIn 0.7s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 214, 0, 0.08);
  border: 1px solid rgba(255, 214, 0, 0.2);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease both;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.65rem;
  letter-spacing: 8px;
  line-height: 1;
  background: linear-gradient(135deg, #FFD600 0%, #FFA000 40%, #FFE57F 70%, #FFD600 100%);
  background-size: 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerGold 5s ease infinite, fadeInUp 0.6s 0.1s ease both;
  filter: drop-shadow(0 0 32px rgba(255, 214, 0, 0.15));
  margin-bottom: 18px;
}

.hero-desc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.08) 0%, rgba(14, 21, 37, 0.85) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 50px;
  padding: 10px 24px;
  max-width: 680px;
  margin: 0 auto 18px auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 16px rgba(255, 214, 0, 0.1);
  animation: fadeInUp 0.6s 0.15s ease both;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-desc-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 214, 0, 0.6);
}

.pill-icon {
  font-size: 1.1rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px rgba(255, 214, 0, 0.8));
}

.hero-desc {
  font-size: 0.84rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.2px;
  text-transform: none !important;
  text-align: left;
  line-height: 1.45;
  margin: 0;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 16px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-align: center !important;
  animation: fadeInUp 0.6s 0.2s ease both;
}

/* ── Platform Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 16px 60px 60px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.card {
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow var(--transition-slow),
              border-color var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  animation: fadeInUp 0.6s both;
}
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.19s; }
.card:nth-child(4) { animation-delay: 0.26s; }

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-8px) scale(1.01); }

/* Trait lumineux en haut de chaque carte */
.card-accent {
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  border-radius: 0 0 4px 4px;
  opacity: 0.7;
  transition: opacity var(--transition), left var(--transition), right var(--transition);
}
.card:hover .card-accent { left: 8%; right: 8%; opacity: 1; }

.card.blue {
  background: linear-gradient(160deg, #0a1a3a 0%, #0d2060 60%, #0b1a40 100%);
  border-color: rgba(21, 101, 192, 0.3);
  box-shadow: 0 4px 32px rgba(21, 101, 192, 0.1), inset 0 1px 0 rgba(255,255,255,0.04);
}
.card.blue:hover {
  box-shadow: 0 18px 56px rgba(21, 101, 192, 0.28), inset 0 1px 0 rgba(255,255,255,0.06);
  border-color: rgba(21, 101, 192, 0.55);
}
.card.blue .card-accent { background: linear-gradient(90deg, transparent, #1976D2, transparent); }

.card.green {
  background: linear-gradient(160deg, #081e0e 0%, #0c3016 60%, #091a0c 100%);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: 0 4px 32px rgba(46, 125, 50, 0.1), inset 0 1px 0 rgba(255,255,255,0.04);
}
.card.green:hover {
  box-shadow: 0 18px 56px rgba(46, 125, 50, 0.28), inset 0 1px 0 rgba(255,255,255,0.06);
  border-color: rgba(46, 125, 50, 0.55);
}
.card.green .card-accent { background: linear-gradient(90deg, transparent, #388E3C, transparent); }

.card-platform-logo {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
  background: transparent;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  padding: 0;
  box-sizing: border-box;
}
.card:hover .card-platform-logo { transform: scale(1.08); }
.card.blue:hover  .card-platform-logo { box-shadow: 0 6px 24px rgba(21, 101, 192, 0.4); }
.card.green:hover .card-platform-logo { box-shadow: 0 6px 24px rgba(46, 125, 50, 0.4); }

.card-platform-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 4px;
  transition: letter-spacing var(--transition);
}
.card:hover .card-name { letter-spacing: 5px; }
.card.blue  .card-name { color: #82B1FF; }
.card.green .card-name { color: #69F0AE; }

.card-tag {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 20px;
  font-weight: 500;
}

.features { list-style: none; margin-bottom: 24px; }
.features li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition);
}
.card:hover .features li { color: rgba(255, 255, 255, 0.82); }
.features li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.card.blue  .features li::before { color: #82B1FF; background: rgba(21,101,192,0.2); border: 1px solid rgba(21,101,192,0.3); }
.card.green .features li::before { color: #69F0AE; background: rgba(46,125,50,0.2); border: 1px solid rgba(46,125,50,0.3); }

.card-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: none;
  cursor: pointer;
  transition: opacity var(--transition), transform 0.2s ease, box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.card:hover .card-btn::after { transform: translateX(100%); }
.card:hover .card-btn { opacity: 0.92; transform: translateY(-1px); }
.card.blue  .card-btn { background: linear-gradient(135deg, var(--blue), var(--blue-light)); color: #fff; box-shadow: 0 4px 16px rgba(21,101,192,0.3); }
.card.green .card-btn { background: linear-gradient(135deg, var(--green), var(--green-light)); color: #fff; box-shadow: 0 4px 16px rgba(46,125,50,0.3); }

/* ── Footer Cards ── */
.footer-section {
  margin-top: auto;
  padding: 52px 40px 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
  position: relative;
}
.footer-section::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,214,0,0.15), transparent);
}

.footer-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto 28px;
}

.footer-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: fadeInUp 0.6s both;
}
.footer-card:nth-child(1) { animation-delay: 0.1s; }
.footer-card:nth-child(2) { animation-delay: 0.18s; }
.footer-card:nth-child(3) { animation-delay: 0.26s; }
.footer-card:nth-child(4) { animation-delay: 0.34s; }
.footer-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(0,0,0,0.3); }

.footer-card-icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.footer-card h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  word-break: break-word;
  padding: 0 2px;
}

/* ── Promo code highlight dans la carte Conseil ── */
.footer-promo {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem !important;
  color: rgba(255,255,255,0.7) !important;
  line-height: 1.6;
  margin-top: 6px;
  text-align: center;
  display: block;
}

.footer-card.important { border-color: rgba(255,214,0,0.18); }
.footer-card.important:hover { border-color: rgba(255,214,0,0.38); }
.footer-card.conseil   { border-color: rgba(21,101,192,0.2); }
.footer-card.conseil:hover { border-color: rgba(21,101,192,0.4); }
.footer-card.securite  { border-color: rgba(46,125,50,0.2); }
.footer-card.securite:hover { border-color: rgba(46,125,50,0.4); }
.footer-card.footer-card-promo { border-color: rgba(255, 107, 0, 0.4); background: linear-gradient(135deg, rgba(255,107,0,0.08), rgba(255,140,0,0.02)); }
.footer-card.footer-card-promo:hover { border-color: rgba(255, 107, 0, 0.7); box-shadow: 0 10px 32px rgba(255, 107, 0, 0.15); }

.footer-secure-text {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 1.5px;
  padding-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

/* ══════════════════════════════════════════
   SECTION COMMENT ÇA MARCHE
══════════════════════════════════════════ */
.how-it-works-wrapper {
  max-width: 900px;
  margin: 0 auto 50px auto;
  padding: 0 20px;
  position: relative;
}

.how-it-works-cta-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.how-it-works-btn.striking-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  font-size: 1.25rem;
  font-weight: 900;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1.5px;
  color: #0E1525;
  background: linear-gradient(135deg, #FFD600 0%, #FF9100 50%, #FFD600 100%);
  background-size: 200% auto;
  border: 2px solid #FFE082;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: 0 0 35px rgba(255, 214, 0, 0.6), 0 8px 30px rgba(0, 0, 0, 0.5);
  animation: pulseStrikingBtn 2.5s infinite ease-in-out;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.how-it-works-btn.striking-btn:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 0 50px rgba(255, 214, 0, 0.85), 0 14px 40px rgba(0, 0, 0, 0.6);
  background-position: right center;
}

.pointing-arrow {
  font-size: 1.5rem;
  display: inline-block;
}

.pointing-arrow.arrow-left {
  animation: pointRight 1.2s infinite ease-in-out;
}

.pointing-arrow.arrow-right {
  animation: pointLeft 1.2s infinite ease-in-out;
}

@keyframes pointRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes pointLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

@keyframes pulseStrikingBtn {
  0%, 100% {
    box-shadow: 0 0 25px rgba(255, 214, 0, 0.4), 0 8px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 224, 130, 0.6);
  }
  50% {
    box-shadow: 0 0 45px rgba(255, 214, 0, 0.85), 0 12px 35px rgba(255, 214, 0, 0.4);
    border-color: #FFFFFF;
  }
}

/* Container dépliable */
.how-it-works-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin 0.4s ease;
}

.how-it-works-content.open {
  max-height: 4000px;
  opacity: 1;
  margin-top: 20px;
}

.how-it-works-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Cartes d'étape */
.hw-step {
  background: linear-gradient(160deg, rgba(14, 21, 37, 0.95) 0%, rgba(20, 30, 55, 0.9) 100%);
  border: 1px solid rgba(255, 214, 0, 0.3);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease both;
}

.hw-badge-budget {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.25) 0%, rgba(255, 140, 0, 0.15) 100%);
  border: 1px solid rgba(255, 214, 0, 0.6);
  color: #FFD600;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 8px 22px;
  border-radius: 99px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 0 18px rgba(255, 214, 0, 0.25);
}

.hw-arrow-down {
  font-size: 2rem;
  color: #FFD600;
  text-shadow: 0 0 15px rgba(255, 214, 0, 0.6);
  margin: 4px 0 14px;
  animation: bounceArrow 1.8s infinite ease-in-out;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.hw-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Couleurs éclatantes pour les textes */
.txt-gold {
  color: #FFD600;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(255, 214, 0, 0.4);
}

.txt-cyan {
  color: #00E5FF;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}

.txt-white-bold {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2rem;
}

.highlight-profit {
  color: #00E676;
  font-weight: 900;
  font-size: 1.35rem;
  text-shadow: 0 0 12px rgba(0, 230, 118, 0.6);
  display: inline-block;
  padding: 0 4px;
}

.hw-img-box {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.4);
  margin: 0 auto;
  display: block;
  width: 100%;
}

/* Image seule réduite à max-width: 480px */
.hw-img-box.hw-single-img {
  max-width: 480px;
}

.hw-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

/* Grille 2 cartes strictement CÔTE À CÔTE (desktop ET mobile) */
.hw-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  width: 100%;
}

.hw-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hw-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.brand-1win {
  color: #00E5FF;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.brand-1xbet {
  color: #448AFF;
  text-shadow: 0 0 12px rgba(68, 138, 255, 0.5);
}

/* Encadré Profit garanti vifs */
.hw-profit-box {
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.4) 0%, rgba(14, 21, 37, 0.95) 50%, rgba(255, 214, 0, 0.15) 100%);
  border: 2px solid rgba(76, 175, 80, 0.7);
  border-radius: 22px;
  padding: 26px 20px;
  margin-top: 28px;
  box-shadow: 0 10px 40px rgba(46, 125, 50, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hw-profit-line {
  font-size: 1.1rem;
  font-weight: 700;
  color: #F1F8E9;
  margin-bottom: 12px;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hw-guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #00C853 0%, #1B5E20 100%);
  border: 2px solid #66BB6A;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 12px 28px;
  border-radius: 99px;
  margin-top: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 0 25px rgba(0, 230, 118, 0.5), 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* ══════════════════════════════════════════
   CARTE 12 000 UTILISATEURS ACTIFS (FOOTER)
══════════════════════════════════════════ */
.active-users-card {
  max-width: 850px;
  margin: 24px auto 32px auto;
  background: linear-gradient(145deg, rgba(21, 31, 53, 0.95) 0%, rgba(14, 21, 37, 0.95) 100%);
  border: 1px solid rgba(255, 214, 0, 0.35);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 214, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease both;
}

.active-users-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD600, transparent);
  box-shadow: 0 0 12px #FFD600;
}

.users-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.users-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 214, 0, 0.2), rgba(255, 140, 0, 0.08));
  border: 1px solid rgba(255, 214, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(255, 214, 0, 0.25);
  flex-shrink: 0;
}

.users-icon {
  font-size: 2rem;
}

.users-pulse-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background-color: #00E676;
  border-radius: 50%;
  box-shadow: 0 0 10px #00E676;
  animation: dotPulse 1.2s infinite alternate ease-in-out;
}

.users-text-group {
  text-align: left;
}

.users-count-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.count-num {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  background: linear-gradient(135deg, #FFD600 0%, #FFA000 50%, #FFE57F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(255, 214, 0, 0.3));
}

.count-label {
  font-family: 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.users-subtitle {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
  line-height: 1.4;
}

.users-trust-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E0E0E0;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.trust-pill:hover {
  border-color: rgba(255, 214, 0, 0.4);
  background: rgba(255, 214, 0, 0.08);
  color: #FFD600;
}



