:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --dark: #0a0e1a;
    --dark-2: #151b2b;
    --gray: #6c757d;
    --light: #f1faee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Inter', sans-serif; background: #f5f6fa; color: #1a1a1a; }

.top-bar { background: var(--dark); color: #fff; padding: 8px 0; font-size: .85rem; }
.top-bar .redes a { color: #fff; margin-left: 12px; transition: color .3s; }
.top-bar .redes a:hover { color: var(--primary); }

.main-header .navbar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.navbar-brand { font-size: 1.6rem; font-weight: 900; color: #fff !important; letter-spacing: -1px; }
.brand-accent { color: var(--primary); }
.navbar-nav .nav-link {
    color: #fff !important; font-weight: 600; text-transform: uppercase;
    font-size: .9rem; padding: 8px 18px !important; transition: color .3s;
}
.navbar-nav .nav-link:hover { color: var(--primary) !important; }
.btn-login {
    background: var(--primary); color: #fff !important; border-radius: 25px;
    padding: 8px 22px !important; font-weight: 600; margin-left: 10px; transition: all .3s;
}
.btn-login:hover { background: var(--primary-dark); transform: translateY(-2px); }

.hero-section {
    background: linear-gradient(rgba(10,14,26,.75), rgba(10,14,26,.85)),
                url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?w=1600') center/cover;
    color: #fff; padding: 80px 0; margin-bottom: 40px;
}
.hero-section h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; }
.hero-section h1 span { color: var(--primary); }
.hero-section p { font-size: 1.2rem; opacity: .9; }

.card-noticia {
    border: none; border-radius: 12px; overflow: hidden; background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: all .3s ease; height: 100%;
}
.card-noticia:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.card-noticia img { width: 100%; height: 200px; object-fit: cover; }
.card-noticia .card-body { padding: 20px; }
.card-noticia .categoria {
    display: inline-block; background: var(--primary); color: #fff;
    font-size: .75rem; font-weight: 700; padding: 4px 12px;
    border-radius: 20px; text-transform: uppercase; margin-bottom: 10px;
}
.card-noticia h5 { font-weight: 700; font-size: 1.15rem; line-height: 1.4; margin-bottom: 10px; }
.card-noticia h5 a { color: var(--dark); text-decoration: none; transition: color .3s; }
.card-noticia h5 a:hover { color: var(--primary); }
.card-noticia .meta { font-size: .8rem; color: var(--gray); }

.section-title {
    font-weight: 900; font-size: 1.8rem; margin-bottom: 30px;
    position: relative; padding-left: 20px;
}
.section-title::before {
    content: ''; position: absolute; left: 0; top: 50%;
    transform: translateY(-50%); width: 6px; height: 30px;
    background: var(--primary); border-radius: 3px;
}

.main-footer { background: var(--dark); color: #b0b0b0; padding: 50px 0 20px; margin-top: 60px; }
.main-footer h5 { color: #fff; font-weight: 700; margin-bottom: 20px; }
.main-footer a { color: #b0b0b0; text-decoration: none; transition: color .3s; }
.main-footer a:hover { color: var(--primary); }
.footer-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: rgba(255,255,255,.1);
    border-radius: 50%; margin-right: 10px; color: #fff; transition: all .3s;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 30px 0 20px; }

@media (max-width: 768px) {
    .hero-section h1 { font-size: 2rem; }
    .section-title { font-size: 1.4rem; }
}

/* ============================================
   BARRA DE CATEGORÍAS
   ============================================ */
.categorias-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 4px 10px 4px;
    margin-bottom: 25px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #ced4da transparent;
}
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}
.cat-pill:hover,
.cat-pill.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.cat-pill i {
    font-size: 0.95rem;
}
.cat-pill .cat-count {
    background: rgba(0,0,0,0.08);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}
.cat-pill:hover .cat-count,
.cat-pill.active .cat-count {
    background: rgba(255,255,255,0.25);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}
.page-header h1 {
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.page-header p { opacity: 0.9; margin-bottom: 5px; }

/* ============================================
   DETALLE DE NOTICIA
   ============================================ */
.detalle-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.detalle-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,14,26,0.95) 0%, rgba(10,14,26,0.5) 60%, rgba(10,14,26,0.3) 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 40px;
    color: #fff;
}
.detalle-titulo {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 15px 0;
}
.categoria-lg {
    font-size: 0.85rem;
    padding: 6px 16px;
}
.detalle-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}
.detalle-resumen {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 30px 0;
    line-height: 1.5;
}
.detalle-contenido p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

/* COMPARTIR */
.detalle-compartir {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-facebook { background: #1877f2; }
.btn-twitter { background: #1da1f2; }
.btn-whatsapp { background: #25d366; }
.btn-share:hover { transform: translateY(-3px); color: #fff; }

/* PAGINACIÓN */
.pagination .page-link {
    color: var(--dark);
    border-color: #ddd;
    padding: 10px 16px;
    font-weight: 600;
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.pagination .page-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .detalle-hero { height: 350px; }
    .detalle-titulo { font-size: 1.6rem; }
    .detalle-resumen { font-size: 1.1rem; }
}

/* ============================================
   AUTENTICACIÓN (LOGIN / REGISTRO)
   ============================================ */
.auth-body {
    background: linear-gradient(135deg, #0a0e1a 0%, #1d3557 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}
.auth-container {
    width: 100%;
    max-width: 460px;
}
.auth-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.auth-logo {
    display: block;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -1px;
    margin-bottom: 25px;
}
.auth-logo i { color: var(--primary); }
.auth-logo span { color: var(--primary); }
.auth-title {
    font-weight: 900;
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 5px;
}
.auth-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.auth-form .form-control {
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid #e5e5e5;
    transition: border-color 0.3s;
}
.auth-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}
.auth-form .btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 10px;
    padding: 12px;
    font-weight: 700;
}
.auth-form .btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}
.auth-demo {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 15px;
    border-left: 4px solid var(--primary);
}
.auth-demo code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary-dark);
    font-size: 0.8rem;
}
.auth-footer {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    margin-top: 20px;
}

/* ============================================
   PERFIL
   ============================================ */
.perfil-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ============================================
   NAVBAR DROPDOWN
   ============================================ */
.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px;
    margin-top: 10px;
}
.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 500;
    transition: background 0.2s;
}
.dropdown-item:hover {
    background: #f0f0f0;
}

/* ============================================
   TARJETAS DE PARTIDO
   ============================================ */
.match-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.match-header {
    background: #f8f9fa;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.match-torneo {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.5px;
}

.match-body {
    padding: 25px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
}
.team span {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}
.team-shield {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    border: 3px solid #eee;
}
.team-winner .team-shield {
    background: linear-gradient(135deg, #e63946, #c1121f);
    border-color: #ffe0e0;
}
.team-winner span {
    color: #e63946;
}

.match-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    flex-shrink: 0;
}
.match-time {
    font-size: 1.6rem;
    font-weight: 900;
    color: #0a0e1a;
}
.match-date {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
}
.match-status {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}
.status-programado { background: #e3f2fd; color: #1565c0; }
.status-en_curso    { background: #fff3cd; color: #856404; }

.match-score .score {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.2rem;
    font-weight: 900;
    color: #6c757d;
}
.score-winner { color: #e63946; }
.score-sep { color: #ddd; font-size: 1.5rem; }

.match-footer {
    background: #fafbfc;
    padding: 12px 18px;
    font-size: 0.85rem;
    color: #6c757d;
    border-top: 1px solid #eee;
}

/* TABLA DE PARTIDOS */
.table-partidos {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.table-partidos thead {
    background: #0a0e1a;
    color: #fff;
}
.table-partidos thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px;
    border: none;
}
.table-partidos tbody td {
    padding: 15px;
    vertical-align: middle;
    border-color: #f0f0f0;
}
.table-partidos tbody tr:hover {
    background: #fafbfc;
}

/* ============================================
   TORNEOS - NIVELES BAR
   ============================================ */
.niveles-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nivel-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f9fa;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s;
}
.nivel-pill:hover { transform: translateY(-2px); color: #333; }
.nivel-pill.active { color: #fff; }

.nivel-pill.active { background: #0a0e1a; }
.nivel-pill.nivel-internacional.active { background: linear-gradient(135deg, #667eea, #764ba2); }
.nivel-pill.nivel-nacional.active      { background: linear-gradient(135deg, #e63946, #c1121f); }
.nivel-pill.nivel-local.active         { background: linear-gradient(135deg, #2a9d8f, #21867a); }

.nivel-count {
    background: rgba(0,0,0,0.1);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}
.nivel-pill.active .nivel-count { background: rgba(255,255,255,0.25); color: #fff; }

/* ============================================================
   TORNEOS - DISEÑO PROFESIONAL v2
   ============================================================ */

/* --- BARRA DE FILTROS POR NIVEL --- */
.niveles-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}
.nivel-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f5f6fa;
    border-radius: 25px;
    color: #495057;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.25s ease;
    border: 2px solid transparent;
}
.nivel-pill:hover {
    transform: translateY(-2px);
    color: #0a0e1a;
    background: #e9ecef;
    text-decoration: none;
}
.nivel-pill.active {
    color: #fff !important;
    text-decoration: none;
}
.nivel-pill.active:not([class*="nivel-"]) { background: #0a0e1a; }
.nivel-pill.nivel-internacional.active { background: linear-gradient(135deg, #667eea, #764ba2); }
.nivel-pill.nivel-nacional.active      { background: linear-gradient(135deg, #e63946, #c1121f); }
.nivel-pill.nivel-local.active         { background: linear-gradient(135deg, #2a9d8f, #21867a); }

.nivel-count {
    background: rgba(0,0,0,0.08);
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 22px;
    text-align: center;
}
.nivel-pill.active .nivel-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* --- SECCIONES POR NIVEL --- */
.nivel-section { margin-bottom: 55px; }

.nivel-header {
    margin-bottom: 28px;
    padding-left: 18px;
    border-left: 5px solid;
    border-radius: 3px;
}
.nivel-internacional .nivel-header { border-color: #764ba2; }
.nivel-nacional .nivel-header      { border-color: #e63946; }
.nivel-local .nivel-header         { border-color: #2a9d8f; }

.nivel-header h2 {
    font-size: 1.7rem;
    font-weight: 900;
    margin: 0 0 6px 0;
    color: #0a0e1a;
    letter-spacing: -0.5px;
}
.nivel-header p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

/* --- CARD TORNEO --- */
.card-torneo {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
}
.card-torneo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}
.card-torneo.nivel-internacional::before { background: linear-gradient(90deg, #667eea, #764ba2); }
.card-torneo.nivel-nacional::before      { background: linear-gradient(90deg, #e63946, #c1121f); }
.card-torneo.nivel-local::before         { background: linear-gradient(90deg, #2a9d8f, #21867a); }

.card-torneo:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    color: inherit !important;
    text-decoration: none !important;
}

.card-torneo-header {
    padding: 20px 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-torneo-badge {
    font-size: 0.68rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    color: #fff;
    text-transform: uppercase;
}
.nivel-badge-internacional { background: linear-gradient(135deg, #667eea, #764ba2); }
.nivel-badge-nacional      { background: linear-gradient(135deg, #e63946, #c1121f); }
.nivel-badge-local         { background: linear-gradient(135deg, #2a9d8f, #21867a); }

.card-torneo-temp {
    font-size: 0.78rem;
    color: #6c757d;
    font-weight: 700;
    background: #f5f6fa;
    padding: 4px 10px;
    border-radius: 8px;
}

.card-torneo-body {
    padding: 14px 22px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-torneo-body h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 14px 0;
    line-height: 1.3;
    color: #0a0e1a;
    letter-spacing: -0.3px;
}

.card-torneo-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.78rem;
    margin-bottom: 12px;
}
.card-torneo-meta .badge {
    font-weight: 700;
    padding: 4px 10px;
    font-size: 0.72rem;
}
.card-torneo-meta .text-muted {
    background: #f5f6fa;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.card-torneo-desc {
    font-size: 0.87rem;
    color: #6c757d;
    margin-bottom: 18px;
    line-height: 1.55;
    flex: 1;
}
.card-torneo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.83rem;
    color: #495057;
    font-weight: 700;
}
.card-torneo-footer i.fa-arrow-right {
    color: #e63946;
    transition: transform 0.3s;
}
.card-torneo:hover .card-torneo-footer i.fa-arrow-right {
    transform: translateX(5px);
}

/* ============================================================
   EQUIPOS - DISEÑO v2 PROFESIONAL
   ============================================================ */
.card-equipo {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.card-equipo:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
}

.card-equipo-header {
    position: relative;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-equipo-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%);
}
.card-equipo-initial {
    position: relative;
    z-index: 1;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -1px;
    border: 3px solid rgba(255,255,255,0.5);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.card-equipo-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-equipo-body h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0a0e1a;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}
.card-equipo-body p {
    margin: 0 0 6px 0;
    font-size: 0.87rem;
    color: #495057;
    line-height: 1.5;
}
.card-equipo-body p:last-child {
    margin-bottom: 0;
}
.card-equipo-body .text-muted {
    color: #6c757d !important;
    font-size: 0.85rem;
}
.card-equipo-body i {
    color: #adb5bd;
    width: 16px;
    text-align: center;
    margin-right: 4px;
}
.card-equipo-desc {
    margin-top: 12px !important;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem !important;
    color: #6c757d !important;
    font-style: italic;
}

/* ============================================================
   BANNERS PUBLICITARIOS
   ============================================================ */
.ad-banner {
    display: block;
    position: relative;
    width: 100%;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
}

.ad-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.ad-banner-top {
    border-radius: 10px;
    overflow: hidden;
}

.ad-banner-top img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.ad-label {
    position: absolute;
    top: 8px;
    right: 10px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.6rem;
    padding: 3px 9px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    z-index: 2;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}



/* Placeholder para espacios vacíos */
.ad-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ced4da;
    border-radius: 10px;
    padding: 22px 20px;
    text-align: center;
    transition: all 0.3s;
}
.ad-placeholder:hover {
    border-color: #e63946;
    background: #fff5f5;
}
.ad-placeholder-content i {
    font-size: 1.8rem;
    color: #e63946;
    margin-bottom: 8px;
    display: block;
}
.ad-placeholder-content h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #495057;
    margin: 0 0 4px 0;
}
.ad-placeholder-content p {
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.btn-ad-contact {
    display: inline-block;
    background: #e63946;
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.25s;
}
.btn-ad-contact:hover {
    background: #c1121f;
    color: #fff;
    transform: translateY(-2px);
}

/* CTA grande de publicidad */
.ads-cta-banner {
    background: linear-gradient(135deg, #1d3557 0%, #0a0e1a 100%);
    border-radius: 16px;
    padding: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.ads-cta-banner h3 {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 6px;
}
.ads-cta-banner h3 i { color: #f77f00; }
.ads-cta-banner p {
    opacity: 0.9;
    font-size: 0.95rem;
}
.btn-ads-cta {
    background: #e63946;
    color: #fff;
    font-weight: 800;
    padding: 12px 26px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.btn-ads-cta:hover {
    background: #c1121f;
    color: #fff;
    transform: translateY(-2px);
}
.btn-ads-wsp {
    background: #25d366;
    color: #fff;
    font-weight: 800;
    padding: 12px 26px;
    border-radius: 25px;
    border: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.btn-ads-wsp:hover {
    background: #1eaf52;
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   FIX: Espaciado footer
   ============================================================ */
.main-footer {
    margin-top: 60px;
}

.main-content {
    min-height: 60vh;
    padding-bottom: 30px;
}

/* Ajuste del placeholder para que no quede pegado al footer */
.ad-placeholder + .main-footer,
section.container + .main-footer {
    margin-top: 60px;
}

/* El último contenedor antes del footer mantiene su margen */
.main-content > section:last-child {
    margin-bottom: 40px;
}

/* Footer CTA (barra roja) */
.footer-cta {
    background: linear-gradient(135deg, #e63946, #c1121f);
    color: #fff;
    padding: 30px 0;
}
.footer-cta-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 0 5px 0;
    color: #fff;
}
.footer-cta-text {
    opacity: 0.95;
    font-size: 0.95rem;
    margin: 0;
}
.btn-cta-ads {
    background: #fff;
    color: #e63946;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}
.btn-cta-ads:hover {
    background: #0a0e1a;
    color: #fff;
    transform: translateY(-3px);
}

/* Footer principal */
.footer-main {
    padding: 55px 0 30px;
}
.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #e63946;
    border-radius: 2px;
}
.footer-about {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #b8bcc8;
}
.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: #e63946;
    transform: translateY(-3px);
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 10px;
}
.footer-links a {
    color: #b8bcc8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: #e63946; }
.footer-links i {
    color: #e63946;
    font-size: 0.75rem;
    margin-right: 6px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    align-items: flex-start;
    color: #b8bcc8;
}
.footer-contact i {
    color: #e63946;
    width: 20px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact a {
    color: #b8bcc8;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-contact a:hover { color: #e63946; }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #b8bcc8;
}
.footer-legal {
    color: #b8bcc8;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.2s;
}
.footer-legal:hover { color: #e63946; }

/* Footer base */
.main-footer {
    background: #0a0e1a;
    color: #b8bcc8;
}

/* ============================================================
   LOGO MR DEPORTES
   ============================================================ */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}
.brand-logo {
    height: 55px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: transform 0.3s;
}
.brand-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .brand-logo { height: 42px; max-width: 200px; }
}

/* LOGO MR DEPORTES */
.navbar-brand { display: flex; align-items: center; padding: 0; }
.brand-logo { height: 55px; width: auto; max-width: 260px; object-fit: contain; transition: transform 0.3s; }
.brand-logo:hover { transform: scale(1.05); }
@media (max-width: 768px) { .brand-logo { height: 42px; max-width: 200px; } }

/* ============================================================
   SECCIÓN ¿QUIÉNES SOMOS?
   ============================================================ */
.nosotros-section {
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    border-radius: 20px;
    padding: 55px 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    border-left: 6px solid #e63946;
}
.nosotros-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(230,57,70,0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.nosotros-section::after {
    content: '\f1e0';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -30px;
    right: 30px;
    font-size: 150px;
    color: rgba(230,57,70,0.04);
    pointer-events: none;
}

.nosotros-header { padding-right: 20px; }
.nosotros-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e63946;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}
.nosotros-titulo {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0a0e1a;
    margin: 0 0 20px 0;
    line-height: 1.1;
    letter-spacing: -1px;
}
.nosotros-linea {
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, #e63946, #f77f00);
    border-radius: 3px;
}

.nosotros-contenido { position: relative; z-index: 1; }

.nosotros-destacado {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d3557;
    line-height: 1.7;
    margin-bottom: 18px;
    padding: 20px 25px;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #e63946;
    box-shadow: 0 3px 12px rgba(0,0,0,0.04);
    position: relative;
}
.nosotros-destacado i.fa-quote-left {
    color: #e63946;
    font-size: 1.2rem;
    margin-right: 8px;
}
.nosotros-destacado strong {
    color: #e63946;
}

.nosotros-texto {
    font-size: 1rem;
    color: #495057;
    line-height: 1.8;
    margin-bottom: 25px;
}
.nosotros-texto strong { color: #0a0e1a; }

.nosotros-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.nosotros-stat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    color: #495057;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: transform 0.25s, box-shadow 0.25s;
}
.nosotros-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(230,57,70,0.12);
    border-color: #e63946;
}
.nosotros-stat i {
    color: #e63946;
    font-size: 1rem;
}
.nosotros-stat strong { color: #0a0e1a; }

@media (max-width: 768px) {
    .nosotros-section { padding: 35px 25px; }
    .nosotros-titulo { font-size: 1.7rem; }
    .nosotros-destacado { font-size: 1rem; padding: 16px 18px; }
    .nosotros-texto { font-size: 0.95rem; }
    .nosotros-stats { flex-direction: column; }
    .nosotros-stat { width: 100%; justify-content: center; }
}

/* ============================================================
   NOSOTROS - DISEÑO CORPORATIVO
   ============================================================ */
.nosotros-corp {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(10,14,26,0.12);
    display: flex;
    flex-direction: column;
}

/* ============ Columna izquierda (branding) ============ */
.nosotros-corp-brand {
    background: linear-gradient(135deg, #0a0e1a 0%, #1d3557 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 100%;
}
.nosotros-corp-brand::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230,57,70,0.25), transparent 70%);
    border-radius: 50%;
}
.nosotros-corp-brand::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(247,127,0,0.15), transparent 70%);
    border-radius: 50%;
}

.nosotros-corp-brand-inner {
    position: relative;
    z-index: 1;
    padding: 45px 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nosotros-corp-logo {
    margin-bottom: 30px;
}
.nosotros-corp-logo img {
    height: 70px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
}

.nosotros-corp-since {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.nosotros-corp-since-num {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #e63946, #f77f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -3px;
}
.nosotros-corp-since-txt {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b8bcc8;
    line-height: 1.4;
}

.nosotros-corp-divider {
    width: 60px;
    height: 3px;
    background: #e63946;
    border-radius: 3px;
    margin-bottom: 25px;
}

.nosotros-corp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nosotros-corp-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #b8bcc8;
}
.nosotros-corp-list li i {
    color: #e63946;
    font-size: 0.95rem;
}

/* ============ Columna derecha (contenido) ============ */
.nosotros-corp-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nosotros-corp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: #f1f3f7;
    color: #e63946;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid #e9ecef;
}

.nosotros-corp-title {
    font-size: 2.4rem;
    font-weight: 900;
    color: #0a0e1a;
    margin: 0 0 22px 0;
    line-height: 1.1;
    letter-spacing: -1.2px;
}
.nosotros-corp-title span {
    color: #e63946;
    position: relative;
}
.nosotros-corp-title span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 4px;
    background: #e63946;
    border-radius: 2px;
    opacity: 0.4;
}

.nosotros-corp-lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1d3557;
    line-height: 1.7;
    margin-bottom: 16px;
}
.nosotros-corp-lead strong {
    color: #0a0e1a;
    font-weight: 800;
}

.nosotros-corp-text {
    font-size: 1rem;
    color: #495057;
    line-height: 1.75;
    margin-bottom: 32px;
}
.nosotros-corp-text strong {
    color: #0a0e1a;
    font-weight: 700;
}

/* Stats grid */
.nosotros-corp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}
.nosotros-corp-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nosotros-corp-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e63946, #f77f00);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.nosotros-corp-stat strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #0a0e1a;
    line-height: 1.2;
}
.nosotros-corp-stat span {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.2;
}

/* CTA */
.nosotros-corp-cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a0e1a;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 13px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
}
.nosotros-corp-cta:hover {
    background: #e63946;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(230,57,70,0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .nosotros-corp-brand-inner { padding: 35px 30px; }
    .nosotros-corp-content { padding: 35px 30px; }
    .nosotros-corp-title { font-size: 1.9rem; }
    .nosotros-corp-stats { grid-template-columns: 1fr; gap: 15px; }
}
@media (max-width: 576px) {
    .nosotros-corp-since-num { font-size: 3rem; }
    .nosotros-corp-logo img { height: 55px; }
}

/* Botón "Ver todas las noticias" */
.btn-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0a0e1a;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 15px 35px;
    border-radius: 35px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(10,14,26,0.15);
}
.btn-ver-todas:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(230,57,70,0.35);
}
.btn-ver-todas i {
    transition: transform 0.3s;
}
.btn-ver-todas:hover i {
    transform: translateX(6px);
}

/* ============================================================
   FIX: Layout de comentarios
   ============================================================ */
.comentario-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 18px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.comentario-item:last-child {
    border-bottom: none !important;
}

.comentario-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    border-radius: 50% !important;
    background: #f0f2f5 !important;
    color: #495057 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
}

.comentario-body {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.comentario-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
    flex-wrap: wrap !important;
}

.comentario-nombre {
    font-weight: 600 !important;
    color: #0a0e1a !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

.comentario-fecha {
    font-size: 0.78rem !important;
    color: #adb5bd !important;
    font-weight: 400 !important;
}

.comentario-texto {
    color: #495057 !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    font-size: 0.92rem !important;
    word-break: break-word !important;
}

/* Mejorar la separación del formulario */
.comentario-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding-top: 20px !important;
    margin-top: 15px !important;
    border-top: 1px solid #f0f0f0 !important;
}

.comentario-form form {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.comentario-form textarea {
    border: 1px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 12px 14px !important;
    font-size: 0.92rem !important;
    background: #fff !important;
    min-height: 90px !important;
    resize: vertical !important;
}

.comentario-form textarea:focus {
    border-color: #0a0e1a !important;
    box-shadow: none !important;
    outline: none !important;
}

.comentario-form .btn-primary {
    background: #0a0e1a !important;
    border: none !important;
    padding: 8px 20px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
}

.comentario-form .btn-primary:hover {
    background: #e63946 !important;
}

/* Separación del título */
.comentarios-section {
    margin-top: 50px !important;
    padding-top: 30px !important;
    border-top: 1px solid #e5e5e5 !important;
}

.comentarios-titulo {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #0a0e1a !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.comentarios-titulo i {
    color: #6c757d !important;
    font-size: 1rem !important;
}

.comentarios-titulo span {
    color: #adb5bd !important;
    font-weight: 400 !important;
}

/* Compartir más discreto */
.detalle-compartir {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 20px 0 !important;
    margin-bottom: 20px !important;
}

.detalle-compartir strong {
    color: #adb5bd !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.btn-share {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 0.85rem !important;
    opacity: 0.85 !important;
    transition: opacity 0.2s !important;
}

.btn-share:hover {
    opacity: 1 !important;
    color: #fff !important;
}

/* Móvil */
@media (max-width: 768px) {
    .comentario-form {
        flex-direction: column !important;
    }
    .comentario-avatar {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }
}

/* Banner redimensionado - limitar altura máxima */
.ad-banner-top {
    max-height: 250px;
    margin: 0 auto;
}

.ad-banner-top img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    display: block;
}

/* ============================================================
   OVERRIDE FINAL: Banner top compacto (110px)
   Este bloque gana a todos los anteriores por estar al final
   ============================================================ */
.ad-banner-top {
    max-height: 110px !important;
    height: 110px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    display: block !important;
    width: 100% !important;
    position: relative !important;
    margin: 0 0 20px 0 !important;
}

.ad-banner-top img {
    width: 100% !important;
    height: 110px !important;
    max-height: 110px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

.ad-banner-top .ad-label {
    top: 8px !important;
    right: 12px !important;
}

.ad-banner-top {
    height: 200px !important;
    max-height: 200px !important;
}
.ad-banner-top img {
    height: 200px !important;
    max-height: 200px !important;
}

/* Logo en login/registro */
.auth-logo {
    display: block;
    text-align: center;
    margin-bottom: 25px;
    text-decoration: none;
}

.auth-logo-img {
    height: 70px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: inline-block;
}

@media (max-width: 576px) {
    .auth-logo-img {
        height: 55px;
        max-width: 200px;
    }
}

/* ============================================================
   LOGIN - Tarjeta oscura para que resalte el logo
   ============================================================ */
.auth-card {
    background: linear-gradient(135deg, #0a0e1a 0%, #1d3557 100%) !important;
    color: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
}

.auth-title {
    color: #fff !important;
}

.auth-subtitle {
    color: rgba(255,255,255,0.7) !important;
}

.auth-form .form-label {
    color: #e9ecef !important;
}

.auth-form .form-control {
    background: rgba(255,255,255,0.06) !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

.auth-form .form-control:focus {
    background: rgba(255,255,255,0.1) !important;
    border-color: #e63946 !important;
    color: #fff !important;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.2) !important;
}

.auth-form .form-control::placeholder {
    color: rgba(255,255,255,0.4) !important;
}

.auth-form .input-group .btn-outline-secondary {
    border-color: rgba(255,255,255,0.1) !important;
    color: #adb5bd !important;
    background: rgba(255,255,255,0.06) !important;
}

.auth-form .input-group .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}

/* Enlaces inferiores */
.auth-card p {
    color: rgba(255,255,255,0.8) !important;
}

.auth-card p a {
    color: #e63946 !important;
    font-weight: 700;
}

.auth-card hr {
    border-color: rgba(255,255,255,0.1) !important;
}

/* Alertas */
.auth-card .alert-danger {
    background: rgba(230,57,70,0.15) !important;
    border: 1px solid rgba(230,57,70,0.3) !important;
    color: #ff8a95 !important;
}

.auth-card .alert-success {
    background: rgba(42,157,143,0.15) !important;
    border: 1px solid rgba(42,157,143,0.3) !important;
    color: #7dd3c8 !important;
}

/* Credenciales demo */
.auth-demo {
    background: rgba(255,255,255,0.05) !important;
    border-left: 4px solid #e63946 !important;
}

.auth-demo code {
    background: rgba(0,0,0,0.3) !important;
    color: #f77f00 !important;
}

/* Logo destacado en login */
.auth-logo-img {
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.15));
}

/* Fondo oscuro solo detrás del logo */
.auth-logo {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0a0e1a, #1d3557);
    border-radius: 12px;
    margin-bottom: 20px;
}

.auth-logo-img {
    height: 60px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

/* ============================================================
   LOGIN - OVERRIDE FINAL v3 (gana a todos los anteriores)
   ============================================================ */
.auth-body {
    background: linear-gradient(135deg, #0a0e1a 0%, #1d3557 100%) !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px 15px !important;
}

.auth-container {
    width: 100% !important;
    max-width: 460px !important;
}

.auth-card {
    background: #ffffff !important;
    color: #1a1a1a !important;
    border-radius: 20px !important;
    padding: 40px 35px !important;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5) !important;
    border: none !important;
}

.auth-logo {
    display: inline-block !important;
    padding: 14px 22px !important;
    background: linear-gradient(135deg, #0a0e1a, #1d3557) !important;
    border-radius: 14px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 8px 20px rgba(10,14,26,0.2) !important;
    text-align: center !important;
}

.auth-logo-img {
    height: 60px !important;
    width: auto !important;
    max-width: 240px !important;
    object-fit: contain !important;
    display: block !important;
}

.auth-title {
    color: #0a0e1a !important;
    font-weight: 900 !important;
    font-size: 1.6rem !important;
    text-align: center !important;
    margin-bottom: 6px !important;
}

.auth-subtitle {
    color: #6c757d !important;
    text-align: center !important;
    font-size: 0.9rem !important;
    margin-bottom: 25px !important;
}

.auth-form .form-label {
    color: #0a0e1a !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
}

.auth-form .form-control {
    background: #f8f9fa !important;
    border: 2px solid #e5e5e5 !important;
    color: #1a1a1a !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
}

.auth-form .form-control:focus {
    background: #fff !important;
    border-color: #e63946 !important;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1) !important;
    color: #1a1a1a !important;
}

.auth-form .form-control::placeholder {
    color: #adb5bd !important;
}

.auth-form .input-group .btn-outline-secondary {
    border: 2px solid #e5e5e5 !important;
    border-left: none !important;
    color: #6c757d !important;
    background: #f8f9fa !important;
    border-radius: 0 10px 10px 0 !important;
}

.auth-form .input-group .btn-outline-secondary:hover {
    background: #e9ecef !important;
    color: #0a0e1a !important;
}

.auth-form .btn-primary,
.auth-form button[type="submit"] {
    background: linear-gradient(135deg, #e63946, #c1121f) !important;
    border: none !important;
    padding: 14px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #fff !important;
    width: 100% !important;
    box-shadow: 0 8px 20px rgba(230,57,70,0.3) !important;
}

.auth-form .btn-primary:hover,
.auth-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #c1121f, #a00e18) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 30px rgba(230,57,70,0.4) !important;
}

.auth-card hr {
    border-color: #e5e5e5 !important;
    margin: 24px 0 !important;
    opacity: 1 !important;
}

.auth-card p {
    color: #6c757d !important;
    text-align: center !important;
    font-size: 0.9rem !important;
}

.auth-card p a {
    color: #e63946 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.auth-card .alert-danger {
    background: #fff5f5 !important;
    border: 1px solid #ffcccc !important;
    color: #c1121f !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
}

.auth-card .alert-success {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
    color: #15803d !important;
    border-radius: 10px !important;
    font-size: 0.9rem !important;
}

.auth-demo {
    background: #f8f9fa !important;
    border-left: 4px solid #e63946 !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    margin-top: 20px !important;
}

.auth-demo small {
    color: #495057 !important;
    font-size: 0.8rem !important;
    line-height: 1.6 !important;
}

.auth-demo code {
    background: #fff !important;
    color: #c1121f !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-size: 0.78rem !important;
    border: 1px solid #e5e5e5 !important;
}

.auth-footer {
    text-align: center !important;
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.82rem !important;
    margin-top: 25px !important;
}

/* ============================================================
   FIX: Centrar la tarjeta de login en la pantalla
   ============================================================ */
.auth-body {
    background: linear-gradient(135deg, #0a0e1a 0%, #1d3557 100%) !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
}

.auth-container {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.auth-card {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
}

.auth-footer {
    text-align: center !important;
    width: 100% !important;
}

/* ============================================================
   FIX v37: Centrado real del login
   ============================================================ */
html body.auth-body {
    background: linear-gradient(135deg, #0a0e1a 0%, #1d3557 100%) !important;
    margin: 0 !important;
    padding: 20px !important;
    min-height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

html body.auth-body > div.auth-container {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;              /* ← QUITAMOS flex */
    flex-direction: initial !important;      /* ← QUITAMOS column */
    align-items: initial !important;         /* ← QUITAMOS center */
    justify-content: initial !important;     /* ← QUITAMOS center */
    text-align: center !important;
}

html body.auth-body > div.auth-container > div.auth-card {
    width: 100% !important;
    max-width: 460px !important;
    margin: 0 auto !important;
    padding: 40px 35px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5) !important;
    box-sizing: border-box !important;
    text-align: left !important;
}

html body.auth-body > div.auth-container > p.auth-footer {
    width: 100% !important;
    text-align: center !important;
    margin: 20px auto 0 !important;
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.82rem !important;
}

/* ============================================================
   FIX v38: Centrar el logo del login
   ============================================================ */
html body.auth-body .auth-card > a.auth-logo,
html body.auth-body .auth-card .auth-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto 25px auto !important;
    padding: 14px 22px !important;
    background: linear-gradient(135deg, #0a0e1a, #1d3557) !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 20px rgba(10,14,26,0.2) !important;
    width: fit-content !important;
    max-width: 100% !important;
}

html body.auth-body .auth-logo-img {
    display: block !important;
    margin: 0 auto !important;
    height: 60px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
}

/* ============================================================
   RESPONSIVE MÓVIL — Ajustes globales
   ============================================================ */

/* ---------- Tablets (≤ 991px) ---------- */
@media (max-width: 991px) {

    /* Hero más compacto */
    .hero-section {
        padding: 50px 0 !important;
    }
    .hero-section h1 {
        font-size: 2.2rem !important;
    }
    .hero-section p {
        font-size: 1rem !important;
    }

    /* Detalle de noticia: sin hero gigante */
    .detalle-hero {
        height: 350px !important;
    }
    .detalle-titulo {
        font-size: 1.8rem !important;
    }
    .detalle-resumen {
        font-size: 1.05rem !important;
        padding-left: 15px !important;
    }
    .detalle-contenido p {
        font-size: 1rem !important;
    }

    /* Sección "Quiénes somos" en columna */
    .nosotros-corp-brand-inner {
        padding: 35px 25px !important;
    }
    .nosotros-corp-content {
        padding: 35px 25px !important;
    }
    .nosotros-corp-title {
        font-size: 1.9rem !important;
    }

    /* Banner top más delgado */
    .ad-banner-top {
        height: 90px !important;
    }
    .ad-banner-top img {
        height: 90px !important;
    }
}

/* ---------- Móvil (≤ 768px) ---------- */
@media (max-width: 768px) {

    /* ---------- Navbar ---------- */
    .navbar-brand .brand-logo {
        height: 42px !important;
        max-width: 180px !important;
    }
    .navbar-nav {
        padding: 15px 0 !important;
        background: rgba(0,0,0,0.15) !important;
        border-radius: 10px !important;
        margin-top: 10px !important;
    }
    .navbar-nav .nav-item {
        padding: 4px 0 !important;
    }
    .navbar-nav .nav-link {
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    .navbar-nav .btn-login {
        display: block !important;
        margin: 10px 15px !important;
        text-align: center !important;
    }

    /* Top bar */
    .top-bar {
        font-size: 0.75rem !important;
    }
    .top-bar .fecha {
        font-size: 0.7rem !important;
    }

    /* Hero */
    .hero-section {
        padding: 40px 15px !important;
        margin-bottom: 20px !important;
    }
    .hero-section h1 {
        font-size: 1.7rem !important;
        margin-bottom: 10px !important;
    }
    .hero-section p {
        font-size: 0.9rem !important;
    }

    /* Categorías (pills) scrollables */
    .categorias-bar,
    .niveles-bar {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 10px !important;
        scrollbar-width: thin !important;
    }
    .categorias-bar::-webkit-scrollbar,
    .niveles-bar::-webkit-scrollbar {
        height: 4px !important;
    }
    .cat-pill,
    .nivel-pill {
        flex-shrink: 0 !important;
        font-size: 0.8rem !important;
        padding: 8px 14px !important;
    }

    /* Tarjetas de noticias */
    .card-noticia img {
        height: 180px !important;
    }
    .card-noticia .card-body {
        padding: 15px !important;
    }
    .card-noticia h5 {
        font-size: 1rem !important;
    }
    .card-noticia p {
        font-size: 0.85rem !important;
    }

    /* Detalle de noticia */
    .detalle-hero {
        height: 260px !important;
    }
    .detalle-titulo {
        font-size: 1.4rem !important;
        line-height: 1.25 !important;
    }
    .detalle-meta {
        font-size: 0.8rem !important;
        gap: 10px !important;
    }
    .detalle-resumen {
        font-size: 0.95rem !important;
    }
    .detalle-contenido p {
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    /* Compartir */
    .detalle-compartir {
        flex-wrap: wrap !important;
    }
    .btn-share {
        width: 36px !important;
        height: 36px !important;
    }

    /* Declaración */
    .declaracion-destacada {
        flex-direction: column !important;
        padding: 25px 20px !important;
        gap: 15px !important;
        text-align: center !important;
    }
    .declaracion-foto img,
    .declaracion-foto-inicial {
        width: 80px !important;
        height: 80px !important;
        font-size: 2rem !important;
    }
    .declaracion-texto {
        font-size: 1rem !important;
    }

    /* Sección Quiénes somos */
    .nosotros-corp-title {
        font-size: 1.6rem !important;
    }
    .nosotros-corp-stats {
        grid-template-columns: 1fr !important;
    }
    .nosotros-corp-logo img {
        height: 50px !important;
    }
    .nosotros-corp-since-num {
        font-size: 3rem !important;
    }

    /* Tarjetas de equipos */
    .card-equipo-header {
        height: 110px !important;
    }
    .card-equipo-initial {
        width: 65px !important;
        height: 65px !important;
        font-size: 1.4rem !important;
    }
    .card-equipo-body {
        padding: 15px !important;
    }

    /* Tarjetas de partidos */
    .match-body {
        padding: 18px 12px !important;
    }
    .team-shield {
        width: 50px !important;
        height: 50px !important;
        font-size: 1rem !important;
    }
    .team span {
        font-size: 0.8rem !important;
    }
    .match-time {
        font-size: 1.3rem !important;
    }
    .match-score .score {
        font-size: 1.7rem !important;
        gap: 8px !important;
    }

    /* Torneos */
    .card-torneo-body {
        padding: 15px !important;
    }
    .card-torneo-body h4 {
        font-size: 1rem !important;
    }

    /* Comentarios */
    .comentarios-section {
        padding: 25px 15px !important;
        margin-top: 30px !important;
    }
    .comentarios-titulo {
        font-size: 1.1rem !important;
    }
    .comentario-form {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .comentario-avatar {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.9rem !important;
    }
    .comentario-nombre {
        font-size: 0.9rem !important;
    }
    .comentario-texto {
        font-size: 0.88rem !important;
    }

    /* CTA Publicidad */
    .ads-cta-banner {
        padding: 25px 20px !important;
    }
    .ads-cta-banner h3 {
        font-size: 1.2rem !important;
    }
    .btn-ads-cta,
    .btn-ads-wsp {
        width: 100% !important;
        margin: 5px 0 !important;
        font-size: 0.85rem !important;
        padding: 12px 20px !important;
    }

    /* Footer */
    .footer-main {
        padding: 35px 0 20px !important;
    }
    .footer-title {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
    }
    .footer-cta {
        padding: 22px 0 !important;
    }
    .footer-cta-title {
        font-size: 1.2rem !important;
    }
    .footer-cta-text {
        font-size: 0.85rem !important;
    }
    .btn-cta-ads {
        font-size: 0.85rem !important;
        padding: 10px 22px !important;
    }
    .footer-social a {
        width: 38px !important;
        height: 38px !important;
    }

    /* Placeholder publicidad */
    .ad-placeholder {
        padding: 20px 15px !important;
    }
    .ad-placeholder-content h4 {
        font-size: 0.95rem !important;
    }
    .ad-placeholder-content p {
        font-size: 0.82rem !important;
    }

    /* Paginación */
    .pagination .page-link {
        padding: 8px 12px !important;
        font-size: 0.85rem !important;
    }
}

/* ---------- Móvil chico (≤ 576px) ---------- */
@media (max-width: 576px) {

    /* Logo aún más chico */
    .navbar-brand .brand-logo {
        height: 36px !important;
        max-width: 140px !important;
    }

    /* Hero aún más chico */
    .hero-section {
        padding: 30px 10px !important;
    }
    .hero-section h1 {
        font-size: 1.4rem !important;
    }
    .hero-section p {
        font-size: 0.85rem !important;
    }

    /* Noticias más chicas */
    .card-noticia img {
        height: 160px !important;
    }

    /* Detalle */
    .detalle-hero {
        height: 220px !important;
    }
    .detalle-titulo {
        font-size: 1.2rem !important;
    }

    /* Botones grandes */
    .btn-ver-todas {
        font-size: 0.85rem !important;
        padding: 12px 25px !important;
    }

    /* Sección nosotros más compacta */
    .nosotros-corp-since-num {
        font-size: 2.5rem !important;
    }
    .nosotros-corp-title {
        font-size: 1.4rem !important;
    }

    /* Match cards compactas */
    .team-shield {
        width: 42px !important;
        height: 42px !important;
        font-size: 0.85rem !important;
    }
    .team span {
        font-size: 0.75rem !important;
    }
    .match-time {
        font-size: 1.1rem !important;
    }
    .match-score .score {
        font-size: 1.4rem !important;
    }

    /* Footer */
    .footer-bottom {
        padding: 15px 0 !important;
        font-size: 0.75rem !important;
        text-align: center !important;
    }
    .footer-legal {
        margin: 0 8px !important;
        display: inline-block !important;
    }
}

/* ---------- Prevenir overflow horizontal en cualquier pantalla ---------- */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

img {
    max-width: 100% !important;
    height: auto !important;
}

/* ============================================================
   FIX v42: Navbar desktop TOTAL
   ============================================================ */
@media screen and (min-width: 992px) {
    /* LOGO */
    .main-header .navbar .navbar-brand,
    .main-header .navbar a.navbar-brand {
        padding: 0 !important;
        margin: 0 20px 0 0 !important;
        display: flex !important;
        align-items: center !important;
        height: 100% !important;
    }

    .main-header .navbar .navbar-brand img,
    .main-header .navbar .navbar-brand .brand-logo,
    .main-header .navbar img.brand-logo {
        height: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        width: auto !important;
        max-width: 170px !important;
        object-fit: contain !important;
        display: block !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-header .navbar .navbar-brand:hover img {
        transform: none !important;
    }

    /* BOTÓN INICIAR SESIÓN */
    .main-header .navbar .navbar-nav li.nav-item > a.btn-login,
    .main-header .navbar .navbar-nav .nav-item .btn-login,
    .main-header .navbar a.btn-login,
    .main-header .btn-login {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: #e63946 !important;
        background-image: none !important;
        color: #fff !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        padding: 7px 16px !important;
        margin: 0 0 0 10px !important;
        border-radius: 20px !important;
        min-width: 0 !important;
        max-width: none !important;
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 34px !important;
        box-shadow: none !important;
        border: none !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        transform: none !important;
    }

    .main-header .navbar a.btn-login:hover {
        background-color: #c1121f !important;
    }

    /* ICONO dentro del botón */
    .main-header .navbar .btn-login i {
        font-size: 0.85rem !important;
        margin-right: 5px !important;
    }

    /* LINKS del menú */
    .main-header .navbar-nav {
        align-items: center !important;
    }

    .main-header .navbar-nav .nav-link {
        font-size: 0.82rem !important;
        padding: 8px 14px !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        line-height: 1.4 !important;
    }

    /* NAVBAR general */
    .main-header .navbar {
        padding: 12px 0 !important;
        min-height: 70px !important;
        max-height: 80px !important;
    }

    /* Dropdown de usuario */
    .main-header .navbar-nav .dropdown-toggle {
        font-size: 0.82rem !important;
        padding: 7px 14px !important;
    }

    .main-header .navbar-nav .dropdown-toggle::after {
        margin-left: 6px !important;
    }
}

/* ============================================================
   FIX v43: Quitar fondo blanco del logo
   ============================================================ */

/* Logo en la sección "Quiénes Somos" */
.nosotros-corp-logo {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
}

.nosotros-corp-logo img {
    background: transparent !important;
    padding: 0 !important;
    height: 70px !important;
    width: auto !important;
    max-width: 240px !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    /* Quitar fondo blanco usando blend mode */
    mix-blend-mode: screen !important;
}

/* Logo en el navbar */
.main-header .navbar-brand img,
.main-header .navbar-brand .brand-logo {
    background: transparent !important;
    padding: 0 !important;
    /* Blend mode screen para que se vea bien en navbar oscuro */
    mix-blend-mode: screen !important;
}

/* Logo en el footer */
.footer-logo-img {
    background: transparent !important;
    padding: 0 !important;
    mix-blend-mode: screen !important;
}

/* Logo en el admin sidebar */
.admin-brand-logo {
    background: transparent !important;
    padding: 0 !important;
    mix-blend-mode: screen !important;
}

/* Logo en login */
.auth-logo {
    background: transparent !important;
    padding: 0 !important;
}
.auth-logo-img {
    background: transparent !important;
    mix-blend-mode: screen !important;
}

/* ============================================================
   SELECTOR DE IDIOMA
   ============================================================ */
.lang-switcher .nav-link {
    font-size: 0.82rem !important;
    padding: 8px 12px !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.lang-switcher .nav-link i {
    color: #e63946;
    font-size: 0.9rem;
}

.lang-switcher .nav-link:hover {
    color: #e63946 !important;
}

.lang-switcher .dropdown-menu {
    min-width: 160px;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 8px;
}

.lang-switcher .dropdown-item {
    font-size: 0.88rem;
    padding: 9px 14px;
    border-radius: 8px;
    transition: background 0.2s;
}

.lang-switcher .dropdown-item:hover {
    background: #f0f2f5;
}

.lang-switcher .dropdown-item.active {
    background: #e63946;
    color: #fff !important;
}

.lang-switcher .dropdown-item.active:hover {
    background: #c1121f;
}

/* ============================================================
   OVERRIDE FINAL: Banner top más pequeño (90px)
   ============================================================ */
.ad-banner-top {
    max-height: 90px !important;
    height: 90px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.ad-banner-top img {
    width: 100% !important;
    height: 90px !important;
    max-height: 90px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
}

/* En móvil aún más pequeño */
@media (max-width: 768px) {
    .ad-banner-top,
    .ad-banner-top img {
        height: 70px !important;
        max-height: 70px !important;
    }
}

/* ============================================================
   TARJETAS DE DEPORTISTAS
   ============================================================ */
.card-deportista {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border: 1px solid #f0f0f0;
}
.card-deportista:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.14);
    color: inherit;
}
.card-deportista-foto {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #1d3557, #457b9d);
}
.card-deportista-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.card-deportista-foto-inicial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
}
.card-deportista-star {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    background: #f77f00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.card-deportista-deporte {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(4px);
}
.card-deportista-body { padding: 20px; }
.card-deportista-body h4 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: #0a0e1a;
    line-height: 1.3;
}
.card-deportista-body p {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0 0 6px 0;
}
.card-deportista-body p i {
    color: #e63946;
    width: 16px;
    margin-right: 4px;
}
.card-deportista-sucre {
    color: #1d3557 !important;
    font-weight: 600;
    margin-top: 10px !important;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* Detalle del deportista */
.deportista-detalle-foto {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    aspect-ratio: 1 / 1;
}
.deportista-detalle-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}
.deportista-detalle-inicial {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1d3557, #457b9d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
}
.deportista-logros {
    background: #f8f9fa;
    border-left: 4px solid #f77f00;
    border-radius: 10px;
    padding: 20px 25px;
    color: #495057;
    line-height: 1.7;
}
.deportista-datos {
    border-top: 1px solid #f0f0f0;
    padding-top: 25px;
}
.deportista-dato {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px 18px;
    border-left: 3px solid #e63946;
}
.deportista-dato i {
    font-size: 1.3rem;
    color: #e63946;
}
.deportista-dato strong {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.deportista-dato span {
    color: #0a0e1a;
    font-weight: 600;
}

/* ============================================================
   BANNER INFO DEPORTISTAS
   ============================================================ */
.deportistas-info-banner {
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    color: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 10px 30px rgba(29,53,87,0.2);
}
.deportistas-info-banner h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.deportistas-info-banner p {
    opacity: 0.9;
    font-size: 0.95rem;
}
.badge-deportistas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}
.badge-deportistas i {
    color: #f77f00;
}

/* ============================================================
   Filtros de equipos
   ============================================================ */
.filtros-equipos {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.filtro-grupo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.filtro-label {
    font-weight: 700;
    color: #6c757d;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

/* Estrella en equipos destacados */
.card-equipo-star {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f77f00;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Badge de nivel */
.card-equipo-nivel {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.5px;
    z-index: 2;
}
.card-equipo-nivel.nivel-semiprofesional { background: #f77f00; }
.card-equipo-nivel.nivel-local { background: #2a9d8f; }
.card-equipo-nivel.nivel-amateur { background: #6c757d; }
.card-equipo-nivel.nivel-juvenil { background: #764ba2; }

/* Liga */
.card-equipo-liga {
    color: #e63946 !important;
    font-weight: 700;
    font-size: 0.85rem !important;
    margin-bottom: 10px !important;
}
.card-equipo-liga i {
    color: #f77f00 !important;
}

/* Header de card equipo: posición relativa */
.card-equipo-header {
    position: relative;
}

/* ============================================================
   TARJETAS DE EQUIPOS - MINIMALISTAS
   ============================================================ */
.liga-section {
    margin-bottom: 50px;
}
.liga-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}
.liga-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.liga-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    color: #0a0e1a;
}
.liga-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.liga-count {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Tarjeta minimalista */
.team-card-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    height: 100%;
}
.team-card-mini:hover {
    border-color: #e63946;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230,57,70,0.1);
    color: inherit;
}

.team-card-logo {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    overflow: hidden;
}
.team-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}
.team-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #1d3557, #457b9d);
    border-radius: 50%;
}

.team-card-info {
    flex: 1;
    min-width: 0;
}
.team-card-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    color: #0a0e1a;
    line-height: 1.3;
}
.team-card-info small {
    display: block;
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.4;
}
.team-card-info small i {
    color: #adb5bd;
    width: 12px;
    font-size: 0.7rem;
    margin-right: 3px;
}

.team-card-arrow,
.team-card-external {
    color: #adb5bd;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.team-card-mini:hover .team-card-arrow,
.team-card-mini:hover .team-card-external {
    color: #e63946;
}

/* Responsive */
@media (max-width: 576px) {
    .team-card-logo {
        width: 45px;
        height: 45px;
    }
    .team-card-info h4 {
        font-size: 0.88rem;
    }
}

/* ============================================================
   FORMULARIO DE CONTACTO
   ============================================================ */
.contacto-info {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
}
.contacto-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 25px;
}
.contacto-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.contacto-info-item i {
    width: 40px;
    height: 40px;
    background: #e63946;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.contacto-info-item strong {
    display: block;
    color: #0a0e1a;
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.contacto-info-item span {
    color: #6c757d;
    font-size: 0.9rem;
}
.contacto-redes h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.contacto-red {
    width: 42px;
    height: 42px;
    background: #0a0e1a;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}
.contacto-red:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-3px);
}

.contacto-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.contacto-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0a0e1a;
}
.contacto-form .form-control {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
}
.contacto-form .form-control:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

/* Tipo selector */
.tipo-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.tipo-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.tipo-option input {
    display: none;
}
.tipo-option i {
    font-size: 1.3rem;
    color: #6c757d;
}
.tipo-option span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
}
.tipo-option:hover {
    border-color: #e63946;
}
.tipo-option.active {
    background: #fff5f5;
    border-color: #e63946;
}
.tipo-option.active i {
    color: #e63946;
}
.tipo-option.active span {
    color: #e63946;
}

@media (max-width: 576px) {
    .tipo-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacto-form-card {
        padding: 25px 20px;
    }
}

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal-content {
    background: #fff;
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    font-size: 1rem;
    line-height: 1.75;
    color: #495057;
}
.legal-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a0e1a;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    letter-spacing: -0.3px;
}
.legal-content h2:first-child {
    margin-top: 0;
}
.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d3557;
    margin-top: 25px;
    margin-bottom: 10px;
}
.legal-content p {
    margin-bottom: 15px;
    text-align: justify;
}
.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}
.legal-content li {
    margin-bottom: 8px;
    line-height: 1.65;
}
.legal-content strong {
    color: #0a0e1a;
    font-weight: 700;
}
.legal-content a {
    color: #e63946;
    text-decoration: underline;
}
.legal-content a:hover {
    color: #c1121f;
}
.legal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 25px 20px;
        font-size: 0.95rem;
    }
    .legal-content h2 {
        font-size: 1.2rem;
    }
    .legal-content h3 {
        font-size: 1rem;
    }
    .legal-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   CATEGORÍAS EN UNA SOLA LÍNEA CON SCROLL HORIZONTAL
   ============================================================ */
.categorias-bar,
.niveles-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 6px 4px 10px 4px !important;
    margin-bottom: 25px !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: #ced4da transparent !important;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

/* Scrollbar estilizada para Chrome/Safari/Edge */
.categorias-bar::-webkit-scrollbar,
.niveles-bar::-webkit-scrollbar {
    height: 6px !important;
}
.categorias-bar::-webkit-scrollbar-track,
.niveles-bar::-webkit-scrollbar-track {
    background: #f0f2f5 !important;
    border-radius: 10px !important;
}
.categorias-bar::-webkit-scrollbar-thumb,
.niveles-bar::-webkit-scrollbar-thumb {
    background: #ced4da !important;
    border-radius: 10px !important;
}
.categorias-bar::-webkit-scrollbar-thumb:hover,
.niveles-bar::-webkit-scrollbar-thumb:hover {
    background: #adb5bd !important;
}

/* Botones (pills) no deben encogerse */
.cat-pill,
.nivel-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    border-radius: 22px !important;
    transition: all 0.2s !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Botón activo con más contraste */
.cat-pill.active,
.nivel-pill.active {
    box-shadow: 0 4px 12px rgba(230,57,70,0.25) !important;
    transform: translateY(-1px);
}

/* Scroll suave en móvil - reducir el ancho */
@media (max-width: 768px) {
    .categorias-bar,
    .niveles-bar {
        gap: 6px !important;
        padding: 4px 2px 8px 2px !important;
    }
    .cat-pill,
    .nivel-pill {
        padding: 7px 13px !important;
        font-size: 0.8rem !important;
    }
    .cat-pill i,
    .nivel-pill i {
        font-size: 0.75rem !important;
    }
}

/* Ocultar el mask cuando no hay overflow (opcional) */
@media (max-width: 1400px) {
    .categorias-bar,
    .niveles-bar {
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }
}

/* Quitar barra de scroll visible */
.categorias-bar::-webkit-scrollbar,
.niveles-bar::-webkit-scrollbar {
    display: none !important;
}
.categorias-bar,
.niveles-bar {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Centrar si no hay muchas */
.categorias-bar:not(:has(.cat-pill:nth-child(8))),
.niveles-bar:not(:has(.nivel-pill:nth-child(8))) {
    justify-content: center !important;
}


/* ============================================================
   SCROLL HORIZONTAL DE CATEGORÍAS
   ============================================================ */
.categorias-scroll-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.categorias-scroll-wrapper .categorias-bar,
.categorias-scroll-wrapper .niveles-bar {
    margin-bottom: 0 !important;
    flex: 1;
    min-width: 0;
}

.scroll-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e9ecef;
    color: #495057;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    z-index: 3;
}

.scroll-btn:hover {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}

.scroll-btn:active {
    transform: scale(0.95);
}

.scroll-btn:disabled,
.scroll-btn[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.scroll-left { order: -1; }

@media (max-width: 768px) {
    .scroll-btn { display: none; }
    .categorias-scroll-wrapper { gap: 0; }
}

/* ============================================================
   TARJETAS DE SOCIALES
   ============================================================ */
.card-noticia-social {
    position: relative;
}

.card-noticia-social img {
    transition: transform 0.4s ease;
}

.card-noticia-social:hover img {
    transform: scale(1.05);
}

.card-noticia-social > a {
    display: block;
    overflow: hidden;
    position: relative;
}

.card-social-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #764ba2, #667eea);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(118,75,162,0.35);
}

.card-social-badge i {
    margin-right: 4px;
    font-size: 0.65rem;
}

.card-noticia-social:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(118,75,162,0.2);
}
/* ============================================================
   FIX: GRID EDITORIAL - ULTIMAS NOTICIAS
   ============================================================ */
.grid-editorial { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-bottom: 30px; }
@media (max-width: 992px) { .grid-editorial { grid-template-columns: 1fr; } }

.noticia-principal { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); height: 100%; }
.noticia-principal-img { width: 100%; height: 380px; overflow: hidden; }
.noticia-principal-img img { width: 100%; height: 100%; object-fit: cover; }
.noticia-principal-body { padding: 25px; display: flex; flex-direction: column; flex: 1; }
.noticia-principal-body h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; color: #0a0e1a; line-height: 1.3; }
.noticia-principal-body p { color: #6c757d; font-size: 0.95rem; line-height: 1.6; margin-bottom: 15px; flex: 1; }
.noticia-meta { display: flex; gap: 15px; font-size: 0.8rem; color: #adb5bd; margin-top: auto; padding-top: 15px; border-top: 1px solid #f0f0f0; }
.categoria-badge { position: absolute; top: 15px; left: 15px; color: #fff; font-size: 0.75rem; font-weight: 800; padding: 6px 14px; border-radius: 20px; text-transform: uppercase; z-index: 2; }

.grid-secundarias { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 576px) { .grid-secundarias { grid-template-columns: 1fr; } }

.noticia-mini { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 2px 10px rgba(0,0,0,0.05); height: 100%; }
.noticia-mini-img { width: 100%; height: 120px; overflow: hidden; }
.noticia-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.noticia-mini-body { padding: 15px; display: flex; flex-direction: column; flex: 1; }
.categoria-mini { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; margin-bottom: 5px; display: block; }
.noticia-mini-body h4 { font-size: 0.95rem; font-weight: 700; color: #0a0e1a; margin-bottom: 8px; line-height: 1.35; flex: 1; }
.noticia-mini-meta { font-size: 0.75rem; color: #adb5bd; margin-top: auto; }

.card-noticia-social img { height: 220px !important; object-fit: cover !important; width: 100% !important; }
.card-noticia-social { display: flex; flex-direction: column; height: 100%; }
.card-noticia-social .card-body { display: flex; flex-direction: column; flex: 1; }
.card-noticia-social .card-body p { flex: 1; }
/* ============================================================
   FIX vFINAL: HERO COMPACTO (el que faltaba)
   ============================================================ */
.hero-compact {
    background: linear-gradient(135deg, #0a0e1a 0%, #1d3557 100%);
    color: #fff;
    padding: 45px 0;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}
.hero-compact::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(230,57,70,0.25), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-compact-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-compact-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #fff;
}
.hero-compact-title span { color: #e63946; }
.hero-compact-subtitle {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 25px;
    color: #fff;
}
.hero-compact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-btn-primary, .hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all 0.3s ease;
}
.hero-btn-primary {
    background: #e63946;
    color: #fff;
    box-shadow: 0 8px 20px rgba(230,57,70,0.35);
}
.hero-btn-primary:hover {
    background: #c1121f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(230,57,70,0.5);
}
.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}
.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .hero-compact { padding: 30px 0; }
    .hero-compact-title { font-size: 1.7rem; }
    .hero-compact-subtitle { font-size: 0.92rem; }
}

/* FIX: badge social no se desborda */
.card-social-badge {
    max-width: 80% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ============================================================
   FIX vFINAL3: SECTION HEADERS CON LINEA + BOTON "VER TODAS"
   Este bloque gana a todo lo anterior por estar al final.
   ============================================================ */

/* --- Contenedor del header de sección --- */
.section-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 28px !important;
    padding-bottom: 16px !important;
    border-bottom: 3px solid #e9ecef !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
}

/* --- Título con barra roja a la izquierda --- */
.section-title-modern {
    font-size: 1.75rem !important;
    font-weight: 900 !important;
    color: #0a0e1a !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

/* --- Barra roja vertical (la rayita al lado del título) --- */
.section-title-bar {
    display: inline-block !important;
    width: 6px !important;
    height: 30px !important;
    background: linear-gradient(180deg, #e63946, #f77f00) !important;
    border-radius: 3px !important;
    flex-shrink: 0 !important;
}

/* --- Botón "Ver todas" (pill rojo) --- */
.section-link,
a.section-link,
.section-header .section-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #e63946 !important;
    background-image: linear-gradient(135deg, #e63946, #c1121f) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 9px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(230,57,70,0.28) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    border: none !important;
    line-height: 1.2 !important;
}
.section-link:hover,
a.section-link:hover,
.section-header .section-link:hover {
    background: #c1121f !important;
    background-image: linear-gradient(135deg, #c1121f, #a00e18) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(230,57,70,0.4) !important;
}
.section-link i {
    font-size: 0.78rem !important;
    transition: transform 0.25s !important;
}
.section-link:hover i {
    transform: translateX(4px) !important;
}

/* --- Responsive --- */
@media (max-width: 576px) {
    .section-title-modern { font-size: 1.35rem !important; }
    .section-title-bar { height: 24px !important; width: 5px !important; }
    .section-link {
        font-size: 0.78rem !important;
        padding: 7px 15px !important;
    }
    .section-header {
        margin-bottom: 20px !important;
        padding-bottom: 12px !important;
    }
}

/* ============================================================
   NOSOTROS vFINAL — MISMO HTML, DISEÑO PULIDO
   ============================================================ */

/* Contenedor general más elegante */
.nosotros-corp {
    background: #fff !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    box-shadow: 0 25px 70px rgba(10,14,26,0.10) !important;
    border: 1px solid #eef0f4 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ---------- Columna izquierda (branding) ---------- */
.nosotros-corp-brand {
    background: linear-gradient(160deg, #0a0e1a 0%, #1d3557 100%) !important;
    color: #fff !important;
    position: relative !important;
    overflow: hidden !important;
}
.nosotros-corp-brand::before {
    content: '' !important;
    position: absolute !important;
    top: -120px !important;
    right: -120px !important;
    width: 340px !important;
    height: 340px !important;
    background: radial-gradient(circle, rgba(230,57,70,0.22), transparent 70%) !important;
    border-radius: 50% !important;
}
.nosotros-corp-brand::after {
    content: '' !important;
    position: absolute !important;
    bottom: -100px !important;
    left: -100px !important;
    width: 280px !important;
    height: 280px !important;
    background: radial-gradient(circle, rgba(247,127,0,0.10), transparent 70%) !important;
    border-radius: 50% !important;
}

.nosotros-corp-brand-inner {
    position: relative !important;
    z-index: 1 !important;
    padding: 55px 42px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 32px !important;
}

/* Logo — sin fondo feo, sin blend mode */
.nosotros-corp-logo {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 8px 0 !important;
}
.nosotros-corp-logo img {
    height: 60px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    /* ✅ QUITAMOS el mix-blend-mode: screen que arruinaba el logo */
    mix-blend-mode: normal !important;
    filter: brightness(1.05) drop-shadow(0 4px 12px rgba(0,0,0,0.35)) !important;
}

/* +10 Años — más contenido y proporcionado */
.nosotros-corp-since {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nosotros-corp-since-num {
    font-size: 3.4rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    background: linear-gradient(135deg, #e63946 0%, #f77f00 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: -3px !important;
    display: inline-block !important;
}
.nosotros-corp-since-txt {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.8px !important;
    color: #b8bcc8 !important;
    line-height: 1.4 !important;
}

/* Divisor rojo más pequeño y elegante */
.nosotros-corp-divider {
    width: 45px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #e63946, #f77f00) !important;
    border-radius: 3px !important;
    margin: 0 !important;
}

/* Lista de checks con más separación */
.nosotros-corp-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}
.nosotros-corp-list li {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    font-size: 0.88rem !important;
    color: #cbd0da !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
}
.nosotros-corp-list li i {
    color: #e63946 !important;
    font-size: 1.05rem !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    text-align: center !important;
}

/* ---------- Columna derecha (contenido) ---------- */
.nosotros-corp-content {
    padding: 55px 50px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    background: #fff !important;
}

/* Badge "SOBRE NOSOTROS" */
.nosotros-corp-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    align-self: flex-start !important;
    background: #fff5f5 !important;
    color: #e63946 !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.8px !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
    border: 1px solid #ffe0e0 !important;
}
.nosotros-corp-badge i { font-size: 0.85rem !important; }

/* Título */
.nosotros-corp-title {
    font-size: 2.3rem !important;
    font-weight: 900 !important;
    color: #0a0e1a !important;
    margin: 0 0 22px 0 !important;
    line-height: 1.1 !important;
    letter-spacing: -1.2px !important;
}
.nosotros-corp-title span {
    color: #e63946 !important;
    position: relative !important;
    display: inline-block !important;
}
.nosotros-corp-title span::after {
    content: '' !important;
    position: absolute !important;
    bottom: -3px !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #e63946, #f77f00) !important;
    border-radius: 2px !important;
    opacity: 0.4 !important;
}

/* Lead / texto principal */
.nosotros-corp-lead {
    font-size: 1.02rem !important;
    font-weight: 500 !important;
    color: #1d3557 !important;
    line-height: 1.75 !important;
    margin: 0 0 16px 0 !important;
}
.nosotros-corp-lead strong {
    color: #0a0e1a !important;
    font-weight: 800 !important;
}

.nosotros-corp-text {
    font-size: 0.96rem !important;
    color: #495057 !important;
    line-height: 1.75 !important;
    margin: 0 0 35px 0 !important;
}
.nosotros-corp-text strong {
    color: #0a0e1a !important;
    font-weight: 700 !important;
}

/* Stats inferiores (Rapidez / Seriedad / Cobertura) */
.nosotros-corp-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 28px 0 0 0 !important;
    border-top: 2px solid #f0f2f5 !important;
}
.nosotros-corp-stat {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.nosotros-corp-stat-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #e63946, #f77f00) !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
    box-shadow: 0 6px 14px rgba(230,57,70,0.25) !important;
}
.nosotros-corp-stat strong {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #0a0e1a !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}
.nosotros-corp-stat span {
    font-size: 0.74rem !important;
    color: #6c757d !important;
    line-height: 1.3 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .nosotros-corp-brand-inner { padding: 45px 35px !important; }
    .nosotros-corp-content { padding: 45px 35px !important; }
    .nosotros-corp-title { font-size: 1.9rem !important; }
    .nosotros-corp-stats { grid-template-columns: 1fr !important; gap: 18px !important; }
}
@media (max-width: 576px) {
    .nosotros-corp-brand-inner { padding: 35px 25px !important; }
    .nosotros-corp-content { padding: 35px 25px !important; }
    .nosotros-corp-title { font-size: 1.55rem !important; }
    .nosotros-corp-since-num { font-size: 2.6rem !important; }
    .nosotros-corp-logo img { height: 50px !important; }
}

/* ============================================================
   OCULTAR BOTON SCROLL IZQUIERDO
   ============================================================ */
.scroll-btn.scroll-left,
.categorias-scroll-wrapper .scroll-left {
    display: none !important;
}

/* ============================================================
   OCULTAR TODOS LOS BOTONES DE SCROLL
   ============================================================ */
.scroll-btn {
    display: none !important;
}
.categorias-scroll-wrapper {
    gap: 0 !important;
}

/* ============================================================
   RESTAURAR BOTONES DE SCROLL DE CATEGORIAS
   ============================================================ */
.scroll-btn {
    display: flex !important;
}
.scroll-btn.scroll-left,
.categorias-scroll-wrapper .scroll-left {
    display: flex !important;
}
.categorias-scroll-wrapper {
    gap: 8px !important;
}

/* ============================================================
   OCULTAR BADGE DE CATEGORIA EN TOP BAR
   ============================================================ */
.top-bar .badge,
.top-bar .top-badge,
.top-bar .categoria-badge,
.top-bar .badge-categoria,
.top-bar .cat-badge,
.top-bar-badge,
.top-categoria,
.header-badge {
    display: none !important;
}
/* ============================================================
   SOCIALES — DISEÑO LIFESTYLE (Morado/Rosa)
   ============================================================ */

/* ---------- HERO SOCIAL ---------- */
.hero-social {
    background: linear-gradient(135deg, #4a1d6e 0%, #764ba2 50%, #f093fb 100%);
    color: #fff;
    padding: 60px 0 55px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.hero-social::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-social::after {
    content: '\f030';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: -60px;
    left: -30px;
    font-size: 220px;
    color: rgba(255,255,255,0.05);
    pointer-events: none;
}
.hero-social-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-social-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 18px;
    border-radius: 20px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.25);
}
.hero-social-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 14px 0;
    color: #fff;
    letter-spacing: -1px;
}
.hero-social-title span {
    color: #ffd6f5;
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
}
.hero-social-subtitle {
    font-size: 1.05rem;
    opacity: 0.95;
    color: #fff;
    margin: 0;
}
.hero-social-cat .hero-social-title {
    font-size: 3rem;
    text-transform: capitalize;
}

/* ---------- FILTROS SOCIALES (pills) ---------- */
.social-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 14px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.social-filters::-webkit-scrollbar { display: none; }

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 2px solid #ead6f4;
    border-radius: 25px;
    color: #4a1d6e;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.social-pill i {
    color: #764ba2;
    font-size: 0.9rem;
}
.social-pill:hover {
    border-color: #764ba2;
    color: #764ba2;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(118,75,162,0.18);
}
.social-pill.active {
    background: linear-gradient(135deg, #764ba2, #f093fb);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(118,75,162,0.35);
}
.social-pill.active i {
    color: #fff;
}
.social-pill-count {
    background: rgba(118,75,162,0.12);
    color: #764ba2;
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 22px;
    text-align: center;
}
.social-pill.active .social-pill-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ---------- CARD SOCIAL ---------- */
.card-social {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(74,29,110,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    border: 1px solid #f3e8fa;
}
.card-social:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(118,75,162,0.20);
}
.card-social-img-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #764ba2, #f093fb);
}
.card-social-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card-social:hover .card-social-img {
    transform: scale(1.06);
}
.card-social-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-social-badge i {
    margin-right: 5px;
    font-size: 0.65rem;
}

.card-social-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-social-body h4 {
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px 0;
    color: #2a1240;
    letter-spacing: -0.3px;
}
.card-social-body h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s;
}
.card-social-body h4 a:hover {
    color: #764ba2;
}
.card-social-body p {
    font-size: 0.88rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex: 1;
}
.card-social-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f3e8fa;
    font-size: 0.78rem;
    color: #a78cbb;
    font-weight: 600;
}
.card-social-meta i {
    color: #764ba2;
    margin-right: 4px;
}

/* ---------- ESTADO VACÍO ---------- */
.empty-state {
    text-align: center;
    padding: 70px 20px;
    background: linear-gradient(135deg, #fef6ff 0%, #f5f0fa 100%);
    border-radius: 20px;
    border: 2px dashed #d4b8e8;
}
.empty-state i {
    font-size: 3.5rem;
    color: #a78cbb;
    margin-bottom: 20px;
    display: block;
}
.empty-state h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #4a1d6e;
    margin: 0 0 10px 0;
}
.empty-state p {
    color: #6c757d;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* ---------- PAGINACIÓN SOCIAL ---------- */
.pagination-wrap .pagination .page-link {
    color: #764ba2;
    border-color: #ead6f4;
}
.pagination-wrap .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #764ba2, #f093fb);
    border-color: transparent;
    color: #fff;
}
.pagination-wrap .pagination .page-link:hover {
    background: #764ba2;
    border-color: #764ba2;
    color: #fff;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero-social { padding: 40px 0 35px; }
    .hero-social-title { font-size: 1.9rem; }
    .hero-social-cat .hero-social-title { font-size: 2rem; }
    .hero-social-subtitle { font-size: 0.92rem; }
    .card-social-img-wrap { height: 220px; }
    .social-pill { padding: 8px 16px; font-size: 0.82rem; }
}
@media (max-width: 576px) {
    .hero-social-title { font-size: 1.6rem; }
    .hero-social-title span { display: block; margin-top: 4px; }
}

/* ============================================================
   FIX: Reducir padding lateral (mover logo/fecha a la izquierda)
   ============================================================ */
.top-bar > .container,
.main-header .navbar > .container {
    max-width: 1400px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* En pantallas muy grandes, aún más pegado */
@media (min-width: 1400px) {
    .top-bar > .container,
    .main-header .navbar > .container {
        max-width: 1600px !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
}

/* ============================================================
   FIX: Header full-width (logo y fecha al borde)
   ============================================================ */
.top-bar > .container,
.main-header .navbar > .container {
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (min-width: 992px) {
    .top-bar > .container,
    .main-header .navbar > .container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

/* ============================================================
   FIX: Logo y fecha más a la izquierda (menú intacto)
   ============================================================ */
.top-bar .fecha {
    margin-left: -20px !important;
}
.main-header .navbar-brand {
    margin-left: -20px !important;
}

@media (min-width: 1400px) {
    .top-bar .fecha {
        margin-left: -40px !important;
    }
    .main-header .navbar-brand {
        margin-left: -40px !important;
    }
}

/* ============================================================
   FOOTER CREDIT - Innovatech Sucre
   ============================================================ */
.footer-credit {
    display: inline-block;
    margin-left: 6px;
    font-size: 0.82rem;
    color: #8b92a4;
    letter-spacing: 0.2px;
}
.footer-credit a {
    color: #ffd700;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    border-bottom: 1px dotted transparent;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.footer-credit a:hover {
    color: #fff;
    border-bottom-color: #ffd700;
    transform: translateY(-1px);
}
.footer-credit a i {
    font-size: 0.62rem;
    opacity: 0.7;
    transition: opacity 0.25s;
}
.footer-credit a:hover i {
    opacity: 1;
}

/* En móvil, separar el crédito en línea nueva */
@media (max-width: 576px) {
    .footer-credit {
        display: block;
        margin: 8px 0 0 0;
    }
    .footer-bottom .col-md-6 {
        text-align: center;
    }
}

/* ============================================================
   ESTILOS PARA EL CALENDARIO DE PARTIDOS
   ============================================================ */
.list-group-item {
    transition: background 0.2s ease;
}
.list-group-item:hover {
    background-color: #f8f9fa !important;
}
.list-group-item .text-primary {
    font-weight: 800;
    font-size: 0.9rem;
    background: #eef2ff;
    padding: 4px 8px;
    border-radius: 6px;
}

/* ============================================================
   DISEÑO PREMIUM PARA TABLAS DE TORNEOS (LVBP/SPB)
   ============================================================ */
.table-responsive {
    border-radius: 12px;
    padding: 5px;
}

/* Tabla de posiciones y calendario */
.table {
    margin-bottom: 0 !important;
    font-size: 1.05rem !important; /* Letras más grandes */
}

/* Encabezados de la tabla */
.table thead th {
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 12px !important;
    border-bottom: 2px solid #dee2e6 !important;
    white-space: nowrap; /* Evita que los títulos se rompan en dos líneas */
}

/* Celdas de la tabla */
.table tbody td {
    padding: 16px 12px !important; /* Más espacio interno */
    vertical-align: middle !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* Ancho mínimo para la columna del equipo */
.table tbody td:first-child {
    min-width: 200px;
}

/* Efecto Hover en las filas */
.table-hover tbody tr:hover {
    background-color: #f8f9fa !important;
    transform: scale(1.002);
    transition: all 0.2s ease;
}

/* Badge para el porcentaje (PCT) */
.table tbody td:nth-child(5) {
    font-size: 1.1rem;
    color: #0a0e1a;
}

/* ============================================================
   CALENDARIO (List Group)
   ============================================================ */
.list-group-item {
    padding: 16px 20px !important;
    border-color: #f0f0f0 !important;
}

/* Hacer que la fecha y los equipos se vean mejor distribuidos */
.list-group-item span:first-child {
    font-size: 0.9rem;
    color: #6c757d;
    min-width: 120px;
}

.list-group-item span:last-child {
    font-size: 1.1rem;
    text-align: right;
}

/* Estilo para el "VS" */
.list-group-item .text-primary {
    font-weight: 900 !important;
    font-size: 0.85rem !important;
    background: #ffe0e0;
    color: #e63946 !important;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
    margin: 0 10px;
}

/* Ajuste responsivo para que no se rompa en móviles */
@media (max-width: 768px) {
    .table { font-size: 0.9rem !important; }
    .table thead th, .table tbody td { padding: 10px 8px !important; }
    .list-group-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px;
    }
    .list-group-item span:last-child {
        text-align: left;
    }
}

/* ============================================================
   FIX: Ajuste de tamaño para las tablas (No tan grandes)
   ============================================================ */
.table {
    font-size: 0.95rem !important; /* Tamaño de letra normal */
}

.table thead th {
    padding: 12px 10px !important;
    font-size: 0.8rem !important;
}

.table tbody td {
    padding: 12px 10px !important; /* Menos espacio que antes */
}

/* Ajustar el calendario para que no ocupe tanto alto */
.list-group-item {
    padding: 12px 15px !important;
}

.list-group-item span:last-child {
    font-size: 1rem !important;
}

/* En móvil, que se vea compacto */
@media (max-width: 768px) {
    .table { font-size: 0.85rem !important; }
    .table thead th, .table tbody td { padding: 8px 5px !important; }
}

/* ============================================================
   OCULTAR SECCIONES VACÍAS (PRÓXIMOS PARTIDOS Y RESULTADOS)
   ============================================================ */

/* Si el texto dice "No hay partidos programados", ocultamos todo el bloque padre */
.alert-info:contains("No hay partidos programados") {
    display: none !important;
}

/* Oculta el título "Próximos partidos" cuando el contenedor de abajo está vacío */
section:has(.alert-info:contains("No hay partidos programados")) h2.section-title {
    display: none !important;
}

/* Hacemos lo mismo para los resultados */
section:has(.alert-info:contains("Aún no hay resultados")) h2.section-title {
    display: none !important;
}

/* ============================================================
   FIX FINAL: TAMAÑO DE TABLAS Y CENTRADO
   ============================================================ */

/* Hacemos que la tabla no ocupe toda la pantalla y se centre */
.table-responsive {
    max-width: 950px !important; /* Limita el ancho */
    margin: 0 auto !important; /* Centra la tabla */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Reducimos un poco el tamaño de la letra */
.table {
    font-size: 0.9rem !important; 
    margin-bottom: 0 !important;
}

/* Ajustamos el espacio interno de las celdas */
.table thead th {
    padding: 12px 8px !important;
    font-size: 0.8rem !important;
    background-color: #f8f9fa !important;
}

.table tbody td {
    padding: 10px 8px !important;
}

/* Para el calendario, hacemos lo mismo */
.list-group {
    max-width: 950px !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 12px;
}
.list-group-item {
    padding: 12px 15px !important;
    font-size: 0.95rem !important;
}

/* ============================================================
   PULIDO FINAL: UNIFICAR COLORES Y ESTILO "VS"
   ============================================================ */

/* 1. Unificar el encabezado del calendario al color oscuro del portal */
.card-header.bg-primary {
    background-color: #1a1e29 !important; /* Mismo tono oscuro del portal */
    color: #fff !important;
    border-bottom: none !important;
}

/* 2. Darle un poco más de ancho a las tablas para aprovechar el espacio */
.table-responsive, .list-group {
    max-width: 1100px !important; 
}

/* 3. Hacer que el "VS" se vea más elegante y pequeño */
.list-group-item .text-primary {
    background: #e63946 !important; /* Rojo oficial */
    color: #fff !important;
    padding: 3px 10px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    border-radius: 6px !important;
    margin: 0 15px !important;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(230, 57, 70, 0.3);
}

/* 4. Alinear los equipos del calendario para que se vea simétrico */
.list-group-item span:nth-child(2) {
    flex: 1;
    text-align: right; /* Local a la derecha */
}
.list-group-item span:nth-child(4) {
    flex: 1;
    text-align: left;  /* Visitante a la izquierda */
}

/* Si tu calendario no tiene los spans separados, esta regla asegura que todo se vea bien */
@media (min-width: 768px) {
    .list-group-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .list-group-item span:first-child {
        width: 150px; /* Fija el ancho de la fecha */
        text-align: left;
    }
}

/* ============================================================
   FIX DEFINITIVO: TABLAS MÁS COMPACTAS Y "VS" UNIFORME
   ============================================================ */

/* 1. Reducir el tamaño general de la tabla para que no se vea tosca */
.table {
    font-size: 0.85rem !important; 
}

.table thead th {
    padding: 10px 8px !important;
    font-size: 0.75rem !important;
}

.table tbody td {
    padding: 8px 8px !important; /* Celdas más delgadas */
}

/* 2. Alinear el Calendario (Fecha a la izquierda, Partido al centro) */
.list-group-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 20px !important;
}

.list-group-item > span:first-child {
    flex: 0 0 100px; /* Ancho fijo para la fecha */
    font-size: 0.85rem !important;
    color: #6c757d !important;
}

.list-group-item > span:last-child {
    flex: 1;
    text-align: center; /* Centra el conjunto Local - VS - Visitante */
    font-size: 0.95rem !important;
}

/* 3. El "VS" perfecto: pequeño, cuadrado y centrado */
.list-group-item .text-primary {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 35px !important;
    height: 22px !important;
    background: #e63946 !important; /* Rojo del portal */
    color: #fff !important;
    padding: 0 !important;
    margin: 0 15px !important; /* Separación con los equipos */
    border-radius: 4px !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    line-height: 1 !important;
    box-shadow: none !important;
}

/* ============================================================
   DISEÑO PREMIUM PARA TORNEOS
   ============================================================ */
.card-torneo-premium {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    border: 1px solid #eef0f4;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}
.card-torneo-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: #e63946;
}

/* Barra superior de color según el nivel */
.card-torneo-header-nivel {
    height: 6px;
    width: 100%;
}
.card-torneo-header-nivel.internacional { background: linear-gradient(90deg, #667eea, #764ba2); }
.card-torneo-header-nivel.nacional { background: linear-gradient(90deg, #e63946, #c1121f); }
.card-torneo-header-nivel.local { background: linear-gradient(90deg, #2a9d8f, #21867a); }

.card-torneo-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.badge-nivel {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-nivel.internacional { background: #f0efff; color: #764ba2; }
.badge-nivel.nacional { background: #fff0f0; color: #e63946; }
.badge-nivel.local { background: #f0fdfa; color: #2a9d8f; }

.card-torneo-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0a0e1a;
    margin: 12px 0;
    line-height: 1.3;
}

.card-torneo-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.card-torneo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f0f2f5;
}

.btn-ver-torneo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #e63946;
    transition: all 0.3s ease;
}
.card-torneo-premium:hover .btn-ver-torneo {
    gap: 10px;
}

/* ============================================================
   BOTÓN FLOTANTE DE WHATSAPP (MÚLTIPLES OPCIONES)
   ============================================================ */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-float-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    animation: fadeIn 0.3s ease;
}

.whatsapp-float-menu.active {
    display: flex;
}

.whatsapp-float-option {
    background: #fff;
    color: #333 !important;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.whatsapp-float-option:hover {
    background: #f8f9fa;
    transform: translateX(-5px);
}

.whatsapp-float-option i {
    color: #25d366;
    font-size: 1.3rem;
}

.whatsapp-float-btn {
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.whatsapp-float-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .whatsapp-float-container { bottom: 20px; right: 20px; }
    .whatsapp-float-btn { width: 50px; height: 50px; font-size: 26px; }
}

/* ============================================================
   PROTECCIÓN CONTRA DESCARGA DE IMÁGENES
   ============================================================ */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: auto; /* Mantiene los clics en enlaces */
}

/* Evitar selección de texto en bloques de imágenes */
.card-noticia img, .card-social img, .noticia-principal-img img {
    pointer-events: none; /* Hace que el clic pase al contenedor <a> */
}
/* Re-habilitar eventos para el enlace padre */
.card-noticia a, .card-social a, .noticia-principal {
    pointer-events: auto;
}

/* ============================================================
   ESCUDO INVISIBLE PARA IMÁGENES DE FONDO (ANTI DESCARGA)
   ============================================================ */
.detalle-hero {
    position: relative;
}
/* El escudo cubre toda la imagen de la noticia */
.detalle-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1; /* Por encima de la imagen, debajo del texto */
    cursor: default;
}

/* Aseguramos que el texto y el overlay oscuro sigan funcionando */
.detalle-hero-overlay {
    position: relative;
    z-index: 2; /* El texto está por encima del escudo */
    pointer-events: none; /* El texto no recibe clics directos (opcional) */
}

/* Si quieres que los enlaces dentro del texto del hero (si hay) sigan funcionando */
.detalle-hero-overlay a {
    pointer-events: auto;
}

/* Aplicar escudo a las tarjetas del home y noticias */
.noticia-principal-img, .noticia-mini-img, .card-social-img-wrap {
    position: relative;
}
.noticia-principal-img::after, 
.noticia-mini-img::after, 
.card-social-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ============================================================
   FIX DEFINITIVO: Reparación del Hero de la Noticia
   ============================================================ */

/* 1. El contenedor principal mantiene la imagen y el escudo */
.detalle-hero {
    position: relative !important;
    overflow: hidden;
}

/* 2. El escudo invisible sigue ahí para bloquear el clic derecho */
.detalle-hero::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    cursor: default !important;
}

/* 3. El overlay con el texto vuelve a su posición absoluta original */
.detalle-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: flex-end !important; /* El texto vuelve abajo */
    padding-bottom: 40px !important;
    pointer-events: auto !important; /* Restaura los clics en los textos */
    background: linear-gradient(to top, rgba(10,14,26,0.95) 0%, rgba(10,14,26,0.5) 60%, rgba(10,14,26,0.3) 100%) !important;
}

/* 4. Ajuste para pantallas grandes y móviles (por si acaso) */
.detalle-hero {
    height: 500px; /* Altura original de escritorio */
}

@media (max-width: 768px) {
    .detalle-hero {
        height: 350px !important; /* Altura original de móvil */
    }
    .detalle-hero-overlay {
        padding-bottom: 20px !important;
    }
}
