@import url('https://fonts.googleapis.com/css2?family=League+Spartan&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');


/* Paleta de colores */
:root {
  --azul-oscuro: #000000;
  --rojo-vibrante: #C1272D;
  --blanco: #FFFFFF;
  --dorado: #F4B400;
  --gris-claro: #ffffff;
  --gris-oscuro: #a3a3a3;
  --naranja:  #FF6A00;
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body{
    background-color: var(--gris-claro);
}

strong{
    color: black;
}
video {
      display: block;
      margin: 0 auto;
      max-width: 100%;
    }
/* HEADER */
/* ESTILOS BASE DEL HEADER */
header {
  background-color: var(--naranja);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  height: 120px;
  width: 100%;
}

/* ANIMACIONES PERSONALIZADAS */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pulse {
  0% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0.8; transform: scale(1); }
}

@keyframes sparkle {
  0% { text-shadow: 0 0 8px rgba(255,255,255,0.7); }
  50% { text-shadow: 0 0 16px rgba(255,255,255,0.9), 0 0 24px rgba(192,0,252,0.6); }
  100% { text-shadow: 0 0 8px rgba(255,255,255,0.7); }
}

/* HEADER PRINCIPAL - DISEÑO MEJORADO */
.header-collab {
  background: linear-gradient(135deg, var(--naranja) 0%, #e67e22 100%);
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 20px;
  height: 120px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

/* EFECTO DE PARTÍCULAS SUTILES */
.header-collab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 2%) 0 0,
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.1) 0%, transparent 2%) 0 0;
  background-size: 100px 100px;
  animation: particleMove 20s linear infinite;
}

@keyframes particleMove {
  100% { background-position: 100px 100px; }
}

/* CONTENIDO DEL HEADER - MÁS ELEGANTE */
.header-content {
  max-width: 1200px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* CONTENEDOR DE LOGOS - CON ANIMACIÓN */
.logo-collab-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  height: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* LOGOS CON EFECTOS DE HOVER */
.logo-main{
  max-height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-partner {
  max-height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-main:hover, .logo-partner:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  animation: float 3s ease-in-out infinite;
}

/* ICONO DE COLABORACIÓN - MEJORADO */
.collab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 300;
  color: white;
  text-shadow: 0 2px 3px rgba(0,0,0,0.3);
  line-height: 1;
  position: relative;
  width: 1em;
  height: 1em;
  margin: 0 10px;
  animation: pulse 2s infinite, sparkle 3s infinite;
  transition: all 0.3s ease;
  min-width: 40px; /* Nuevo: asegura un tamaño mínimo */
}

/* EFECTO ADICIONAL AL HOVER */
.collab-icon:hover {
  transform: scale(1.2) rotate(15deg);
  animation: none;
  color: black;
  text-shadow: 0 0 15px rgba(192,0,252,0.7);
}

/* LÍNEA DECORATIVA */
.logo-collab-wrapper::before,
.logo-collab-wrapper::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  margin: 0 15px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-collab-wrapper:hover::before,
.logo-collab-wrapper:hover::after {
  background: linear-gradient(90deg, transparent, #C000FC, transparent);
  height: 3px;
  opacity: 1;
}

/* MEDIA QUERIES REDISEÑADAS CON LOGOS MÁS GRANDES */
@media (max-width: 1200px) {
  .header-collab {
    height: 110px;
    padding: 0 20px;
  }
  .logo-main {
    max-height: 90px; /* Aumentado de 85px */
  }
  .logo-partner {
    max-height: 80px; /* Aumentado de 75px */
  }
  .collab-icon {
    font-size: 2.8rem;
  }
}

@media (max-width: 992px) {
  .header-collab {
    height: 100px;
    padding: 0 15px;
  }
  .logo-main {
    max-height: 80px; /* Aumentado de 75px */
  }
  .logo-partner {
    max-height: 70px; /* Aumentado de 65px */
  }
  .collab-icon {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .header-collab {
    height: 95px; /* Aumentado de 90px */
    padding: 0 10px;
  }
  .logo-collab-wrapper {
    gap: 8px;
  }
  .logo-main {
    max-height: 70px; /* Aumentado de 65px */
  }
  .logo-partner {
    max-height: 60px; /* Aumentado de 55px */
  }
  .collab-icon {
    font-size: 2rem;
    margin: 0 8px;
    min-width: 32px;
  }
  .logo-collab-wrapper::before,
  .logo-collab-wrapper::after {
    margin: 0 8px;
    height: 1.5px; /* Aumentado de 1px */
  }
}

@media (max-width: 576px) {
  .header-collab {
    height: 85px; /* Aumentado de 80px */
    padding: 0 5px;
  }
  .logo-collab-wrapper {
    gap: 5px;
  }
  .logo-main {
    max-height: 60px; /* Aumentado de 55px */
  }
  .logo-partner {
    max-height: 50px; /* Aumentado de 45px */
  }
  .collab-icon {
    font-size: 1.8rem;
    margin: 0 5px;
    min-width: 28px;
  }
  .logo-collab-wrapper::before,
  .logo-collab-wrapper::after {
    margin: 0 5px;
    height: 1px;
  }
}

@media (max-width: 400px) {
  .header-collab {
    height: 75px; /* Aumentado de 70px */
  }
  .logo-main {
    max-height: 55px; /* Aumentado de 50px */
  }
  .logo-partner {
    max-height: 45px; /* Aumentado de 40px */
  }
  .collab-icon {
    font-size: 1.6rem;
    min-width: 24px;
  }
}

/* MEDIA QUERY PARA DISPOSITIVOS MUY PEQUEÑOS */
@media (max-width: 350px) {
  .header-collab {
    height: 70px; /* Aumentado de 65px */
  }
  .logo-main {
    max-height: 50px; /* Aumentado de 45px */
  }
  .logo-partner {
    max-height: 40px; /* Aumentado de 35px */
  }
  .collab-icon {
    font-size: 1.4rem;
    margin: 0 3px;
  }
  .logo-collab-wrapper {
    gap: 3px;
  }
}

footer {
  background-color: black;
  color: var(--blanco);
  font-family: 'Montserrat', sans-serif;
  user-select: none;
  margin-top: 50px;
}

.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
}

.footer-left {
  max-width: 600px;
}

.footer-left h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--blanco);
}

