/* =========================================================
   BINGO ONLINE — LANDING
   Paleta: azul marino + violeta + fucsia + dorado
   Fuente: Poppins
========================================================= */

:root {
  --bg: #070B2D;
  --bg-2: #0D1240;
  --card: #121747;
  --card-2: #191E58;
  --pink: #FF1684;
  --pink-2: #FF3DA4;
  --purple: #8B3DFF;
  --purple-2: #B66CFF;
  --blue: #168BFF;
  --gold: #FFBF24;
  --success: #22C77A;
  --danger: #FF4567;
  --text: #FFFFFF;
  --text-dim: #AEB5D8;
  --border: rgba(139, 61, 255, .28);
  --shadow: 0 22px 60px rgba(0,0,0,.32);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 85% 10%, rgba(139,61,255,.13), transparent 26rem),
    linear-gradient(180deg, #070B2D 0%, #080C31 55%, #070B2D 100%);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* NAV */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(7,11,45,.88);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo img {
  width: 145px;
  height: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 34px;
}

.nav-menu a {
  position: relative;
  color: #E9EBF8;
  font-size: .9rem;
  font-weight: 500;
  transition: .2s ease;
}

.nav-menu a:hover,
.nav-menu a.activo {
  color: #fff;
}

.nav-menu a.activo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 11px;
  background: rgba(255,255,255,.04);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* BOTONES */
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 11px;
  font-size: .92rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primario {
  background: linear-gradient(135deg, var(--pink-2), var(--pink));
  color: #fff;
  box-shadow: 0 10px 30px rgba(255,22,132,.24);
}

.btn-primario:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(255,22,132,.34);
}

.flecha {
  font-size: 1.25rem;
  line-height: 1;
}

/* HERO */
.lp-hero {
  position: relative;
  min-height: 610px;
  background-image: url('../img/hero-bingo.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(7,11,45,.97) 0%,
      rgba(7,11,45,.86) 29%,
      rgba(7,11,45,.38) 53%,
      rgba(7,11,45,.05) 100%);
}

.lp-hero-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 610px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 56px 0 64px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #D7D8EF;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-kicker {
  padding: 7px 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
}

.lp-hero h1 {
  margin: 0;
  max-width: 590px;
  font-size: clamp(3.2rem, 5.2vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 800;
}

.lp-hero h1 span,
.section-heading h2 span,
.reglas-content h2 span,
.lp-disponible h2 span,
.lp-cta h2 span {
  background: linear-gradient(90deg, #FF4FA9, #FF1684 62%, #B84BFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  width: min(520px, 100%);
  margin: 20px 0 0;
  color: #E4E6F6;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.7;
}

.lp-features {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 28px 0;
}

.item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.item + .item {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,.15);
}

.feature-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
}

.feature-icon svg {
  width: 27px;
  height: 27px;
}

.item div {
  display: flex;
  flex-direction: column;
  color: #E8EAF8;
  font-size: .82rem;
  line-height: 1.2;
}

.item strong {
  color: #fff;
  font-weight: 600;
}

.btn-hero {
  min-width: 220px;
}

.nota {
  margin: 12px 0 0;
  color: #9FA6CE;
  font-size: .72rem;
}

/* SECCIONES */
.lp-pasos,
.lp-info {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

.lp-pasos {
  padding: 78px 0 72px;
}

.section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2,
.lp-disponible h2,
.reglas-content h2,
.lp-cta h2 {
  margin: 8px 0 8px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.section-heading p,
.lp-disponible p,
.reglas-content > p,
.lp-cta p {
  color: var(--text-dim);
  line-height: 1.7;
}

.lp-pasos-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.lp-paso {
  position: relative;
  flex: 1 1 0;
  max-width: 320px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 15%, rgba(139,61,255,.14), transparent 9rem),
    linear-gradient(145deg, rgba(20,25,75,.55), rgba(9,13,49,.6));
}

.paso-flecha {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 44px;
  color: var(--purple-2);
}

.paso-flecha svg {
  width: 22px;
  height: 22px;
}

.paso-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--purple-2);
  line-height: 1;
}

.icono-paso {
  display: grid;
  place-items: center;
}

.icono-paso img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
}

.lp-paso h3 {
  max-width: 260px;
  margin: 0 auto 9px;
  font-size: 1.12rem;
}

.lp-paso p {
  margin: 0 auto;
  max-width: 240px;
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.65;
}

/* DISPONIBLE */
.lp-disponible {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  margin: 0;
  background:
    url('../img/fondo-calendario.webp') center / cover no-repeat;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}

.lp-disponible-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,45,.98) 0%, rgba(7,11,45,.88) 37%, rgba(7,11,45,.16) 76%, rgba(7,11,45,.02) 100%);
}

