/* ==========================================================================
   Comunidad Creator - Estilos Premium y Animaciones
   ========================================================================== */

/* Importar tipografías de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

/* Variables CSS para consistencia de diseño */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Colores del Sistema */
  --bg-main: #F4F7FC;
  --color-primary: #1E1B4B; /* Dark indigo */
  --color-accent: #5E50F9; /* Vibrant purple-blue */
  --color-accent-hover: #4537D6;
  --color-yellow: #FFC700;
  --color-yellow-hover: #E5B200;
  --color-text-dark: #1F2937;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  
  /* Redes Sociales */
  --color-facebook: #1877F2;
  --color-instagram-grad: linear-gradient(135deg, #F9CE34 0%, #EE2A7B 50%, #6228D7 100%);
  --color-instagram-flat: #E1306C;
  --color-tiktok: #090909;
  --color-youtube: #FF0000;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 0 15px rgba(94, 80, 249, 0.35);
  --shadow-yellow-glow: 0 0 15px rgba(255, 199, 0, 0.45);
  
  /* Bordes */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-premium: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset de Estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--color-text-dark);
  line-height: 1.6;
  font-size: 18px; /* Larger base font size */
  overflow-x: clip; /* Fix for sticky positioning on mobile browsers */
  -webkit-font-smoothing: antialiased;
}



.hidden {
  display: none !important;
}

/* ==========================================================================
   Estado Bloqueado en Botones (.locked)
   ========================================================================== */
.btn-seguir-card.locked,
.btn-host-seguir.locked {
  background-color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transform: none !important;
  animation: buttonPulseLock 3s infinite ease-in-out !important;
  filter: none !important;
  opacity: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 800 !important;
}

/* Explicit text colors for high contrast on locked buttons */
.social-card.facebook .btn-seguir-card.locked { color: #1877F2 !important; }
.social-card.instagram .btn-seguir-card.locked { color: #E1306C !important; }
.social-card.tiktok .btn-seguir-card.locked { color: #000000 !important; }

.btn-compartir-accion.locked {
  background: #FFFFFF !important;
  color: var(--color-accent) !important;
  border: 1.5px dashed var(--color-accent) !important;
  box-shadow: 0 4px 12px rgba(94, 80, 249, 0.05) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transform: none !important;
  animation: buttonPulseLock 3s infinite ease-in-out !important;
  filter: none !important;
  opacity: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  font-weight: 700 !important;
}

.btn-seguir-card.locked:hover,
.btn-host-seguir.locked:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  animation: lockShake 0.6s ease-in-out forwards !important;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25) !important;
}

.btn-compartir-accion.locked:hover {
  background-color: rgba(94, 80, 249, 0.15) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-accent-hover) !important;
  animation: lockShake 0.6s ease-in-out forwards !important;
  box-shadow: 0 6px 16px rgba(94, 80, 249, 0.12) !important;
}

/* Unlocking State */
.btn-seguir-card.unlocking,
.btn-compartir-accion.unlocking,
.btn-host-seguir.unlocking {
  animation: buttonUnlockSweep 1.2s forwards cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none !important;
}

@keyframes buttonPulseLock {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  }
  50% {
    box-shadow: 0 4px 20px rgba(55, 65, 81, 0.4);
  }
}

@keyframes lockShake {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20%, 60% { transform: rotate(-3deg) scale(1.02); }
  40%, 80% { transform: rotate(3deg) scale(1.02); }
}

@keyframes buttonUnlockSweep {
  0% {
    transform: scale(1);
    background-color: #374151;
  }
  30% {
    transform: scale(1.08);
    background-color: var(--color-yellow);
    color: #000;
    box-shadow: 0 0 20px var(--color-yellow);
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* ==========================================================================
   Animaciones de Entrada y Efectos Especiales (Keyframes)
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animaciones Constantes / Infinitas */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 4px 15px rgba(94, 80, 249, 0.25); }
  50% { box-shadow: 0 4px 25px rgba(94, 80, 249, 0.55); }
  100% { box-shadow: 0 4px 15px rgba(94, 80, 249, 0.25); }
}

@keyframes cardShine {
  0% { left: -150%; }
  50% { left: 150%; }
  100% { left: 150%; }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Clases de Animación para JS/CSS */
.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out both;
}