.footer-left p {
  font-size: 1.1rem;
  margin: 8px 0;
}

.footer-left a {
  color: var(--blanco);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-left a:hover {
  color: #ff6a00;
  text-decoration: underline;
}

.terminos-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.footer-social {
  display: flex;
  flex-direction: column; /* Alineación vertical */
  align-items: center;
  justify-content: center;
}

.footer-social h3 {
  font-size: 2rem;
  margin-bottom: 10px; 
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--blanco);
}

.social-icons {
  display: flex;
  gap: 15px; 
}

.social-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
  margin-top: 0px; 
}

.social-icon:hover {
  transform: scale(1.1);
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gris-claro);
  border-top: 1px solid var(--gris-claro);
  padding-top: 15px;
}

/* Responsive design */
@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-left h3 {
    font-size: 1.6rem;
  }

  .footer-left p,
  .terminos-link {
    font-size: 1rem;
  }

  .social-icon {
    width: 28px;
    height: 28px;
  }
}



.sorteo-title h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 2.8rem;
  color: var(--azul-oscuro);
  margin: 10px 0 20px 0;
  text-align: center;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.sorteo-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--azul-oscuro); /* o var(--azul-oscuro) si prefieres */
  margin: 20px 0 0px 0;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}


/* Limitar el ancho máximo del slider */
#carousel-flexslider {
  max-width: 600px; /* o el ancho que quieras */
  margin: 0 auto;   /* para centrarlo */
}

/* Que las imágenes se adapten al tamaño del slider */
#carousel-flexslider .slides img {
  width: 100%;
  height: auto;  /* mantiene proporción */
  display: block;
  object-fit: contain; /* opcional para mejor ajuste */
}

