html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}



.uk-input,
.uk-select {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
    transition: 0.3s;
}

.etiqueta {
    color: #fff !important;
}

.etiqueta a {
    color: #fff !important;
    font-size: 14px;
}

.uk-input::placeholder,
.uk-select::placeholder {
    color: #444444 !important;
}

.titulo {
    margin: 3% 0;
}


.titulo-final {
    margin: 2% 0;
}


.titulo h1,
.titulo-final h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #E79E00;
    margin: 0;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.parte2 h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E79E00;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    margin: 0;
}

.titulo p,
.titulo-final p,
.texto-secundario {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500
}

.imagen-premios-final img {
    max-width: 40%;
    padding-bottom: 20px;
    border-bottom: 5px solid #E79E00;
}

.uk-button-redes {
    font-size: 16px;
    color: #000;
}

.uk-button-redes:hover {
    color: #000;
}

/* Estilo para los botones de redes sociales */

.div-redes {
    margin: 20px 0 40px 0;
    width: 100%;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.div-red {
    background: #fff;
    color: #333;
    border-radius: 50px;
    padding: 5px 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
    flex: 1 1 calc(25% - 10px);
    min-width: 200px;
    justify-content: center;
}

.div-red img {
    width: 40px;
    margin-right: 10px;
}

.contact-banner {
    background-color: #E79E00;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 16px;
}

.contact-banner a {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
    font-size: 16px;
}


.parte2 p {
    font-size: 1rem;
    margin: 0;
    font-weight: 500
}

.gold-btn {
    background-color: #E79E00;
    color: #000;
    font-weight: 800;
    border-radius: 50px;
    transition: 0.3s;
    font-size: 1rem;
}

.gold-btn1 {
    max-width: 300px;
}

/* --- CARRUSEL NATIVO OPTIMIZADO --- */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    gap: 15px;
    padding: 0 10px;
    box-sizing: border-box;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.carousel-item {
    flex: 0 0 calc(50% - 10px);
    min-width: calc(50% - 10px);
}

.prize-box {
    border: 2px solid #E79E00;
    padding: 30px 15px;
    height: 220px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 12px rgba(231, 158, 0, 0.2);
    box-sizing: border-box;
}

.prize-box h4 {
    margin: 0;
    color: #E69E00;
    font-size: 1.3rem;
}

.prize-box p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

.prize-box img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
}

.imagen-premios img {
    width: 90%;
}

.carousel-arrow {
    background-color: #E79E00;
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: 0.3s;
    z-index: 10;
}

.imagen-premios-final img {
    margin-bottom: 20px;
}

/* AJUSTES PARA TABLETAS (768px hacia abajo) */
@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 100%;
        width: 10px;
    }

    .carousel-track {
        gap: 0;
    }

    .reverso {
        flex-direction: column-reverse;
    }

    .margin-reverse {
        margin-top: 0px !important;
    }

    .prize-box {
        flex-direction: column;
        height: auto;
        padding: 25px 10px;
        text-align: center;
    }

    .contact-banner {
        padding: 15px;
        font-size: 14px;
    }

    .contact-banner a,
    .uk-button-redes {
        font-size: 14px;
        color: #000;
    }

    .imagen-premios-final img {
        max-width: 60%;
    }
}

/* AJUSTE CRÍTICO PARA MÓVILES PEQUEÑOS (450px o menos) */
@media (max-width: 480px) {
    .carousel-container {
        gap: 5px;
        /* Reducimos el espacio entre flecha y caja */
        padding: 0 5px;
        /* Menos espacio en los bordes de la pantalla */
    }

    .carousel-arrow {
        width: 35px;
        /* Flechas un poco más pequeñas */
        height: 35px;
        font-size: 16px;
    }

    .imagen-premios img {
        width: 80%;
    }

    .uk-margin {
        margin: 10px 0 !important;
    }

    .prize-box h4 {
        font-size: 1.1rem;
    }

    .prize-box p {
        font-size: 0.95rem;
    }

    .prize-box img {
        max-height: 90px;
    }

    /* Aseguramos que el contenedor de la página no tenga paddings que asfixien el carrusel */
    .uk-section {
        padding-left: 10px;
        padding-right: 10px;
    }

    .titulo h1,
    .titulo-final h1 {
        font-size: 2rem;
    }

    .titulo p,
    .titulo-final p {
        font-size: 1rem;
    }

    .parte2 h3 {
        font-size: 1.5rem;
    }

    .div-red {
        flex: 1 1 calc(50% - 10px);
    }

    .imagen-premios-final img {
        max-width: 80%;
    }

    .div-red img {
        width: 30px;
        margin-right: 5px;
    }
}