/* =========================================================
   KATILUP - "Shine with your light"
   Design System & Stylesheet
   Inspired by Bakabaka.mx Pastel Kawaii Aesthetic
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Quicksand:wght@500;600;700&family=Nunito+Sans:ital,opsz,wght@0,6..12,400..900;1,6..12,400..900&display=swap');

:root {
  /* Color Palette */
  --cielo-arriba: #FFE7F0;
  --cielo-medio: #FFF4F8;
  --cielo-lavanda: #F4E8FF;
  --cielo-abajo: #D9EEFB;
  
  --acento: #FF8FB8;
  --acento-hover: #ff75a7;
  --acento-fuerte: #F06292;
  --acento-glow: rgba(255, 143, 184, 0.45);
  --acento-suave: #FFE5EE;
  
  --dorado-brillo: #FFD166;
  --menta-pastel: #BFF0EA;
  --lila-pastel: #E4D4F8;

  --tinta-oscura: #3D2C38;
  --tinta: #554150;
  --tinta-suave: #8C7585;
  --tinta-clara: #B19CAB;

  /* Glassmorphism & UI */
  --tarjeta-bg: rgba(255, 255, 255, 0.82);
  --tarjeta-bg-solida: #FFFFFF;
  --tarjeta-border: rgba(255, 255, 255, 0.85);
  --tarjeta-border-pink: rgba(255, 143, 184, 0.35);
  
  --sombra-kawaii: 0 16px 40px -12px rgba(215, 110, 155, 0.32);
  --sombra-hover: 0 22px 50px -10px rgba(215, 100, 150, 0.42);
  --sombra-intensa: 0 25px 60px -15px rgba(180, 80, 125, 0.4);
  --sombra-logo: 0 20px 45px -10px rgba(220, 100, 150, 0.28);

  --radio-sm: 14px;
  --radio-md: 20px;
  --radio-lg: 28px;
  --radio-xl: 36px;
  --radio-pill: 9999px;

  /* Typography */
  --font-heading: 'Outfit', 'Nunito Sans', sans-serif;
  --font-body: 'Quicksand', 'Nunito Sans', sans-serif;
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--tinta);
  background: linear-gradient(175deg, var(--cielo-arriba) 0%, var(--cielo-medio) 35%, var(--cielo-lavanda) 70%, var(--cielo-abajo) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

/* Background animated clouds & glows */
.background-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cloud-layer {
  position: absolute;
  inset: 0;
}

.bg-cloud {
  position: absolute;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: cloudDrift 30s infinite alternate ease-in-out;
}

.bg-cloud-1 {
  width: 450px;
  height: 300px;
  top: -80px;
  left: -50px;
  animation-duration: 25s;
}

.bg-cloud-2 {
  width: 500px;
  height: 350px;
  top: 40%;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 220, 235, 0.7) 0%, rgba(217, 238, 251, 0.4) 60%, transparent 100%);
  animation-duration: 32s;
  animation-delay: -8s;
}

.bg-cloud-3 {
  width: 600px;
  height: 400px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(244, 232, 255, 0.7) 0%, rgba(255, 231, 240, 0.4) 70%, transparent 100%);
  animation-duration: 28s;
  animation-delay: -14s;
}

@keyframes cloudDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, 20px) scale(1.08); }
  100% { transform: translate(-25px, -15px) scale(0.95); }
}

/* Floating Particles Container */
#particulas-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particula {
  position: absolute;
  user-select: none;
  pointer-events: none;
  will-change: transform, opacity;
  animation: fallAndSway linear infinite;
}

@keyframes fallAndSway {
  0% {
    transform: translateY(-80px) translateX(0) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.85;
  }
  90% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(105vh) translateX(var(--sway, 40px)) rotate(var(--rot, 180deg)) scale(1.1);
    opacity: 0;
  }
}

/* Click Sparkles Burst Container */
.click-sparkle {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  font-size: 1.3rem;
  animation: sparklePop 0.85s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
  will-change: transform, opacity;
}

@keyframes sparklePop {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.4) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translate(calc(-50% + var(--dx, 0px)), calc(-50% + var(--dy, -30px))) scale(1.3) rotate(25deg);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx, 0px) * 1.5), calc(-50% + var(--dy, -60px))) scale(0.6) rotate(60deg);
  }
}

