/* ============================================================
   BOOMBET — Global Styles
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --accent: #1FFF76;
  --accent-dark: #17e066;
  --accent-glow: rgba(31, 255, 118, 0.22);
  --accent-warm: #FFB800;
  --accent-warm-glow: rgba(255, 184, 0, 0.18);
  --bg: #060608;
  --bg-card: #111118;
  --bg-card2: #18181f;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --section-pad: 100px 24px;
  --section-pad-mobile: 60px 20px;
  --container-max: 1200px;
  --font: 'Nunito Sans', sans-serif;
  --font-heading: 'Michroma', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Offset fijo para el header al navegar por anchors */
section[id], footer[id] {
  scroll-margin-top: 90px;
}

body {
  font-family: var(--font);
  font-weight: 600;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Tipografia de marca: Michroma (Monument Extended alt) para headings, Nunito Sans para body, DM Mono para datos */
h1, h2, h3, h4,
.hero-title,
.sorteo-title,
.boomix-title,
.video-title,
.faq-question,
.registro-hero h2,
.cf-header h2,
.quienes h2 {
  font-family: var(--font-heading);
}

.hero-badge-count,
.cf-step-num,
.sh-item,
.registro-hero-badge {
  font-family: var(--font-mono);
}

/* ============================================================
   AGE GATE MODAL
   ============================================================ */

.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.age-gate.hidden {
  opacity: 0;
  pointer-events: none;
}

.age-gate-box {
  background: #1a1a24;
  border: 1px solid rgba(31,255,118,0.15);
  border-radius: 20px;
  padding: 14px 24px 16px;
  max-width: 340px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 60px rgba(31,255,118,0.08);
}

.age-gate-logo {
  margin-bottom: 6px;
}

.age-gate-box h2 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 4px;
}

.age-gate-box p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.age-gate-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-no {
  background: #2a2a38;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}

.btn-no:hover {
  background: #33334a;
}

.btn-yes {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: var(--font);
}

.btn-yes:hover {
  background: var(--accent-dark);
  transform: scale(1.02);
}

/* ============================================================
   LOGOS OFICIALES BOOMBET
   ============================================================ */

/* Mix-blend-mode screen: hace el blanco del PNG transparente
   dejando solo el verde del logo visible sobre fondos oscuros */

.header-logo-img {
  width: 200px;
  height: auto;
  display: block;
  object-fit: contain;
  margin-top: 14px;
}

.age-gate-logo-img {
  width: 130px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.footer-logo-img {
  width: 260px;
  height: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .header-logo-img {
    width: 160px;
  }

  .header-logo {
    margin-left: 0;
  }
  .age-gate-logo-img {
    width: 130px;
  }
  .footer-logo-img {
    width: 200px;
  }
}

/* Mantener clases de texto por si algún lugar aún las usa */
.logo-boom {
  color: var(--text);
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-bet {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -1px;
}

/* ============================================================
   HEADER
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 12, 16, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.header-container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
}

.nav {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: rgba(12,12,16,0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-direction: column;
  padding: 16px 24px;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  min-width: 180px;
  z-index: 100;
}

.nav.open {
  display: flex;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted) !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.nav-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
  color: var(--text) !important;
  transform: translateY(-1px);
}

.nav-btn-accent {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #000 !important;
  font-weight: 700;
}

.nav-btn-accent:hover {
  background: var(--accent-dark) !important;
  border-color: var(--accent-dark) !important;
  color: #000 !important;
  transform: translateY(-1px);
}

.header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.header-ig-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, transform 0.15s, border-color 0.2s, background 0.2s;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.header-ig-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* ── Nav desplegado en desktop ─────────────────────────────── */
@media (min-width: 601px) {
  .menu-btn {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    gap: 10px;
    min-width: 0;
    z-index: auto;
  }

  .nav-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }
}

@media (min-width: 900px) {
  .nav {
    gap: 16px;
  }
  .nav-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 0.88rem;
    font-weight: 500;
    white-space: nowrap;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  height: 100vh;
  max-height: 100vh;
  background:
    linear-gradient(to bottom, transparent 60%, var(--bg) 100%),
    radial-gradient(ellipse 80% 90% at 75% 30%, rgba(31,255,118,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 10% 20%, rgba(31,255,118,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(31,255,118,0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(31,255,118,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 35% 40% at 30% 70%, rgba(31,255,118,0.03) 0%, transparent 50%),
    #000000;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-particles,
.section-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px 0 36px;
  align-items: center;
  min-height: 0;
}

.hero-overlay {
  text-align: left;
  padding: 80px 20px 60px 0;
  position: relative;
  z-index: 2;
}

.hero-person {
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: visible;
  position: relative;
}

.hero-person-img {
  position: relative;
  height: 48vh;
  max-height: 440px;
  width: auto;
  object-fit: contain;
  display: block;
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
}

.hero-person-1 {
  animation: hero-cycle-1 12s ease-in-out infinite;
}

.hero-person-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: hero-cycle-2 12s ease-in-out infinite;
}

@keyframes hero-cycle-1 {
  0%, 38%  { opacity: 1; }
  48%, 90% { opacity: 0; }
  100%     { opacity: 1; }
}

@keyframes hero-cycle-2 {
  0%, 48%  { opacity: 0; }
  58%, 88% { opacity: 1; }
  98%, 100%{ opacity: 0; }
}

/* ── Hero bottom bar ──────────────────────────────────── */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  padding: 0 48px;
  gap: 20px;
  z-index: 3;
}

/* Carousel wrapper — clips the scrolling track */
.hbb-carousel-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Fade edges */
.hbb-carousel-wrap::before,
.hbb-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.hbb-carousel-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-card), transparent);
}
.hbb-carousel-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-card), transparent);
}

/* Scrolling track */
.hbb-carousel-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: hbb-scroll 16s linear infinite;
}

.hbb-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes hbb-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.hbb-sep {
  color: rgba(255,255,255,0.2);
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.hbb-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.hbb-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero-body {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  /* Contenedor de imagen: altura fija, relative para anclar las imágenes */
  .hero-person {
    order: 1;
    position: relative;
    height: 260px;
    margin-top: 70px; /* espacio bajo el header */
    flex-shrink: 0;
    overflow: visible;
  }

  /* Ambas imágenes: absolutas, centradas e idénticas */
  .hero-person-img,
  .hero-person-2 {
    position: absolute !important;
    bottom: 0;
    top: auto !important;
    left: 50%;
    transform: translateX(-50%) !important;
    height: 260px;
    width: auto;
    mask-image: linear-gradient(to bottom, black 52%, transparent 93%);
    -webkit-mask-image: linear-gradient(to bottom, black 52%, transparent 93%);
  }

  .hero {
    min-height: auto;
  }

  .hero-body {
    min-height: auto;
  }

  .hero-overlay {
    order: 2;
    text-align: center;
    padding: 16px 24px 32px;
  }

  .hero-bottom-bar {
    position: relative;
    padding: 10px 16px;
    gap: 12px;
    height: 52px;
    overflow: hidden;
  }

  .hbb-label, .hbb-divider {
    display: none;
  }

  .partner-logo-img {
    height: 26px;
    width: 88px;
  }

  /* Tighten vertical spacing inside overlay on mobile */
  .hero-badge {
    margin-bottom: 12px;
  }

  .hero-title {
    margin-bottom: 12px;
  }

  .hero-subtitle {
    margin-bottom: 20px;
  }

  .hero-cta {
    margin-bottom: 12px;
  }
}

.hero-title {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -2px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.accent {
  font-style: normal;
  color: var(--accent);
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 0.7s ease 0.55s forwards;
}

.hero-cta {
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  font-family: var(--font);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(31,255,118,0.35);
  animation: btn-pulse 2.8s ease-in-out infinite;
  text-decoration: none;
}

/* Shimmer sweep */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  animation: btn-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shimmer {
  0%   { left: -75%; }
  50%  { left: 125%; }
  100% { left: 125%; }
}

@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(31,255,118,0.35); }
  50%       { box-shadow: 0 0 36px rgba(31,255,118,0.6); }
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 0 44px rgba(31,255,118,0.7);
  animation: none;
}

