/* --- Resets y Tipografía --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif; /* Replícalo con tipografía Sans-serif limpia */
}

body {
    background-color: #0b0b0e; /* NUEVO: Fondo carbón profundo */
    color: #f9f9f9;
}

/* --- Contenedor Principal (Hero) --- */
.pricing-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    /* Reemplaza con la ruta de tu fondo de películas */
    background: url('img/compose.webp') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

/* Capa oscura superior para dar contraste e idéntico look difuminado */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* NUEVO: Gradiente adaptado al fondo oscuro neutro */
    background: linear-gradient(to bottom, rgba(11, 11, 14, 0.05) 0%, rgba(11, 11, 14, 0.6) 100%, rgba(11, 11, 14, 1) 100%);
    z-index: 1;
}

/* El contenido debe ir encima de la capa overlay */
.btn-login, .offer-header, .plans-container, .footer-details {
    position: relative;
    z-index: 2;
}

/* --- Botón Login --- */
.btn-login {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #f9f9f9;
    color: #f9f9f9;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-login:hover {
    background: #f9f9f9;
    color: #000;
}

/* --- Encabezado de Oferta --- */
.offer-header {
    text-align: center;
    margin-bottom: 30px;
}

.limited-offer {
    color: #ff2a51; /* NUEVO: Carmín encendido para ofertas */
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.offer-header h1 {
    font-size: 22px;
    font-weight: normal;
    color: #fff;
}

.crossed-out {
    text-decoration: line-through;
    opacity: 0.7;
}

.highlight-cyan {
    color: #ff9f0a; /* NUEVO: Ámbar cinematográfico */
    font-weight: bold;
}

/* --- Contenedor de Tarjetas (Cards) --- */
.plans-container {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 1100px;
    width: 100%;
    margin-bottom: 30px;
}

.plan-card {
    background: rgba(22, 22, 27, 0.85); /* NUEVO: Fondo de tarjeta gris muy oscuro */
    border: 1px solid #2a2a35; /* NUEVO: Borde sutil */
    border-radius: 8px;
    padding: 35px 25px 25px 25px;
    width: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(4px);
}

/* Estilo exacto para resaltar la tarjeta más popular */
.plan-card.premium {
    border: 1px solid #ff9f0a; /* NUEVO: Borde Oro/Ámbar */
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #f9f9f9;
    color: #000;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Iconos de marcas dentro de la tarjeta */
.card-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 30px;
    margin-bottom: 20px;
}

.card-icons-p {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 30px;
    margin-bottom: 20px;
}

.card-icons-p img {
    height: 100%;
    max-width: 100px;
    object-fit: contain;
}

.card-icons img {
    height: 100%;
    max-width: 65px;
    object-fit: contain;
}

.plan-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Precios */
.price-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    flex-grow: 1; /* Empuja el botón siempre hacia abajo */
}

.old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: #a2a4b0;
    margin-bottom: 4px;
}

.new-price {
    font-size: 15px;
    color: #ff2a51; /* NUEVO: Precio destacado en Carmín */
    font-weight: bold;
}

.duration {
    color: #fff;
    font-weight: normal;
}

/* Botones de Acción */
.btn-signup {
    background: #ff9f0a; /* NUEVO: Botón Ámbar principal */
    border: none;
    color: #000;
    padding: 14px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
}

.btn-signup:hover {
    background: #e08400; /* NUEVO: Ámbar más oscuro al pasar el mouse */
}

.btn-signup:active {
    transform: scale(0.98);
}

/* --- Footer Detalles & Disclaimer --- */
.footer-details {
    text-align: center;
    max-width: 950px;
    width: 100%;
    margin-top: 10px;
}

.view-details {
    color: #f9f9f9;
    font-size: 12px;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 25px;
    opacity: 0.8;
}

.view-details:hover {
    opacity: 1;
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    opacity: 0.8;
}

.brand-logos img {
    max-height: 20px;
    object-fit: contain;
}

.disclaimer {
    font-size: 10px;
    color: #a2a4b0;
    line-height: 1.4;
    text-align: justify;
    text-justify: inter-word;
}