.animate-scale-in {
  animation: scaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Retrasos de animación */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ==========================================================================
   Header / Cabecera (Idéntico)
   ========================================================================== */
.header {
  background-color: #FFFFFF;
  border-bottom: 4px solid var(--color-yellow);
  padding: 0px 5%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.5s ease-out;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}

.header-logo-img {
  max-height: 240px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
  margin-top: -45px;
  margin-bottom: -55px;
  transition: transform var(--transition-smooth);
}

.logo-container:hover .header-logo-img {
  transform: scale(1.03);
}

.logo-icon-bg {
  background-color: var(--color-accent);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(94, 80, 249, 0.2);
  transition: var(--transition-smooth);
}

.logo-container:hover .logo-icon-bg {
  transform: rotate(-8deg) scale(1.08);
  background-color: var(--color-accent-hover);
}

.logo-icon-bg svg {
  width: 28px;
  height: 28px;
  fill: #FFFFFF;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5.5vw, 42px); /* Larger letters */
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-text-comunidad {
  color: var(--color-primary);
}

.logo-text-creator {
  color: var(--color-accent);
  margin-left: 2px;
}

.btn-participar-header {
  background-color: var(--color-yellow);
  color: #000000;
  font-family: var(--font-heading);
  font-size: 17px; /* Larger letters */
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

.btn-participar-header:hover {
  transform: translateY(-2px);
  background-color: var(--color-yellow-hover);
  box-shadow: var(--shadow-yellow-glow);
}

.btn-participar-header:active {
  transform: translateY(0);
}

/* ==========================================================================
   Contenedor Principal y Anuncios (Adsense)
   ========================================================================== */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.adsense-placeholder {
  background-color: #EBF1F6;
  border: 2px dashed #CCD2E2;
  border-radius: var(--radius-md);
  padding: 22px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 90px;
  margin: 10px 0;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.adsense-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
  0% { left: -100%; }
  25% { left: 150%; }
  100% { left: 150%; }
}

.adsense-title {
  font-family: var(--font-body);
  font-size: 13px; /* Larger text */
  font-weight: 700;
  color: #7A869A;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.adsense-subtitle {
  font-family: var(--font-body);
  font-size: 13px; /* Larger text */
  color: #97A3B6;
  margin-top: 2px;
}

/* ==========================================================================
   Hero Section / Cabecera Principal (Idéntico)
   ========================================================================== */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}

.badge-ciclo {
  background-color: #EBF0FF;
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 18px; /* Enlarged badge text */
  font-weight: 800;
  padding: 12px 26px; /* Increased padding */
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(94, 80, 249, 0.08);
  animation: float 3s ease-in-out infinite; /* Constant animation */
}

.badge-ciclo::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 11vw, 110px); /* Letras gigantes que caben sin cortarse */
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-primary);
  max-width: 1000px;
  text-transform: uppercase;
  white-space: normal;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

.hero-title-accent {
  color: #8B5CF6; /* Vibrant purple */
  display: block;
  font-size: clamp(38px, 14vw, 130px); /* Acento gigante proporcional */
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.4), 0 0 20px rgba(139, 92, 246, 0.2);
  word-break: normal !important;
  overflow-wrap: normal !important;
  animation: purpleGlow 2.5s ease-in-out infinite alternate;
}

.animated-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: letterRise 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes letterRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes purpleGlow {
  from {
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.35), 0 0 16px rgba(139, 92, 246, 0.15);
  }
  to {
    text-shadow: 0 0 22px rgba(139, 92, 246, 0.8), 0 0 38px rgba(139, 92, 246, 0.45);
  }
}

.hero-description {
  font-family: var(--font-body);
  font-size: clamp(17px, 2.2vw, 20px); /* Enlarge letters */
  color: #4A5168;
  max-width: 760px;
  margin-top: 10px;
  line-height: 1.7;
}

/* ==========================================================================
   Progress Section & Platform Cards (Idéntico y Responsive)
   ========================================================================== */
.progress-section {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 15px;
}

.section-title-center {
  text-align: center;
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-size: 34px; /* Larger letters */
  font-weight: 900;
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.section-desc-center {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 20px; /* Larger letters */
  margin-top: -10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cards-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px; /* Increased to take more width */
  margin: 30px auto 0;
  width: 100%;
}

/* Base Card Style */
.social-card {
  position: sticky;
  top: 60px; /* Distancia desde la parte superior al hacer scroll */
  min-height: auto; /* Quitamos height fijo enorme */
  margin-bottom: 20px;
  border-radius: var(--radius-xl);
  padding: 20px 30px 25px 30px; /* Adjusted paddings to be more compact at bottom */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05); /* Agregado bordecito decorativo */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16); /* Sombra leve pero más notoria */
  transition: var(--transition-premium); /* Premium transition */
  background-color: #FFFFFF;
}

/* Aplicamos un desplazamiento ligeramente diferente a cada carta para el apilamiento */
.social-card:nth-child(1) { top: 40px; z-index: 1; }
.social-card:nth-child(2) { top: 80px; z-index: 2; }
.social-card:nth-child(3) { top: 120px; z-index: 3; }

/* Subida de tono al activar clase de scroll */
.social-card.scrolled-tone {
  filter: brightness(1.1);
  transform: scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 5;
  animation: cardShine 6s infinite ease-in-out; /* Continuous shine animation */
}

.social-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* Hover effects for premium feeling */
.social-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-xl), 0 20px 40px rgba(0, 0, 0, 0.2);
}

.social-card:active {
  transform: translateY(-4px) scale(0.99);
}

/* Card Themes */
.social-card.facebook {
  background-color: var(--color-facebook);
}
.social-card.facebook:hover {
  box-shadow: var(--shadow-xl), 0 15px 35px rgba(24, 119, 242, 0.45);
}