.btn-primary:hover::after {
  animation: none;
}

.arrow {
  display: inline-block;
  flex-shrink: 0;
}

.hero-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 48px;
}

/* ── Hero bonus pill ──────────────────────────────────── */
.hero-bonus-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(31,255,118,0.12), rgba(31,255,118,0.06));
  border: 1px solid rgba(31,255,118,0.35);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: #e0ffe6;
  margin-bottom: 20px;
  opacity: 0;
  animation: hero-fade-in 0.5s ease 0.55s forwards;
}

.hero-bonus-pill strong {
  color: var(--accent);
  font-weight: 800;
}

.hbp-icon {
  font-size: 1rem;
  line-height: 1;
}

.hero-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.partner-item:hover {
  opacity: 1;
}

.p-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.2px;
}

.bplay-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.betsson-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FF6B35;
  letter-spacing: -0.4px;
}

.betwarrior-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: #FF6600;
  letter-spacing: -0.3px;
}

.divider {
  color: rgba(255,255,255,0.2);
  font-size: 1.1rem;
}

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */

.quienes {
  background:
    radial-gradient(ellipse 70% 80% at 80% 35%, rgba(31,255,118,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 5% 15%, rgba(31,255,118,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 95% 95%, rgba(31,255,118,0.04) 0%, transparent 55%),
    var(--bg);
  padding: 100px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.quienes::before {
  display: none;
}

.quienes-overlay {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.quienes-text h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  letter-spacing: -1px;
}

.quienes-bold {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--accent);
}

.quienes-parrafo {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.quienes-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quienes-lista li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-left: 4px;
}

/* ── Comparativa Sin/Con BoomBet ─────────────────────── */
.comparativa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.comparativa-col {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 20px;
}

.comparativa-sin {
  border-color: rgba(255,80,80,0.15);
}

.comparativa-con {
  border-color: rgba(31,255,118,0.2);
  background: linear-gradient(145deg, rgba(31,255,118,0.04), var(--bg-card));
}

.comparativa-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.comparativa-sin .comparativa-label {
  color: rgba(255,100,100,0.8);
}

.comparativa-con .comparativa-label {
  color: var(--accent);
}

.comparativa ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comparativa li {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comparativa-x {
  color: rgba(255,100,100,0.7);
  font-weight: 700;
  flex-shrink: 0;
}

.comparativa-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.quienes-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.quienes-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text);
}

.quienes-bullet .comparativa-check {
  color: var(--accent);
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .comparativa {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.quienes-imagen {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3D Logo viewer */
.logo3d-wrapper {
  width: 400px;
  height: 400px;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 40% 40%, rgba(31,255,118,0.08) 0%, transparent 70%);
  border: 1px solid rgba(31,255,118,0.15);
  box-shadow: 0 0 80px rgba(31,255,118,0.10);
}

.logo3d-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
}

.logo3d-wrapper canvas:active {
  cursor: grabbing;
}

.logo3d-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font);
}


@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  background: var(--bg);
  padding: 110px 24px;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 16px 0 12px;
  line-height: 1.15;
}

.features-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 44px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(31,255,118,0.08) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}

.feature-card:hover .feature-card-top-line {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(31,255,118,0.3);
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 40px rgba(31,255,118,0.08);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(31,255,118,0.08);
  border: 1px solid rgba(31,255,118,0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s, border-color 0.35s, transform 0.35s;
}

.feature-card:hover .feature-icon {
  background: rgba(31,255,118,0.14);
  border-color: rgba(31,255,118,0.3);
  transform: scale(1.06);
}

.feature-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}


/* ============================================================
   SORTEO SECTION
   ============================================================ */

