/* ══════════════════════════════════════════════════════════
   HOME REDESIGN — hero energetico, banda de confianza,
   tarjetas de rifa gamificadas, ganadores recientes, CTA final
   ══════════════════════════════════════════════════════════ */

/* ── HERO BANNER — ancho completo, corto, con serpentinas ─── */
.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 34vw, 420px);
  display: flex;
  align-items: center;
  isolation: isolate;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

.hero-banner-bg .hero-media-carousel,
.hero-banner-bg .carousel-inner,
.hero-banner-bg .carousel-item {
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero-banner-bg .hero-media-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) brightness(.82);
}

.hero-banner-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 18, .88) 0%, rgba(7, 7, 18, .58) 45%, rgba(7, 7, 18, .28) 100%);
}

.hero-banner-inner {
  position: relative;
  z-index: 2;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-banner-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: 3px;
  color: var(--gold);
}

.hero-banner-kicker i {
  animation: heroSpark 1.8s ease-in-out infinite;
}

@keyframes heroSpark {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: .7; }
}

.hero-banner-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: 2px;
  line-height: .96;
  margin: 0 0 .7rem;
  color: #fff;
  max-width: 680px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.hero-banner-subtitle {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 0 1.4rem;
  line-height: 1.6;
}

.hero-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
}

