@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');


body {
    margin: 0px;
    font-family: "Russo One", sans-serif;
    font-weight: 300;
}

.preloader-overlay {
    display: none;
    /* Oculto por defecto */
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.preloader-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    width: 70px;
    height: 70px;
    border: 7px solid #e9f9f0;
    border-top: 7px solid #25d366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px #25d36644;
    position: relative;
}

.preloader-ball {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 8px #25d36688;
    animation: bounce 1s infinite alternate;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0% {
        top: 10px;
    }

    100% {
        top: -10px;
    }
}

/* ESTILOS LOGO Y REDES SOCIALES*/

.container-principal-logo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 16px;
    gap: 41px;
    border-bottom: 1px #000000 solid;
}

.logo {
    height: 57px;
}

.logo img {
    width: 100%;
    height: 100%;
}

.container-nav {

    display: flex;
    justify-content: center;
    font-size: 16px;
    gap: 41px;
}

.container-nav :hover {
    color: #25d366;
}

.container-nav .active {
    border: 3px solid #25d366;
    border-radius: 22px;
    padding: 6px;
    color: #25d366;
}

.container-nav a {
    text-decoration: none;
    color: #4D4D4D;
    /* font-weight: 500; */
}

.bubble-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.redes-sociales {
    display: flex;
    gap: 15px;
}

.instagram img {
    cursor: pointer;
    width: 40px !important;
    height: 40px !important;
}

.social-icon {
    position: relative;
}

.social-icon img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.social-icon img:hover {
    transform: scale(1.1);
}

/* Notificación más estilizada */
.notification-bubble {
    position: absolute;
    top: -3px;
    right: -2px;
    width: 13px;
    height: 13px;
    background-color: red;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    /* font-weight: bold; */
    border: 1px solid black;
}

/* INFO PREMIO */

.container-afortunados {
    gap: 31px;
    display: flex;
    flex-direction: column;
}