/* =========================================================
   PUERTA INTERACTIVA (MODAL DE BIENVENIDA / ENTRADA)
   ========================================================= */
.puerta-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255, 231, 240, 0.96) 0%, rgba(255, 244, 248, 0.97) 50%, rgba(217, 238, 251, 0.96) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 24px;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
}

.puerta-overlay.cerrada {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
  visibility: hidden;
}

.puerta-card {
  background: var(--tarjeta-bg);
  border: 2px solid var(--tarjeta-border);
  box-shadow: var(--sombra-intensa), 0 0 0 8px rgba(255, 255, 255, 0.45);
  border-radius: var(--radio-xl);
  padding: 44px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: puertaPop 0.7s cubic-bezier(0.2, 1.1, 0.4, 1) both;
}

@keyframes puertaPop {
  0% { opacity: 0; transform: translateY(30px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.puerta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 143, 184, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.puerta-logo-wrapper {
  margin-bottom: 20px;
  position: relative;
}

.puerta-logo-img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: var(--sombra-logo), 0 0 0 6px rgba(255, 143, 184, 0.25);
  animation: logoFloating 4s ease-in-out infinite;
}

@keyframes logoFloating {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1.5deg); }
}

.puerta-sparkle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFF0F5;
  color: var(--acento-fuerte);
  padding: 6px 16px;
  border-radius: var(--radio-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 143, 184, 0.3);
}

.puerta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  color: var(--tinta-oscura);
  margin-bottom: 10px;
  line-height: 1.25;
}

.puerta-title span {
  background: linear-gradient(135deg, #FF6599 0%, #D81B60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.puerta-desc {
  font-size: 1rem;
  color: var(--tinta-suave);
  margin-bottom: 28px;
}

.puerta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-puerta-musica {
  background: linear-gradient(135deg, var(--acento) 0%, var(--acento-fuerte) 100%);
  color: #ffffff;
  border: none;
  padding: 16px 24px;
  border-radius: var(--radio-pill);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px -5px rgba(240, 98, 146, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.2s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-puerta-musica:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -4px rgba(240, 98, 146, 0.65);
  filter: brightness(1.04);
}

.btn-puerta-silencio {
  background: rgba(255, 255, 255, 0.9);
  color: var(--tinta);
  border: 1.5px solid rgba(255, 143, 184, 0.35);
  padding: 14px 22px;
  border-radius: var(--radio-pill);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-puerta-silencio:hover {
  background: #ffffff;
  border-color: var(--acento);
  transform: translateY(-2px);
  color: var(--acento-fuerte);
}

/* =========================================================
   HEADER & TOP NAVIGATION
   ========================================================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 24px;
  background: rgba(255, 240, 246, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(230, 160, 190, 0.08);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo-mini {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 143, 184, 0.3);
}

.brand-text-wrapper {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FF5A92;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-motto {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--tinta-suave);
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Sound Control Button */
.btn-music-toggle {
  background: var(--tarjeta-bg);
  border: 1.5px solid var(--tarjeta-border-pink);
  border-radius: var(--radio-pill);
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tinta);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 143, 184, 0.15);
  transition: all 0.2s ease;
}

.btn-music-toggle:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(255, 143, 184, 0.25);
  border-color: var(--acento);
}

.music-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.music-waves span {
  width: 3px;
  height: 4px;
  background: var(--acento-fuerte);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.btn-music-toggle.playing .music-waves span:nth-child(1) {
  animation: soundBar 0.8s ease-in-out infinite alternate;
}
.btn-music-toggle.playing .music-waves span:nth-child(2) {
  animation: soundBar 0.9s ease-in-out 0.2s infinite alternate;
}
.btn-music-toggle.playing .music-waves span:nth-child(3) {
  animation: soundBar 0.7s ease-in-out 0.4s infinite alternate;
}

@keyframes soundBar {
  0% { height: 4px; }
  100% { height: 14px; }
}

/* Like / Dar Amor Button */
.btn-love-counter {
  background: linear-gradient(135deg, #FFE8F1 0%, #FFD6E7 100%);
  border: 1.5px solid rgba(255, 143, 184, 0.45);
  border-radius: var(--radio-pill);
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--acento-fuerte);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(240, 98, 146, 0.15);
}

.btn-love-counter:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 18px rgba(240, 98, 146, 0.28);
}