.progress {
  width: 100%;
  background: black;
  border-radius: 25px;
  overflow: hidden;
  height: 25px;
  margin-bottom: 20px;
}

.progress-bar {
  background: black;
  height: 100%;
  width: 0;
  transition: width 2s ease-in-out;
}

.progress-bar-text {
  font-weight: 600;
  color: var(--gris-oscuro);
  margin-bottom: 8px;
  text-align: center;
  font-size: 1.1rem;
}

.progress-container {
  max-width: 1000px; 
  margin: 0 auto;   
  padding: 0 0px;
}

.progress-bar-info {
  font-weight: 200;
  color: #7a7a7a;
  margin-bottom: 8px;
  text-align: center;
  font-size: 1.1rem;
}


.cuenta-regresiva {
  font-family: 'Courier New', Courier, monospace;
}

.countdown-wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 0 auto 20px;
  max-width: 400px;
  padding: 20px;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.countdown-box {
  background-color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-family: 'Courier New', monospace;
  font-size: 2rem;
  color: var(--azul-oscuro);
  position: relative;
}
.countdown-box small {
  display: block;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--gris-oscuro);
  margin-top: 5px;
}

.slot-machine {
  display: flex;
  gap: 16px;
  background: var(--gris-claro); /* fondo gris claro para elegancia */
  padding: 18px 28px;
  border: 2.5px solid var(--azul-oscuro); /* borde azul oscuro suave */
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  justify-content: center;
  max-width: 360px;
  margin: 0 auto;
  user-select: none;
}

.digit {
  width: 58px;
  height: 78px;
  background: var(--blanco); /* fondo blanco limpio */
  border: 2.5px solid var(--azul-oscuro);
  border-radius: 10px;
  font-size: 46px;
  font-weight: 700;
  color: var(--azul-oscuro); /* texto en azul oscuro */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Anton', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.digit:hover {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
  cursor: default;
}

.message {
  margin-top: 26px;
  font-size: 22px;
  font-weight: 600;
  height: 44px;
  color: var(--azul-oscuro);
  text-align: center;
  font-family: 'Anton', sans-serif;
  user-select: none;
  text-shadow: none;
}

.input-centro {
    display: flex;
    justify-content: center; /* centro horizontal */
    margin: 20px 0;
}
input[type="email"] {
    width: 300px;
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid var(--azul-oscuro);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
    text-align: left; /* típico en email, no centrado */
}
input[type="email"]:focus {
    border-color: var(--azul-oscuro);
    box-shadow: 0 0 8px var(--azul-oscuro);
}

.btn-consulta {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Anton', sans-serif;
  transition: background-color 0.3s ease;
  justify-content: center;
}

.btn-consulta:hover {
  background-color: var(--gris-oscuro);
  color: white;
  transform: scale(1.05);
  transition: 0.3s ease;
}


.boletos-cards {
  text-align: center;
  margin-top: 2rem;
  color: #000;
}

.boletos-cards h2 {
  font-family: 'Anton', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: black;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 2rem;
  padding: 0 clamp(1rem, 5vw, 3rem);
  box-sizing: border-box;
}


@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background-color: var(--gris-claro);
  border-radius: 20px;
  padding: 50px 05px;
  text-align: center;
  font-family: 'Anton', sans-serif;
  color: var(--azul-oscuro);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(255, 106, 0, 0.3);

}

@keyframes zoom-suave {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

.card-zoom {
  animation: zoom-suave 2s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}


.card-zoom:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}


.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--azul-oscuro);
}

.card p {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card input[type="number"] {
  padding: 12px;
  font-size: 1.2rem;
  border: 2px solid var(--azul-oscuro);
  border-radius: 10px;
  width: 80%;
  margin-bottom: 15px;
  text-align: center;
}

.btn-comprar {
  background-color: black;
  color: var(--blanco);
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  font-family: 'Anton', sans-serif;
  transition: background-color 0.3s ease;
}

.btn-comprar:hover {
  background-color: var(--gris-oscuro);
  color: white;
  transform: scale(1.05);
  transition: 0.3s ease;
}

  .whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
    cursor: pointer;
    padding: 0;      
    line-height: 0; 
  }

  .whatsapp-bubble:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
  }

  .whatsapp-bubble img {
    width: 60%;
    height: 60%;
    display: block;
  }
  
  /* Contenedor general para inputs y selects */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 400px;
}

