/* ==========================================================================
   Golden Glow Club — Landing Page (plantilla compartida por distribuidora)
   ========================================================================== */

:root {
  --gold-light: #ffe9a8;
  --gold: #f2c14e;
  --gold-strong: #d89b2b;
  --gold-deep: #a9721b;
  --bg-black: #0a0806;
  --bg-dark: #120d08;
  --bg-panel: #1a140c;
  --cream: #fbf3e3;
  --text-muted: #cbb999;
  --whatsapp: #25d366;

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Fondo decorativo: glow + sparkles ------------------------------------- */

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(242, 193, 78, 0.28), transparent 70%),
    radial-gradient(50% 35% at 85% 30%, rgba(242, 193, 78, 0.14), transparent 70%),
    radial-gradient(50% 35% at 10% 65%, rgba(242, 193, 78, 0.1), transparent 70%),
    linear-gradient(180deg, var(--bg-black) 0%, var(--bg-dark) 45%, var(--bg-black) 100%);
}

.bg-sparkles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 20%, rgba(255, 233, 168, 0.6), transparent),
    radial-gradient(2px 2px at 75% 15%, rgba(255, 233, 168, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 60% 40%, rgba(255, 233, 168, 0.4), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(255, 233, 168, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 15% 75%, rgba(255, 233, 168, 0.5), transparent),
    radial-gradient(2px 2px at 40% 85%, rgba(255, 233, 168, 0.35), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

/* Texto con gradiente dorado ---------------------------------------------- */

.gold-text {
  background: linear-gradient(90deg, var(--gold-strong), var(--gold-light) 45%, var(--gold-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header / logo ------------------------------------------------------------ */

.site-header {
  display: flex;
  justify-content: center;
  padding: 28px 24px 6px;
}

.logo {
  width: 168px;
  filter: drop-shadow(0 0 22px rgba(242, 193, 78, 0.45));
}

/* Hero ---------------------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 12px 24px 30px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(242, 193, 78, 0.4);
  background: rgba(242, 193, 78, 0.08);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  margin: 18px auto 0;
  max-width: 480px;
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 500;
}

.hero__subtitle strong {
  color: var(--cream);
  font-weight: 700;
}

.hero__cta {
  margin-top: 28px;
}

/* Botones ------------------------------------------------------------------- */

.btn-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: #0a0806;
  background: linear-gradient(90deg, var(--gold-strong), var(--gold-light));
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse-glow 2.6s ease-in-out infinite;
}

.btn-whatsapp:hover,
.btn-whatsapp:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 36px rgba(242, 193, 78, 0.5);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-whatsapp__label {
  white-space: nowrap;
}

.btn-whatsapp__sub {
  display: block;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 1px;
}

@media (max-width: 480px) {
  .btn-whatsapp {
    padding: 10px 18px;
    font-size: 0.82rem;
    gap: 7px;
  }

  .btn-whatsapp svg {
    width: 15px;
    height: 15px;
  }

  .btn-whatsapp__sub {
    font-size: 7.5px;
  }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 30px rgba(242, 193, 78, 0.35); }
  50% { box-shadow: 0 8px 44px rgba(242, 193, 78, 0.65); }
}

.cta-helper {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Secciones genéricas -------------------------------------------------------- */

section {
  padding: 46px 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 5.5vw, 1.8rem);
  text-align: center;
  line-height: 1.25;
}

.section-kicker {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* Video VSL ------------------------------------------------------------------ */

.vsl {
  text-align: center;
}

.vsl__frame {
  position: relative;
  margin: 26px auto 0;
  max-width: 560px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(242, 193, 78, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 60px rgba(242, 193, 78, 0.12);
  background: #000;
}

.vsl__frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}

.vsl__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 8, 6, 0.28);
  border: none;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

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

.vsl__play-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--gold-strong), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(242, 193, 78, 0.55);
  transition: transform 0.2s ease;
}

.vsl__play:hover .vsl__play-icon {
  transform: scale(1.08);
}

.vsl__play-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: #0a0806;
}

.vsl__caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Beneficios (chips) ---------------------------------------------------------- */

.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.perk {
  background: var(--bg-panel);
  border: 1px solid rgba(242, 193, 78, 0.18);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
}

.perk__icon {
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
}

.perk__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--cream);
}

/* CTA final ------------------------------------------------------------------- */

.final-cta {
  text-align: center;
}

.final-cta__panel {
  background: linear-gradient(180deg, rgba(242, 193, 78, 0.1), rgba(242, 193, 78, 0.02));
  border: 1px solid rgba(242, 193, 78, 0.3);
  border-radius: 24px;
  padding: 38px 24px;
}

.final-cta__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 6vw, 2rem);
  line-height: 1.2;
}

.final-cta__text {
  margin: 14px auto 0;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 15px;
}

.final-cta__cta {
  margin-top: 24px;
}

.distribuidora {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.distribuidora strong {
  color: var(--gold);
}

/* Footer ----------------------------------------------------------------------- */

.site-footer {
  padding: 30px 24px 40px;
  text-align: center;
}

.site-footer__logo {
  width: 70px;
  margin: 0 auto 14px;
  opacity: 0.85;
}

.site-footer p {
  font-size: 11.5px;
  color: rgba(203, 185, 153, 0.65);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Reveal on scroll --------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Barra CTA fija móvil -------------------------------------------------------------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(10, 8, 6, 0), rgba(10, 8, 6, 0.95) 30%);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta .btn-whatsapp {
  width: 100%;
  padding: 12px 20px;
  animation: none;
  font-size: 0.92rem;
}

@media (min-width: 640px) {
  .sticky-cta { display: none; }
}