.btn-love-counter:active {
  transform: scale(0.95);
}

.btn-love-counter .heart-icon {
  display: inline-block;
  animation: heartThrob 2s infinite ease-in-out;
}

@keyframes heartThrob {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  70% { transform: scale(1); }
}

/* =========================================================
   MAIN WRAPPER & SECTIONS
   ========================================================= */
.main-content {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 20px 80px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 48px;
  padding: 30px 0 60px;
  min-height: calc(100vh - 180px);
}

/* Hero Visual / Logo Card */
.hero-visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.hero-3d-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  background: var(--tarjeta-bg);
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radio-xl);
  box-shadow: var(--sombra-intensa), 0 0 0 10px rgba(255, 255, 255, 0.5);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  cursor: pointer;
}

.hero-3d-card:hover {
  box-shadow: 0 30px 70px -15px rgba(220, 90, 145, 0.45), 0 0 0 12px rgba(255, 255, 255, 0.7);
}

.hero-3d-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 143, 184, 0.2) 100%);
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.hero-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radio-xl) - 8px);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease;
}

.hero-3d-card:hover .hero-logo-img {
  transform: scale(1.02);
}

/* Floating Badges around Logo */
.floating-sticker {
  position: absolute;
  z-index: 5;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 143, 184, 0.35);
  padding: 8px 16px;
  border-radius: var(--radio-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--tinta-oscura);
  box-shadow: 0 10px 24px -5px rgba(215, 110, 155, 0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  animation: floatSticker 4s ease-in-out infinite alternate;
}

.sticker-top-right {
  top: -14px;
  right: -14px;
  color: #FF5A92;
  animation-delay: -1s;
}

.sticker-bottom-left {
  bottom: -14px;
  left: -14px;
  animation-delay: -2.5s;
}

@keyframes floatSticker {
  0% { transform: translateY(0) rotate(-2deg); }
  100% { transform: translateY(-10px) rotate(3deg); }
}

/* Hero Content Area */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.status-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFF0F6 0%, #FFE0EC 100%);
  border: 1.5px solid rgba(255, 143, 184, 0.45);
  padding: 8px 18px;
  border-radius: var(--radio-pill);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #E91E63;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(240, 98, 146, 0.15);
  text-transform: uppercase;
}

.status-badge .sparkle-spin {
  display: inline-block;
  animation: spinPulse 4s linear infinite;
}

@keyframes spinPulse {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5.5vw, 3.6rem);
  font-weight: 900;
  color: var(--tinta-oscura);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #FF528B 0%, #F06292 40%, #BA68C8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--tinta);
  font-weight: 500;
  line-height: 1.6;
}

.hero-subtitle strong {
  color: #E91E63;
  font-weight: 700;
}

/* =========================================================
   COUNTDOWN TIMER CAPSULES
   ========================================================= */
.countdown-container {
  background: var(--tarjeta-bg);
  border: 1.5px solid var(--tarjeta-border);
  border-radius: var(--radio-lg);
  padding: 22px 24px;
  box-shadow: var(--sombra-kawaii);
}

.countdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.countdown-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--tinta-oscura);
  display: flex;
  align-items: center;
  gap: 6px;
}

.countdown-tag {
  background: #FFF0F5;
  color: var(--acento-fuerte);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radio-pill);
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.timer-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F9 100%);
  border: 1.5px solid rgba(255, 143, 184, 0.3);
  border-radius: var(--radio-md);
  padding: 12px 6px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(220, 120, 165, 0.12);
  transition: transform 0.2s ease;
}

.timer-card:hover {
  transform: translateY(-2px);
  border-color: var(--acento);
}

.timer-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #E91E63;
  line-height: 1;
  margin-bottom: 4px;
}

.timer-unit {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--tinta-suave);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   PROGRESS BAR
   ========================================================= */
.progress-card {
  background: var(--tarjeta-bg);
  border: 1.5px solid var(--tarjeta-border);
  border-radius: var(--radio-md);
  padding: 16px 20px;
  box-shadow: 0 8px 24px -6px rgba(215, 110, 155, 0.15);
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tinta-oscura);
  margin-bottom: 10px;
}