.social-card.instagram {
  background: linear-gradient(135deg, #F9CE34, #EE2A7B, #6228D7, #EE2A7B, #F9CE34);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite; /* Constant gradient flow */
}
.social-card.instagram:hover {
  box-shadow: var(--shadow-xl), 0 15px 35px rgba(225, 48, 108, 0.45);
}

.social-card.tiktok {
  background-color: var(--color-tiktok);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-card.tiktok:hover {
  box-shadow: var(--shadow-xl), 0 15px 35px rgba(0, 0, 0, 0.55);
}

/* Circle Icon Holder */
.card-icon-circle {
  width: 60px;
  height: 60px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: var(--transition-premium);
}

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

.card-icon-circle svg {
  width: 30px;
  height: 30px;
}

/* Social Platform Texts */
.card-platform-name {
  font-family: var(--font-heading);
  font-size: 16px; /* Larger letters */
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 2px;
  opacity: 0.95;
}

.card-goal-value {
  font-family: var(--font-heading);
  font-size: 46px; /* Larger letters */
  font-weight: 900;
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

/* Inner Buttons on Cards */
.btn-seguir-card {
  background-color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 16px; /* Ajuste para ser más proporcional */
  font-weight: 800;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 30px;
  padding: 12px 24px; /* Menos ancho para no ser tan alargado */
  max-width: 320px; /* Evita que ocupe todo el ancho si la tarjeta es muy ancha */
  width: 100%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition-premium); /* Premium transition */
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px; /* Ajustado */
  outline: none;
}

.social-card.facebook .btn-seguir-card { color: var(--color-facebook); }
.social-card.instagram .btn-seguir-card { color: var(--color-instagram-flat); }
.social-card.tiktok .btn-seguir-card { color: #000000; }

.btn-seguir-card:hover:not(.followed) {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-seguir-card:active:not(.followed) {
  transform: scale(0.96);
}

/* Followed state styling */
.btn-seguir-card.followed {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: default;
}
.btn-seguir-card.followed:hover {
  transform: none;
  box-shadow: none;
}

/* Stats metrics rows */
.card-stats-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-body);
  font-size: 14.5px; /* Larger letters */
  margin-bottom: 8px;
  font-weight: 600;
}

.card-stats-current {
  opacity: 0.9;
}

.card-stats-pct {
  font-weight: 700;
}

/* Progress bar in Card */
.card-progress-container {
  width: 100%;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.card-progress-bar {
  height: 100%;
  background-color: #FFFFFF;
  border-radius: 10px;
  width: 0%; /* Carga dinámica por JS */
  transition: width 1.8s cubic-bezier(0.1, 0.8, 0.2, 1);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Side-by-Side: ¿Cómo Participar? & Programa de Socios (Idéntico)
   ========================================================================== */
.details-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 10px;
}

@media (max-width: 580px) {
  .details-section-grid {
    grid-template-columns: 1fr;
  }
}

.details-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 35px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-premium);
  text-align: center; /* Center all text */
  align-items: center; /* Center children */
}

.details-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.details-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 9vw, 48px); /* Letras mucho más grandes pero seguras */
  font-weight: 900;
  color: var(--color-primary);
  text-transform: uppercase;
  transition: var(--transition-smooth);
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Column Left: ¿Cómo participar? steps list */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.step-item {
  background-color: #F8FAFC;
  border: 1px solid #EDF2F7;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); /* Sombra notoria */
  transition: var(--transition-premium);
}

