/* =============================================================================
   RIFAS SMW - como.css V2 · COMO FUNCIONA / HOW IT WORKS · «LAS REGLAS DE LA CASA»
   Estilos SOLO de esta pagina: capa de layout sobre los ARQUETIPOS DE CASINO
   de base.css (.ticket-card, .chip-badge, .table-panel, .jackpot, .neon-sign,
   .wheel-bg, .curtain-stage, .draw-card, .marquee-frame, .amb).
   Compositor-only: nada de filter/width/height animados.
   ========================================================================== */

/* ---------- BANNER DE SECCION + BREADCRUMB ---------- */
.page-banner {
  min-height: clamp(430px, 58vh, 660px);
  display: grid;
  align-items: end;
}
.banner-media img { object-position: center 62%; opacity: 0.52; }
/* Ghost-numeral de la edicion: la cifra vive en la pared */
.banner-ghost {
  position: absolute;
  right: 0.5vw;
  bottom: -0.05em;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: min(15vw, 232px);
  line-height: 0.84;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(217, 150, 25, 0.12);
  pointer-events: none;
  user-select: none;
}
.banner-content { position: relative; z-index: 2; }
.banner-eyebrow {
  display: inline-block;
  font-size: clamp(0.68rem, 0.62rem + 0.2vw, 0.8rem);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.banner-sub {
  margin-top: 1.3rem;
  color: var(--cream-muted);
  max-width: 52ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
}

/* ---------- LOS 4 PASOS: BOLETOS PERFORADOS GRANDES + FICHAS ---------- */
.steps-stack {
  display: grid;
  gap: clamp(1.4rem, 1.1rem + 1.6vw, 2.4rem);
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  max-width: 1080px;
}
.step-ticket {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(1.4rem, 1.2rem + 1.8vw, 3rem);
  padding-block: clamp(2rem, 1.6rem + 1.8vw, 3rem);
}
.step-ticket h3 {
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.1rem);
  margin-bottom: 0.65rem;
}
.step-ticket p { max-width: 58ch; }
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.15rem;
}

/* ---------- DIVISOR: CORTINA DE TERCIOPELO + RULETA ---------- */
.wheel-divider .wheel-bg {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  min-height: clamp(360px, 54vw, 560px);
}
.wheel-copy .neon-sign {
  font-size: clamp(0.92rem, 0.78rem + 0.9vw, 1.45rem);
}
.wheel-line {
  display: block;
  margin-top: 1.3rem;
  font-size: clamp(1.55rem, 1.1rem + 2.4vw, 3rem);
}
.wheel-sub {
  margin: 1.2rem auto 0;
  color: var(--cream-muted);
  max-width: 46ch;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
}

/* ---------- MESA DE JUEGO «REGLAS CLARAS» ---------- */
.rules-panel { margin-top: clamp(2.4rem, 4vw, 3.4rem); }
.rules-panel .jackpot-row { margin-top: clamp(1.8rem, 3vw, 2.8rem); }
.rules-intro { color: var(--cream-muted); margin-top: 1.2rem; max-width: 60ch; }
.table-rules {
  display: grid;
  gap: clamp(1.3rem, 2vw, 1.8rem);
  margin-top: clamp(2.2rem, 3.5vw, 3.2rem);
}
.table-rule {
  display: grid;
  grid-template-columns: minmax(3.4rem, auto) 1fr;
  gap: clamp(1.1rem, 2vw, 1.8rem);
  align-items: start;
  padding-top: clamp(1.3rem, 2vw, 1.8rem);
  border-top: 1px solid var(--hairline);
}
.tr-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem);
  line-height: 1;
  text-align: center;
}
.table-rule h3 { font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem); margin-bottom: 0.45rem; }
.table-rule p { color: var(--cream-muted); max-width: 66ch; }
.rules-foot {
  margin-top: clamp(2rem, 3vw, 2.8rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem;
  color: rgba(227, 219, 214, 0.55);
  max-width: 70ch;
}

/* ---------- FAQ AEO: ACORDEON DE BOLETOS ---------- */
.faq-wrap { max-width: 940px; }
.faq-stack {
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  margin-top: clamp(2.2rem, 3.5vw, 3rem);
}
details.faq-tk summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
  cursor: pointer;
  list-style: none;
}
details.faq-tk summary::-webkit-details-marker { display: none; }
.faq-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem);
  line-height: 1;
  color: var(--gold);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .faq-num {
    background: var(--grad-gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 0.92rem + 0.55vw, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.faq-x {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
}
.faq-x::before, .faq-x::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: translateY(-50%);
  transition: transform 0.35s var(--ease-out);
}
.faq-x::after { transform: translateY(-50%) rotate(90deg); }
details[open] .faq-x::after { transform: translateY(-50%) rotate(0deg); }
.faq-a {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px dashed rgba(217, 150, 25, 0.35);
  color: var(--cream-muted);
  max-width: 64ch;
}
details[open] .faq-a { animation: faq-in 0.4s var(--ease-out); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- CONFIANZA: DRAW-CARD EDITORIAL INVERTIDA (0720-b clave casino) ---------- */
.trust-card {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: stretch;
}
/* La foto real es diurna (autenticidad): velo de anochecer ESTATICO para que
   la sala sin ventanas no abra una ventana al dia. Filter fijo, jamas animado;
   el hover solo mueve transform (dueno: base.css). */
.trust-card .draw-card-media img {
  filter: brightness(0.82) saturate(0.62) contrast(1.05);
}
.trust-card .draw-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 10, 26, 0.62) 0%, rgba(6, 9, 22, 0.3) 40%, rgba(7, 3, 4, 0.05) 68%),
    radial-gradient(ellipse 130% 80% at 50% 118%, rgba(217, 150, 25, 0.14), transparent 58%);
}
.trust-card .draw-card-media {
  aspect-ratio: auto;
  min-height: 340px;
  margin: 14px 0 14px 14px;
}
.trust-card .draw-card-body {
  padding: clamp(1.8rem, 1.4rem + 2vw, 3.2rem);
  align-content: center;
}
.dc-title { font-size: clamp(1.45rem, 1.1rem + 1.8vw, 2.5rem); }
.trust-card .dc-note { max-width: 52ch; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---------- CTA DE CIERRE: MARQUESINA ---------- */
.cta-final { overflow: clip; }
.cta-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.15rem;
}
.cta-sub { color: var(--cream-muted); max-width: 46ch; }
.cta-inner .marquee-frame { margin-top: 1.2rem; }
.cta-alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem 1.4rem;
  margin-top: 1.4rem;
}
.cta-tel {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-muted);
  transition: color var(--dur-fast) linear;
}
.cta-tel:hover { color: var(--gold-2); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .trust-card { grid-template-columns: 1fr; }
  .trust-card .draw-card-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
    margin: 14px 14px 0;
  }
}
@media (max-width: 640px) {
  .banner-ghost { font-size: 24vw; }
  .step-ticket {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 1.3rem;
  }
  .table-rule { grid-template-columns: minmax(2.6rem, auto) 1fr; }
}

/* FAQ: TODA la tarjeta-boleto abre la pregunta (orden del dueno 0730).
   El padding pasa del boleto al summary: el area clickable ES el rectangulo. */
details.faq-tk { padding: 0; }
details.faq-tk > summary {
  padding: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  padding-right: calc(clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem) + 2.9rem);
  min-height: 44px;
}
details.faq-tk > .faq-a {
  padding: 0 calc(clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem) + 2.9rem)
           clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem)
           clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  margin: 0;
}
details.faq-tk > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -6px;
  border-radius: 10px;
}
