/* =========================================== */
/* styles.css - TODO EN UNO                    */
/* =========================================== */

/* ==================== */
/* VARIABLES (todos los colores) */
/* ==================== */
:root {
    /* Colores comunes */
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-border: #E0E0E0;
    --text-dark: #212529;
    --text-light: #6C757D;
    
    /* Colores por deporte */
    --padel-primary: #1565C0;
    --padel-secondary: #1E88E5;
    --padel-accent: #0D47A1;
    
    --futbol-primary: #005120;
    --futbol-secondary: #00B140;
    --futbol-accent: #003D14;
    
    --tenis-primary: #D32F2F;
    --tenis-secondary: #F44336;
    --tenis-accent: #B71C1C;
    
    --portada-primary: #1e3a8a;
    --portada-secondary: #3b82f6;
    --portada-accent: #1e40af;
}

/* ==================== */
/* RESET Y BASE */
/* ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 0;
}

/* ==================== */
/* HEADER (común) */
/* ==================== */
.header {
    color: var(--white);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

body.padel .header {
    background: linear-gradient(135deg, var(--padel-primary) 0%, var(--padel-secondary) 100%);
}

body.futbol .header {
    background: linear-gradient(135deg, var(--futbol-primary) 0%, var(--futbol-secondary) 100%);
}

body.tenis .header {
    background: linear-gradient(135deg, var(--tenis-primary) 0%, var(--tenis-secondary) 100%);
}

body.portada .header {
    background: linear-gradient(135deg, var(--portada-primary) 0%, var(--portada-secondary) 100%);
}

/* Contenedor header */
.header .container {
    display: flex;
    flex-direction: column;
    padding: 1rem 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Padding para compensar header fijo */
body {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 160px;
    }
}

/* ==================== */
/* COMPONENTES COMUNES */
/* ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    margin-bottom: 10px;
}

.logo-icon {
    font-size: 2rem;
    background: var(--white);
    color: var(--portada-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: white;
}

.logo-text span {
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.main-nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==================== */
/* HERO SECTION */
/* ==================== */
.hero {
    background: var(--white);
    padding: 2.5rem 0;
    margin-top: 0;
    border-bottom: 4px solid;
}

body.padel .hero { border-bottom-color: var(--padel-secondary); }
body.futbol .hero { border-bottom-color: var(--futbol-secondary); }
body.tenis .hero { border-bottom-color: var(--tenis-secondary); }
body.portada .hero { border-bottom-color: var(--portada-secondary); }

.hero-title {
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 0;
}

body.padel .hero-title { color: var(--padel-primary); }
body.futbol .hero-title { color: var(--futbol-primary); }
body.tenis .hero-title { color: var(--tenis-primary); }
body.portada .hero-title { color: var(--portada-primary); }

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

body.padel .hero-title::after { background: var(--padel-secondary); }
body.futbol .hero-title::after { background: var(--futbol-secondary); }
body.tenis .hero-title::after { background: var(--tenis-secondary); }
body.portada .hero-title::after { background: var(--portada-secondary); }

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
}

/* ==================== */
/* BUSCADOR */
/* ==================== */
.search-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 1.5rem 0;
    border: 1px solid var(--gray-border);
}

.search-box {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--gray-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

body.padel .search-input:focus { border-color: var(--padel-secondary); box-shadow: 0 0 0 3px rgba(22, 101, 192, 0.1); }
body.futbol .search-input:focus { border-color: var(--futbol-secondary); box-shadow: 0 0 0 3px rgba(0, 177, 64, 0.1); }
body.tenis .search-input:focus { border-color: var(--tenis-secondary); box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1); }
body.portada .search-input:focus { border-color: var(--portada-secondary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }

.search-btn {
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.padel .search-btn { background: var(--padel-secondary); }
body.padel .search-btn:hover { background: var(--padel-accent); }

body.futbol .search-btn { background: var(--futbol-secondary); }
body.futbol .search-btn:hover { background: var(--futbol-accent); }

body.tenis .search-btn { background: var(--tenis-secondary); }
body.tenis .search-btn:hover { background: var(--tenis-accent); }

body.portada .search-btn { background: var(--portada-secondary); }
body.portada .search-btn:hover { background: var(--portada-accent); }

/* ==================== */
/* TABLA */
/* ==================== */
.table-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--gray-border);
    margin-bottom: 2rem;
    width: 100%;
}