.lp-disponible-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

.lp-disponible-content > * {
  max-width: 570px;
}

.mini-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mini-benefits span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: #E9EAF7;
  font-size: .78rem;
}

/* INFO */
.lp-info {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, .75fr);
  gap: 20px;
  padding-bottom: 80px;
}

.lp-carton-wrap,
.lp-saldo-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0 100%, rgba(255,22,132,.11), transparent 24rem),
    linear-gradient(145deg, rgba(17,22,67,.96), rgba(7,11,45,.96));
  box-shadow: var(--shadow);
}

.lp-carton-wrap {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
}

.carton-bingo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  max-width: 275px;
  overflow: hidden;
  border: 8px solid rgba(255,255,255,.11);
  border-radius: 15px;
  background: #fff;
  transform: rotate(-3deg);
  box-shadow: 0 22px 40px rgba(0,0,0,.25), 0 0 38px rgba(255,22,132,.16);
}

.letra,
.casilla {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.letra {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
}

.letra:nth-child(1) { background: #E93B94; }
.letra:nth-child(2) { background: #C441B1; }
.letra:nth-child(3) { background: #8B3DFF; }
.letra:nth-child(4) { background: #347FE7; }
.letra:nth-child(5) { background: #6C4BD9; }

.casilla {
  border-right: 1px solid #E7DFF1;
  border-bottom: 1px solid #E7DFF1;
  color: #1A204C;
  font-weight: 700;
  font-size: .9rem;
}

.casilla.marcada {
  color: #fff;
  background: radial-gradient(circle, #FF4FA9 0 52%, #fff 54%);
}

.reglas-content h2 {
  margin-top: 8px;
}

.lp-patrones {
  display: grid;
  grid-template-columns: repeat(6, minmax(62px, 1fr));
  gap: 11px;
  margin-top: 26px;
}

.patron {
  text-align: center;
}

.mini {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
}

.mini span {
  border-radius: 2px;
  background: #282D66;
}

.mini span.on {
  background: linear-gradient(135deg, var(--pink-2), var(--pink));
  box-shadow: 0 0 7px rgba(255,22,132,.45);
}

.patron label {
  display: block;
  color: #C5CAE6;
  font-size: .62rem;
  line-height: 1.25;
}

.lp-saldo-card {
  padding: 32px;
}

.lp-saldo-card h3 {
  margin: 8px 0 8px;
  font-size: 1.7rem;
  line-height: 1.15;
}

.lp-saldo-card > p {
  color: var(--text-dim);
  font-size: .9rem;
  line-height: 1.65;
}

.lp-saldo-chip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 26px 0 18px;
  padding: 17px;
  border: 1px solid rgba(255,191,36,.21);
  border-radius: 16px;
  background: rgba(255,191,36,.06);
}

.coin {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #A16000;
  font-size: 1.4rem;
  background:
    radial-gradient(circle at 35% 30%, #FFF2A0 0 8%, #FFD24E 24%, #FFB20B 60%, #C97900 100%);
  border: 4px solid #FFD85A;
  box-shadow: inset 0 0 0 3px rgba(156,87,0,.35), 0 8px 18px rgba(255,191,36,.22);
}

.lp-saldo-chip small,
.lp-saldo-chip span {
  display: block;
  color: var(--text-dim);
  font-size: .72rem;
}

.lp-saldo-chip strong {
  display: block;
  margin: -2px 0;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1.1;
}

.lp-nota-saldo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 13px;
  background: rgba(139,61,255,.10);
  color: #D0D3EB;
  font-size: .78rem;
  line-height: 1.5;
}

.lp-nota-saldo svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--purple-2);
}

/* CTA */
.lp-cta {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  background: url('../img/fondo-usuario.webp') center / cover no-repeat;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
}

.lp-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,45,.98) 0%, rgba(7,11,45,.90) 38%, rgba(7,11,45,.12) 74%, rgba(7,11,45,.02) 100%);
}

.lp-cta-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

.lp-cta-content > * {
  max-width: 620px;
}

.lp-cta .btn {
  margin-top: 16px;
  min-width: 215px;
}

/* FOOTER */
.lp-footer {
  padding: 34px max(24px, calc((100vw - var(--max)) / 2)) 20px;
  background: #060928;
}

.lp-footer-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-logo img {
  width: 120px;
}

.lp-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.lp-footer nav a {
  color: #ADB3D4;
  font-size: .76rem;
}

.lp-footer nav a:hover {
  color: #fff;
}

.lp-responsable {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #E5E7F6;
  font-size: .74rem;
}

.lp-responsable svg {
  width: 24px;
  height: 24px;
}

.lp-responsable small {
  color: #858DB7;
}

.lp-footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: #7078A4;
  text-align: center;
  font-size: .7rem;
}

