:root {
  --fondo: #0E1116; --sup: #161B22; --sup2: #1A1F28; --linea: #262D37; --linea2: #2C3440;
  --texto: #E9EDF2; --suave: #A9B3C1; --tenue: #8A95A5;
  --wa: #25D366; --wa-tinta: #06210F; --tg: #4CB8F0; --tg-tinta: #04202F;
  --oro: #F5B83D; --oro-tinta: #2A1D04; --oro-linea: #3A3220; --rojo: #FF9B8F;
  --radio: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 15px/1.5 "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: Sora, "DM Sans", sans-serif; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: 24px; }
a { color: inherit; }
[hidden] { display: none !important; }
.contenedor { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.suave { color: var(--suave); margin: 0; }
.centro { text-align: center; }
.pila { display: flex; flex-direction: column; gap: 14px; }

/* botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border-radius: 10px; border: 0; font: 700 15px/1.2 "DM Sans", sans-serif; text-decoration: none; cursor: pointer; }
.boton.grande { min-height: 50px; font-size: 16px; padding: 14px 18px; border-radius: 12px; }
.boton.verde { background: var(--wa); color: var(--wa-tinta); }
.boton.azul { background: var(--tg); color: var(--tg-tinta); }
.boton.oro { background: var(--oro); color: var(--oro-tinta); }
.boton.gris { background: #222831; color: var(--texto); }
.boton.borde { background: transparent; color: var(--texto); border: 1px solid #3A4250; }
.boton:hover { filter: brightness(1.08); }
.boton:focus-visible, .pestana:focus-visible, input:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }
.enlace { color: #C5CDD8; text-decoration: none; font-weight: 500; padding: 10px 8px; min-height: 44px; display: inline-flex; align-items: center; }
.enlace.centro { justify-content: center; color: var(--suave); text-decoration: underline; font-size: 14px; }

/* barra */
.barra { border-bottom: 1px solid #222934; position: sticky; top: 0; background: rgba(14, 17, 22, .92); backdrop-filter: blur(8px); z-index: 10; }
.barra-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.marca { display: flex; align-items: center; gap: 10px; font: 700 17px Sora, sans-serif; text-decoration: none; }
.marca-icono { width: 36px; height: 36px; border-radius: 10px; background: var(--wa); color: var(--wa-tinta); display: flex; align-items: center; justify-content: center; }
.barra-nav { display: flex; align-items: center; gap: 4px; }
@media (max-width: 520px) { .barra-nav .enlace { display: none; } }

/* hero */
.hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 48px 0 36px; }
.hero-texto { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-weight: 800; font-size: clamp(30px, 5vw, 52px); line-height: 1.08; letter-spacing: -0.02em; }
.sub { margin: 0; color: var(--suave); font-size: 18px; max-width: 560px; }
.pildora-ok { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: #16241B; color: #6EE7A0; border: 1px solid #1F4D30; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.contadores { display: flex; gap: 12px; flex-wrap: wrap; }
.contador { background: var(--sup); border: 1px solid var(--linea); border-radius: var(--radio); padding: 12px 18px; display: flex; flex-direction: column; color: var(--suave); font-size: 13px; }
.num { font: 800 26px Sora, sans-serif; }
.num.wa { color: var(--wa); } .num.tg { color: var(--tg); }
.tarjeta-codigo { flex: 1 1 320px; min-width: 0; background: var(--sup); border: 1px solid var(--linea); border-radius: 20px; padding: 24px; scroll-margin-top: 80px; }
.fila-icono { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.fila-icono h2, #caja-ok h2 { font-size: 19px; }
.icono-oro { width: 40px; height: 40px; border-radius: 12px; background: #2A2213; color: var(--oro); display: flex; align-items: center; justify-content: center; }
.icono-ok { width: 48px; height: 48px; border-radius: 14px; background: #16241B; color: var(--wa); display: flex; align-items: center; justify-content: center; }
.campo-codigo { background: var(--fondo); color: var(--texto); border: 1px solid #333C48; border-radius: 12px; padding: 14px 16px; font: 500 18px "DM Sans", monospace; letter-spacing: .08em; text-transform: uppercase; min-height: 52px; width: 100%; }
.error { color: var(--rojo); font-size: 14px; }

/* secciones */
.seccion { padding: 12px 0 40px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 70px; }
.titulo-seccion { display: flex; align-items: center; gap: 10px; }

/* VIP */
.banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.banner { background: var(--sup2); border: 1px solid var(--oro-linea); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.banner-media { aspect-ratio: 16 / 10; background: #2A2213; display: block; width: 100%; object-fit: cover; }
.banner-pie { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 700; }
.banner-libre { border: 2px dashed #3A4250; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; min-height: 200px; }
.etiqueta-oro { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oro); }
.banner-libre strong { font: 700 20px Sora, sans-serif; }
.vip-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.vip { background: var(--sup2); border: 1px solid var(--oro-linea); border-radius: var(--radio); padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.vip-estrella { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; background: var(--oro); color: var(--oro-tinta); display: flex; align-items: center; justify-content: center; }

/* lista */
.cabeza-lista { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.pestanas { display: flex; background: var(--sup); border: 1px solid var(--linea); border-radius: 12px; padding: 4px; gap: 4px; }
.pestana { background: transparent; color: #C5CDD8; border: 0; border-radius: 9px; padding: 10px 14px; font: 700 14px "DM Sans", sans-serif; min-height: 44px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pestana.activa { background: #F2F5F8; color: var(--fondo); }
.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.grupo { background: var(--sup); border: 1px solid var(--linea); border-radius: var(--radio); padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; color: var(--fondo); display: flex; align-items: center; justify-content: center; font: 700 15px Sora, sans-serif; }
.info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nombre { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--suave); }
.meta svg { flex: 0 0 auto; }
.nuevo { background: #16241B; color: #6EE7A0; border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 700; }
.gratis { background: #2E2410; color: var(--oro); border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 700; }
.reportar { background: none; border: 0; color: var(--tenue); font: 13px "DM Sans", sans-serif; cursor: pointer; padding: 0; text-decoration: underline; }
.btn-unirme { padding: 8px 14px; font-size: 14px; flex: 0 0 auto; }
.btn-bloq { background: #222831; color: var(--tenue); padding: 8px 12px; font-size: 14px; flex: 0 0 auto; }
.grupo.bloq .nombre { color: #C5CDD8; }

/* llamada a comprar */
.cta { margin-top: 12px; background: var(--sup2); border: 1px solid var(--oro-linea); border-radius: 20px; padding: 28px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; scroll-margin-top: 80px; }
.cta-texto { flex: 999 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cta-texto h2 { font-size: 28px; line-height: 1.15; font-weight: 800; }
.cta-botones { flex: 1 1 240px; display: flex; flex-direction: column; gap: 10px; }

/* pasos */
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.paso { background: var(--sup); border: 1px solid var(--linea); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.paso strong { font-size: 17px; }
.paso-num { font: 800 28px Sora, sans-serif; color: var(--wa); }

.pie { border-top: 1px solid #222934; color: var(--tenue); font-size: 14px; }
.pie-in { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* pop-up */
.fondo-popup { position: fixed; inset: 0; background: rgba(5, 7, 10, .78); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.popup { width: 100%; max-width: 380px; max-height: calc(100vh - 32px); overflow: auto; background: var(--sup); border: 1px solid var(--oro-linea); border-radius: 18px; position: relative; }
.popup img, .popup video { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.popup-cuerpo { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.popup-cuerpo h2 { font-size: 20px; line-height: 1.25; }
#popup-texto { white-space: pre-line; }
.cerrar { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(14, 17, 22, .85); color: var(--texto); display: flex; align-items: center; justify-content: center; cursor: pointer; }

.aviso { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #F2F5F8; color: var(--fondo); padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 60; max-width: calc(100% - 32px); }