.table-header {
    padding: 1.5rem;
    border-bottom: 2px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

body.padel .table-header {
    background: #E3F2FD;
    border-bottom-color: var(--padel-secondary);
}

body.futbol .table-header {
    background: #E8F5E9;
    border-bottom-color: var(--futbol-secondary);
}

body.tenis .table-header {
    background: #FFEBEE;
    border-bottom-color: var(--tenis-secondary);
}

body.portada .table-header {
    background: #E0F2FE;
    border-bottom-color: var(--portada-secondary);
}

.table-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.padel .table-title { color: var(--padel-primary); }
body.futbol .table-title { color: var(--futbol-primary); }
body.tenis .table-title { color: var(--tenis-primary); }
body.portada .table-title { color: var(--portada-primary); }

/* ==================== */
/* DATATABLES */
/* ==================== */
.dataTables_wrapper {
    padding: 0 !important;
    width: 100%;
    overflow-x: auto;
}

#partidosTable {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse;
}

table.dataTable {
    width: 100% !important;
    margin: 0 !important;
    border-spacing: 0;
    border: none;
}

table.dataTable thead th {
    font-weight: 600;
    padding: 1rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(135deg, rgba(26,35,126,0.1), rgba(26,35,126,0.05));
    border-bottom: 2px solid;
}

body.padel table.dataTable thead th {
    border-bottom-color: var(--padel-secondary);
    color: var(--padel-primary);
}

body.futbol table.dataTable thead th {
    border-bottom-color: var(--futbol-secondary);
    color: var(--futbol-primary);
}

body.tenis table.dataTable thead th {
    border-bottom-color: var(--tenis-secondary);
    color: var(--tenis-primary);
}

body.portada table.dataTable thead th {
    border-bottom-color: var(--portada-secondary);
    color: var(--portada-primary);
}

table.dataTable tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-border);
    vertical-align: middle;
    position: relative;
}