/* Etiquetas */
.form-group label {
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--azul-oscuro, #003366);
  font-size: 1rem;
}

/* Inputs y Selects */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 2px solid #808080;
  border-radius: 6px;
  transition: border-color 0.3s ease;
  outline: none;
  font-family: inherit;
  color: var(--azul-oscuro, #003366);
  background-color: #fff;
}

/* Focus */
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group select:focus {
  border-color: var(--azul-oscuro, #d32f2f);
  box-shadow: 0 0 5px var(--azul-oscuro, #d32f2f);
}

/* Placeholder estilo */
.form-group input::placeholder {
  color: #999;
  font-style: italic;
}

/* Responsive: para pantallas pequeñas */
@media (max-width: 480px) {
  .form-group {
    max-width: 100%;
  }
}

/* Contenedor flex para filas con 2 inputs lado a lado */
.flex-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.flex-row .form-group {
  flex: 1 1 45%;
  min-width: 180px;
}
.container-doble {
  display: flex;
  gap: 2rem; /* espacio entre columnas */
  padding: 0 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.formulario {
  flex: 1 1 60%; /* ocupa el 60% del ancho */
  min-width: 300px;
}

.resumen {
  flex: 1 1 40%; /* ocupa el 40% */
  min-width: 250px;
  background: #fff7f2;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px rgb(0 0 0 / 0.1);
}

@media (max-width: 768px) {
  .container-doble {
    flex-direction: column;
    padding: 0 1rem;
  }
  .formulario, .resumen {
    flex: none;
    min-width: 100%;
  }
  .resumen {
    margin-top: 2rem;
  }
}
.resumen table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-family: Arial, sans-serif;
  color: var(--azul-oscuro);
}

.resumen table td {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
}

.resumen table tr:first-child td {
  font-weight: 600;
  font-size: 1rem;
}

.resumen table tr:last-child td {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 2px solid var(--azul-oscuro);
}

.resumen table tr td:nth-child(1) {
  text-align: left;
}

.resumen table tr td:nth-child(2),
.resumen table tr td:nth-child(3) {
  text-align: center;
}

.resumen table tr td:nth-child(4) {
  text-align: right;
}

.input-error {
  border: 2px solid red;
}

ol {
  padding-left: 1.5em;
  margin: 1em 0;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
}

ol li {
  margin-bottom: 0.6em;
  padding: 0.4em 0.8em;
  border-left: 3px solid #EA7C1E;
  background-color: #fffdfa;
  border-radius: 4px;
  line-height: 1.3;
  font-size: 0.95rem;
}

ol li strong {
  color: #000000;
}

ol li a {
  color: #707070;
  text-decoration: none;
  font-weight: 600;
}

ol li a:hover {
  text-decoration: underline;
}

.instagram-gallery {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #040056;
}
.instagram-gallery h2 {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #040056;
    padding-bottom: 8px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item iframe {
    width: 100%;
    height: 540px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.gallery-item p {
    text-align: center;
    margin-top: 8px;
    font-weight: bold;
}


.premios-simples {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.premios-simples h2 {
  font-size: 2.4rem;
  color: #000000;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.intro-premios {
  font-size: 1.2rem;
  color: #333333;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.numeros-premiados {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 30px;
  margin: 0 auto;
}

.numero-premiado {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.digitos {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  position: relative;
}

.digitos::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff6a00;
  transition: width 0.3s ease;
}

.numero-premiado:hover .digitos::after {
  width: 100%;
}

.estado {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 3px;
}

/* Estados */
.numero-premiado.entregado .digitos {
  color: #999999;
  text-decoration: line-through;
}

.numero-premiado.entregado .estado {
  color: #999999;
}

.numero-premiado.pendiente .estado {
  color: #ff6a00;
}

.grupo-premiados {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .premios-simples h2 {
    font-size: 1.8rem;
  }
  
  .intro-premios {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .numeros-premiados {
    gap: 15px;
  }
  
  .digitos {
    font-size: 1.8rem;
  }
  
  .estado {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
    
    .grupo-premiados {
    gap: 10px 12px;
    justify-content: space-around;
  }
  .numeros-premiados {
    gap: 10px 15px;
  }
  
  .digitos {
    font-size: 1.6rem;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  animation: backgroundShift 10s ease infinite;
}


@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1.titulo-neon {
  font-family: 'League Spartan', sans-serif;
  font-size: 3rem;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px var(--azul-oscuro),
    0 0 20px var(--azul-oscuro);
  margin: 30px 0;
}
    
    .card-destacada {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(5, 47, 110, 0.15);
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
  transition: transform 0.3s ease;
}

.card-destacada:hover {
  transform: translateY(-5px);
}

.btn-llamativo {
  background: linear-gradient(135deg, #052f6e, #1a73e8);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(5, 47, 110, 0.4);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.btn-llamativo:hover {
  background: linear-gradient(135deg, #1a73e8, #052f6e);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(5, 47, 110, 0.6);
}

/* ESTILOS PARA EL SISTEMA DE SORTEO */
.sorteo-container {
  max-width: 800px;
  margin: 30px auto;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.sorteo-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #000000, #FF6A00);
}

.sorteo-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.sorteo-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  right: 25%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #FF6A00, transparent);
}

.sorteo-header h1 {
  color: black;
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.sorteo-header p {
  color: #666;
  font-size: 1.1rem;
}

.sorteo-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: fadeIn 0.5s ease-out;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.form-group input {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus {
  border-color: #040056;
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.1);
  outline: none;
}

.btn {
  padding: 14px 25px;
  background: #000000;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background: #6e6e6e;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-sortear {
  background: #000000;
  font-size: 1.1rem;
  padding: 16px 30px;
  position: relative;
  overflow: hidden;
}

.btn-sortear:hover {
  background: #6e6e6e;
}

.btn-sortear::after {
  content: '🎉';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: all 0.3s;
}

.btn-sortear:hover::after {
  opacity: 1;
  right: 15px;
}

.ganadores-list {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
  border-left: 5px solid #000000;
  animation: slideUp 0.5s ease-out;
  display: none;
}

.ganadores-list h3 {
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.ganadores-list p {
  margin: 8px 0;
  font-size: 1.05rem;
}

.ganadores-list strong {
  color: #000000;
}

.alert {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  animation: fadeIn 0.5s ease-out;
  position: relative;
  padding-left: 60px;
}

.alert::before {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
}

.alert-success {
  background: #f4e8f5;
  color: #FF6A00;
  border-left: 5px solid #FF6A00;
}

.alert-success::before {
  content: '🎉';
}

.alert-info {
  background: #e3f2fd;
  color: #0d47a1;
  border-left: 5px solid #1976d2;
}

.alert-info::before {
  content: 'ℹ️';
}

.alert-warning {
  background: #fff8e1;
  color: #e65100;
  border-left: 5px solid #ff8f00;
}

.alert-warning::before {
  content: '⚠️';
}

.alert-danger {
  background: #ffebee;
  color: #b71c1c;
  border-left: 5px solid #c62828;
}

.alert-danger::before {
  content: '❌';
}

.actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes confetti {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Efecto especial para ganadores */
.winner-animation {
  position: relative;
  overflow: hidden;
}

.winner-animation::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: linear-gradient(90deg, 
    #ff0000, #ff7f00, #ffff00, #00ff00, 
    #0000ff, #4b0082, #9400d3, #ff0000);
  background-size: 800% 800%;
  animation: rainbow 2s linear infinite;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Efecto de confeti para ganadores */
.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: #f00;
  opacity: 0;
  animation: confetti 3s ease-out forwards;
}

/* Estilo para números ganadores */
.winner-number {
  display: inline-block;
  background: #000000;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  margin: 3px;
  font-weight: bold;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}