/* TABLET */
@media (max-width: 980px) {
  .lp-nav {
    grid-template-columns: auto 1fr auto;
    padding-inline: 22px;
  }

  .nav-menu {
    gap: 20px;
  }

  .lp-hero {
    min-height: 600px;
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(7,11,45,.98) 0%, rgba(7,11,45,.82) 44%, rgba(7,11,45,.20) 100%);
  }

  .lp-info {
    grid-template-columns: 1fr;
  }

  .lp-carton-wrap {
    grid-template-columns: 250px 1fr;
  }
}

/* MOBILE */
@media (max-width: 760px) {
  .lp-nav {
    height: 68px;
    grid-template-columns: auto 1fr auto;
  }

  .logo img {
    width: 118px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-login {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 14px;
    background: rgba(8,12,48,.98);
    box-shadow: var(--shadow);
  }

  .menu-open .nav-menu {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 13px;
    border-radius: 9px;
  }

  .nav-menu a.activo::after {
    display: none;
  }

  .nav-menu a:hover {
    background: rgba(255,255,255,.04);
  }

  .lp-hero {
    min-height: 700px;
    background-position: 68% bottom;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(7,11,45,.98) 0%,
        rgba(7,11,45,.93) 42%,
        rgba(7,11,45,.45) 72%,
        rgba(7,11,45,.18) 100%);
  }

  .lp-hero-inner {
    width: min(100% - 34px, 560px);
    min-height: 700px;
    justify-content: flex-start;
    padding-top: 58px;
  }

  .lp-hero h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .lead {
    max-width: 430px;
    font-size: .95rem;
  }

  .lp-features {
    gap: 13px 18px;
  }

  .item + .item {
    padding-left: 0;
    border-left: 0;
  }

  .lp-pasos,
  .lp-info {
    width: min(100% - 30px, 620px);
  }

  .lp-pasos {
    padding: 58px 0;
  }

  .lp-pasos-grid {
    flex-direction: column;
    align-items: center;
  }

  .lp-paso {
    max-width: 420px;
    width: 100%;
  }

  .paso-flecha {
    width: auto;
    height: 32px;
    transform: rotate(90deg);
  }

  .lp-disponible {
    min-height: 420px;
    background-position: 72% center;
  }

  .lp-disponible-overlay {
    background: linear-gradient(180deg, rgba(7,11,45,.98) 0%, rgba(7,11,45,.88) 52%, rgba(7,11,45,.20) 100%);
  }

  .lp-disponible-content {
    width: min(100% - 34px, 620px);
    align-self: flex-start;
    padding-top: 45px;
  }

  .lp-carton-wrap {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .carton-bingo {
    max-width: 240px;
    margin: auto;
  }

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

  .lp-saldo-card {
    padding: 25px;
  }

  .lp-cta {
    min-height: 410px;
    background-position: 68% center;
  }

  .lp-cta-overlay {
    background: linear-gradient(180deg, rgba(7,11,45,.97) 0%, rgba(7,11,45,.88) 52%, rgba(7,11,45,.15) 100%);
  }

  .lp-cta-content {
    width: min(100% - 34px, 620px);
    align-self: flex-start;
    padding-top: 48px;
  }

  .lp-footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .lp-responsable {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .lp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .lp-features .item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .btn-hero {
    width: 100%;
  }

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


/* =========================================================
   SHOWCASE BINGO 75 BOLAS — SECCIÓN MEJORADA
   Reemplaza visualmente la antigua zona .lp-info
========================================================= */

.bingo-showcase {
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 60%, rgba(38,76,255,.22), transparent 28%),
    radial-gradient(circle at 82% 15%, rgba(255,22,132,.18), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(139,61,255,.20), transparent 38%),
    linear-gradient(180deg, #070B2D 0%, #090D36 45%, #050824 100%);
}

.bingo-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(139,61,255,.8),
    rgba(255,22,132,.9),
    rgba(22,139,255,.7),
    transparent
  );
}

.bingo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
}

.bingo-glow-1 {
  width: 450px;
  height: 450px;
  left: -150px;
  top: 40px;
  background: rgba(77,60,255,.24);
}

.bingo-glow-2 {
  width: 430px;
  height: 430px;
  right: -140px;
  top: 30px;
  background: rgba(255,22,132,.17);
}

.bingo-showcase-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 0;
}

.showcase-img {
  display: block;
  width: 100%;
  height: auto;
}

/* En movil esta seccion se oculta por completo: la imagen no escala bien
   a ese ancho y el contenido ya se explica en los pasos y el hero. */
@media (max-width: 760px) {
  .bingo-showcase {
    display: none;
  }
}