.progress-track {
  height: 14px;
  background: rgba(255, 143, 184, 0.18);
  border-radius: var(--radio-pill);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.progress-fill {
  height: 100%;
  width: 92%;
  background: linear-gradient(90deg, #FFAEC8 0%, #FF6599 50%, #FF8FB8 100%);
  border-radius: var(--radio-pill);
  position: relative;
  box-shadow: 0 0 12px rgba(255, 101, 153, 0.5);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: shimmerSweep 2.2s infinite;
}

@keyframes shimmerSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* =========================================================
   VIP SUBSCRIPTION FORM
   ========================================================= */
.vip-form-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 246, 0.9) 100%);
  border: 2px solid rgba(255, 143, 184, 0.4);
  border-radius: var(--radio-lg);
  padding: 24px;
  box-shadow: var(--sombra-kawaii);
  position: relative;
  overflow: hidden;
}

.vip-form-card::before {
  content: "🎁 REGALO VIP";
  position: absolute;
  top: 14px;
  right: -32px;
  transform: rotate(35deg);
  background: linear-gradient(135deg, #FFD166, #FF9F1C);
  color: #5D3800;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 34px;
  box-shadow: 0 4px 10px rgba(255, 159, 28, 0.3);
  letter-spacing: 0.05em;
}

.vip-form-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tinta-oscura);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-form-desc {
  font-size: 0.92rem;
  color: var(--tinta-suave);
  margin-bottom: 18px;
  max-width: 90%;
}

.vip-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vip-input-group {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.vip-input {
  width: 100%;
  background: #ffffff;
  border: 2px solid rgba(255, 143, 184, 0.35);
  border-radius: var(--radio-pill);
  padding: 14px 20px 14px 44px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--tinta-oscura);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(255, 143, 184, 0.08);
}

.vip-input:focus {
  border-color: var(--acento-fuerte);
  box-shadow: 0 0 0 4px rgba(255, 143, 184, 0.25);
}

.vip-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--acento-fuerte);
  font-size: 1.1rem;
  pointer-events: none;
}

.btn-vip-submit {
  background: linear-gradient(135deg, #FF6599 0%, #E91E63 100%);
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  border-radius: var(--radio-pill);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px -4px rgba(233, 30, 99, 0.45);
  transition: transform 0.2s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn-vip-submit:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 26px -4px rgba(233, 30, 99, 0.6);
  filter: brightness(1.05);
}

.btn-vip-submit:active {
  transform: scale(0.97);
}

/* Success Message Box */
.vip-success-box {
  display: none;
  background: #EDFBF5;
  border: 1.5px solid #A2E5C5;
  border-radius: var(--radio-md);
  padding: 16px 20px;
  margin-top: 14px;
  color: #1A6947;
  font-size: 0.95rem;
  font-weight: 600;
  animation: popSuccess 0.4s ease-out forwards;
}

.vip-success-box.visible {
  display: flex;
  align-items: center;
  gap: 12px;
}

@keyframes popSuccess {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

/* =========================================================
   SNEAK PEEK SECTION (CARDS)
   ========================================================= */
.sneak-peek-section {
  padding: 50px 0;
}

.section-header-center {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid rgba(255, 143, 184, 0.4);
  padding: 6px 16px;
  border-radius: var(--radio-pill);
  color: var(--acento-fuerte);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--tinta-oscura);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--tinta-suave);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--tarjeta-bg);
  border: 2px solid var(--tarjeta-border);
  border-radius: var(--radio-lg);
  padding: 32px 26px;
  box-shadow: var(--sombra-kawaii);
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sombra-hover);
  border-color: var(--acento);
}

.feature-icon-bubble {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #FFE7F0 0%, #FFD0E3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 10px 20px rgba(255, 143, 184, 0.3);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-bubble {
  transform: scale(1.15) rotate(8deg);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tinta-oscura);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--tinta-suave);
  line-height: 1.55;
}

/* =========================================================
   INTERACTIVE MINI-GAME: COFRE / RULETA VIP
   ========================================================= */
.game-section {
  padding: 40px 0 60px;
}