.step-item:hover {
  background-color: #F1F5F9;
  transform: translateX(8px) scale(1.01);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-item:active {
  transform: translateX(2px) scale(0.99);
}

.step-number-circle {
  width: 32px; /* Reducido para mejor proporción */
  height: 32px; /* Reducido para mejor proporción */
  background-color: #D2D9E8;
  color: #718096;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 15px; /* Ajustado proporcionalmente */
  font-weight: 900;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.step-item:hover .step-number-circle {
  background-color: var(--color-accent);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(94, 80, 249, 0.25);
}

.step-content {
  display: flex;
  flex-direction: column;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 17px; /* Larger letters */
  font-weight: 800;
  color: var(--color-primary);
}

.step-desc {
  font-size: 14px; /* Larger letters */
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* Column Right: Programa de socios styling */
.badge-beneficio {
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 15px; /* Larger badge text */
  font-weight: 800;
  padding: 8px 18px; /* Larger padding */
  border-radius: 30px;
  display: inline-block;
  align-self: center; /* Centrado como se solicitó */
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(94, 80, 249, 0.25);
  animation: badgePulseGlow 2.5s infinite alternate;
  transition: var(--transition-smooth);
}

.badge-beneficio:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(94, 80, 249, 0.45);
}

@keyframes badgePulseGlow {
  0% {
    box-shadow: 0 0 5px rgba(94, 80, 249, 0.3);
    transform: scale(1);
  }
  100% {
    box-shadow: 0 0 16px rgba(94, 80, 249, 0.65);
    transform: scale(1.04);
  }
}

.details-card-desc {
  font-size: 16px; /* Larger letters */
  color: #4A5568;
  line-height: 1.7;
}

.details-card-desc a.link-adsense {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 700;
  transition: var(--transition-smooth);
}

.details-card-desc a.link-adsense:hover {
  color: var(--color-accent-hover);
}

/* Inner card sub-components inside partner program */
.partner-subcard {
  background-color: #EBF0FF;
  border: 1px solid #DCE4FC;
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); /* Sombra notoria */
}

.partner-subcard-title {
  font-family: var(--font-heading);
  font-size: 16px; /* Larger letters */
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
}

.partner-subcard-desc {
  font-size: 14px; /* Larger letters */
  color: var(--color-accent);
  font-weight: 500;
  margin-top: -8px;
}

.btn-compartir-accion {
  background: linear-gradient(135deg, #FF004B 0%, #E60000 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 15.5px; /* Larger letters */
  font-weight: 800;
  border: none;
  border-radius: 30px;
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
  transition: var(--transition-premium);
  width: 100%;
  text-transform: uppercase;
  animation: waPulse 1.8s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-compartir-accion:hover {
  background: linear-gradient(135deg, #FF1A62 0%, #FF0000 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.6);
}

.btn-compartir-accion:active {
  transform: translateY(0) scale(0.98);
}

.btn-compartir-accion svg {
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
}

/* Hosts social follow list styling */
.hosts-list-title {
  font-family: var(--font-heading);
  font-size: 16px; /* Larger letters */
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-top: 5px;
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

@media (max-width: 480px) {
  .hosts-grid {
    grid-template-columns: 1fr;
  }
}

.host-item {
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14); /* Sombra leve pero muy notoria */
  transition: var(--transition-premium);
  position: relative;
  overflow: hidden;
}

.host-item:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-lg), 0 8px 20px rgba(0,0,0,0.15);
}

.host-item:active {
  transform: translateY(-1px) scale(0.98);
}

/* Solid Brand Backgrounds */
.host-item.fb-item { background-color: #1877F2 !important; }
.host-item.ig-item { background: linear-gradient(135deg, #F9CE34 0%, #EE2A7B 50%, #6228D7 100%) !important; }
.host-item.tt-item { background-color: #111111 !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; }
.host-item.yt-item { background-color: #FF0000 !important; }
.host-item.wa-item { background-color: #25D366 !important; border: none !important; }

.host-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.host-icon-circle svg {
  width: 16px;
  height: 16px;
  fill: #FFFFFF !important;
}

.host-name {
  font-family: var(--font-heading);
  font-size: 17px; /* Larger host network names */
  font-weight: 800;
  color: #FFFFFF !important;
}

.btn-host-seguir {
  background-color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 14.5px; /* Larger button text */
  font-weight: 800;
  border-radius: 20px;
  padding: 10px 22px; /* Increased padding for click comfort */
  border: none !important;
  cursor: pointer;
  transition: var(--transition-premium);
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.host-item.fb-item .btn-host-seguir { color: #1877F2 !important; }
.host-item.fb-item .btn-host-seguir:not(.locked) { background-color: #E7F0FD !important; }

.host-item.ig-item .btn-host-seguir { color: #E1306C !important; }
.host-item.ig-item .btn-host-seguir:not(.locked) { background-color: #FDE8F0 !important; }

.host-item.tt-item .btn-host-seguir { color: #000000 !important; }
.host-item.tt-item .btn-host-seguir:not(.locked) { background-color: #EAEAEA !important; }

.host-item.yt-item .btn-host-seguir { color: #FF0000 !important; }
.host-item.yt-item .btn-host-seguir:not(.locked) { background-color: #FEE2E2 !important; }

/* Explicit overrides for WhatsApp to prevent any red button bleeding */
.host-item.wa-item {
  background-color: #25D366 !important;
  border: none !important;
}
.host-item.wa-item .host-name {
  color: #FFFFFF !important;
}
.host-item.wa-item .btn-host-seguir.locked {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
  border: 1.5px dashed rgba(255, 255, 255, 0.5) !important;
}
.host-item.wa-item .btn-host-seguir:not(.locked) {
  background-color: #E5F9ED !important;
  color: #25D366 !important;
}

.btn-host-seguir:hover {
  transform: scale(1.05);
  background-color: #F8FAFC !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

/* Removed old lock overlay styles */

/* ==========================================================================
   Formulario de Registro (Idéntico)
   ========================================================================== */
.form-section {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.form-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 40px 35px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: var(--transition-smooth);
}

.form-card:hover {
  box-shadow: var(--shadow-xl);
}

.form-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 28px; /* Larger letters */
  font-weight: 900;
  color: var(--color-accent);
  text-transform: uppercase;
}

.form-subtitle {
  font-size: 15.5px; /* Larger letters */
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section-title {
  font-family: var(--font-heading);
  font-size: 16px; /* Larger letters */
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  border-bottom: 1px solid #E2E8F0;
  padding-bottom: 8px;
  margin-bottom: 5px;
}

/* Form inputs layout grid */
.inputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (max-width: 520px) {
  .inputs-grid {
    grid-template-columns: 1fr;
  }
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-full-width {
  grid-column: span 2;
}

@media (max-width: 520px) {
  .input-full-width {
    grid-column: span 1;
  }
}

.form-input {
  font-family: var(--font-body);
  font-size: 16px; /* Larger letters */
  padding: 14px 18px;
  border: 1.5px solid #D2D9E8;
  border-radius: var(--radius-md);
  outline: none;
  background-color: #FFFFFF;
  color: var(--color-text-dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  width: 100%;
}

.form-input::placeholder {
  color: #9CA3AF;
}

.form-input:focus {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  box-shadow: 0 6px 16px rgba(94, 80, 249, 0.15);
}

/* Custom confirmation checkbox card background */
.checkbox-card {
  background-color: #EBF0FF;
  border: 1px solid #DCE4FC;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.checkbox-card:hover {
  background-color: #E2E9FF;
  border-color: #CBD7FC;
}

.checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 3px;
}

/* Custom Checkbox Design */
.checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  background-color: #FFFFFF;
  border: 1.5px solid #A3B3D9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.checkbox-card:hover .checkbox-custom {
  border-color: var(--color-accent);
}

.checkbox-input:checked ~ .checkbox-custom {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 5px rgba(94, 80, 249, 0.3);
}

.checkbox-custom::after {
  content: "";
  display: none;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.checkbox-input:checked ~ .checkbox-custom::after {
  display: block;
}

.checkbox-label-text {
  font-size: 13.5px; /* Larger letters */
  color: #313D66;
  line-height: 1.6;
  user-select: none;
  font-weight: 500;
}

.checkbox-label-text strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* Large Submit Pill Button */
.btn-submit-form {
  background-color: var(--color-accent);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 18.5px; /* Larger letters */
  font-weight: 800;
  border: none;
  border-radius: 30px;
  padding: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(94, 80, 249, 0.25);
  transition: var(--transition-premium);
  width: 100%;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  animation: pulseGlow 2.5s infinite ease-in-out; /* Constant pulsing glow animation */
}

.btn-submit-form:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-submit-form:active {
  transform: translateY(0) scale(0.98);
}

.btn-submit-form svg {
  width: 16px;
  height: 16px;
  fill: #FFFFFF;
  transition: var(--transition-smooth);
}

.btn-submit-form:hover svg {
  transform: translateX(4px);
}

.form-footer-text {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 13px; /* Larger letters */
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94A3B8;
  text-transform: uppercase;
  margin-top: 10px;
}

/* ==========================================================================
   Toasts System (Notificaciones flotantes hermosas)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.toast {
  background-color: #FFFFFF;
  color: var(--color-text-dark);
  border-left: 5px solid var(--color-accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 15.5px; /* Larger letters */
  font-weight: 500;
  max-width: 380px;
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: #10B981;
}

.toast-error {
  border-left-color: #EF4444;
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  fill: #10B981;
}

.toast-error .toast-icon {
  fill: #EF4444;
}

.toast-message {
  line-height: 1.4;
}

.card-follow-notice {
  font-family: var(--font-body);
  font-size: 15px; /* Larger letters */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 5px;
  text-align: center;
  font-style: italic;
  letter-spacing: 0.2px;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.site-footer {
  margin-top: 60px;
  padding: 40px 20px;
  background-color: #EBF0FF;
  border-top: 1px solid #DCE4FC;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 10px;
}



/* ==========================================================================
   Responsive Fixes
   ========================================================================== */
@media (max-width: 900px) {
  .details-section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .header {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0px 20px;
    align-items: center;
    justify-content: flex-start;
  }

  .logo-container {
    justify-content: flex-start;
  }

  .header-logo-img {
    max-height: 180px;
    margin-top: -34px;
    margin-bottom: -42px;
    margin-left: 0;
    margin-right: auto;
  }

  .logo-text {
    font-size: 22px; /* Larger text */
  }

  .header > div:last-child {
    width: auto;
    flex: 1 1 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: flex-end;
  }

  .btn-participar-header {
    flex: 1 1 0;
    min-width: 0;
    padding: 9px 10px;
    font-size: 14.5px; /* Larger text */
    line-height: 1.1;
    white-space: nowrap;
  }

  .main-container {
    padding: 20px 14px 64px;
    gap: 28px;
  }

  .hero-section {
    gap: 16px;
  }

  .hero-title {
    font-size: clamp(32px, 14vw, 75px); /* Permite achicarse si el celular es diminuto para no cortar palabras */
    line-height: 1.1;
  }

  .hero-description {
    font-size: 16.5px; /* Larger text */
  }

  .section-title-center {
    font-size: 22px; /* Larger text */
  }

  .cards-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .social-card {
    padding: 24px 18px 20px;
  }

  .card-goal-value {
    font-size: 38px; /* Larger text */
  }

  .btn-seguir-card {
    padding: 12px 18px;
    font-size: 15.5px; /* Larger text */
  }

  .details-card,
  .form-card {
    padding: 24px 18px;
  }

  .step-item {
    align-items: center;
    flex-direction: row; /* Mantener al lado en móvil */
    text-align: left;
  }

  .host-item {
    align-items: center;
    flex-direction: row; /* Mantener al lado en móvil */
    flex-wrap: nowrap;
    padding: 12px;
  }

  .host-left {
    flex: 1 1 auto;
    overflow: hidden;
  }

  .host-name {
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .btn-host-seguir {
    width: auto;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 12.5px !important;
    flex-shrink: 0;
  }

  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .toast {
    max-width: none;
    width: 100%;
  }

  /* Removed ad-modal styles */
}

@media (max-width: 520px) {
  .header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 0px 16px;
    justify-content: flex-start !important;
  }

  .logo-container {
    width: auto !important;
    display: flex !important;
    justify-content: flex-start !important;
  }

  .header-logo-img {
    max-height: 160px;
    margin-top: -20px !important;
    margin-bottom: -30px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .header > div:last-child {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
  }

  .btn-participar-header {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 8px 8px;
    font-size: 13.5px; /* Larger text */
    white-space: nowrap;
  }

  .main-container {
    padding: 16px 12px 20px;
    gap: 24px;
  }

  .adsense-placeholder {
    min-height: 72px;
    padding: 16px 12px;
  }

  .hero-section {
    gap: 14px;
  }

  .hero-title {
    font-size: 52px; /* Enlarge mobile text significantly */
    line-height: 1.06;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-description {
    font-size: 15px; /* Larger text */
    max-width: 100%;
    padding: 0 4px;
  }

  .section-title-center {
    font-size: 18px; /* Larger text */
  }

  .section-desc-center {
    font-size: 15px; /* Larger text */
    margin-top: -10px;
  }

  .social-card {
    padding: 22px 16px 18px;
  }

  .card-icon-circle {
    width: 54px;
    height: 54px;
  }

  .card-platform-name {
    font-size: 14px; /* Larger text */
  }

  .card-goal-value {
    font-size: 32px; /* Larger text */
    margin-bottom: 18px;
  }

  .btn-seguir-card {
    padding: 11px 16px;
    font-size: 14px; /* Larger text */
    margin-bottom: 18px;
  }

  .details-section-grid {
    gap: 18px;
  }

  .inputs-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-card {
    padding: 16px;
  }

  .checkbox-label-text {
    font-size: 12px; /* Larger text */
  }
}

@media (max-width: 420px) {
  .logo-icon-bg {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 24px; /* Larger text */
  }

  .btn-participar-header {
    padding: 8px 6px;
    font-size: 12px; /* Larger text */
  }

  .hero-title {
    font-size: 42px; /* Enlarge text significantly */
  }

  .hero-description {
    font-size: 14.5px; /* Larger text */
  }

  .card-platform-name {
    font-size: 14px; /* Larger text */
  }

  .card-goal-value {
    font-size: 32px; /* Larger text */
  }

  .host-item.wa-item,
  .host-item {
    padding: 10px 12px;
  }
}

/* ==========================================================================
   Estilos del Modal Viral de Tracción (WhatsApp Referral Modal)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 12, 41, 0.65); /* dark tinted background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  animation: fadeInModal 0.3s ease-out forwards;
}

.modal-card {
  background: #ffffff;
  border-radius: 28px;
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(15, 12, 41, 0.4);
  animation: scaleInModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Ocultar barra de scroll interna manteniendo funcionalidad */
.modal-card::-webkit-scrollbar {
  width: 5px;
}
.modal-card::-webkit-scrollbar-track {
  background: transparent;
}
.modal-card::-webkit-scrollbar-thumb {
  background: rgba(94, 80, 249, 0.2);
  border-radius: 10px;
}

/* Botón cerrar modal */
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-dark);
  z-index: 10;
  transition: var(--transition-smooth);
}
.modal-close-btn:hover {
  background: #ffffff;
  transform: scale(1.08) rotate(90deg);
  color: var(--color-accent);
}
.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

/* Cabecera Ilustrada con 3D */
.modal-ill-header {
  background: linear-gradient(180deg, #EEF2FF 0%, #FFFFFF 100%);
  height: 190px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
  padding-bottom: 5px;
}

.ill-gift-box {
  width: 150px;
  height: 150px;
  z-index: 2;
  filter: drop-shadow(0 15px 25px rgba(94, 80, 249, 0.25));
}
.ill-gift-box svg {
  width: 100%;
  height: 100%;
}

/* Floating Elements */
.ill-floating-badge {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}

.facebook-badge {
  width: 44px;
  height: 44px;
  background: var(--color-facebook);
  top: 40px;
  left: 55px;
  padding: 8px;
}
.coin-badge {
  width: 46px;
  height: 46px;
  top: 110px;
  left: 35px;
  box-shadow: var(--shadow-yellow-glow);
}
.chart-badge {
  width: 44px;
  height: 44px;
  top: 50px;
  right: 55px;
}

/* Confetti Pieces */
.ill-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0.7;
}
.confetti-piece.p1 { top: 20%; left: 15%; background: #FF2E93; transform: rotate(15deg); }
.confetti-piece.p2 { top: 35%; left: 80%; background: #FFD700; transform: rotate(45deg); width: 6px; height: 12px; }
.confetti-piece.p3 { top: 70%; left: 18%; background: #00F0FF; transform: rotate(-25deg); }
.confetti-piece.p4 { top: 60%; left: 85%; background: #FF8B00; transform: rotate(10deg); }
.confetti-piece.p5 { top: 15%; left: 70%; background: #5E50F9; transform: rotate(30deg); width: 10px; height: 5px; }
.confetti-piece.p6 { top: 50%; left: 10%; background: #22C55E; transform: rotate(-40deg); }
.confetti-piece.p7 { top: 80%; left: 72%; background: #EC4899; transform: rotate(50deg); }
.confetti-piece.p8 { top: 30%; left: 25%; background: #8B5CF6; transform: rotate(-15deg); width: 5px; height: 10px; }

/* Contenido del Modal */
.modal-content {
  padding: 0 28px 28px 28px;
  display: flex;
  flex-direction: column;
}

.modal-header-text {
  margin-bottom: 24px;
  text-align: center;
}

.modal-badge {
  display: inline-block;
  background: #EEF2FF;
  color: var(--color-accent);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  border: 1px solid rgba(94, 80, 249, 0.15);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.45;
  padding: 0 10px;
}

/* Sección de beneficios */
.modal-perks-section {
  background: #FAF8FF;
  border: 1px solid rgba(94, 80, 249, 0.08);
  border-radius: 20px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.modal-perks-title {
  font-size: 13.5px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.modal-perks-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.perk-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}

.perk-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.perk-icon-wrapper.facebook {
  background: var(--color-facebook);
  padding: 10px;
}
.perk-icon-wrapper.chart {
  background: #EEF2FF;
  color: var(--color-accent);
}
.perk-icon-wrapper.cash {
  background: #ECFDF5;
  color: #10B981;
}

.perk-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.perk-check-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #FFC700;
  color: #7A5F00;
  font-size: 9px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.perk-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perk-heading {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.perk-desc {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Fila de información inferior */
.modal-footer-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 20px;
  padding: 0 10px;
}

.footer-info-icon-wrapper {
  color: var(--color-accent);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #F5F3FF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-info-icon-wrapper svg {
  width: 18px;
  height: 18px;
}

.footer-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-info-heading {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-text-dark);
}

.footer-info-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Botón WhatsApp */
.btn-modal-whatsapp {
  width: 100%;
  background: #25D366;
  color: #ffffff;
  border: none;
  border-radius: 100px;
  padding: 15px 24px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition-premium);
  margin-bottom: 12px;
}
.btn-modal-whatsapp:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.btn-modal-whatsapp:active {
  transform: translateY(0);
}
.btn-modal-whatsapp svg {
  width: 20px;
  height: 20px;
}

.modal-disclaimer {
  font-size: 11px;
  color: var(--color-text-light);
  line-height: 1.4;
  padding: 0 10px;
}

/* Animations */
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleInModal {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-float-slow {
  animation: floatSlow 5s ease-in-out infinite;
}
.animate-float-medium {
  animation: floatMedium 4s ease-in-out infinite;
}
.animate-float-fast {
  animation: floatFast 3s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}
@keyframes floatMedium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-4deg); }
}
@keyframes floatFast {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

/* ==========================================================================
   LOTTICKETS SECTION STYLES
   ========================================================================== */
.lottickets-section {
  background: linear-gradient(135deg, #15022a 0%, #250242 100%);
  padding: 60px 30px;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
}

@keyframes goldShine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.lottickets-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(255, 199, 0, 0.1) 0%, rgba(255, 223, 0, 0.25) 50%, rgba(255, 199, 0, 0.1) 100%);
  background-size: 200% auto;
  animation: goldShine 3s linear infinite;
  border: 1.5px solid #FFC700;
  color: #FFC700;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 199, 0, 0.2);
  transition: transform 0.3s ease;
}
.lottickets-badge:hover {
  transform: scale(1.05);
}

.lottickets-title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 9vw, 56px);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.lottickets-title span {
  color: #FFC700;
}

.lottickets-desc {
  font-size: 16px;
  color: #D1D5DB;
  max-width: 750px;
  margin: 0 auto 35px;
  line-height: 1.6;
}

.lottickets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .lottickets-grid {
    grid-template-columns: 1fr;
  }
}

.lottickets-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 35px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.lottickets-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 199, 0, 0.4);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(255, 199, 0, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.lottickets-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #FFC700;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
}

.lottickets-card-desc {
  font-size: 14px;
  color: #9CA3AF;
  line-height: 1.5;
  margin-bottom: 25px;
  min-height: 48px;
}

.lottickets-padlocks {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.lottickets-padlock {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #FFFFFF;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lottickets-padlock:hover {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.08);
}

@keyframes padlockPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.lottickets-padlock.unlocked {
  background: rgba(52, 211, 153, 0.12);
  border-color: #34D399;
  color: #34D399;
  animation: padlockPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.3);
}

.btn-lottickets-yellow {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #1E1B4B;
  border: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 15px rgba(255, 199, 0, 0.2);
}
.btn-lottickets-yellow:hover {
  background: linear-gradient(135deg, #FFE033 0%, #FFB800 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 199, 0, 0.4);
}
.btn-lottickets-yellow:active {
  transform: translateY(0) scale(0.97);
}

.lottickets-action-container {
  width: 100%;
  margin-top: 15px;
}

.lottickets-form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  animation: fadeInScale 0.3s ease;
}

.lottickets-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 14.5px;
  outline: none;
  transition: all 0.3s ease;
}
.lottickets-input:focus {
  border-color: #5E50F9;
  background: rgba(255, 255, 255, 0.08);
}

@keyframes successPulse {
  0% { transform: scale(0.98); opacity: 0.9; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(0.98); opacity: 0.9; }
}

.lottickets-msg-success {
  color: #34D399;
  font-size: 19px;
  font-weight: 800;
  margin-top: 15px;
  text-shadow: 0 0 10px rgba(52, 211, 153, 0.3);
  animation: padlockPop 0.4s ease, successPulse 2s infinite ease-in-out 0.4s;
}

.lottickets-reset-link {
  font-size: 13px;
  color: #A78BFA;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(167, 139, 250, 0.3);
  padding: 6px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  background: rgba(167, 139, 250, 0.05);
  display: inline-block;
  cursor: pointer;
}
.lottickets-reset-link:hover {
  color: #FFFFFF;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(94, 80, 249, 0.3);
  transform: translateY(-1px);
}

.lottickets-countdown-box {
  margin-top: 15px;
  padding: 14px;
  background: rgba(94, 80, 249, 0.1);
  border: 1px solid rgba(94, 80, 249, 0.2);
  border-radius: 8px;
  color: #A78BFA;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
}

.header-ticket-btn {
  margin-left: auto;
  background: #FFFFFF;
  border: 2px solid #5E50F9;
  color: #5E50F9;
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(94, 80, 249, 0.15);
  animation: ticketFloatPulse 3s infinite ease-in-out;
}

.header-ticket-btn:hover {
  background: #5E50F9 !important;
  transform: scale(1.08) rotate(5deg);
  color: #FFFFFF !important;
  box-shadow: 0 0 15px rgba(94, 80, 249, 0.4);
}

.header-ticket-btn:hover svg {
  stroke: #FFFFFF !important;
}

.header-ticket-btn:active {
  transform: scale(0.95);
}

.header-ticket-btn svg {
  width: 24px;
  height: 24px;
  stroke: #5E50F9;
  transition: stroke 0.3s ease;
}

/* Back Button in Lottickets Section (Polished for Dark Theme) */
.lottickets-back-btn {
  position: absolute;
  top: 30px;
  left: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition-premium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
}

.lottickets-back-btn svg {
  width: 18px;
  height: 18px;
  stroke: #FFFFFF;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.lottickets-back-btn:hover {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  color: var(--color-primary);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-yellow-glow);
}

.lottickets-back-btn:hover svg {
  stroke: var(--color-primary);
  transform: translateX(-4px);
}

.lottickets-back-btn:active {
  transform: translateY(0) scale(0.97);
}

@media (max-width: 768px) {
  .lottickets-back-btn {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto 25px;
    justify-content: center;
    width: 100%;
    max-width: 280px;
  }
}

/* Estilos para campos con errores de validación */
.form-input.error-field {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.checkbox-card.error-field {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

/* ==========================================================================
   Animación de partículas para el botón del Ticket (Header)
   ========================================================================== */
.header-ticket-btn svg {
  position: relative;
  z-index: 2;
}

.header-btn-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.btn-particle {
  position: absolute;
  background: radial-gradient(circle, rgba(94, 80, 249, 1) 0%, rgba(94, 80, 249, 0.4) 40%, rgba(94, 80, 249, 0) 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: btnParticleAnim 1.6s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  opacity: 0;
  box-shadow: 0 0 16px rgba(94, 80, 249, 0.8), 0 0 8px rgba(255, 255, 255, 0.4);
}

@keyframes btnParticleAnim {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.6);
    opacity: 0;
  }
}

/* Animación constante del Botón de Ticket para resaltar */
@keyframes ticketFloatPulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 10px rgba(94, 80, 249, 0.15);
  }
  50% {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 8px 20px rgba(94, 80, 249, 0.35), 0 0 15px rgba(94, 80, 249, 0.25);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 4px 10px rgba(94, 80, 249, 0.15);
  }
}

/* ==========================================================================
   Destacado del Canal de WhatsApp (Texto Amarillo Continuo)
   ========================================================================== */
.wa-inline-highlight {
  color: #FFC700;
  font-weight: 800;
  cursor: pointer;
  display: inline;
  text-decoration: underline;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow: 0 0 5px rgba(255, 199, 0, 0.2);
}

.wa-inline-highlight:hover {
  color: #FFE033;
  text-shadow: 0 0 10px rgba(255, 199, 0, 0.6);
}

.wa-inline-highlight:active {
  opacity: 0.8;
}


