

#premios {
  padding-top: 40px;
  padding-bottom: 20px;
}
.premio-titulo {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

/* Disminuir tamaño en pantallas pequeñas */
@media (max-width: 480px) {
  .premio-titulo {
    font-size: 1.8rem;
  }
}


#verNumeros {
  padding-top: 40px;
  padding-bottom: 20px;
}

#galeria {
  padding-top: 20px;
  padding-bottom: 20px;
}

#FacturacionPagos {
  padding-top: 20px;
  padding-bottom: 40px;
  background-color: #fff;
}

#FacturacionPagos .container {
  margin-top: 0;
  padding-top: 0;
}
#Ganadores {
  margin-top: 0;
  padding-top: 0;
}

/* --- Estilos para las tarjetas de opciones --- */
/* --- Tarjetas con experiencia premium --- */
.option-card {
  position: relative;
  background: linear-gradient(160deg, #1E293B, #0F172A);
  color: #F8FAFC;
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 40px 20px;
  margin: 15px;
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  overflow: hidden;

  /* efecto 3D */
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Animación al pasar el mouse */
.option-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-3deg) scale(1.02);
  border: 2px solid #FFD700;
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

/* efecto de luz que recorre la tarjeta */
.option-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,215,0,0.3), transparent);
  transform: rotate(25deg);
  transition: 0.7s;
  opacity: 0;
}

.option-card:hover::before {
  left: 100%;
  opacity: 1;
}

/* Título */
.option-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #38BDF8;
}

/* Precio destacado */
.option-card .price {
  font-size: 2rem;
  font-weight: bold;
  margin: 20px 0;
  color: #FFD700;
  animation: pulsePrice 2s infinite;
}

/* efecto "latido" en el precio */
@keyframes pulsePrice {
  0%, 100% { transform: scale(1); color: #FFD700; }
  50% { transform: scale(1.1); color: #facc15; }
}

/* Botón premium */
.option-card button {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #F8FAFC;
  font-weight: bold;
  padding: 12px 25px;
  border: 2px solid #FFD700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

/* efecto ola en el botón */
.option-card button::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 300%;
  top: -100%;
  left: -50%;
  background: radial-gradient(circle, rgba(255,215,0,0.3) 20%, transparent 70%);
  transform: translateX(-50%) scale(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.option-card button:hover::after {
  transform: translateX(-50%) scale(1);
}

.option-card button:hover {
  background: #FFD700;
  color: #111827;
  transform: scale(1.08);
}


.best-seller {
  border: 2px solid #FFD700;
}

.corner-ribbon {
  position: absolute;
  top: 15px;
  right: -30px;
  width: 120px;
  padding: 5px 0;
  background: #FF5722;
  color: white;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.stars {
  color: #FFD700;
  font-size: 24px;
  margin-bottom: 10px;
  text-shadow: 0 0 5px rgba(255,215,0,0.5);
}

.numbers {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  margin: 10px 0;
}



.option-card .numbers {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.option-card  {
  font-size: 18px;
  color: #e6870b;
  margin-bottom: 10px;
}


.price {
  font-size: 28px;
  font-weight: bold;
  color: #4CAF50;
  margin: 15px 0;
  text-shadow: 0 0 5px rgba(76,175,80,0.3);
}


.buy-button {
  background: linear-gradient(to right, #4CAF50, #8BC34A);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.buy-button:hover {
  background: linear-gradient(to right, #3e8e41, #7CB342);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.buy-button:active {
  transform: translateY(1px);
}


/* --- Estilos para opción personalizada --- */
.custom-option {
  background-color: #e8f8f5;
}
.custom-option {
  grid-column: 1 / -1;
}


.custom-input {  
  padding: 8px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}



/* --- Notificación --- */
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2ecc71;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  display: none;
  z-index: 1050;
  font-weight: bold;
}


/*------------------------ loader----------- */

    
/* --- Responsive para tarjetas --- */
@media (min-width: 768px) {
  #FacturacionPagos .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
}


/*----------------------barra de progreso---------*/
       :root {
            --primary-color: #e74c3c;
            --primary-light: #ff7f66;
            --primary-dark: #b71515;
            --dark-color: #2c3e50;
            --light-color: #f8f9fa;
            --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            --glow: 0 0 15px rgba(231, 76, 60, 0.6);
        }
        

        .card {
            background: white;
            border-radius: 10px;
            padding: 40px;
            box-shadow: var(--shadow);
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }
        
        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
        }
        
        h1 {
            color: var(--primary-color);
            font-size: 32px;
            margin-bottom: 20px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .progress-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }
        
        .progress-text {
            font-weight: 600;
            font-size: 20px;
            color: var(--dark-color);
        }
        
        .progress-percent {
            font-weight: 800;
            font-size: 28px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: all 0.5s ease;
        }
        
        .progress-wrapper {
            position: relative;
            margin: 30px 0;
        }
        
        .progress-container {
            width: 100%;
            background-color: #f0f0f0;
            border-radius: 50px;
            height: 30px;
            overflow: hidden;
            position: relative;
            box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(90deg, 
                var(--primary-light), 
                var(--primary-color),
                var(--primary-dark));
            border-radius: 50px;
            width: 0%;
            transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
            position: relative;
            overflow: hidden;
            box-shadow: 0 3px 15px rgba(231, 76, 60, 0.4);
        }
        
        .progress-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.2) 0%,
                rgba(255, 255, 255, 0.5) 50%,
                rgba(255, 255, 255, 0.2) 100%
            );
            animation: shimmer 2s infinite linear;
            border-radius: 50px;
        }
        
        .progress-milestones {
            display: flex;
            justify-content: space-between;
            position: absolute;
            top: -25px;
            left: 0;
            right: 0;
        }
        
        .milestone {
            width: 12px;
            height: 12px;
            background: white;
            border: 3px solid #ddd;
            border-radius: 50%;
            position: relative;
            z-index: 2;
        }
        
        .milestone.active {
            background: var(--primary-color);
            border-color: white;
            box-shadow: 0 0 0 3px var(--primary-light);
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .info-text {
            font-size: 16px;
            color: #666;
            line-height: 1.7;
            margin-top: 35px;
            position: relative;
            padding-top: 20px;
        }
        
        .info-text::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
            border-radius: 3px;
        }
        
        .pulse {
            animation: pulse 1.5s infinite ease-in-out;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(231, 76, 60, 0); }
            100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
        }
        
        .progress-complete {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            color: var(--primary-color);
            font-weight: bold;
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 10px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .progress-container:hover .progress-complete {
            opacity: 1;
        }

        /*--------------------------numeros ganadores----------------------*/
      
   #Ganadores {
    display: flex;
    justify-content: center;   /* Centra horizontalmente */
    align-items: center;       /* Centra verticalmente */
    flex-direction: column;    /* Mantiene los elementos en columna */
    text-align: center;        /* Centra el texto */
 
}

#Ganadores .container {
    max-width: 900px;   /* Evita que se vea demasiado ancho */
    width: 100%;
}

#Ganadores .premios-grid {
    display: flex;
    justify-content: center;  /* Centra el grid */
    flex-wrap: wrap;          /* Permite que los elementos bajen en filas */
    gap: 15px;
    margin-top: 10px;
}

     
   h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 30px;
    padding: 0 10px;
}