/* --- Sección ESPN Premium (Copa del Mundo) --- */
.espn-premium-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('img/copa.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 4% 40px 3.5%; 
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Bloque de Contenido (Izquierda) --- */
.espn-content {
    max-width: 540px;
    margin-top: 25px; 
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.espn-logos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.logo-main{
    margin-left: -50px;
}

.espn-logos .logo-main {
    max-width: 240px;
    height: auto;
    object-fit: contain;
}

/* Píldora "Plan Premium" debajo del logo */
.badge-premium-inline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #f9f9f9;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.espn-description {
    font-size: 15px;
    line-height: 1.5;
    color: #eff1f5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8); /* Asegura legibilidad sobre el fondo */
}

/* Botón "OBTENER OFERTA" */
.btn-offer {
    background: #ff2a51; /* NUEVO: Botón de oferta en Carmín */
    border: none;
    color: #fff; /* NUEVO: Texto blanco para mejor contraste en rojo */
    padding: 16px 40px;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    width: max-content;
    transition: background 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(255, 42, 81, 0.3); /* NUEVO */
}

.btn-offer:hover {
    background: #e01f43; /* NUEVO */
    transform: translateY(-1px);
}

.btn-offer:active {
    transform: translateY(1px);
}

/* --- Grid de Torneos Inferiores --- */
.tournaments-grid {
    display: flex;
    gap: 14px;
    width: 100%;
    margin-top: 40px;
}

.tournament-item {
    flex: 0 0 calc(16.66% - 12px); /* Divide el espacio idénticamente para 6 elements */
    min-width: 160px;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s;
    cursor: pointer;
}

.tournament-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Efecto hover limpio para las tarjetas de torneos */
.tournament-item:hover {
    transform: scale(1.04);
    border-color: rgba(255, 159, 10, 0.6); /* NUEVO: Hover en Ámbar */
}


/* ==========================================
   --- SECCIÓN TOP 10 (OPTIMIZADA Y CENTRADA) ---
   ========================================== */
.top-10-section {
    background-color: #0b0b0e; /* NUEVO: Fondo oscuro neutro */
    padding: 60px 0; 
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.top-title {
    color: #f9f9f9;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* ==========================================
   --- CONTENEDOR GENERAL Y SLIDER INTERNO ---
   ========================================== */
.carousel-container {
    position: relative;
    width: 92%; 
    margin: 0 auto; 
    display: flex;
    align-items: center;
}

.slider-wrapper {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.top-cards-container {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    width: max-content;
}

/* ==========================================
   --- TARJETAS (TAMAÑO EQUILIBRADO A 200PX) ---
   ========================================== */
.movie-top-card {
    position: relative;
    width: 250px; 
    aspect-ratio: 2 / 3;
    background: #16161b; /* NUEVO: Fondo gris oscuro premium */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s;
    border: 2px solid transparent;
}

.movie-top-card:hover {
    transform: scale(1.04);
    border-color: rgba(255, 159, 10, 0.8); /* NUEVO: Resalte de tarjeta en Ámbar */
}

.poster-img {
    width: 115%;
    height: 100%;
    object-fit: cover;
}

/* --- Triángulo numérico del Top --- */
.card-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff9f0a 50%, transparent 50%); /* NUEVO: Triángulo Ámbar */
    color: #0b0b0e; /* NUEVO */
    font-size: 26px;
    font-weight: 900;
    font-family: 'Impact', 'Arial Black', sans-serif;
    padding-top: 4px;
    padding-left: 8px;
    z-index: 3;
}

/* --- Información Interna --- */
.card-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(11, 11, 14, 1) 0%, rgba(11, 11, 14, 0.8) 50%, transparent 100%); /* NUEVO */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    box-sizing: border-box;
    z-index: 2;
}

.movie-logo {
    max-width: 70%;
    max-height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
    align-self: center;
}

.movie-metadata {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.rating {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 2px;
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.meta-text {
    font-size: 9px;
    color: #a2a4b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================
   --- BOTONES DE NAVEGACIÓN (FLECHAS) ---
   ========================================== */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 11, 14, 0.75); /* NUEVO */
    color: #f9f9f9;
    border: none;
    font-size: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s, transform 0.2s;
    opacity: 0;
}

.carousel-container:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(11, 11, 14, 0.95); /* NUEVO */
    transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: -20px; } 
.next-btn { right: -20px; }


/* ==========================================
   --- SECCIÓN ESPN PREMIUM (DEPORTES) ---
   ========================================== */