.container-premio {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.title-text-premios {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: #25d366;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    background-color: white;
    padding: 20px 40px;
    border-radius: 15px;
    border: 4px solid #25d366;
    animation: fadeIn 1s ease-in-out forwards;
    margin: 0px 75px;
}

.title-premio-mayor {
    margin: 0px;
}

.title-text .title-premio-mayor::before {
    content: "⭐";
    font-size: 2rem;
}

.title-text {
    /* font-weight: 900; */
    font-size: 2.5rem;
    color: #25d366;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    background-color: white;
    /* padding: 20px 0px; */
    animation: fadeIn 1s ease-in-out forwards;
    margin: 0px;
}

.description {
    font-size: 16px;
    font-style: italic;
    margin: 0px;
    text-align: center;
}

.title-premiado {
    margin: 0px;
    text-align: center;
}


.premio {
    background: linear-gradient(to right, #25d366, #1ebe5b);
    color: white;
    font-size: 1.3rem;
    /* font-weight: bold; */
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}


.premio:hover {
    transform: scale(1.1);
}


.contenedor-premio-foto img {
    width: 460px;
    border-radius: 20px;
    margin-top: 16px;
    height: 460px;
}

.afortunados {
    display: flex;
    gap: 15px;
    /* margin-top: 30px; */
    animation: fadeInUp 1s ease-in-out 0.5s forwards;
    opacity: 0;
    justify-content: center;
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos barra de proceso */
.progress-container {
    width: 70%;
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 3px;
    margin: 2px auto 0px;
    box-shadow: 0 0 10px #25D366;
}

.progress-bar {
    height: 25px;
    width: 0%;
    background: linear-gradient(90deg, #25D366);
    border-radius: 20px;
    text-align: center;
    line-height: 25px;
    color: #000000;
    /* font-weight: bold; */
    transition: width 1s ease-in-out;
}

.progress-text {
    margin-top: 10px;
    font-size: 20px;
}

.title-numeros-venidos {
    text-align: center;
    font-style: italic;
    font-size: 18px;
    color: #4D4D4D;
    margin: 0px;
    padding-bottom: 20px;
    /* margin-top: 41px; */
}

.container-barra-proceso {
    padding-top: 13px;
}

.container-fecha {
    background: #25d366;
    margin-top: -4px;
}

/* FECHA DEL EVENTO */

.title-fecha p {
    text-align: center;
    color: #ffffff;
    font-size: 2rem;
    /* font-weight: 700; */
    margin: 0px;
    padding-top: 22px;
}

.description-fecha p {
    color: #ffffff;
    text-align: center;
    font-size: 17px;
    font-style: italic;
    /* font-weight: 700; */
    margin: 0px;
    padding-top: 10px;
    padding: 0px 274px 30px;
}

/* PAQUETE DE OPORTUNIDADES */

.container-oportunidades {
    background-image: url(img/bn-oportunidades.png);
    background-size: cover;
    background-repeat: no-repeat;

}

.title-oportunidades h1 {
    color: #4D4D4D;
    text-align: center;
    padding: 55px 30px;
    margin: 0px;

}

.contenido-oportunidades {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-bottom: 50px;
}

.card-plata,
.card-oro,
.card-diamante {
    background: #f6f6f6;
    border-radius: 12px;
    width: 200px;
    padding: 20px 0px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid #25d366;
}

.badge {
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 20px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);

}

.badge img {
    width: 55px;
    height: 55px;
}

.title {
    color: #25d366;
    /* font-weight: bold; */
    font-size: 20px;
    margin: 15px 0;
}

.cantidad {
    font-size: 37px;
    /* font-weight: bold; */
    color: #4D4D4D;
}

.precio {
    background: #25d366;
    color: white;
    padding: 10px;
    font-size: 31px;
    /* font-weight: bold; */
    margin: 10px 0;
}

.btn-comprar {
    border: 3px solid #25d366;
    border-radius: 38px;
    padding: 8px 20px;
    color: #25d366;
    /* font-weight: bold; */
    background-color: transparent;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
}

.btn-comprar:hover {
    background-color: #25d366;
    color: #FFFFFF;
    transition: all 0.3s ease;
    border: 3px solid #FFFFFF;
}

.cantidad-input {
    margin-bottom: 15px;
}

.cantidad-input label {
    display: block;
    /* font-weight: bold; */
    margin-bottom: 5px;
    color: #4D4D4D;
}

.cantidad-input input {
    width: 100%;
    max-width: 150px;
    padding: 8px;
    border: 2px solid #25d366;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    outline: none;
    transition: border 0.3s ease;
}

.cantidad-input input:focus {
    border-color: #00cc66;
}

/* ESTILOS FOOTER */

.container-footer {
    display: flex;
    justify-content: center;
}

.contenido-footer {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.title-footer {
    color: #25d366;
    font-size: 20px;
    margin: 50px 0px 10px;
}

.img-medios-pago img {
    width: 290px;
}

.first-content,
.content-contact,
.content-medios-pago {
    width: 280px;
    color: #4D4D4D;
}

.contenido {
    font-size: 15px;
    margin: 0px;
}

.contenido a {
    text-decoration: none;
    color: #4D4D4D;
}

.contacto-container {
    display: flex;
    justify-content: normal;
    align-items: center;
    gap: 5px;
}

.contacto-container img {
    width: 25px;
}

/* COPYRIGHT */

.container-copyright {
    display: flex;
    justify-content: center;
    align-items: baseline;
    background-color: #25d366;
    color: #FFFFFF;
    font-size: 18px;
    padding: 20px 0px;
    gap: 50px;
}

.container-copyright p {
    font-size: 14px;
    margin: 0px;
}

.container-politicas {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.container-politicas a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
}

.container-politicas a:hover {
    text-decoration: underline;
    color: #ffffff;
    font-weight: 700;
}




.copyright {
    width: 100%;
    max-width: 400px;
}

.copyright a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
}

.copyright a:hover {
    text-decoration: underline;
    color: #ffffff;
    font-weight: 700;
}

/* ESTILOS MODAL */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    display: flex;
    border: 1px solid #707070;
    opacity: 1;
    backdrop-filter: blur(17px);
}

.modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-header {
    background: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    font-size: 20px;
    margin: -20px -20px 20px -20px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 25px;
    height: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.input-icon {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.input-icon span {
    background: #25d366;
    color: white;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.input-icon input,
.input-icon select {
    border: none;
    padding: 10px;
    flex: 1;
    outline: none;
    font-size: 14px;
}

.input-icon span img {
    width: 91%;
}

.field-group {
    margin-top: 30px;
}

.field-group label {
    /* font-weight: bold; */
    display: block;
    margin-bottom: 5px;
    color: #4D4D4D;
}

.field-group input {
    width: 96%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.checkbox {
    margin-top: 15px;
    margin-bottom: 30px;
}

.checkbox input {
    margin-right: 5px;
}

.checkbox label {
    font-size: 14px;
    color: #4D4D4D;
}

.checkbox a {
    font-weight: bold;
    text-decoration: underline;
    color: #4D4D4D;
}

.modal button.submit {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #4D4D4D;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    max-width: 190px;
    color: #4D4D4D;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.modal button.submit:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

/* .icon-oportunidades img{
    width: 30% !important;
}

.icon-oportunidades img{
    width: 30% !important;
    height: 30px !important;
} */

/* span.icon-oportunidades{
    width: 13%;
} */

.input-icon span {
    background: #25d366;
    color: white;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
}

.input-icon span img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}


@media screen and (max-width: 768px) {

    .container-afortunados {
        width: 100%;
    }

    .container-premio {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        flex-direction: column;
    }

    .contenedor-premio-foto img {
        width: 100%;
        max-width: 460px;
        border-radius: 20px;
        margin-top: 16px;
        height: 460px;
    }

    .afortunados {
        flex-wrap: wrap;
        margin: 0px 10px;
    }

    .title-text-premios {
        margin: 0px 15px;
    }

    .title-text {
        margin: 0px 10px;
        font-size: 30px;
        text-align: center;
    }


    .title-text {
        position: absolute;
        top: 106px;
        border-radius: 20px;
        margin: 6px 30px;

    }

    .contenido-oportunidades {
        flex-direction: column;
        margin: 0 auto;
        padding-bottom: 30px;
    }

    .container-fecha {
        margin-top: 30px;
    }

    .description-fecha p {
        padding: 20px;
    }

    .container-oportunidades {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contenido-footer {
        display: block;
        justify-content: center;
    }


    .container-copyright .container-politicas {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }


    .container-copyright {
        display: flex;
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        padding-left: 12px;
    }

    .copyright p {
        padding-bottom: 10px;
    }

    .title-oportunidades h1 {
        padding: 25px 30px;
    }

    .title-footer {
        margin: 20px 0px;
    }

    .modal {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        margin: auto;

    }

    .modal-header {
        font-size: 1.1rem;
        padding-right: 2.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        /* Una sola columna en móviles */
    }

    .close-btn {
        top: 12px;
        right: 12px;
        font-size: 1.4rem;
    }

    .submit {
        font-size: 1rem;
        padding: 0.8rem;
    }
}