.sorteo {
  background:
    radial-gradient(ellipse 70% 80% at 20% 40%, rgba(31,255,118,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 90% 20%, rgba(31,255,118,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 50% 90%, rgba(31,255,118,0.04) 0%, transparent 55%),
    var(--bg);
  padding: 100px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sorteo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(31,255,118,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.sorteo-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sorteo-prize {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.prize-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(31,255,118,0.2) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.prize-icon {
  font-size: 6rem;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(31,255,118,0.5));
}

.prize-labels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.prize-tag {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 3.5px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}

.prize-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -2px;
  text-shadow: 0 0 30px rgba(31,255,118,0.4);
  line-height: 1;
}


.sorteo-badge {
  display: inline-block;
  background: rgba(31,255,118,0.15);
  border: 1px solid rgba(31,255,118,0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.sorteo-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  margin-bottom: 16px;
  line-height: 1.1;
}

.sorteo-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* ============================================================
   CTA CARDS
   ============================================================ */

.cta-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 64px 60px;
  display: flex;
  align-items: center;
}

.cta-left {
  background:
    linear-gradient(135deg, rgba(31,255,118,0.12) 0%, rgba(12,12,16,0) 60%),
    #0f1a14;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.cta-right {
  background:
    linear-gradient(135deg, rgba(108,60,220,0.18) 0%, rgba(12,12,16,0) 60%),
    #0f0f1a;
}


.cta-card-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.cta-icon {
  width: 56px;
  height: 56px;
  background: rgba(31,255,118,0.12);
  border: 1px solid rgba(31,255,118,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}

.cta-icon-purple {
  background: rgba(108,60,220,0.15);
  border-color: rgba(108,60,220,0.3);
  color: #a78bfa;
}


.cta-card-content h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.cta-card-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}



@media (max-width: 768px) {
  .cta-cards {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 48px 32px;
    min-height: 320px;
  }
  .cta-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
}

/* ============================================================
   SOCIOS
   ============================================================ */

.socios {
  background: var(--bg-card);
  padding: 80px 24px;
}

.socios-container {
  max-width: 1200px;
  margin: 0 auto;
}

.socios-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.socios-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.socio-card {
  background: var(--bg-card2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.socio-card:hover {
  border-color: rgba(31,255,118,0.3);
}

.socio-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: #08080e;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.footer-disclaimer {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-province-link {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 20px;
  transition: opacity 0.2s;
}

.footer-province-link:hover {
  opacity: 0.8;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-instagram:hover {
  color: var(--text);
}

.footer-start-card {
  display: block;
  align-self: center;
}

.footer-start-inner {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: border-color 0.2s, transform 0.2s;
  width: 220px;
}

.footer-start-inner:hover {
  border-color: rgba(31,255,118,0.3);
  transform: translateY(-2px);
}

.footer-start-inner h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-start-inner p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-self: end;
  width: 100%;
}

.footer-cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 16px rgba(31,255,118,0.3);
  white-space: nowrap;
}

.footer-cta-btn:hover {
  background: #00e85f;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(31,255,118,0.5);
}

.footer-cta-legal {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom-logo {
  text-align: center;
  padding: 32px 0 20px;
}

.footer-bottom-logo-img {
  width: 160px;
  height: auto;
  display: inline-block;
  mix-blend-mode: screen;
  opacity: 0.7;
}

/* ── Responsible gaming bar ───────────────────────────── */
.footer-ludopatia {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 24px;
  margin: 0 auto 18px;
  max-width: 860px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}

.footer-hg-logo {
  height: 36px;
  width: auto;
  flex-shrink: 0;
}

.footer-loteria-logo {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-duns {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-loterias {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-hg-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-hg-phone {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.footer-18-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 2px 7px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .footer-ludopatia {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }
  .footer-hg-logo { height: 28px; }
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-bottom {
  padding: 0 40px 28px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ── Legal toggle ─────────────────────────────────────── */
.legal-toggle-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 5px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, color 0.2s;
  margin-top: 4px;
}

.legal-toggle-btn:hover {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.7);
}

.legal-toggle-icon {
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.legal-panel {
  display: none;
  width: 100%;
  margin-top: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  line-height: 1.7;
  text-align: left;
}

.legal-panel.open {
  display: block;
}

.legal-panel strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

.footer-18 {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 700;
  font-size: 0.72rem;
  vertical-align: middle;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

/* ============================================================
   ANIMATIONS
   ============================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-from-left {
  opacity: 0;
  transform: translateX(-64px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-from-right {
  opacity: 0;
  transform: translateX(64px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible,
.fade-from-left.visible,
.fade-from-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger feature cards */
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }

/* Stagger cf-steps (grid: step, arrow, step, arrow, step) */
.cf-step:nth-child(3) { transition-delay: 0.12s; }
.cf-step:nth-child(5) { transition-delay: 0.24s; }

/* Stagger bonus banner */
.bonus-banner-title { transition-delay: 0.08s; }
.bonus-banner-sub   { transition-delay: 0.16s; }

/* Stagger sorteo text */
.sorteo-title { transition-delay: 0.08s; }
.sorteo-desc  { transition-delay: 0.16s; }

/* Stagger faq items */
.faq-item:nth-child(2) { transition-delay: 0.06s; }
.faq-item:nth-child(3) { transition-delay: 0.12s; }
.faq-item:nth-child(4) { transition-delay: 0.18s; }
.faq-item:nth-child(5) { transition-delay: 0.24s; }
.faq-item:nth-child(6) { transition-delay: 0.30s; }

.socio-card:nth-child(2) { transition-delay: 0.05s; }
.socio-card:nth-child(3) { transition-delay: 0.1s; }
.socio-card:nth-child(4) { transition-delay: 0.15s; }
.socio-card:nth-child(5) { transition-delay: 0.2s; }
.socio-card:nth-child(6) { transition-delay: 0.25s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {
  .menu-btn {
    display: flex;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .quienes-overlay {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quienes-text {
    order: 2;
  }

  .quienes-imagen {
    display: flex;
    justify-content: center;
    order: 1;
  }

  .logo3d-wrapper {
    width: 240px;
    height: 240px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .sorteo-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sorteo-prize {
    order: -1;
  }

  .cta-cards {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 32px;
    min-height: 280px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }

  .footer-start-inner {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-bottom {
    padding: 20px 24px;
    flex-direction: column;
    text-align: center;
  }

  /* ── Sections padding ──────────────────────────── */
  .quienes {
    padding: 60px 20px;
  }

  .features {
    padding: 60px 20px;
  }

  .features-header {
    margin-bottom: 40px;
  }

  .como-funciona-steps {
    padding: 60px 20px;
  }

  .cf-header {
    margin-bottom: 44px;
  }

  .sorteo {
    padding: 60px 20px;
  }

  .boomix-section {
    padding: 60px 20px;
  }

  .socios {
    padding: 60px 20px;
  }

  .socios-title {
    margin-bottom: 28px;
  }

  .faq-section {
    padding: 60px 20px;
  }

  .faq-header {
    margin-bottom: 36px;
  }

  .stats-section {
    padding: 36px 20px;
  }

  /* ── Stats 2x2 grid on mobile ──────────────────── */
  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* ── Quienes / Logo 3D ─────────────────────────── */
  .logo3d-wrapper {
    width: 220px;
    height: 220px;
  }

  /* ── CF steps ──────────────────────────────────── */
  .cf-step {
    padding: 28px 20px;
  }

  .cf-step-num {
    font-size: 3.5rem;
  }

  /* ── Sorteo ────────────────────────────────────── */
  .sorteo-container {
    gap: 36px;
  }

  .sorteo-prizes-mosaic {
    max-width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .spm-item {
    padding: 14px 8px;
  }

  .spm-icon {
    font-size: 1.6rem;
  }

  /* ── Hero ──────────────────────────────────────── */
  .hero-overlay {
    padding: 16px 24px 32px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    letter-spacing: -0.5px;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
    white-space: normal;
    word-wrap: break-word;
  }

  /* ── Registro hero ─────────────────────────────── */
  .registro-hero {
    padding: 36px 20px 28px;
  }

  /* ── Boomix ────────────────────────────────────── */
  .boomix-canvas-wrap {
    width: 280px;
    height: 320px;
  }

  /* ── Socios grid ───────────────────────────────── */
  .socios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .age-gate-box {
    padding: 14px 20px 16px;
  }

  .age-gate-box h2 {
    font-size: 1rem;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .socios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  /* ── Sorteo mosaic 2 cols on very small ────────── */
  .sorteo-prizes-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ── Quienes section text ──────────────────────── */
  .quienes-text h2 {
    font-size: 1.8rem;
  }

  /* ── CF steps ──────────────────────────────────── */
  .cf-header h2 {
    font-size: 1.8rem;
  }

  /* ── Boomix canvas smaller on tiny screens ─────── */
  .boomix-canvas-wrap {
    width: 240px;
    height: 280px;
  }
}

/* (estilos de logo movidos a sección LOGOS OFICIALES BOOMBET) */

/* ============================================================
   PARTNER LOGO IMAGES
   ============================================================ */

.partner-logo-img {
  height: 32px;
  width: 110px;
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
  filter: brightness(1.1);
}

/* Sportsbet más grande en ambos carruseles */
.partner-logo-img.logo-sportsbet,
.marquee-item img.logo-sportsbet {
  height: 42px;
  width: 148px;
}

.partner-item:hover .partner-logo-img {
  transform: scale(1.08);
}

/* ============================================================
   FEATURE ICON IMAGES
   ============================================================ */

.feature-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ============================================================
   SORTEO CAR IMAGE
   ============================================================ */

.sorteo-prize {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sorteo-img-wrap {
  width: 100%;
  max-width: 580px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* Fade out all edges so no hard borders are visible */
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 8%, black 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 8%, black 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-composite: source-in;
}

.sorteo-car-img {
  width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 32px rgba(31,255,118,0.2));
}

/* ── Sorteo highlights list ──────────────────────────────── */
.sorteo-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.sh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 4px 0;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.sh-item:hover {
  color: #fff;
}

.sh-check {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* ── Sorteo Types Grid (4 tipos de sorteo) ──────────────── */

.sorteo-types-container {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.sorteo-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sorteo-type-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px 28px;
  text-align: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sorteo-type-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(31,255,118,0.04), transparent);
  transition: left 0.6s ease;
}

.sorteo-type-card:hover::before {
  left: 100%;
}

.sorteo-type-card:hover {
  transform: translateY(-6px);
  border-color: rgba(31,255,118,0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(31,255,118,0.08);
}

.st-icon {
  margin-bottom: 14px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background: rgba(31,255,118,0.06);
  border-radius: 14px;
  border: 1px solid rgba(31,255,118,0.1);
}

.st-freq {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.st-freq-warm {
  color: var(--accent-warm);
}

.sorteo-type-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 6px 0 10px;
}

.sorteo-type-card p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .sorteo-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .sorteo-type-card {
    padding: 20px 14px 18px;
  }

  .sorteo-types-container {
    margin-top: 36px;
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .sorteo-types-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SOCIOS — logo images
   ============================================================ */

.socio-logo-img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
}

.socio-card:hover .socio-logo-img {
  opacity: 1;
  transform: scale(1.08);
}

/* ============================================================
   TIERS / RANKING SECTION
   ============================================================ */

.tiers-section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.tiers-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.tiers-header {
  text-align: center;
  margin-bottom: 56px;
}

.tiers-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 16px 0 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
}

.tiers-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.tier-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px 28px 36px;
  text-align: center;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(31,255,118,0.08);
}

.tier-principiante:hover {
  border-color: rgba(31,255,118,0.3);
}

.tier-intermedio {
  border-color: rgba(31,255,118,0.2);
  background: linear-gradient(160deg, rgba(31,255,118,0.06) 0%, var(--bg-card) 40%);
}

.tier-intermedio:hover {
  border-color: rgba(31,255,118,0.4);
}

.tier-elite {
  border-color: rgba(255,184,0,0.2);
  background: linear-gradient(160deg, rgba(255,184,0,0.06) 0%, var(--bg-card) 40%);
}

.tier-elite:hover {
  border-color: rgba(255,184,0,0.4);
}

.tier-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tier-glow-gold {
  background: radial-gradient(circle, rgba(255,184,0,0.15) 0%, transparent 70%);
}

.tier-icon {
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background: rgba(31,255,118,0.06);
  border-radius: 18px;
  border: 1px solid rgba(31,255,118,0.12);
  transition: background 0.3s, border-color 0.3s;
}

.tier-card:hover .tier-icon {
  background: rgba(31,255,118,0.1);
  border-color: rgba(31,255,118,0.25);
}

.tier-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.tier-label-gold {
  color: var(--accent-warm);
}

.tier-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 8px 0 20px;
  position: relative;
  z-index: 1;
}

.tier-elite h3 {
  background: linear-gradient(135deg, #FFB800, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tier-perks {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.tier-perks li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.tier-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

.tier-elite .tier-perks li::before {
  color: var(--accent-warm);
}

.tier-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}

.tier-card:hover .tier-tag {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.tier-tag-accent {
  background: rgba(31,255,118,0.1);
  color: var(--accent);
  border: 1px solid rgba(31,255,118,0.2);
}

.tier-tag-gold {
  background: rgba(255,184,0,0.1);
  color: var(--accent-warm);
  border: 1px solid rgba(255,184,0,0.2);
}

@media (max-width: 768px) {
  .tiers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tier-card {
    padding: 28px 22px 24px;
  }

  .tiers-section {
    padding: 60px 20px;
  }
}

/* ============================================================
   BOOMIX SECTION
   ============================================================ */

.boomix-section {
  background: var(--bg-card);
  padding: 100px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.boomix-bg-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 40% 50% at 25% 50%, rgba(31,255,118,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 75% 40%, rgba(31,255,118,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 50% 70%, rgba(31,255,118,0.05) 0%, transparent 50%);
  animation: cf-bg-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.boomix-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.boomix-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.app-phone-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(31,255,118,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: app-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes app-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* App phone image */
.app-phone-img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: -20px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5)) drop-shadow(0 0 40px rgba(31,255,118,0.15));
  position: relative;
  z-index: 1;
  animation: app-phone-float 5s ease-in-out infinite;
}

@keyframes app-phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* App features grid */
.app-features-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.app-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 6px 0;
  background: none;
  border: none;
  border-radius: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.app-feat:hover {
  background: none;
  border-color: transparent;
  transform: translateX(4px);
}

.app-feat svg {
  flex-shrink: 0;
}


.boomix-canvas-wrap {
  width: 420px;
  height: 520px;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle at 40% 30%, rgba(31,255,118,0.06) 0%, transparent 65%);
  border: 1px solid rgba(31,255,118,0.12);
  box-shadow: 0 0 80px rgba(31,255,118,0.06);
}

.boomix-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  cursor: grab;
}

.boomix-canvas-wrap canvas:active {
  cursor: grabbing;
}

.boomix-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  line-height: 1.05;
  margin-bottom: 20px;
}

.boomix-title em {
  font-style: normal;
}

.boomix-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 460px;
}

.boomix-lista {
  margin-bottom: 0;
}

/* footer-logo-img está en sección LOGOS OFICIALES BOOMBET */

.footer-logo {
  display: block;
  margin-bottom: 0;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

@media (max-width: 768px) {
  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .boomix-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .boomix-viewer {
    order: -1;
  }
  .boomix-canvas-wrap {
    width: 320px;
    height: 380px;
  }
  .boomix-viewer {
    justify-content: center;
  }
  .app-phone-img {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .boomix-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .boomix-container {
    gap: 30px;
  }
}

/* ============================================================
   BEAST MODE — SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #00ffaa);
  z-index: 9999;
  box-shadow: 0 0 8px rgba(31,255,118,0.6);
  transition: width 0.1s linear;
  transform-origin: left;
}

/* ============================================================
   BEAST MODE — CUSTOM CURSOR
   ============================================================ */

.custom-cursor-active {
  cursor: none !important;
}

.custom-cursor-active * {
  cursor: none !important;
}

.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s;
  box-shadow: 0 0 10px rgba(31,255,118,0.8);
}

.cursor.hovered {
  transform: translate(-50%, -50%) scale(2.5);
  background: rgba(31,255,118,0.4);
  box-shadow: 0 0 20px rgba(31,255,118,0.5);
}

.cursor.hidden { opacity: 0; }

.cursor-trail {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(31,255,118,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}

/* ============================================================
   BEAST MODE — PROVINCE MODAL
   ============================================================ */

.province-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(10px);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.province-modal.open {
  opacity: 1;
  pointer-events: all;
}

.province-modal-box {
  background: #13131c;
  border: 1px solid rgba(31,255,118,0.2);
  border-radius: 28px;
  padding: 48px 40px;
  max-width: 680px;
  width: 94%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 80px rgba(31,255,118,0.1), 0 40px 80px rgba(0,0,0,0.6);
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.province-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.07);
  border: none;
  color: var(--text);
  font-size: 1.1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: var(--font);
}

.province-modal-close:hover {
  background: rgba(255,255,255,0.14);
}

.province-modal-box h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-align: center;
}

.province-modal-box > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 32px;
}

.province-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.province-btn {
  background: var(--bg-card2);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  font-family: var(--font);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

.province-btn:hover {
  border-color: var(--accent);
  background: rgba(31,255,118,0.08);
  color: var(--accent);
  transform: translateY(-2px);
}

.province-legal {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .province-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .province-modal-box {
    padding: 36px 24px;
  }
}

/* ============================================================
   BEAST MODE — STATS SECTION
   ============================================================ */

.stats-section {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 56px 24px;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 24px 16px;
}

.stat-value-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--accent);
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   BEAST MODE — CÓMO FUNCIONA (3 STEPS)
   ============================================================ */

.como-funciona-steps {
  background: var(--bg-card);
  padding: 100px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(31,255,118,0.1);
  border-bottom: 1px solid rgba(31,255,118,0.1);
}

.como-funciona-steps::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 40% 50% at 25% 50%, rgba(31,255,118,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 75% 40%, rgba(31,255,118,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 50% 70%, rgba(31,255,118,0.06) 0%, transparent 50%);
  animation: cf-bg-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cf-bg-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, -3%) scale(1.05); }
  66% { transform: translate(-4%, 4%) scale(0.97); }
  100% { transform: translate(3%, -2%) scale(1.03); }
}

.cf-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cf-header {
  text-align: center;
  margin-bottom: 72px;
}

.cf-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  margin: 16px 0 12px;
}

.cf-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 380px;
  margin: 0 auto;
  line-height: 1.6;
}

.cf-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}

.cf-step {
  background: linear-gradient(145deg, rgba(255,255,255,0.04) 0%, var(--bg) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 44px 32px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}

/* Luz que recorre el borde */
.cf-step::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent 0%, transparent 70%, rgba(31,255,118,0.5) 85%, transparent 100%);
  animation: cf-border-spin 4s linear infinite;
  z-index: -1;
}

.cf-step:nth-child(3)::before { animation-delay: 0s; }
.cf-step:nth-child(5)::before { animation-delay: 0s; }

@keyframes cf-border-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Capa interna para tapar el conic-gradient y dejar solo el borde */
.cf-step::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  background: linear-gradient(145deg, rgba(20,20,28,1) 0%, rgba(8,8,12,1) 100%);
  border-radius: 23px;
  z-index: -1;
  transition: background 0.35s;
}

.cf-step:hover {
  border-color: transparent;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 50px rgba(31,255,118,0.12);
}

/* Pulse automático intermitente — simula hover */
.cf-step {
  animation: cf-auto-glow 6s ease-in-out infinite;
}
.cf-step:nth-child(3) { animation-delay: 0s; }
.cf-step:nth-child(5) { animation-delay: 0s; }

@keyframes cf-auto-glow {
  0%, 30%, 100% {
    box-shadow: none;
    border-color: rgba(255,255,255,0.08);
  }
  15% {
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(31,255,118,0.10);
    border-color: rgba(31,255,118,0.25);
  }
}

.cf-step:hover {
  animation: none;
}

.cf-step:hover::before {
  animation-duration: 2s;
}

.cf-step::after {
  animation: cf-auto-inner 6s ease-in-out infinite;
}
.cf-step:nth-child(3)::after { animation-delay: 0s; }
.cf-step:nth-child(5)::after { animation-delay: 0s; }

@keyframes cf-auto-inner {
  0%, 30%, 100% {
    background: linear-gradient(145deg, rgba(20,20,28,1) 0%, rgba(8,8,12,1) 100%);
  }
  15% {
    background: linear-gradient(145deg, rgba(31,255,118,0.04) 0%, rgba(8,8,12,1) 100%);
  }
}

.cf-step:hover::after {
  animation: none;
  background: linear-gradient(145deg, rgba(31,255,118,0.04) 0%, rgba(8,8,12,1) 100%);
}

.cf-step-num {
  font-size: 5rem;
  font-weight: 900;
  color: rgba(31,255,118,0.1);
  line-height: 1;
  letter-spacing: -4px;
  position: absolute;
  top: 16px;
  right: 24px;
  pointer-events: none;
  transition: color 0.5s, transform 0.5s, text-shadow 0.5s;
}

.cf-step:hover .cf-step-num {
  color: rgba(31,255,118,0.25);
  transform: scale(1.15);
  text-shadow: 0 0 30px rgba(31,255,118,0.3);
}

.cf-step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.3px;
}

.cf-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.cf-step-icon {
  width: 72px;
  height: 72px;
  background: rgba(31,255,118,0.1);
  border: 1px solid rgba(31,255,118,0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent);
  transition: background 0.35s, border-color 0.35s, transform 0.35s;
}

.cf-step:hover .cf-step-icon {
  background: rgba(31,255,118,0.18);
  border-color: rgba(31,255,118,0.4);
  transform: scale(1.08);
}

.cf-arrow {
  color: rgba(31,255,118,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  animation: cf-arrow-bounce 2s ease-in-out infinite;
}

.cf-arrow svg {
  filter: drop-shadow(0 0 6px rgba(31,255,118,0.3));
}

@keyframes cf-arrow-bounce {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50% { transform: translateX(6px); opacity: 1; }
}

@media (max-width: 768px) {
  .cf-steps {
    grid-template-columns: 1fr;
  }
  .cf-arrow {
    transform: rotate(90deg);
  }
}

/* ============================================================
   BEAST MODE — BRAND MARQUEE
   ============================================================ */

/* Marquee bar uses same structure as hero-bottom-bar */
.marquee-bar {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  height: 80px;
  padding: 0 48px;
  background: var(--bg-card);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-bar .hbb-carousel-wrap::before {
  background: linear-gradient(to right, var(--bg-card), transparent);
}
.marquee-bar .hbb-carousel-wrap::after {
  background: linear-gradient(to left, var(--bg-card), transparent);
}

.marquee-section {
  background: var(--bg);
  padding: 0;
  overflow: visible;
  border: none;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

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

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.marquee-item img {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.2s;
}

.marquee-item:hover img {
  transform: scale(1.08);
}

.marquee-dot {
  width: 4px;
  height: 4px;
  background: rgba(31,255,118,0.3);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   BEAST MODE — VIDEO SECTION
   ============================================================ */

/* ── VSL Section ────────────────────────────────────────── */
.vsl-section {
  padding: 80px 24px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 30% 40%, rgba(31,255,118,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 80% 25%, rgba(31,255,118,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 60% 85%, rgba(31,255,118,0.04) 0%, transparent 55%),
    var(--bg-card);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(31,255,118,0.1);
  border-bottom: 1px solid rgba(31,255,118,0.1);
}

.vsl-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 40% 50% at 35% 45%, rgba(31,255,118,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 70% 55%, rgba(31,255,118,0.06) 0%, transparent 50%);
  animation: cf-bg-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.vsl-container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.vsl-title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 32px;
  color: var(--text);
}

.vsl-video-wrap {
  margin-bottom: 24px;
}

.vsl-player {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
  background: #000;
}

.vsl-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.video-section {
  background:
    radial-gradient(ellipse 70% 80% at 75% 30%, rgba(31,255,118,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 10% 60%, rgba(31,255,118,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 85% 85%, rgba(31,255,118,0.04) 0%, transparent 55%),
    var(--bg);
  padding: 100px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.video-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  margin: 16px 0 12px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.video-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Stats mini strip */
.video-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
}

.vs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.vs-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.vs-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.vs-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
}

.video-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(31,255,118,0.35);
  box-shadow:
    0 0 30px rgba(31,255,118,0.15),
    0 0 80px rgba(31,255,118,0.10),
    0 0 120px rgba(31,255,118,0.05),
    inset 0 0 30px rgba(31,255,118,0.05),
    0 20px 60px rgba(0,0,0,0.5);
  animation: video-glow 4s ease-in-out infinite;
}

@keyframes video-glow {
  0%, 100% {
    box-shadow:
      0 0 30px rgba(31,255,118,0.12),
      0 0 80px rgba(31,255,118,0.08),
      0 0 120px rgba(31,255,118,0.04),
      inset 0 0 30px rgba(31,255,118,0.03),
      0 20px 60px rgba(0,0,0,0.5);
    border-color: rgba(31,255,118,0.3);
  }
  50% {
    box-shadow:
      0 0 40px rgba(31,255,118,0.25),
      0 0 100px rgba(31,255,118,0.15),
      0 0 160px rgba(31,255,118,0.08),
      inset 0 0 40px rgba(31,255,118,0.06),
      0 20px 60px rgba(0,0,0,0.5);
    border-color: rgba(31,255,118,0.5);
  }
}

.video-player {
  width: 100%;
  display: block;
  background: #000;
  border-radius: 20px;
}

.video-cta-text {
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .video-section {
    padding: 60px 20px;
  }
  .video-stats {
    gap: 16px;
  }
  .vs-number {
    font-size: 1.2rem;
  }
}

/* ============================================================
   BEAST MODE — FAQ ACCORDION
   ============================================================ */

.faq-section {
  background: var(--bg-card);
  padding: 100px 24px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 56px;
}

.faq-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  margin-bottom: 12px;
}

.faq-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: rgba(31,255,118,0.25);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 800px;
  padding: 0 24px 22px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================================
   BEAST MODE — GLASSMORPHISM FEATURE CARDS
   ============================================================ */

.feature-card {
  background: rgba(30, 30, 40, 0.6) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
}

.feature-card:hover {
  background: rgba(31,255,118,0.04) !important;
  border-color: rgba(31,255,118,0.28) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 30px rgba(31,255,118,0.06), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

/* ============================================================
   BEAST MODE — HERO TEXT ANIMATION
   ============================================================ */

.hero-title span {
  display: block;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (max-width: 768px) {
  .hero-title span {
    white-space: normal;
  }
  .hero-overlay {
    padding: 20px 16px 40px;
    text-align: center;
  }
  .hero-subtitle {
    white-space: normal;
    word-wrap: break-word;
  }
}

.hero-title span:nth-child(2) {
  transition-delay: 0.15s;
}

.hero-title span:nth-child(3) {
  transition-delay: 0.28s;
}

.hero-title.revealed span {
  opacity: 1;
  transform: translateY(0);
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 0.7s ease 0.45s forwards;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 0.7s ease 0.6s forwards;
}

.hero-legal {
  opacity: 0;
  animation: hero-fade-in 0.5s ease 0.75s forwards;
}

.hero-partners {
  opacity: 0;
  animation: hero-fade-in 0.5s ease 0.9s forwards;
}

@keyframes hero-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero urgency badge ───────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31,255,118,0.1);
  border: 1px solid rgba(31,255,118,0.25);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: hero-fade-in 0.5s ease 0.2s forwards;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: badge-pulse 1.8s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}


/* ============================================================
   SISTEMA UNIFICADO: FEATURE CARDS + CF STEPS
   ============================================================ */

/* Glow interno de cada card */
.fc-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(31,255,118,0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover .fc-glow,
.cf-step:hover .fc-glow {
  opacity: 1;
}

/* Contenedor de ícono — mismo en ambas secciones */
.fc-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(31,255,118,0.08);
  border: 1px solid rgba(31,255,118,0.2);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto 8px;
  flex-shrink: 0;
  transition: background 0.4s, border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  animation: fc-icon-float 3s ease-in-out infinite;
}

.cf-step:nth-child(1) .fc-icon-wrap { animation-delay: 0s; }
.cf-step:nth-child(3) .fc-icon-wrap { animation-delay: 0s; }
.cf-step:nth-child(5) .fc-icon-wrap { animation-delay: 0s; }

@keyframes fc-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.feature-card .fc-icon-wrap {
  margin: 0 0 8px;
}
.feature-card:hover .fc-icon-wrap,
.cf-step:hover .fc-icon-wrap {
  background: rgba(31,255,118,0.15);
  border-color: rgba(31,255,118,0.45);
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 32px rgba(31,255,118,0.2);
}

/* Texto del card */
.fc-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.fc-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Link al pie */
.fc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.2px;
  transition: gap 0.2s;
  width: 100%;
}
.fc-link span {
  transition: transform 0.2s;
  font-size: 1.1rem;
}
.fc-link:hover {
  gap: 14px;
}
.fc-link:hover span {
  transform: translateX(5px);
}

/* Cards features — layout */
.feature-card {
  background: linear-gradient(160deg, rgba(31,255,118,0.04) 0%, var(--bg-card) 50%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.feature-card:hover {
  border-color: rgba(31,255,118,0.35);
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 50px rgba(31,255,118,0.08);
}

/* Línea superior — remplaza .feature-card-top-line */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.35s;
}
.feature-card:hover::before {
  opacity: 1;
}

/* Steps — mismo card que features */
.cf-step {
  background: linear-gradient(160deg, rgba(31,255,118,0.04) 0%, var(--bg) 50%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px 32px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s, box-shadow 0.35s;
}
.cf-step:hover {
  border-color: rgba(31,255,118,0.35);
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 50px rgba(31,255,118,0.08);
}
.cf-step::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.35s;
}
.cf-step:hover::before {
  opacity: 1;
}
.cf-step-num {
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(31,255,118,0.08);
  line-height: 1;
  letter-spacing: -5px;
  position: absolute;
  top: 12px;
  right: 20px;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.cf-step h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.cf-step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Flecha entre pasos */
.cf-arrow {
  color: rgba(31,255,118,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px rgba(31,255,118,0.4));
}



/* ============================================================
   CASINO BUTTON GRID (CTA right card)
   ============================================================ */
.casino-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.casino-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
  min-height: 52px;
}

.casino-btn:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.casino-btn img.logo-sportsbet {
  max-width: 110px;
  max-height: 36px;
}

.casino-btn img {
  max-width: 80px;
  max-height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.25s;
}

.casino-btn:hover img {
  opacity: 1;
  filter: none;
}

.casino-btn-text span {
  color: #FF6600;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ── Casino dropdown ─────────────────────────────────────── */
.casino-item {
  position: relative;
}

.casino-btn {
  width: 100%;
  gap: 4px;
  flex-direction: column;
  text-decoration: none;
}

.casino-chevron {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
  transition: transform 0.2s;
  line-height: 1;
}

.casino-item.open .casino-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.casino-item.open .casino-btn {
  border-color: rgba(31,255,118,0.35);
  background: rgba(31,255,118,0.08);
}

.casino-dropdown {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 160px;
  background: #1a1a26;
  border: 1px solid rgba(31,255,118,0.2);
  border-radius: 12px;
  padding: 6px;
  z-index: 50;
  display: none;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.6), 0 16px 40px rgba(0,0,0,0.3);
}

.casino-item.open .casino-dropdown {
  display: block;
  animation: dropIn 0.18s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.casino-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.casino-dropdown a:hover {
  background: rgba(31,255,118,0.1);
  color: var(--accent);
}

/* ============================================================
   REGISTRO SECTION
   ============================================================ */

/* ── Bonus banner ─────────────────────────────────────── */
.bonus-banner {
  text-align: center;
  padding: 80px 24px 72px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
}

.bonus-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 40% 50% at 25% 50%, rgba(31,255,118,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 75% 40%, rgba(31,255,118,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 50% 70%, rgba(31,255,118,0.06) 0%, transparent 50%);
  animation: cf-bg-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Coin rain canvas */
.coin-rain-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Floating rotating B letters background */
.bonus-bg-letters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bonus-b {
  position: absolute;
  width: 200px;
  height: auto;
  opacity: 0.07;
  filter: grayscale(1) brightness(2.2);
  animation: bonus-spin 6s linear infinite;
}

.bonus-b:nth-child(1)  { top: 2%;  left: -3%;  width: 260px; animation-duration: 7s; }
.bonus-b:nth-child(2)  { top: 8%;  left: 22%;  width: 230px; animation-duration: 9s; animation-direction: reverse; }
.bonus-b:nth-child(3)  { top: 0%;  left: 48%;  width: 250px; animation-duration: 8s; }
.bonus-b:nth-child(4)  { top: 5%;  left: 75%;  width: 220px; animation-duration: 10s; animation-direction: reverse; }
.bonus-b:nth-child(5)  { top: 50%; left: 5%;   width: 200px; animation-duration: 11s; }
.bonus-b:nth-child(6)  { top: 55%; left: 35%;  width: 240px; animation-duration: 6s; animation-direction: reverse; }
.bonus-b:nth-child(7)  { top: 48%; left: 65%;  width: 210px; animation-duration: 12s; }
.bonus-b:nth-child(8)  { top: 52%; left: 90%;  width: 190px; animation-duration: 8.5s; animation-direction: reverse; }
.bonus-b:nth-child(9)  { top: 28%; left: 10%;  width: 180px; animation-duration: 13s; }
.bonus-b:nth-child(10) { top: 30%; left: 55%;  width: 220px; animation-duration: 7.5s; animation-direction: reverse; }
.bonus-b:nth-child(11) { top: 25%; left: 85%;  width: 200px; animation-duration: 9.5s; }
.bonus-b:nth-child(12) { top: 75%; left: 20%;  width: 230px; animation-duration: 10.5s; animation-direction: reverse; }

@keyframes bonus-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Hero spinning B letters ──────────────────────────── */
.hero-bg-letters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-b {
  position: absolute;
  width: 180px;
  height: auto;
  opacity: 0.03;
  filter: grayscale(1) brightness(2);
  animation: bonus-spin 6s linear infinite;
}

.hero-b:nth-child(1) { top: 8%;  left: 5%;   width: 250px; animation-duration: 14s; }
.hero-b:nth-child(2) { top: 15%; left: 45%;  width: 200px; animation-duration: 18s; animation-direction: reverse; }
.hero-b:nth-child(3) { top: 5%;  left: 80%;  width: 230px; animation-duration: 16s; }
.hero-b:nth-child(4) { top: 55%; left: 10%;  width: 190px; animation-duration: 20s; animation-direction: reverse; }
.hero-b:nth-child(5) { top: 60%; left: 55%;  width: 220px; animation-duration: 15s; }
.hero-b:nth-child(6) { top: 50%; left: 85%;  width: 170px; animation-duration: 22s; animation-direction: reverse; }

/* Ensure content stays above the B letters */
.bonus-banner-label,
.bonus-banner-title,
.bonus-banner-sub {
  position: relative;
  z-index: 1;
}

.bonus-banner-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.bonus-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 4px 40px rgba(0,0,0,0.3);
  letter-spacing: -2px;
  color: var(--text);
  margin-bottom: 24px;
}

.bonus-banner-title span {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(31,255,118,0.4);
  display: inline-block;
  animation: bonus-amount-pulse 3s ease-in-out infinite;
  background: linear-gradient(90deg, #1FFF76, #00ffaa, #1FFF76);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: bonus-text-shine 3s linear infinite;
}

@keyframes bonus-text-shine {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.bonus-banner-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .marquee-section {
    padding: 16px 0;
  }

  .marquee-item img {
    height: 20px;
  }
}

@media (max-width: 768px) {
  .bonus-banner {
    padding: 56px 20px 48px;
    min-height: auto;
  }
  .bonus-banner-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    letter-spacing: -1px;
  }
}

.registro-section {
  background: var(--bg-card);
  padding: 80px 24px 100px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  position: relative;
  overflow: hidden;
}

.registro-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(ellipse 40% 50% at 25% 50%, rgba(31,255,118,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 35% 45% at 75% 40%, rgba(31,255,118,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 50% 70%, rgba(31,255,118,0.05) 0%, transparent 50%);
  animation: cf-bg-drift 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.registro-section > *:not(.bonus-bg-letters) {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero BoomBet card ─────────────────────────────────────── */
.registro-hero {
  position: relative;
  background: linear-gradient(145deg, #0d1a10 0%, #111118 50%, #0a1a0f 100%);
  border: 1px solid rgba(31,255,118,0.25);
  border-radius: 24px;
  padding: 48px 48px 40px;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(31,255,118,0.10), 0 20px 60px rgba(0,0,0,0.55);
  animation: registro-border-pulse 4s ease-in-out infinite;
}

@keyframes registro-border-pulse {
  0%, 100% { border-color: rgba(31,255,118,0.25); box-shadow: 0 0 80px rgba(31,255,118,0.08), 0 20px 60px rgba(0,0,0,0.55); }
  50% { border-color: rgba(31,255,118,0.45); box-shadow: 0 0 120px rgba(31,255,118,0.15), 0 20px 60px rgba(0,0,0,0.55); }
}

.registro-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 85% 10%, rgba(31,255,118,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 15% 90%, rgba(31,255,118,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.registro-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: registro-line-sweep 3s ease-in-out infinite;
  border-radius: 24px 24px 0 0;
}

@keyframes registro-line-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.registro-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31,255,118,0.15);
  border: 1px solid rgba(31,255,118,0.35);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.registro-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.registro-hero-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.registro-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.registro-lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.rl-check {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.btn-registro-principal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0c0c10;
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 0 28px rgba(31,255,118,0.35);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-registro-principal:hover {
  background: #00e85f;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(31,255,118,0.5);
}

.btn-registro-principal .arrow {
  width: 18px;
  height: 18px;
}

.registro-legal {
  margin-top: 14px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  width: 100%;
}

.registro-hero-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.registro-hero-left h2,
.registro-hero-left .registro-lista,
.registro-hero-left .btn-registro-principal,
.registro-hero-left .registro-legal {
  align-self: flex-start;
}

.registro-hero-left .registro-legal {
  text-align: left;
}

/* ── Benefits grid (right column) ─────────────────────────── */
.registro-beneficios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(31,255,118,0.03);
  border: 1px solid rgba(31,255,118,0.12);
  border-radius: 14px;
  padding: 16px 18px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.rb-item:hover {
  border-color: rgba(31,255,118,0.35);
  background: rgba(31,255,118,0.06);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(31,255,118,0.08);
}

.rb-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.rb-icon-svg {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(31,255,118,0.08);
  border: 1px solid rgba(31,255,118,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.rb-item:hover .rb-icon-svg {
  transform: scale(1.1);
  background: rgba(31,255,118,0.15);
  box-shadow: 0 0 20px rgba(31,255,118,0.2);
}

.rb-item strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: #fff;
}

/* ── Alternative section ───────────────────────────────────── */
.registro-alternativa {
  margin-top: 40px;
  padding: 32px 36px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
}

.registro-alt-header {
  margin-bottom: 24px;
  text-align: center;
}

.registro-alt-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.casino-btn img {
  width: 90px;
  height: 32px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.casino-btn img.logo-bplay {
  width: 60px;
  height: 24px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .registro-hero {
    padding: 40px 28px 36px;
  }

  .registro-hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .registro-beneficios-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .registro-section {
    padding: 40px 16px 60px;
  }

  .registro-hero {
    padding: 32px 20px 28px;
  }

  .registro-beneficios-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .rb-item {
    padding: 10px 8px;
    font-size: 0.75rem;
  }

  .rb-item strong {
    font-size: 0.72rem;
  }

  .rb-icon-svg {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }

  .rb-icon-svg svg {
    width: 16px;
    height: 16px;
  }

  .btn-registro-principal {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 15px 24px;
  }

  .registro-alternativa {
    padding: 24px 16px;
  }
}

/* ============================================================
   BOOMIX MASCOT WIDGET
   ============================================================ */

.boomix-widget {
  position: fixed;
  bottom: 80px;
  right: 28px;
  z-index: 450;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  transform: translateY(180px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  user-select: none;
}

.boomix-widget.boomix-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── Speech bubble ─────────────────────────────────────── */
.boomix-bubble {
  background: rgba(8, 10, 14, 0.96);
  border: 1px solid rgba(31,255,118,0.5);
  border-radius: 14px;
  padding: 9px 16px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  font-family: var(--font);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), 0 0 20px rgba(31,255,118,0.12);
  position: relative;
  animation: bmx-bubble-pop 0.38s cubic-bezier(0.34,1.56,0.64,1) 0.2s both;
}

.boomix-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(31,255,118,0.5);
}

.boomix-bubble::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(8,10,14,0.96);
  z-index: 1;
}

@keyframes bmx-bubble-pop {
  from { opacity: 0; transform: scale(0.75) translateY(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Character wrapper ─────────────────────────────────── */
.boomix-char-wrap {
  position: relative;
}

/* ── Character canvas (Three.js) ───────────────────────── */
.boomix-canvas-widget {
  width: 96px !important;
  height: 140px !important;
  display: block;
  animation: bmx-float 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 22px rgba(31,255,118,0.32));
  cursor: pointer;
  border-radius: 8px;
}

@keyframes bmx-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}

/* ── Close button ──────────────────────────────────────── */
.boomix-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: rgba(12,14,18,0.96);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  z-index: 2;
  padding: 0;
  font-family: var(--font);
}

.boomix-close:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}


@media (max-width: 480px) {
  .boomix-widget {
    bottom: 16px;
    right: 14px;
  }
  .boomix-canvas-widget {
    width: 78px !important;
    height: 114px !important;
  }
}

/* ============================================================
   BOOMIX CHAT
   ============================================================ */

.boomix-chat {
  position: fixed;
  bottom: 190px;
  right: 28px;
  width: 360px;
  height: 520px;
  z-index: 500;
  background: #0e0e14;
  border: 1px solid rgba(31,255,118,0.2);
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(31,255,118,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34,1.4,0.64,1);
  transform-origin: bottom right;
}

.boomix-chat.bchat-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.boomix-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0a1a10 0%, #0e1a14 100%);
  border-bottom: 1px solid rgba(31,255,118,0.12);
  flex-shrink: 0;
}

.boomix-chat-avatar {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(31,255,118,0.15);
  flex-shrink: 0;
  overflow: visible;
}

.boomix-chat-avatar img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.boomix-chat-online {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  background: #1FFF76;
  border-radius: 50%;
  border: 2px solid #0e0e14;
  box-shadow: 0 0 6px rgba(31,255,118,0.8);
}

.boomix-chat-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.boomix-chat-info strong {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.boomix-chat-info span {
  font-size: 0.72rem;
  color: rgba(31,255,118,0.75);
  font-weight: 500;
}

.boomix-wsp-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 12px 8px;
  padding: 9px 14px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 10px;
  color: #25d366;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.boomix-wsp-option:hover {
  background: rgba(37,211,102,0.22);
}

.boomix-chat-x {
  background: rgba(255,255,255,0.06);
  border: none;
  color: rgba(255,255,255,0.5);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.boomix-chat-x:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* Messages */
.boomix-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(31,255,118,0.2) transparent;
}

.boomix-chat-messages::-webkit-scrollbar { width: 4px; }
.boomix-chat-messages::-webkit-scrollbar-thumb { background: rgba(31,255,118,0.2); border-radius: 4px; }

.bchat-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  animation: bchat-in 0.22s ease both;
}

@keyframes bchat-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bchat-user {
  flex-direction: row-reverse;
}

.bchat-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(31,255,118,0.18);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bchat-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.bchat-bubble {
  max-width: 240px;
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
}

.bchat-bot .bchat-bubble {
  background: #1a1a26;
  color: rgba(255,255,255,0.9);
  border-radius: 4px 16px 16px 16px;
}

.bchat-user .bchat-bubble {
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border-radius: 16px 4px 16px 16px;
}

/* Typing indicator */
.bchat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
}

.bchat-typing span {
  width: 7px;
  height: 7px;
  background: rgba(31,255,118,0.6);
  border-radius: 50%;
  animation: bchat-dot 1.2s ease-in-out infinite;
}

.bchat-typing span:nth-child(2) { animation-delay: 0.2s; }
.bchat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bchat-dot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40%            { transform: scale(1.1); opacity: 1; }
}

/* CTA button inside bubble */
.bchat-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 14px;
  background: var(--accent);
  color: #000;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.bchat-cta:hover { opacity: 0.85; }

/* Timestamp */
.bchat-time {
  display: block;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.25);
  margin-top: 4px;
  text-align: right;
}
.bchat-user .bchat-time { text-align: left; }

/* Quick replies */
.boomix-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 14px 10px;
  flex-shrink: 0;
}

.bchat-quick-btn {
  background: rgba(31,255,118,0.06);
  border: 1px solid rgba(31,255,118,0.25);
  color: rgba(31,255,118,0.9);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-family: var(--font);
  white-space: nowrap;
}

.bchat-quick-btn:hover {
  background: rgba(31,255,118,0.14);
  border-color: rgba(31,255,118,0.5);
}

/* Input footer */
.boomix-chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}

.boomix-chat-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-family: var(--font);
  font-size: 0.82rem;
  padding: 9px 13px;
  border-radius: 50px;
  outline: none;
  transition: border-color 0.2s;
}

.boomix-chat-input:focus {
  border-color: rgba(31,255,118,0.4);
}

.boomix-chat-input::placeholder {
  color: rgba(255,255,255,0.3);
}

.boomix-chat-send {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: none;
  border-radius: 50%;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.15s;
}

.boomix-chat-send:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

/* Disabled state while Boomix types */
.boomix-chat-input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.boomix-chat-send:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .boomix-chat {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    transform-origin: bottom center;
    z-index: 9000;
  }

  /* Prevent iOS zoom on input focus — font-size must be >= 16px */
  .boomix-chat-input {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
  }

  /* Use dvh for full height on mobile browsers */
  .boomix-chat.bchat-open {
    height: 100dvh;
  }

  /* Ensure messages area fills available space */
  .boomix-chat-messages {
    flex: 1;
    min-height: 0;
  }

  /* Quick reply buttons wrap better on mobile */
  .bchat-quick-btn {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  /* Bigger touch targets on mobile */
  .boomix-chat-x {
    width: 34px;
    height: 34px;
  }

  .boomix-chat-send {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   FOCUS STATES — ACCESIBILIDAD
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary:focus-visible,
.btn-registro-principal:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.faq-question:focus-visible,
.province-btn:focus-visible,
.casino-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.boomix-chat-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

/* ============================================================
   STATS STRIP — Social proof diferenciador
   ============================================================ */

.stats-strip {
  background: linear-gradient(135deg, rgba(31,255,118,0.03) 0%, var(--bg-card) 40%, rgba(31,255,118,0.03) 100%);
  border-top: 1px solid rgba(31,255,118,0.1);
  border-bottom: 1px solid rgba(31,255,118,0.08);
  padding: 48px 24px;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.stats-strip-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.ss-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.ss-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--accent);
  line-height: 1;
}

.ss-number.ss-warm {
  color: var(--accent);
}

.ss-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.ss-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .stats-strip-container {
    flex-wrap: wrap;
    gap: 24px 16px;
  }

  .ss-item {
    flex: 0 0 calc(50% - 16px);
  }

  .ss-divider {
    display: none;
  }

  .ss-number {
    font-size: 2rem;
  }
}

/* ============================================================
   SCROLL TO TOP — circular progress ring
   ============================================================ */

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 440;
  width: 52px;
  height: 52px;
  border: none;
  background: rgba(12,12,16,0.85);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: rgba(31,255,118,0.15);
}

.scroll-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.scroll-top-track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
  stroke-width: 2;
}

.scroll-top-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-dasharray: 100.53;
  stroke-dashoffset: 100.53;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

.scroll-top-arrow {
  position: relative;
  z-index: 1;
  color: var(--accent);
}

/* Push above boomix widget on mobile */
@media (max-width: 768px) {
  .scroll-top {
    bottom: 16px;
    right: 14px;
    width: 46px;
    height: 46px;
  }
}

/* ============================================================
   MOBILE: Remove min-height: 100vh from all sections
   ============================================================ */
@media (max-width: 768px) {
  .quienes,
  .como-funciona-steps,
  .sorteo,
  .boomix-section,
  .video-section,
  .faq-section,
  .registro-section,
  .bonus-banner,
  .tiers-section {
    min-height: auto !important;
  }
}