.hero-banner-actions .btn-ghost-gold {
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.hero-banner-actions .btn-ghost-gold:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-banner-next-draw {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  font-weight: 700;
}

.hero-banner-next-draw-debajo {
  flex-basis: 100%;
  margin-top: .2rem;
}

.hero-banner-corner-draw {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(7, 7, 18, .55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .45rem .9rem;
  color: rgba(255, 255, 255, .9);
  font-size: .85rem;
  font-weight: 700;
}

/* ── Serpentinas decorativas (esquinas del banner) ────────── */
.hero-serpentina {
  position: absolute;
  top: -20px;
  z-index: 1;
  width: 90px;
  height: 220px;
  pointer-events: none;
  display: flex;
  gap: 6px;
}

.hero-serpentina-left { left: 2%; transform: rotate(-8deg); }
.hero-serpentina-right { right: 3%; transform: rotate(10deg); }

.hero-serpentina span {
  display: block;
  width: 9px;
  border-radius: 5px;
  transform-origin: top center;
  animation: serpentinaSway 3.4s ease-in-out infinite;
  opacity: .85;
}

.hero-serpentina span:nth-child(1) { height: 130px; background: #f59e0b; animation-delay: 0s; }
.hero-serpentina span:nth-child(2) { height: 180px; background: #ec4899; animation-delay: .3s; }
.hero-serpentina span:nth-child(3) { height: 150px; background: #10b981; animation-delay: .6s; }
.hero-serpentina span:nth-child(4) { height: 200px; background: #06b6d4; animation-delay: .9s; }
.hero-serpentina span:nth-child(5) { height: 140px; background: var(--gold); animation-delay: 1.2s; }

@keyframes serpentinaSway {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}

@media (max-width: 767.98px) {
  .hero-serpentina { width: 40px; height: 110px; opacity: .6; }
  .hero-serpentina span { width: 5px; }
  .hero-serpentina-left { left: -6px; }
  .hero-serpentina-right { right: -6px; }
}

/* En pantallas muy angostas no hay espacio para que no choquen con el texto */
@media (max-width: 575.98px) {
  .hero-serpentina {
    display: none;
  }
}

/* ── Confeti, estrellas y brillos repartidos por el banner ── */
.hero-confetti-field,
.hero-stars-field,
.hero-sparkle-field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero-confetti-field span {
  position: absolute;
  top: -10%;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 9s linear infinite;
}

.hero-confetti-field span:nth-child(1)  { left: 6%;  background: #f59e0b; animation-delay: 0s;   animation-duration: 8s; }
.hero-confetti-field span:nth-child(2)  { left: 14%; background: #ec4899; animation-delay: 1.2s; animation-duration: 10s; }
.hero-confetti-field span:nth-child(3)  { left: 22%; background: #10b981; animation-delay: 2.4s; animation-duration: 7.5s; }
.hero-confetti-field span:nth-child(4)  { left: 30%; background: #06b6d4; animation-delay: .6s;  animation-duration: 9.5s; }
.hero-confetti-field span:nth-child(5)  { left: 38%; background: var(--gold); animation-delay: 3s;   animation-duration: 8.5s; }
.hero-confetti-field span:nth-child(6)  { left: 46%; background: #f59e0b; animation-delay: 1.8s; animation-duration: 11s; }
.hero-confetti-field span:nth-child(7)  { left: 54%; background: #ec4899; animation-delay: 4s;   animation-duration: 7s; }
.hero-confetti-field span:nth-child(8)  { left: 62%; background: #10b981; animation-delay: 2.2s; animation-duration: 9s; }
.hero-confetti-field span:nth-child(9)  { left: 70%; background: #06b6d4; animation-delay: .9s;  animation-duration: 10.5s; }
.hero-confetti-field span:nth-child(10) { left: 78%; background: var(--gold); animation-delay: 3.6s; animation-duration: 8s; }
.hero-confetti-field span:nth-child(11) { left: 86%; background: #f59e0b; animation-delay: 1.5s; animation-duration: 9.5s; }
.hero-confetti-field span:nth-child(12) { left: 94%; background: #ec4899; animation-delay: 2.8s; animation-duration: 7.5s; }
.hero-confetti-field span:nth-child(13) { left: 10%; background: #10b981; animation-delay: 5s;   animation-duration: 10s; }
.hero-confetti-field span:nth-child(14) { left: 26%; background: #06b6d4; animation-delay: 4.4s; animation-duration: 8.5s; }
.hero-confetti-field span:nth-child(15) { left: 42%; background: var(--gold); animation-delay: 5.6s; animation-duration: 7s; }
.hero-confetti-field span:nth-child(16) { left: 58%; background: #f59e0b; animation-delay: 4.8s; animation-duration: 9s; }
.hero-confetti-field span:nth-child(17) { left: 74%; background: #ec4899; animation-delay: 6s;   animation-duration: 10s; }
.hero-confetti-field span:nth-child(18) { left: 90%; background: #10b981; animation-delay: 5.2s; animation-duration: 8s; }

@keyframes confettiFall {
  0%   { top: -10%; opacity: 0; transform: rotate(0deg); }
  8%   { opacity: .9; }
  92%  { opacity: .9; }
  100% { top: 110%; opacity: 0; transform: rotate(360deg); }
}

.hero-stars-field i {
  position: absolute;
  color: var(--gold);
  font-size: 1rem;
  opacity: 0;
  animation: starTwinkle 3.2s ease-in-out infinite;
}

.hero-stars-field i:nth-child(1) { top: 12%; left: 18%; font-size: .85rem; animation-delay: 0s;   color: #f59e0b; }
.hero-stars-field i:nth-child(2) { top: 22%; left: 42%; font-size: 1.2rem; animation-delay: .6s;  color: #ec4899; }
.hero-stars-field i:nth-child(3) { top: 8%;  left: 66%; font-size: .9rem;  animation-delay: 1.2s; color: #06b6d4; }
.hero-stars-field i:nth-child(4) { top: 34%; left: 8%;  font-size: 1rem;   animation-delay: 1.8s; color: var(--gold); }
.hero-stars-field i:nth-child(5) { top: 45%; left: 88%; font-size: .8rem;  animation-delay: .3s;  color: #10b981; }
.hero-stars-field i:nth-child(6) { top: 62%; left: 30%; font-size: 1.1rem; animation-delay: 2.4s; color: #f59e0b; }
.hero-stars-field i:nth-child(7) { top: 70%; left: 76%; font-size: .9rem;  animation-delay: 1.5s; color: #ec4899; }
.hero-stars-field i:nth-child(8) { top: 18%; left: 92%; font-size: .85rem; animation-delay: 2.1s; color: var(--gold); }
.hero-stars-field i:nth-child(9) { top: 55%; left: 55%; font-size: .95rem; animation-delay: .9s;  color: #06b6d4; }

@keyframes starTwinkle {
  0%, 100% { opacity: 0; transform: scale(.5) rotate(0deg); }
  50%      { opacity: .95; transform: scale(1.1) rotate(15deg); }
}

.hero-sparkle-field span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, .8);
  opacity: 0;
  animation: sparkleTwinkle 2.6s ease-in-out infinite;
}

.hero-sparkle-field span:nth-child(1)  { top: 15%; left: 12%; animation-delay: 0s; }
.hero-sparkle-field span:nth-child(2)  { top: 28%; left: 34%; animation-delay: .4s;  width: 3px; height: 3px; }
.hero-sparkle-field span:nth-child(3)  { top: 10%; left: 55%; animation-delay: .8s; }
.hero-sparkle-field span:nth-child(4)  { top: 40%; left: 20%; animation-delay: 1.2s; width: 5px; height: 5px; }
.hero-sparkle-field span:nth-child(5)  { top: 20%; left: 78%; animation-delay: 1.6s; }
.hero-sparkle-field span:nth-child(6)  { top: 50%; left: 62%; animation-delay: .2s;  width: 3px; height: 3px; }
.hero-sparkle-field span:nth-child(7)  { top: 65%; left: 40%; animation-delay: 2s; }
.hero-sparkle-field span:nth-child(8)  { top: 38%; left: 90%; animation-delay: .6s; }
.hero-sparkle-field span:nth-child(9)  { top: 58%; left: 8%;  animation-delay: 1.4s; width: 5px; height: 5px; }
.hero-sparkle-field span:nth-child(10) { top: 72%; left: 65%; animation-delay: 1.8s; }
.hero-sparkle-field span:nth-child(11) { top: 8%;  left: 30%; animation-delay: 2.2s; width: 3px; height: 3px; }
.hero-sparkle-field span:nth-child(12) { top: 48%; left: 48%; animation-delay: 1s; }
.hero-sparkle-field span:nth-child(13) { top: 25%; left: 95%; animation-delay: .1s;  width: 4px; height: 4px; }
.hero-sparkle-field span:nth-child(14) { top: 68%; left: 15%; animation-delay: 2.4s; }

@keyframes sparkleTwinkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50%      { opacity: 1; transform: scale(1.4); }
}

@media (max-width: 575.98px) {
  .hero-confetti-field span { width: 6px; height: 10px; }
  .hero-stars-field i { font-size: .75rem !important; }
}

/* ── Confeti junto a encabezados de seccion ──────────────── */
.home-section-confetti .home-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.home-section-confetti .home-section-eyebrow i {
  color: #ec4899;
  animation: confettiPop 2.2s ease-in-out infinite;
}

@keyframes confettiPop {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.2) rotate(15deg); }
}

.btn-ghost-gold {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: 0;
  border: 1px solid var(--border-color);
  color: var(--text-light);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  background: transparent;
  transition: border-color .2s, color .2s, transform .2s;
}

.btn-ghost-gold:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.countdown-chip-lg {
  font-size: .88rem;
  padding: .45rem .85rem;
}

/* ── BANDA DE CONFIANZA / STATS ──────────────────────────── */
.stats-band-wrap {
  padding: 1.8rem 0;
  position: relative;
  z-index: 2;
}

.stats-band-inline {
  padding-top: .4rem;
  margin-bottom: 2.6rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--soft-shadow);
}

.stat-pill-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  color: var(--gold);
  font-size: 1.2rem;
}

/* Acentos de color variados (solo iconos, los CTA se quedan en la marca) */
.stat-pill-color-0 .stat-pill-icon { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #f59e0b; }
.stat-pill-color-1 .stat-pill-icon { background: color-mix(in srgb, #ec4899 16%, transparent); color: #ec4899; }
.stat-pill-color-2 .stat-pill-icon { background: color-mix(in srgb, #10b981 16%, transparent); color: #10b981; }
.stat-pill-color-3 .stat-pill-icon { background: color-mix(in srgb, #06b6d4 16%, transparent); color: #06b6d4; }

.home-step-color-0 .home-step-icon-v2 { background: color-mix(in srgb, #f59e0b 14%, transparent); color: #f59e0b; }
.home-step-color-1 .home-step-icon-v2 { background: color-mix(in srgb, #ec4899 14%, transparent); color: #ec4899; }
.home-step-color-2 .home-step-icon-v2 { background: color-mix(in srgb, #10b981 14%, transparent); color: #10b981; }
.home-step-color-3 .home-step-icon-v2 { background: color-mix(in srgb, #06b6d4 14%, transparent); color: #06b6d4; }
.home-step-color-0 .home-step-number { background: #f59e0b; }
.home-step-color-1 .home-step-number { background: #ec4899; }
.home-step-color-2 .home-step-number { background: #10b981; }
.home-step-color-3 .home-step-number { background: #06b6d4; }

.winner-strip-color-0 .winner-strip-ribbon { background: #f59e0b; color: #1a1204; }
.winner-strip-color-1 .winner-strip-ribbon { background: #ec4899; color: #fff; }
.winner-strip-color-2 .winner-strip-ribbon { background: #10b981; color: #06281c; }
.winner-strip-color-3 .winner-strip-ribbon { background: #06b6d4; color: #04262b; }

.stat-pill-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  letter-spacing: 1px;
  color: var(--heading-color);
  line-height: 1;
}

.stat-pill-label {
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ── SECCIONES ────────────────────────────────────────────── */
.home-section-eyebrow {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .3rem;
}

/* ── PASOS V2 ─────────────────────────────────────────────── */
.home-steps-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin: 0 0 2.8rem;
  position: relative;
}

.home-step-item-v2 {
  position: relative;
  padding: 1.6rem 1.2rem 1.3rem;
  border-radius: 20px;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-step-item-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--soft-shadow);
}

.home-steps-compact {
  margin-bottom: 3.4rem;
}

.home-steps-compact .home-step-item-v2 {
  padding: 1.2rem 1rem 1rem;
}

.home-steps-compact .home-step-text {
  font-size: .8rem;
}

.home-step-item-v2:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.4rem;
  left: calc(100% + .55rem);
  width: calc(1.1rem - 1.1rem + 1.1rem);
  height: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 45%, transparent), transparent);
  display: none;
}

@media (min-width: 992px) {
  .home-step-item-v2:not(:last-child)::after {
    display: block;
  }
}

.home-step-number {
  position: absolute;
  top: -.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--button-text);
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--gold) 40%, transparent);
}

.home-step-icon-v2 {
  width: 54px;
  height: 54px;
  margin: .6rem auto .9rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  color: var(--gold);
  font-size: 1.4rem;
}

@media (max-width: 900px) {
  .home-steps-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .home-steps-v2 {
    grid-template-columns: 1fr;
  }
}

/* ── TARJETAS DE RIFA (home) ─────────────────────────────── */
.home-rifa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
}

.home-rifa-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 22px;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 28px var(--shadow-color);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.home-rifa-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 22px 46px color-mix(in srgb, var(--gold) 22%, transparent);
  color: inherit;
}

.home-rifa-media {
  position: relative;
  height: 210px;
  background: #fff;
  overflow: hidden;
}

.home-rifa-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .4s ease;
}

.home-rifa-card:hover .home-rifa-media img {
  transform: scale(1.05);
}

.home-rifa-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-muted);
  background: var(--surface-muted);
}

.home-rifa-media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55));
  pointer-events: none;
}

.home-rifa-price-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: var(--gold);
  color: var(--button-text);
  font-weight: 800;
  font-size: .82rem;
  padding: .32rem .7rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}

.home-rifa-countdown {
  position: absolute;
  top: .8rem;
  right: .8rem;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  backdrop-filter: blur(4px);
}

.home-rifa-countdown::before {
  background: #fff;
}

.home-rifa-countdown.is-urgent {
  background: #dc2626;
  color: #fff;
}

.home-rifa-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.home-rifa-badges-row {
  min-height: 1.4rem;
  margin-bottom: .3rem;
}

.home-rifa-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: 1px;
  margin: 0 0 .35rem;
  color: var(--heading-color);
}

.home-rifa-premio {
  color: var(--text-muted);
  font-size: .83rem;
  margin: 0 0 .8rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.home-rifa-premio i {
  color: var(--gold);
}

.home-rifa-progress {
  margin: 0 0 1rem;
}

.home-rifa-cta {
  text-align: center;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  color: var(--gold);
  font-weight: 800;
  border-radius: 12px;
  padding: .62rem;
  font-size: .86rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  transition: background .2s ease, color .2s ease;
}

.home-rifa-card:hover .home-rifa-cta {
  background: var(--gold);
  color: var(--button-text);
}

/* ── GANADORES RECIENTES (strip) ─────────────────────────── */
.winners-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.winner-strip-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--soft-shadow);
  transition: transform .25s ease;
}

.winner-strip-card:hover {
  transform: translateY(-4px);
}

.winner-strip-media {
  position: relative;
  height: 130px;
  background: var(--surface-muted);
}

.winner-strip-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.winner-strip-media-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}

.winner-strip-ribbon {
  position: absolute;
  top: .6rem;
  right: .6rem;
  background: var(--gold);
  color: var(--button-text);
  font-size: .68rem;
  font-weight: 800;
  padding: .28rem .55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.winner-strip-body {
  padding: .9rem 1rem 1.1rem;
}

.winner-strip-name {
  font-weight: 800;
  font-size: .95rem;
  color: var(--heading-color);
}

.winner-strip-prize {
  color: var(--text-muted);
  font-size: .8rem;
  margin: .15rem 0 .5rem;
}

.winner-strip-meta {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 700;
}



/* ── COUNTDOWN BAND ───────────────────────────────────────── */
.home-countdown-band {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  border: 1px solid var(--border-color);
  padding: 2rem;
  margin-bottom: 2.4rem;
}

.home-countdown-glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 35%, transparent), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.home-countdown-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.home-countdown-text {
  flex: 1 1 280px;
  min-width: 0;
}

.home-countdown-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: .5px;
  color: var(--text-strong);
  margin: .2rem 0 .4rem;
}

.home-countdown-sub {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0 0 1.1rem;
}

.home-countdown-timer {
  display: flex;
  gap: .6rem;
  flex-shrink: 0;
}

.home-countdown-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: .7rem .5rem;
  border-radius: 12px;
  background: var(--dark);
  border: 1px solid var(--border-color);
}

.home-countdown-tile span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold);
}

.home-countdown-tile small {
  margin-top: .3rem;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
}

.home-countdown-timer.is-urgent .home-countdown-tile span {
  color: #f97066;
}

/* ── MURO DE GANADORES ───────────────────────────────────────── */
.home-winners-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
  margin-bottom: 2.6rem;
}

.home-winners-wall-item {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.home-winners-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.home-winners-wall-item:hover img {
  transform: scale(1.06);
}

.home-winners-wall-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .5rem .6rem;
  font-size: .74rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
}

/* ── MURO DE GANADORES — marquee de 2 filas ──────────────── */
.home-winners-marquee {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-bottom: 2.6rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.home-winners-track {
  overflow: hidden;
  width: 100%;
}

.home-winners-track-inner {
  display: flex;
  gap: .9rem;
  width: max-content;
}

.home-winners-track-left .home-winners-track-inner {
  animation: winnersMarqueeLeft 32s linear infinite;
}

.home-winners-track-right .home-winners-track-inner {
  animation: winnersMarqueeRight 32s linear infinite;
}

.home-winners-marquee:hover .home-winners-track-inner {
  animation-play-state: paused;
}

@keyframes winnersMarqueeLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes winnersMarqueeRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.home-winners-track .home-winners-wall-item {
  flex: 0 0 auto;
  width: 210px;
}

/* ── FAQ ───────────────────────────────────────── */
.home-faq-section {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  max-width: 780px;
  margin: 0 auto 2.6rem;
}

.home-faq-item {
  border: 1px solid var(--border-color);
  background: var(--dark-2);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.home-faq-question {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  color: var(--text-strong);
  font-size: .95rem;
}

.home-faq-question::-webkit-details-marker {
  display: none;
}

.home-faq-chevron {
  flex-shrink: 0;
  transition: transform .2s ease;
  color: var(--gold);
}

.home-faq-item[open] .home-faq-chevron {
  transform: rotate(180deg);
}

.home-faq-answer {
  padding: 0 1.2rem 1.1rem;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.55;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-banner {
    min-height: clamp(260px, 60vw, 380px);
  }

  .home-winners-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-winners-track .home-winners-wall-item {
    width: 170px;
  }
}

@media (max-width: 767.98px) {
  .home-countdown-inner {
    justify-content: center;
    text-align: center;
  }

  .home-countdown-timer {
    justify-content: center;
  }

  .home-winners-track .home-winners-wall-item {
    width: 140px;
  }

  .home-winners-track-left .home-winners-track-inner,
  .home-winners-track-right .home-winners-track-inner {
    animation-duration: 22s;
  }
}

@media (max-width: 575.98px) {
  .hero-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-banner-actions .btn-gold,
  .hero-banner-actions .btn-ghost-gold {
    justify-content: center;
  }

  .hero-banner-next-draw {
    justify-content: center;
  }

  .hero-banner-corner-draw {
    top: .6rem;
    right: .6rem;
    padding: .3rem .6rem;
    font-size: .72rem;
  }

  .home-countdown-band {
    padding: 1.4rem;
  }

  .home-countdown-tile {
    min-width: 56px;
    padding: .55rem .4rem;
  }

  .home-countdown-tile span {
    font-size: 1.4rem;
  }

  .home-winners-wall {
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
  }


}