body.padel table.dataTable tbody tr:hover { background-color: #E3F2FD; }
body.futbol table.dataTable tbody tr:hover { background-color: #E8F5E9; }
body.tenis table.dataTable tbody tr:hover { background-color: #FFEBEE; }
body.portada table.dataTable tbody tr:hover { background-color: #E0F2FE; }

/* ==================== */
/* CELDAS ESPECIALES */
/* ==================== */
.equipo-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
}

.escudo-equipo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    background: #f8f9fa;
    padding: 2px;
    border: 1px solid var(--gray-border);
    flex-shrink: 0;
}

.canales-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    min-height: 30px;
}

.hora-cell {
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

body.padel .hora-cell { color: var(--padel-primary); }
body.futbol .hora-cell { color: var(--futbol-primary); }
body.tenis .hora-cell { color: var(--tenis-primary); }
body.portada .hora-cell { color: var(--portada-primary); }

.competicion-cell {
    font-weight: 600;
}

body.padel .competicion-cell { color: var(--padel-primary); }
body.futbol .competicion-cell { color: var(--futbol-primary); }
body.tenis .competicion-cell { color: var(--tenis-primary); }
body.portada .competicion-cell { color: var(--portada-primary); }

/* ==================== */
/* BADGES DE CANALES */
/* ==================== */
.badge-canal {
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

body.padel .badge-canal { background: var(--padel-secondary); }
body.futbol .badge-canal { background: var(--futbol-secondary); }
body.tenis .badge-canal { background: var(--tenis-secondary); }
body.portada .badge-canal { background: var(--portada-secondary); }

/* ==================== */
/* TORNEOS */
/* ==================== */
.torneo-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.torneo-imagen {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 4px;
    border: 1px solid #e0e0e0;
}

.torneo-info {
    display: flex;
    flex-direction: column;
}

.torneo-nombre {
    font-weight: 600;
    font-size: 0.95rem;
}

.torneo-evento {
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

/* ==================== */
/* TARJETAS MÓVIL */
/* ==================== */
.mobile-cards-container {
    display: none;
    padding: 20px 15px;
}

@media (max-width: 991px) {
    .dataTables_wrapper {
        display: none !important;
    }
    
    .mobile-cards-container {
        display: block;
    }
}

.partido-card {
    background: var(--white);
    border-radius: 10px;
    border: 1px solid var(--gray-border);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.partido-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
    padding: 15px;
    border-bottom: 2px solid;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.padel .card-header {
    background: #E3F2FD;
    border-bottom-color: var(--padel-secondary);
}

body.futbol .card-header {
    background: #E8F5E9;
    border-bottom-color: var(--futbol-secondary);
}

body.tenis .card-header {
    background: #FFEBEE;
    border-bottom-color: var(--tenis-secondary);
}

body.portada .card-header {
    background: #E0F2FE;
    border-bottom-color: var(--portada-secondary);
}

.card-fecha-hora {
    display: flex;
    gap: 15px;
    align-items: center;
}

.card-fecha {
    font-weight: 600;
    font-size: 0.9rem;
}

body.padel .card-fecha { color: var(--padel-primary); }
body.futbol .card-fecha { color: var(--futbol-primary); }
body.tenis .card-fecha { color: var(--tenis-primary); }
body.portada .card-fecha { color: var(--portada-primary); }

.card-hora {
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
}

body.padel .card-hora { background: var(--padel-secondary); }
body.futbol .card-hora { background: var(--futbol-secondary); }
body.tenis .card-hora { background: var(--tenis-secondary); }
body.portada .card-hora { background: var(--portada-secondary); }

.card-competicion {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.padel .card-competicion { color: var(--padel-primary); }
body.futbol .card-competicion { color: var(--futbol-primary); }
body.tenis .card-competicion { color: var(--tenis-primary); }
body.portada .card-competicion { color: var(--portada-primary); }

/* ==================== */
/* CONTENIDO TARJETAS */
/* ==================== */
.card-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
    margin: 15px 0;
}

.card-equipo {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.card-escudo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
    background: #f8f9fa;
    border-radius: 50%;
    padding: 5px;
    border: 2px solid var(--gray-border);
}

.card-nombre-equipo {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: center;
}

.card-vs-text {
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 10px;
}

body.padel .card-vs-text { background: var(--padel-primary); }
body.futbol .card-vs-text { background: var(--futbol-primary); }
body.tenis .card-vs-text { background: var(--tenis-primary); }
body.portada .card-vs-text { background: var(--portada-primary); }

.card-detalles {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

body.padel .card-detalles { background: #E3F2FD; }
body.futbol .card-detalles { background: #E8F5E9; }
body.tenis .card-detalles { background: #FFEBEE; }
body.portada .card-detalles { background: #E0F2FE; }

.card-detalle-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-detalle-item:last-child {
    border-bottom: none;
}

.card-canales-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    margin-top: 5px;
}

/* ==================== */
/* HOME SEO SECTION - TARJETAS BONITAS */
/* ==================== */
.home-seo {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 15px;
}

.home-seo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

body.padel .home-seo h1 { color: var(--padel-primary); }
body.futbol .home-seo h1 { color: var(--futbol-primary); }
body.tenis .home-seo h1 { color: var(--tenis-primary); }
body.portada .home-seo h1 { color: var(--portada-primary); }

.home-seo h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

body.padel .home-seo h1::after { background: var(--padel-secondary); }
body.futbol .home-seo h1::after { background: var(--futbol-secondary); }
body.tenis .home-seo h1::after { background: var(--tenis-secondary); }
body.portada .home-seo h1::after { background: var(--portada-secondary); }

.home-seo > p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 800px;
    margin-bottom: 2rem;
}

.listado-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.partido-home {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-border);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.partido-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    transition: width 0.3s ease;
}

body.padel .partido-home::before { background: var(--padel-secondary); }
body.futbol .partido-home::before { background: var(--futbol-secondary); }
body.tenis .partido-home::before { background: var(--tenis-secondary); }
body.portada .partido-home::before { background: var(--portada-secondary); }

.partido-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.partido-home:hover::before {
    width: 6px;
}

.partido-home h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    flex: 1;
}

.partido-home h3 a {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

body.padel .partido-home h3 a { color: var(--padel-primary); }
body.futbol .partido-home h3 a { color: var(--futbol-primary); }
body.tenis .partido-home h3 a { color: var(--tenis-primary); }
body.portada .partido-home h3 a { color: var(--portada-primary); }

body.padel .partido-home h3 a:hover { color: var(--padel-secondary); }
body.futbol .partido-home h3 a:hover { color: var(--futbol-secondary); }
body.tenis .partido-home h3 a:hover { color: var(--tenis-secondary); }
body.portada .partido-home h3 a:hover { color: var(--portada-secondary); }

.partido-home p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid var(--gray-border);
}

.partido-home p::before {
    content: '📅';
    font-size: 1rem;
    opacity: 0.7;
}

.partido-home p span {
    font-weight: 600;
}

body.padel .partido-home p strong { color: var(--padel-primary); }
body.futbol .partido-home p strong { color: var(--futbol-primary); }
body.tenis .partido-home p strong { color: var(--tenis-primary); }
body.portada .partido-home p strong { color: var(--portada-primary); }

.partido-home::after {
    content: '⚽';
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.1;
    pointer-events: none;
}

body.futbol .partido-home::after { content: '⚽'; }
body.padel .partido-home::after { content: '🎾'; }
body.tenis .partido-home::after { content: '🎾'; }
body.portada .partido-home::after { content: '📺'; }

/* ==================== */
/* OTROS */
/* ==================== */
.evento-sin-jugadores {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.loading-container {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

body.padel .spinner { border-top-color: var(--padel-secondary); }
body.futbol .spinner { border-top-color: var(--futbol-secondary); }
body.tenis .spinner { border-top-color: var(--tenis-secondary); }
body.portada .spinner { border-top-color: var(--portada-secondary); }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== */
/* FOOTER */
/* ==================== */
.footer {
    margin-top: auto;
    padding: 2rem 0;
    text-align: center;
    color: var(--white);
}

body.padel .footer { background: linear-gradient(135deg, var(--padel-primary) 0%, var(--padel-accent) 100%); }
body.futbol .footer { background: linear-gradient(135deg, var(--futbol-primary) 0%, var(--futbol-accent) 100%); }
body.tenis .footer { background: linear-gradient(135deg, var(--tenis-primary) 0%, var(--tenis-accent) 100%); }
body.portada .footer { background: linear-gradient(135deg, var(--portada-primary) 0%, var(--portada-accent) 100%); }

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
}

.update-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 1;
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.3rem;
    }
    
    .main-nav {
        justify-content: center;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .table-header {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .home-seo h1 {
        font-size: 1.8rem;
    }
    
    .listado-home {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .main-nav {
        justify-content: center;
    }
    
    .listado-home {
        grid-template-columns: 1fr;
    }
    
    .partido-home {
        padding: 1.2rem;
    }
    
    .partido-home h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .card-vs {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-vs-text {
        margin: 5px 0;
        order: 1;
    }
    
    .card-equipo {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }
    
    .card-escudo {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }
    
    .card-nombre-equipo {
        font-size: 1rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .card-fecha-hora {
        flex-direction: column;
        gap: 8px;
    }
    
    .card-canales-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .card-canales-info .badge-canal {
        align-self: center;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .header .container {
        padding: 0.8rem 15px;
    }
    
    .home-seo h1 {
        font-size: 1.6rem;
    }
    
    .home-seo > p {
        font-size: 1rem;
    }
    
    .partido-home p {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .card-vs {
        gap: 30px;
    }
    
    .card-escudo {
        width: 70px;
        height: 70px;
    }
    
    .listado-home {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== */
/* UTILIDADES ADICIONALES */
/* ==================== */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* =========================================== */
/* ESTILOS PARA PÁGINAS DE PARTIDOS Y EQUIPOS  */
/* =========================================== */

/* ==================== */
/* PÁGINAS DE PARTIDOS */
/* ==================== */
.partido-detalle {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid var(--gray-border);
}

.equipos-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid var(--gray-border);
}

.equipo {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.equipo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.5rem;
    background: var(--gray-light);
    border-radius: 50%;
    padding: 8px;
    border: 2px solid var(--gray-border);
    transition: transform 0.3s ease;
}

.equipo img:hover {
    transform: scale(1.05);
}

.equipo-nombre {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.vs {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--portada-primary);
    background: var(--gray-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--gray-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.estado-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 1rem;
    vertical-align: middle;
}

.estado-futuro {
    background: #28a745;
    color: white;
}

.estado-pasado {
    background: var(--text-light);
    color: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--portada-primary) 0%, var(--portada-secondary) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

body.futbol .info-grid {
    background: linear-gradient(135deg, var(--futbol-primary) 0%, var(--futbol-secondary) 100%);
}

body.tenis .info-grid {
    background: linear-gradient(135deg, var(--tenis-primary) 0%, var(--tenis-secondary) 100%);
}

body.padel .info-grid {
    background: linear-gradient(135deg, var(--padel-primary) 0%, var(--padel-secondary) 100%);
}

.info-item {
    text-align: center;
    padding: 0.5rem;
}

.info-item i {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.info-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.canales-box {
    background: linear-gradient(135deg, var(--portada-primary) 0%, var(--portada-secondary) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

body.futbol .canales-box {
    background: linear-gradient(135deg, var(--futbol-primary) 0%, var(--futbol-secondary) 100%);
}

body.tenis .canales-box {
    background: linear-gradient(135deg, var(--tenis-primary) 0%, var(--tenis-secondary) 100%);
}

body.padel .canales-box {
    background: linear-gradient(135deg, var(--padel-primary) 0%, var(--padel-secondary) 100%);
}

.canales-box i {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.canales-box h3 {
    margin: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.canales-box p {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    display: inline-block;
}

/* ==================== */
/* BADGE STYLING PARA GRATIS Y PAGO */
/* ==================== */
.badge-gratis {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb, 40, 167, 69)) !important;
    color: white;
    padding: 0.0rem 0.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-right: 4px;
}

.badge-pago {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-warning-rgb, 255, 193, 7)) !important;
    color: #333;
    padding: 0.0rem 0.2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-right: 4px;
}

/* ==================== */
/* LAYOUT DOS COLUMNAS GRATIS / PAGO */
/* ==================== */
.canales-columns {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.canal-col {
    flex: 1;
    min-width: 180px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    text-align: center;
}

.canal-col-gratis {
    border: 2px solid #28a745;
}

.canal-col-pago {
    border: 2px solid #ffc107;
}

.canal-header {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.canal-list {
    font-size: 1rem;
    font-weight: 500;
    color: white;
    line-height: 1.6;
}

/* Dentro de partido-card (equipo pages) */
.partido-card .canales-columns {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
}

.partido-card .canal-col {
    background: var(--gray-light);
    padding: 0.6rem 0.8rem;
    max-width: none;
    flex: 1 1 45%;
}

.partido-card .canal-list {
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 480px) {
    .canales-columns {
        flex-direction: column;
        align-items: stretch;
    }
    
    .canal-col {
        max-width: none;
    }
}

.contenido-extra {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-light);
}

.contenido-extra h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--portada-primary);
    margin-bottom: 1rem;
}

body.futbol .contenido-extra h3 {
    color: var(--futbol-primary);
}

body.tenis .contenido-extra h3 {
    color: var(--tenis-primary);
}

body.padel .contenido-extra h3 {
    color: var(--padel-primary);
}

.contenido-extra ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contenido-extra li {
    margin-bottom: 0.75rem;
}

.contenido-extra a {
    color: var(--text-dark);
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gray-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-border);
    width: 100%;
}

.contenido-extra a:hover {
    background: var(--portada-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
    border-color: var(--portada-primary);
}

body.futbol .contenido-extra a:hover {
    background: var(--futbol-primary);
}

body.tenis .contenido-extra a:hover {
    background: var(--tenis-primary);
}

body.padel .contenido-extra a:hover {
    background: var(--padel-primary);
}

.btn-volver {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--portada-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 2rem 0;
    border: none;
    cursor: pointer;
}

body.futbol .btn-volver {
    background: var(--futbol-primary);
}

body.tenis .btn-volver {
    background: var(--tenis-primary);
}

body.padel .btn-volver {
    background: var(--padel-primary);
}

.btn-volver:hover {
    background: var(--portada-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 35, 126, 0.3);
    color: white;
}

body.futbol .btn-volver:hover {
    background: var(--futbol-secondary);
}

body.tenis .btn-volver:hover {
    background: var(--tenis-secondary);
}

body.padel .btn-volver:hover {
    background: var(--padel-secondary);
}

.btn-volver i {
    margin-right: 0.5rem;
}

/* ==================== */
/* PÁGINAS DE EQUIPOS */
/* ==================== */
.equipo-header {
    background: linear-gradient(135deg, var(--portada-primary) 0%, var(--portada-secondary) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

body.futbol .equipo-header {
    background: linear-gradient(135deg, var(--futbol-primary) 0%, var(--futbol-secondary) 100%);
}

body.tenis .equipo-header {
    background: linear-gradient(135deg, var(--tenis-primary) 0%, var(--tenis-secondary) 100%);
}

body.padel .equipo-header {
    background: linear-gradient(135deg, var(--padel-primary) 0%, var(--padel-secondary) 100%);
}

.equipo-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.equipo-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.equipo-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFD700;
    border-radius: 2px;
}

.equipo-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Estadísticas */
.stats-container {
    background: linear-gradient(135deg, var(--portada-primary) 0%, var(--portada-secondary) 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 2rem 0 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.futbol .stats-container {
    background: linear-gradient(135deg, var(--futbol-primary) 0%, var(--futbol-secondary) 100%);
}

body.tenis .stats-container {
    background: linear-gradient(135deg, var(--tenis-primary) 0%, var(--tenis-secondary) 100%);
}

body.padel .stats-container {
    background: linear-gradient(135deg, var(--padel-primary) 0%, var(--padel-secondary) 100%);
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Títulos de sección */
h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--portada-primary);
}

body.futbol h2 {
    color: var(--futbol-primary);
}

body.tenis h2 {
    color: var(--tenis-primary);
}

body.padel h2 {
    color: var(--padel-primary);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    border-radius: 2px;
}

body.portada h2::after {
    background: var(--portada-secondary);
}

body.futbol h2::after {
    background: var(--futbol-secondary);
}

body.tenis h2::after {
    background: var(--tenis-secondary);
}

body.padel h2::after {
    background: var(--padel-secondary);
}

/* Grid de partidos */
.partidos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

/* Minimal, non-intrusive styles for partido cards — use site green variables */
.partido-card{
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--gray-border);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.partido-card:hover {
    box-shadow: 0 10px 28px rgba(0,177,64,0.15);
    transform: translateY(-4px);
}

/* Fecha destacada en la parte superior */
.fecha-destacada {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--futbol-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Equipos en estilo destacado */
.equipos-principales {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.equipo-card {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    padding: 8px;
    text-align: center;
    background: var(--gray-light);
    border-radius: 8px;
    color: var(--text-dark);
}

.vs-badge {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--futbol-secondary);
    padding: 0 6px;
    min-width: 30px;
}

/* Competición y canales */
.competicion-y-canales {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    align-items: center;
}

.competicion-badge {
    background: var(--futbol-secondary);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.detalle-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #FFD700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    font-style: italic;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.partido-card .detalle-badge {
    background: var(--gray-light);
    color: var(--futbol-secondary);
    border: 1px solid var(--gray-border);
    font-size: 11px;
}

.info-value .detalle-badge {
    font-size: 0.85rem;
    vertical-align: middle;
}

.canales-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    flex: 1;
    min-width: 150px;
}

/* Botón de ver partido */
.btn-ver-partido {
    display: inline-block;
    padding: 10px 14px;
    background: var(--futbol-secondary);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-ver-partido:hover {
    background: var(--futbol-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,177,64,0.3);
}

/* Grid de partidos: ancho completo */
.partidos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0 3rem;
}



/* Responsive tweak for partido cards */
@media (max-width: 768px) {
    .partido-card {
        padding: 16px;
    }
    
    .fecha-destacada {
        font-size: 1rem;
    }
    
    .canales-text {
        flex-basis: 100%;
    }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .equipo-header {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .equipo-header h1 {
        font-size: 1.8rem;
    }
    
    .stats-container {
        margin: 1.5rem 0 2rem;
        padding: 1.5rem;
    }
    
    .partidos-grid {
        margin: 1.5rem 0 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }
}

@media (max-width: 480px) {
    .equipo-header h1 {
        font-size: 1.5rem;
    }
    
    .equipo-header p {
        font-size: 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .partidos-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================ */
/* ESTILOS INDEX.HTML - PORTADA                               */
/* ============================================================ */

.hero-deportes {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-deportes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    pointer-events: none;
}

.deporte-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    position: relative;
    cursor: pointer;
}

.deporte-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.deporte-card.futbol:hover .deporte-icon {
    background: #00B140;
    transform: scale(1.1) rotate(10deg);
}

.deporte-card.tenis:hover .deporte-icon {
    background: #FF4081;
    transform: scale(1.1) rotate(10deg);
}

.deporte-card.padel:hover .deporte-icon {
    background: #2196F3;
    transform: scale(1.1) rotate(10deg);
}

.deporte-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.deporte-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    color: white;
    transition: all 0.3s ease;
}

.deporte-icon.futbol {
    background: linear-gradient(135deg, #00B140, #008631);
}

.deporte-icon.tenis {
    background: linear-gradient(135deg, #FF4081, #F50057);
}

.deporte-icon.padel {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.deporte-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.deporte-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.deporte-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.deporte-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.deporte-info .info-item:last-child {
    border-bottom: none;
}

.deporte-info .info-label {
    color: #666;
    font-size: 0.9rem;
}

.deporte-info .info-value {
    color: #333;
    font-weight: 600;
}

.deporte-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: none;
    color: #2196F3;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.deporte-btn:hover {
    background: rgba(33, 150, 243, 0.1);
}

.deporte-btn i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.deporte-card:hover .deporte-btn i {
    transform: translateX(5px);
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.featured-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stats-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 3rem auto;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TARJETAS DE PARTIDOS */
.home-seo {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 3rem 0;
}

.home-seo h1 {
    color: #1a237e;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.home-seo > p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.listado-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.partido-home-escudos {
    background: linear-gradient(135deg, rgba(26,35,126,0.1), rgba(26,35,126,0.05));
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    min-height: 120px;
}

.escudo-equipo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}

/* TABLA DE PRÓXIMOS EVENTOS */
.proximos-eventos-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    padding: 3rem 0;
}

#tabla-proximos-eventos {
    margin-top: 2rem;
    background: white;
    border: 2px solid #1a237e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

#tabla-proximos-eventos thead {
    background: linear-gradient(135deg, rgba(26,35,126,0.1), rgba(26,35,126,0.05)) !important;
    color: #1a237e;
}

#tabla-proximos-eventos th {
    padding: 1rem;
    font-weight: 600;
    border: none !important;
    vertical-align: middle;
    color: #1a237e;
    background: linear-gradient(135deg, rgba(26,35,126,0.1), rgba(26,35,126,0.05)) !important;
}

#tabla-proximos-eventos td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #eee;
}

#tabla-proximos-eventos th:first-child,
#tabla-proximos-eventos td.sport-col {
    text-align: center;
    width: 40px;
}

#tabla-proximos-eventos td.sport-col i {
    font-size: 1.2rem;
}

.escudo-mini {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 4px;
}

a.team-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

a.team-link:hover {
    color: #1565C0;
    text-decoration: underline;
}

#tabla-proximos-eventos tbody tr:hover {
    background-color: rgba(33, 150, 243, 0.1);
    cursor: pointer;
}

#tabla-proximos-eventos tbody tr {
    transition: background-color 0.3s ease;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(33, 150, 243, 0.03);
}

@media (max-width: 768px) {
    .listado-home {
        grid-template-columns: 1fr;
    }

    #tabla-proximos-eventos {
        font-size: 0.9rem;
    }

    #tabla-proximos-eventos thead {
        display: none;
    }

    #tabla-proximos-eventos,
    #tabla-proximos-eventos tbody,
    #tabla-proximos-eventos tr,
    #tabla-proximos-eventos td {
        display: block;
        width: 100%;
    }

    #tabla-proximos-eventos tr {
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        border-radius: 8px;
        overflow: hidden;
    }

    #tabla-proximos-eventos td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }

    #tabla-proximos-eventos td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        font-weight: 600;
        text-align: left;
        color: #666;
    }

    .hero-deportes {
        padding: 3rem 0;
    }

    .featured-title {
        font-size: 2rem;
    }
}