.numero-item {
    padding: 20px;
    text-align: center;
    background-color: #2c3e50;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    color:#ffffff;
}

.numero-tachado {
    text-decoration: line-through;
    color: #e74c3c;
}

#loading {
    text-align: center;
    margin: 20px 0;
    font-style: italic;
    color: #7f8c8d;
}

.mensaje-premio {
    font-size: 14px;
    color: #e74c3c;
    margin-top: 5px;
}

/* Media queries para adaptar a diferentes tamaños de pantalla */
@media (max-width: 1024px) {
    .premios-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .premios-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .premios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .numero-item {
        font-size: 16px;
        padding: 15px;
    }

    h1 {
        font-size: 22px;
    }
}

@media (max-width: 320px) {
    .premios-grid {
        grid-template-columns: 1fr;
    }

    .numero-item {
        font-size: 16px;
        padding: 12px;
    }

    h1 {
        font-size: 20px;
    }
}



        /*----------------estilos de buscador de numeros ---------*/

        #verNumeros {
    display: flex;
    justify-content: center;
    align-items: center;   
    padding: 20px;
    box-sizing: border-box;
    background-color: #f5f5f5; /* Color de fondo opcional */
}

#verNumeros .container {
    max-width: 800px;
    width: 100%;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#verNumeros h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

#verNumeros p {
    margin-bottom: 20px;
    color: #666;
}

.field.has-addons {
    justify-content: center;
    margin-bottom: 20px;
}

.input {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.button.is-info {
    background-color: #3273dc;
    color: white;
}



.table {
    width: 100%;
    margin: 0 auto;
}

.button.is-success {
    background-color: #48c774;
    color: white;
}
/* Fuerza estilos de Bootstrap (si usas Bulma) */
#modalResultados.modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999 !important;
}
/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    #verNumeros .container {
        padding: 20px;
    }
    
    .field.has-addons {
        flex-direction: column;
    }
    
    .control {
        width: 100%;
    }
    
    .input {
        margin-bottom: 10px;
    }
    
    .button.is-info {
        width: 100%;
    }
}



/*----------*/
