/* IMPORTACIÓN DE FUENTES DEPORTIVAS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Oswald:wght@500;700&display=swap');

:root {
    /* Paleta Oficial LBFV */
    --navy-dark: #001529;
    --navy-med: #001f3f;
    --black-dark: #000000;
    --gold-bright: #d4af37;
    --gold-muted: #c5a059;
    --white: #ffffff;
    --gray-light: #f4f4f7;
}

/* RESET Y BASES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gray-light);
    color: var(--navy-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .font-sports {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    scrollbar-width: none;
}

/* UTILIDADES DE COLOR */
.bg-navy-gradient { background: linear-gradient(135deg, #0a1f3d, #000000); }
.bg-navy { background-color: var(--navy-med); }
.bg-navy-dark { background-color: var(--navy-dark); }
.bg-gold { background-color: var(--gold-muted); }

.text-gold { color: var(--gold-muted); }
.bg-gold { background-color: var(--gold-muted); }
.border-gold { border-color: var(--gold-muted); }
.border-gold-ultra { color: var(--gold-bright); } /* Dorado más encendido para títulos */

.text-navy { color: var(--navy-med); }
.text-navy-dark { color: var(--navy-dark); }
.text-gold { color: var(--gold-muted); }
.text-gold-bright { color: var(--gold-bright); } /* Dorado más encendido para títulos */
.text-white { color: var(--white); }
.text-gray-muted { color: #64748b; } /* Para textos secundarios como fechas */

.asymmetric-box {
  border-top: 2px solid red;
  border-right: 3px dotted green;
  border-bottom: 4px dashed blue;
  border-left: 5px double yellow;
}

/* EFECTOS DE TEXTO DEPORTIVO */
.text-shadow-navy {
    text-shadow: 2px 2px 4px rgba(0, 31, 63, 0.3);
}

.text-gradient-gold {
    background: linear-gradient(to bottom, var(--gold-bright), var(--gold-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* COMPONENTE: HEADER NAV */
.nav-active {
    color: var(--gold-bright);
    border-bottom: 3px solid var(--gold-bright);
}

/* TEXTURA DE FONDO ESTILO ESTADÍSTICO (SUTIL) */
.bg-stadium {
    background: linear-gradient(to bottom, rgba(0, 31, 63, 0.95), rgba(0, 21, 41, 0.95)),
                url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

/* CARDS DEPORTIVAS (EFECTO LIGA MX) */
.card-sport {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.card-sport:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--gold-muted);
}

/* CLASES PARA LA TABLA (INDICADORES DE RESULTADO) */
.text-win { color: #10b981; }    /* Verde para PG */
.text-draw { color: #f59e0b; }   /* Naranja para PE */
.text-loss { color: #ef4444; }   /* Rojo para PP */

/* TABLA DE POSICIONES PROFESIONAL */
.table-lbfv {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* Espaciado entre filas */
}

.table-lbfv thead th {
    background: var(--navy-dark);
    color: var(--gold-muted);
    padding: 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-lbfv tbody tr {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.table-lbfv td {
    padding: 12px;
    font-weight: 700;
}

/* PATROCINADOR NORMALIZADOS */
.patro-container {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: white;
    border-radius: 12px;
    flex-shrink: 0; /* 🔥 evita que se deformen */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
/* imagen */
.patro-container img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain; /* 🔥 corrección */
}

/* LOGOS NORMALIZADOS */
.logo-container {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: white;
    border-radius: 12px;
    flex-shrink: 0; /* 🔥 evita que se deformen */
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* imagen */
.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* 🔥 corrección */
}

/* TICKER DE RESULTADOS (MARQUESINA) */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: #e2e8f0;
    padding: 10px 0;
}

.ticker-move {
    display: flex;
    width: max-content;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .h-mobile-small {
        height: 40px !important;
    }
}

/* ANIMACIONES */
.fade-in {
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Animación de Marquesina */
.animate-ticker {
    display: flex;
    width: max-content;
    animation: scrollTicker 40s linear infinite;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Detener al pasar el mouse */
.animate-ticker:hover {
    animation-play-state: paused;
}

@keyframes blinkSlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.blink-slow {
    animation: blinkSlow 3s infinite;
}

<style>
    .tab-vuelta.active {
        background-color: #001f3f; /* Tu color Navy Dark */
        color: white;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
</style>