.game-card-wrapper {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 235, 244, 0.85) 100%);
  border: 2px solid rgba(255, 143, 184, 0.45);
  border-radius: var(--radio-xl);
  padding: 40px 30px;
  box-shadow: var(--sombra-intensa);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.game-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFE8A3;
  color: #734A00;
  padding: 6px 14px;
  border-radius: var(--radio-pill);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  width: fit-content;
}

.game-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--tinta-oscura);
  line-height: 1.2;
}

.game-desc {
  font-size: 1rem;
  color: var(--tinta);
  line-height: 1.6;
}

.game-interactive-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* Mystery Chest Icon */
.gift-chest-box {
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, #FFE2EE 0%, #FFB6D3 100%);
  border: 4px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.8rem;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(240, 98, 146, 0.35);
  transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), box-shadow 0.3s ease;
  position: relative;
  user-select: none;
}

.gift-chest-box:hover {
  transform: scale(1.08) rotate(3deg);
  box-shadow: 0 22px 46px rgba(240, 98, 146, 0.5);
}

.gift-chest-box.opened {
  animation: chestTada 0.8s ease forwards;
}

@keyframes chestTada {
  0% { transform: scale(1); }
  10%, 20% { transform: scale(0.9) rotate(-4deg); }
  30%, 50%, 70%, 90% { transform: scale(1.15) rotate(4deg); }
  40%, 60%, 80% { transform: scale(1.15) rotate(-4deg); }
  100% { transform: scale(1) rotate(0); }
}

.tap-hint {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--acento-fuerte);
  animation: pulseHint 1.8s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.8; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

/* Coupon Result Modal/Box */
.coupon-result-box {
  display: none;
  background: #ffffff;
  border: 2px dashed #FF6599;
  border-radius: var(--radio-lg);
  padding: 20px;
  margin-top: 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(255, 101, 153, 0.2);
  animation: couponPop 0.5s cubic-bezier(0.2, 1.2, 0.4, 1) forwards;
}

.coupon-result-box.active {
  display: block;
}

@keyframes couponPop {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.coupon-code-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFF0F6;
  border: 1.5px solid rgba(255, 143, 184, 0.5);
  border-radius: var(--radio-pill);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #E91E63;
  letter-spacing: 0.08em;
  margin: 10px 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.coupon-code-chip:hover {
  transform: scale(1.04);
  background: #FFE0ED;
}

.coupon-discount-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tinta-oscura);
}

.coupon-copied-msg {
  font-size: 0.8rem;
  color: #10B981;
  font-weight: 700;
  margin-top: 4px;
}

/* =========================================================
   FOOTER SECTION
   ========================================================= */
.main-footer {
  background: rgba(255, 238, 245, 0.9);
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  padding: 50px 20px 30px;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.footer-content {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: var(--sombra-logo);
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: #FF5A92;
  letter-spacing: -0.01em;
}

.footer-brand-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--tinta-suave);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.footer-socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-btn {
  background: #ffffff;
  border: 1.5px solid rgba(255, 143, 184, 0.35);
  color: var(--tinta);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255, 143, 184, 0.15);
  transition: transform 0.25s cubic-bezier(0.3, 1.4, 0.5, 1), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.12);
  background: var(--acento);
  color: #ffffff;
  border-color: var(--acento);
  box-shadow: 0 10px 22px rgba(240, 98, 146, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 143, 184, 0.2);
  padding-top: 20px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--tinta-suave);
}

.footer-love {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* =========================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================= */
@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding-top: 20px;
  }

  .hero-visual-wrapper {
    order: -1;
  }

  .hero-3d-card {
    max-width: 320px;
  }

  .status-badge-wrapper {
    justify-content: center;
  }

  .vip-form {
    flex-direction: column;
  }

  .btn-vip-submit {
    width: 100%;
    justify-content: center;
  }

  .game-card-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .game-info {
    align-items: center;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 0;
  }

  .brand-motto {
    display: none;
  }

  .btn-music-toggle span.music-text {
    display: none;
  }

  .timer-grid {
    gap: 8px;
  }

  .timer-number {
    font-size: 1.45rem;
  }

  .timer-card {
    padding: 10px 4px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .particula {
    display: none !important;
  }
}