.espn-premium-section {
    position: relative;
    width: 100%;
    background: url('img/copa.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 80px 4% 40px 6%;
    box-sizing: border-box;
    overflow: hidden;
}

.tournaments-grid {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 10px 0;
}

.tournament-item {
    width: 260px; 
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s;
    cursor: pointer;
}

.tournament-item:hover {
    transform: scale(1.04);
    border-color: rgba(255, 159, 10, 0.6); /* NUEVO: Borde en oro */
}


/* ==========================================
   ESTILOS DE LA VENTANA EMERGENTE (MODAL) ADAPTADOS
   ========================================== */

/* Fondo oscurecido con efecto Blur consistente */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 14, 0.85); /* Sincronizado con #0b0b0e */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Estado activo del Modal */
.modal-overlay.modal-active {
    opacity: 1;
    pointer-events: auto;
}

/* Contenedor Principal (Estilo Tarjeta de la página) */
.modal-container {
    background: rgba(22, 22, 27, 0.95); /* Basado en tu .plan-card */
    border: 1px solid #2a2a35; /* Borde sutil de tu sitio */
    border-radius: 8px; /* Radio de curvatura de tus tarjetas */
    width: 90%;
    max-width: 500px;
    padding: 40px 32px 32px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #f9f9f9;
}

.modal-overlay.modal-active .modal-container {
    transform: translateY(0);
}

/* Botón Cerrar X */
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #a2a4b0;
    font-size: 28px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: #fff;
}

/* Textos de Cabecera */
.modal-header h2 {
    font-size: 26px;
    font-weight: bold;
    margin: 0 0 12px 0;
    line-height: 1.3;
    color: #fff;
}

