/* =========================================
   1. RESET Y BASE
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Heebo', sans-serif;
}

/* =========================================
   2. ESTRUCTURA PRINCIPAL (LAYOUT)
   ========================================= */
.fifa-promo {
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* --- LADO IZQUIERDO (TEXTO) --- */
.content-side {
    width: 70%;
    background-color: #05090e; 
    color: #ffffff;
    padding: 10rem 20rem 4rem 4rem;
    border-radius: 0rem 0rem 20rem 0rem;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    z-index: 2;
    height: 90vh;
}

/* --- LADO DERECHO (VISUAL) --- */
.visual-side {
    width: 45%;
    background-color: #9f0000;
    position: relative;
    margin-left: auto;    
    height: 30%;
    max-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* =========================================
   3. IMAGEN Y VIDEO (EL MARCO)
   ========================================= */

/* El Marco Decorativo (PNG) */
.frame-bg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    max-height: 60vh;
    z-index: 10;
}

/* El Contenedor del Video (Máscara) */
.image-mask {
    border-radius: 20rem 20rem 20rem 20rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
}

/* El Video en sí */
.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   4. ESTILOS DE TEXTO Y BOTONES
   ========================================= */

/* Títulos */
.subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 10px;
}

.title {
    font-size: 4rem;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
    color: #ffffff;
}

/* Botones */
.buttons-container {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0px;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 0rem 10rem 10rem 10rem;
}

.btn-primary {
    background-color: #219dbd;
    color: #000;
}

.btn-primary:hover {
    background-color: #fff;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: #000;
}

/* Disclaimer (Texto pequeño inferior) */
.disclaimer {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: auto;
}

.disclaimer h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.disclaimer p {
    font-size: 0.85rem;
    color: #f8f8f8;
    margin-bottom: 10px;
    line-height: 1.4;
}

.small-text {
    font-size: 0.7rem;
    opacity: 0.7;
}

.small-text a {
    color: #ffffff;
    text-decoration: none;
}

/* =========================================
   5. MEDIA QUERIES PARA RESPONSIVIDAD
   ========================================= */

/* Para tablets grandes y laptops pequeñas (1024px y menos) */
@media screen and (max-width: 1024px) {
    .content-side {
        width: 60%;
        padding: 3rem 15rem 8rem 3rem;
    }
    
    .visual-side {
        width: 50%;
    }
    
    .title {
        font-size: 3.2rem;
    }
    
    .description {
        font-size: 1rem;
        max-width: 95%;
    }
}

/* Para tablets (768px y menos) */
@media screen and (max-width: 768px) {
    .fifa-promo {
        flex-direction: column;
        min-height: auto;
    }
    
    .content-side {
        position: relative;
        width: 100%;
        padding: 3rem 2rem;
        border-radius: 0rem 0rem 10rem 0rem;
        justify-content: flex-start;
    }
    
    .visual-side {
        width: 100%;
        height: auto;
        max-height: none;
        margin-left: 0;
        order: -1; /* Poner la imagen arriba en móvil */
    }
    
    .title {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .description {
        max-width: 100%;
        font-size: 1rem;
    }
    
    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .frame-bg {
        max-height: 50vh;
    }
    
    .image-mask {
        border-radius: 10rem 10rem 10rem 10rem;
    }
}

/* Para móviles medianos (480px y menos) */
@media screen and (max-width: 480px) {
    .content-side {
        padding: 2rem 1.5rem;
        border-radius: 0rem 0rem 5rem 0rem;
        height: 120vh;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .disclaimer h3 {
        font-size: 0.9rem;
    }
    
    .disclaimer p {
        font-size: 0.8rem;
    }
    
    .image-mask {
        border-radius: 5rem 5rem 5rem 5rem;
        height: 35vh;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 10px 15px;
        border-radius: 0rem 5rem 5rem 5rem;
    }
}

/* Para móviles pequeños (360px y menos) */
@media screen and (max-width: 360px) {
    .content-side {
        padding: 1.5rem 1rem;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .buttons-container {
        gap: 10px;
    }
}

/* Para dispositivos con orientación horizontal (landscape) */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .fifa-promo {
        flex-direction: row;
    }
    
    .content-side {
        width: 55%;
        padding: 2rem;
    }
    
    .visual-side {
        width: 45%;
        height: 80vh;
        max-height: none;
    }
    
    .frame-bg {
        max-height: 80vh;
    }
    
    .title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .description {
        margin-bottom: 20px;
        font-size: 0.9rem;
    }
    
    .buttons-container {
        margin-bottom: 20px;
    }
}

/* Para pantallas muy grandes (más de 1440px) */
@media screen and (min-width: 1440px) {
    .content-side {
        padding-left: 6rem;
    }
    
    .title {
        font-size: 4.5rem;
    }
    
    .description {
        font-size: 1.2rem;
        max-width: 80%;
    }
}


/* OFertas */


/* Estilos generales y fuente */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--oferta-color-dark-bg);
    color: var(--oferta-color-text-white);
    line-height: 1.6;
}

