/* --- ESTILOS EXCLUSIVOS PÁGINA MUNDIALISTA HORIZONTAL CORREGIDA --- */
body.mundial-page {
    background: #050506;
    color: #e0e6ed;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0 0 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; 
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.stadium-header-phrase {
    width: 80%;
    max-width: 1000px;
    text-align: center;
    margin-top: 100px;
    margin-bottom: 40px;
}
.stadium-header-phrase h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
}

.btn-back-home {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 5000;
}

.horizontal-row-container {
    width: 90%;
    max-width: 1100px;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.glass-horizontal-card {
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
}

.glass-horizontal-card.row-inverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.card-column {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* CONTENEDOR VISUAL CON RENDERIZADO CONTROLADO */
.visual-side {
    position: relative;
    min-height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.01);
    overflow: hidden;
}

/* CONTROL ESTRICTO CONTRA ASSETS MASIVOS (GIF / PNG) */
.logo-link-trigger {
    z-index: 20;
    position: relative;
    display: block; /* Cambio crítico para anular el bug de flexbox */
    width: 100%;
    max-width: 240px; 
    margin: 0 auto;
}

.brand-logo-fluid {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

/* LOGO AWSEN OPTIMIZADO */
.logo-animated-float {
    width: 100%;
    max-width: 260px; /* Incremento de escala visual */
    height: auto;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.3);
    animation: floatAnimation 4s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

@keyframes floatAnimation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* DISTRIBUCIÓN DE CONTENIDO INTERNO */
.flex-promo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.advantages-box {
    flex: 1;
}

.qr-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    border-radius: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    box-sizing: border-box;
}

.qr-container img {
    width: 100%;
    height: auto;
    max-width: 100px;
    display: block;
    border-radius: 6px;
}

.qr-container span {
    font-size: 0.65rem;
    color: #8899a6;
    line-height: 1.2;
}

/* COMPONENTE DE TEXTO Y BOTONES CORREGIDOS */
h2 { font-size: 2.2rem; margin: 0 0 15px 0; color: #fff; }
.brand-ecuabet { color: #ffcc00; }
.brand-1xbet { color: #0088ff; }
.brand-doradobet { color: #ff9900; }
.brand-databet { color: #00ffcc; }

.partner-badge, .partner-badge-promo {
    background: rgba(255, 77, 77, 0.15); color: #ff4d4d; padding: 5px 14px;
    border-radius: 12px; font-size: 0.75rem; display: inline-block; font-weight: 600; margin-bottom: 20px; align-self: flex-start;
}
.promo-headline { color: #ced4da; margin-bottom: 20px; font-size: 1.1rem; }

.advantages-box ul { list-style: none; padding: 0; margin: 0; }
.advantages-box li { margin-bottom: 12px; font-size: 0.9rem; color: #a0aec0; display: flex; align-items: center; gap: 10px; }
.advantages-box i { color: #00ff9d; flex-shrink: 0; }

.code-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
}
.promo-code { color: #00ff9d; font-size: 1.2rem; font-family: monospace; }

.contact-number { font-size: 1.1rem; color: #00ff9d; margin-bottom: 20px; font-weight: 600; }

/* REESTRUCTURACIÓN DE BOTONES (PREVIENE SOLAPAMIENTO) */
.action-buttons-group {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: center;
}

.btn-primary-mundial {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: #fff; border: none; padding: 14px 28px; border-radius: 12px;
    font-weight: 600; cursor: pointer; transition: 0.4s; text-align: center; text-decoration: none;
    flex: 1;
    box-sizing: border-box;
}
.btn-primary-mundial:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4); }

.btn-secondary-mundial {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff; padding: 14px 24px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.3s;
    flex: 1;
    box-sizing: border-box;
}
.btn-secondary-mundial:hover { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 850px) {
    .glass-horizontal-card, .glass-horizontal-card.row-inverse { grid-template-columns: 1fr !important; }
    .card-column { padding: 25px; }
    .visual-side { min-height: 220px; }
    .action-buttons-group { flex-direction: column; gap: 10px; }
    .btn-secondary-mundial, .btn-primary-mundial { width: 100%; flex: none; }
    .flex-promo-container { flex-direction: column; align-items: flex-start; }
    .qr-container { display: none; }
}