/* Degradado de marca usando tus colores: Ámbar a Carmín */
.brand-gradient {
    background: linear-gradient(90deg, #ff9f0a, #ff2a51);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-subtitle {
    color: #a2a4b0;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

/* Opciones de Planes (Internas del modal) */
.plan-option {
    display: flex;
    align-items: center;
    background: #16161b; /* Fondo gris oscuro premium de tus movie-cards */
    border: 1px solid #2a2a35;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 14px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.plan-option:hover {
    background: #1f1f26;
}

/* Selección activa usando el Ámbar promocional */
.plan-option.active-border,
.plan-option:has(input:checked) {
    border-color: #ff9f0a;
    background: rgba(255, 159, 10, 0.05);
}

/* Esconder input de radio nativo */
.plan-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Radio Button Personalizado */
.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #a2a4b0;
    border-radius: 50%;
    margin-right: 16px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.plan-option input[type="radio"]:checked + .custom-radio {
    border-color: #ff9f0a;
    background-color: #ff9f0a;
}

.plan-option input[type="radio"]:checked + .custom-radio::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #000; /* Contraste oscuro sobre el punto amarillo */
}

/* Información Interna del Plan */
.plan-info {
    display: flex;
    flex-direction: column;
}

.plan-title {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2px;
}

.plan-desc {
    font-size: 12px;
    color: #a2a4b0;
}

/* Píldora Recomendado adaptada al Carmín de ofertas */
.badge-modal-recommend {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 42, 81, 0.15);
    border: 1px solid #ff2a51;
    color: #ff2a51;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Botón de Acción Principal (Usando tu estilo Ámbar llamativo) */
.btn-modal-action {
    width: 100%;
    background: #ff9f0a;
    color: #000;
    border: none;
    padding: 14px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 12px;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.1s;
}

.btn-modal-action:hover {
    background: #e08400;
}

.btn-modal-action:active {
    transform: scale(0.99);
}

/* Texto legal / Disclaimer del modal */
.modal-disclaimer {
    color: #a2a4b0;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    margin: 0;
    opacity: 0.7;
}


/* ==========================================================================
   SECCIÓN: CUANDO Y DONDE QUIERAS (DISPOSITIVOS)
   ========================================================================== */
.devices-section {
    background-color: #040714; /* Mismo fondo de seguridad oscuro */
    padding: 60px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Encabezado del bloque */
.devices-header h2 {
    font-family: 'Inter', sans-serif;
    color: #f9f9f9;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.devices-header p {
    font-family: 'Inter', sans-serif;
    color: #cacaca;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Contenedor central de la imagen */
.devices-display-container {
    max-width: 1000px; /* Controla el ancho máximo de la composición */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

/* Imagen fluida y responsiva */
.devices-main-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Adaptabilidad para pantallas más pequeñas (Móviles) */
@media (max-width: 768px) {
    .devices-section {
        padding: 40px 16px 50px 16px;
    }
    
    .devices-header h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .devices-header p {
        font-size: 14px;
        margin-bottom: 24px;
    }
}



/* ==========================================================================
   SECCIÓN: PREGUNTAS FRECUENTES (ACCORDION)
   ========================================================================== */
.faq-section {
    background-color: #040714;
    padding: 60px 20px 80px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    font-family: 'Inter', sans-serif;
    color: #f9f9f9;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.faq-container {
    max-width: 1000px; /* Alineado con el contenedor de dispositivos */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Separación exacta entre los bloques */
}

.faq-item {
    background-color: #131520; /* Gris muy oscuro característico */
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    transition: background-color 0.2s ease;
}

/* El botón contenedor de la pregunta */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f9f9f9;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #1c1e2a; /* Lieve aclarado al pasar el cursor */
}

/* El ícono + / - */
.faq-icon {
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* Contenedor colapsable para la respuesta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #131520;
}

/* Contenedor interno para evitar cortes bruscos de padding durante la animación */
.faq-answer-content {
    padding: 0 24px 24px 24px;
    color: #cacaca;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

/* Estado Activo cuando se abre */
.faq-item.active .faq-answer {
    /* El valor se calcula dinámicamente con JS, pero dejamos esto de base */
    max-height: 200px; 
}


footer {
    background-color: #0E1116; /* Color oscuro del fondo */
    padding: 30px 40px;
    border-top: 1px solid #272B34; /* Línea divisoria superior sutil */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px; /* O el ancho máximo que estés usando */
    margin: 0 auto;
}

.footer-copyright {
    color: #94a3b8; /* Color gris suave para el texto */
    font-size: 14px;
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 25px; /* Espaciado entre los enlaces */
}

.footer-links a {
    color: #cbd5e1; /* Color de los enlaces */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff; /* Brillo al pasar el mouse */
}


/* Alinea la corona verticalmente con el texto del botón */
.btn-modal-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Espacio entre la corona y el texto */
}

/* Controla el tamaño de tu imagen dentro del botón */
.my-crown-img {
    width: 24px;  /* Tamaño ideal para que luzca como un icono */
    height: 24px; /* Mantiene la proporción 1:1 */
    object-fit: contain;
    vertical-align: middle;
}



/* ==========================================================================
   --- MEDIA QUERIES PARA ADAPTABILIDAD (RESPONSIVE) ---
   ========================================================================== */

/* --- TABLETAS GRANDES Y LAPTOPS PEQUEÑAS (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .plans-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .tournaments-grid {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 15px;
    }

    .tournament-item {
        flex: 0 0 200px; /* Permite scroll horizontal cómodo en tablets */
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* --- TABLETAS Y MÓVILES EN HORIZONTAL (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Resets de contenedores principales */
    .pricing-hero {
        padding: 80px 16px 40px 16px;
    }

    .btn-login {
        top: 15px;
        right: 15px;
    }

    /* Contenedor de planes a una sola columna */
    .plans-container {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        width: 100%;
        max-width: 340px;
    }

    /* Sección ESPN Premium */
    .espn-premium-section {
        padding: 60px 20px 40px 20px;
        justify-content: flex-start;
        gap: 40px;
    }

    .espn-content {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .espn-logos {
        align-items: center;
    }

    .logo-main {
        margin-left: 0; /* Centra el logo corregido */
        max-width: 200px;
    }

    .btn-offer {
        width: 100%;
        max-width: 300px;
    }

    /* Modal emergente */
    .modal-container {
        padding: 32px 20px 24px 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }

    .badge-modal-recommend {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 8px;
        width: max-content;
    }

    .plan-option {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Acordeón de FAQs */
    .faq-question {
        padding: 18px 16px;
        font-size: 16px;
    }

    .faq-answer-content {
        padding: 0 16px 16px 16px;
        font-size: 14px;
    }

    /* Enlaces del Footer */
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* --- MÓVILES PEQUEÑOS (max-width: 480px) --- */
@media (max-width: 480px) {
    .offer-header h1 {
        font-size: 18px;
    }

    .top-title, .faq-title {
        font-size: 22px;
    }

    /* Ajuste de tamaño para las tarjetas del slider horizontal en móvil */
    .movie-top-card {
        width: 190px;
    }

    .card-badge {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .disclaimer {
        text-align: left;
    }
}