/* Contenedor principal */
.oferta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Encabezado */
.oferta-header {
    text-align: left;
}

.oferta-titulo-principal {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 5px 0;
}

.oferta-subtitulo {
    color: var(--oferta-color-text-light);
    margin-bottom: 25px;
}

/* Pasos de progreso */
.oferta-pasos-progreso {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: var(--oferta-color-text-light);
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.oferta-paso {
    margin-right: 25px;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.oferta-icono-paso {
    font-size: 1.1rem;
    font-weight: bold;
    margin-right: 5px;
    color: var(--oferta-color-text-white);
}

.oferta-paso-activo {
    color: var(--oferta-color-text-white);
    font-weight: 600;
}

/* Contenedor de las tarjetas */
.oferta-cards-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Estilo base de la tarjeta */
.oferta-card {
    background-color: var(--oferta-color-card-bg);
    padding: 30px;
    border-radius: 12px;
    flex: 1;
    min-width: 300px;
    position: relative;
    background-color: #0f174f;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    display: flex; /* Flex para alinear el botón al final */
    flex-direction: column;
}

.oferta-titulo-card {
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 5px;
    margin-bottom: 10px;
    line-height: 1.1;
}

/* Etiqueta "Ya disponible" */
.oferta-tag-disponible {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--oferta-color-tag);
    color: var(--oferta-color-text-white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.oferta-tag-icon {
    margin-right: 4px;
    font-size: 0.9rem;
}

.oferta-descripcion-card {
    font-size: 0.95rem;
    color: var(--oferta-color-text-light);
    margin-bottom: 20px;
    min-height: 40px;
}

/* Lista de características */
.oferta-lista-caracteristicas {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    color: var(--oferta-color-text-light);
    font-size: 0.85rem;
    flex-grow: 1; /* Permite que la lista empuje el precio hacia abajo */
}

.oferta-lista-caracteristicas li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px; /* Espacio para el guion */
}

.oferta-lista-caracteristicas li::before {
    content: '-'; /* Usa un guion para el punto, como en la imagen */
    color: var(--oferta-color-price);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}


/* Sección de precio */
.oferta-seccion-precio {
    margin-bottom: 20px;
    text-align: center;
    padding: 10px 0;
}

.oferta-desde {
    display: block;
    font-size: 0.8rem;
    color: var(--oferta-color-text-light);
    margin-bottom: -5px;
}

.oferta-precio {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--oferta-color-price);
    line-height: 1;
}

.oferta-por-persona {
    display: block;
    font-size: 0.8rem;
    color: var(--oferta-color-text-light);
}

/* Botones */
.oferta-btn {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
}

.oferta-btn-primario {
    background-color: var(--oferta-color-button-dark);
    color: var(--oferta-color-text-white);
    border: 2px solid black;
    border-radius: 0rem 10rem 10rem 10rem;

}

.oferta-btn-primario:hover {
    background-color: #2a3861;
}
.oferta-btn-secundario:hover {
    background-color: #2a3861;
}

.oferta-btn-secundario {
    /* Mismo estilo de fondo oscuro para uniformidad */
    background-color: var(--oferta-color-button-dark);
    color: var(--oferta-color-text-white);
    border: 2px solid black;
    border-radius: 0rem 10rem 10rem 10rem;}



/* Media query para hacerlo responsivo */
@media (max-width: 768px) {
    .oferta-titulo-principal {
        font-size: 2rem;
    }

    .oferta-pasos-progreso {
        flex-direction: column;
        align-items: flex-start;
    }

    .oferta-paso {
        margin-bottom: 10px;
    }

    .oferta-cards-wrapper {
        flex-direction: column;
        gap: 25px;
    }
}