
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-thin.woff') format('woff');
    font-weight: 100;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-light-italic.woff') format('woff'); 
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-medium-italic.woff') format('woff'); 
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-semibold.woff') format('woff');
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-bold-italic.woff') format('woff'); 
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Yolk';
    src: url('../fonts/yolk-black.woff') format('woff');
    font-weight: 900;
    font-display: swap;
}

:root {
    --black-color: #151515;
    --dark-gray-color: #232323;
    --gray-color: #3f3f3f;
    --light-color: #8a8a8a;
    --white-color: #E1E8EB;
    --violet-color: #7952B3;
	--yellow-color: #FFC107;
    --fifablue: #314fff;
    --fifapurple: #6101eb;
    --greenlight: #9ee53d;
    --fifared: #cb2126;
    --grey: #c7d5e4;
    --darkgreen: #054c3f;
    --fifalila: #7d6cce;
    --bluemarine: #63fed7;
    --piel: #fe9e82;
    --darkpurple: #7044a0;
    --fifabluelight: #0C87D1;
    --fifa-dark-blue: #2A398D;
    --fifa-gold: #ffd830;
    --dark-bg: #000000;
    --dark-card: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #D1D4D1;
    --border-color: rgba(255, 255, 255, 0.1);
    --success: #3CAC3B;
    --error: #f44336;
    --bg-black: #000000;
    --bg-dark-blue: #020b28; 
    --nav-bottom-bg: #0a1532;
    --dark-bg: #0a0a0a;
    --dark-card: #1a1a1a;
    --border-color: #2a2a2a;
    --text-muted: #888888;
    --font-main: 'Yolk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
:root { --header-h: 100px; }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Yolk'; 
            color: #8a8a8a;
        }

        body {
            padding-top: var(--header-h) !important;
            overflow-x: hidden;
        }
        @media (max-width: 1100px) {
            body { padding-top: 40px !important; }
        }

        ul {
            list-style: none;
        }

        a {
            text-decoration: none;
            color: inherit;
        }


/* ===============================================
   RESET Y BASE
   =============================================== */

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

body {
    font-family: 'Yolk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
}

/* Contenedor principal */
.fifa-carousel {
  width: 100%;
  overflow-x: auto; /* Permite el scroll */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* Suavidad en iPhone */
  scrollbar-width: none; /* Oculta scroll en Firefox */
}

.fifa-carousel::-webkit-scrollbar {
  display: none; /* Oculta scroll en Chrome/Safari */
}

/* La fila que contiene las tarjetas */
.fifa-track {
  display: flex;
  padding: 10px 20px; /* Margen inicial para que no pegue al borde */
  scroll-snap-type: x mandatory; /* ESTO ES LO QUE HACE LA FIFA */
  gap: 16px;
}

/* Cada tarjeta individual */
.fifa-slide {
  flex: 0 0 85%; /* Muestra el 85% de la tarjeta (deja ver un poco de la siguiente) */
  scroll-snap-align: center; /* La tarjeta se centra al soltar el dedo */
}

.card-content {
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  height: 100%;
}

.card-content img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-info {
  padding: 15px;
}

.badge {
  font-size: 10px;
  font-weight: bold;
  color: #0d6efd;
  text-transform: uppercase;
}

/* ===============================================
   HERO SECTION
   =============================================== */

.hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--fifa-dark-blue), var(--fifa-blue)),
                url('https://images.unsplash.com/photo-1508098682722-e99c43a406b2?q=80&w=2000') center/cover;
    background-blend-mode: overlay;
}

.hero-hero-terminos {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/terminos.png') center/cover;
    background-blend-mode: overlay;
}

@media (max-width: 768px) {
    .hero-hero-terminos {
        height: 400px; /* Altura reducida en móviles */
    }
}

@media (max-width: 480px) {
    .hero-hero-terminos {
        height: 350px;
    }
}

.hero-hero-reglamento {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/reglamento.png') center/cover;
    background-blend-mode: overlay;
}

/* Versión responsive */
@media (max-width: 768px) {
    .hero-hero-reglamento {
        height: 400px; /* Altura reducida en móviles */
    }
}

@media (max-width: 480px) {
    .hero-hero-reglamento {
        height: 350px;
    }
}

.hero-hero-sistema {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/sistema.png') center/cover;
    background-blend-mode: overlay;
}

/* Versión responsive */
@media (max-width: 768px) {
    .hero-hero-sistema {
        height: 400px; /* Altura reducida en móviles */
    }
}

@media (max-width: 480px) {
    .hero-hero-sistema {
        height: 350px;
    }
}

.hero-hero-calendario {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/calendario.png') center/cover;
    background-blend-mode: overlay;
}

/* Versión responsive */
@media (max-width: 768px) {
    .hero-hero-terminos {
        height: 400px; /* Altura reducida en móviles */
    }
}

@media (max-width: 480px) {
    .hero-hero-terminos {
        height: 350px;
    }
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(10, 10, 10, 0.8));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    font-size: 2.5rem;
    letter-spacing: 1rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    /* Para más énfasis, puedes usar múltiples sombras */
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero.primary {
    background: var(--fifa-gold);
    color: #000;
}

.btn-hero.primary:hover {
    background: #ffd000;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-hero.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-hero.secondary:hover {
    background: white;
    color: #000;
}

/* ===============================================
   CARRIL DE NOTICIAS
   =============================================== */

.news-ticker {
    background: var(--fifapurple) !important;
    padding: 1rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ticker-content {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.ticker-item {
    white-space: nowrap;
    font-weight: 500;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===============================================
    NOTICIAS
   =============================================== */
*{box-sizing:border-box;margin:0;padding:0}
.fifa-carousel{background:#000;color:#fff;font-family:var(--font-sans);width:100%;overflow:hidden;border-radius:var(--border-radius-lg)}

.main-swiper{width:100%}
.main-swiper .swiper-slide{width:100%}

.slide-inner{display:grid;grid-template-columns:1fr 1fr;min-height:420px;position:relative}
.slide-text{display:flex;flex-direction:column;justify-content:flex-end;padding:2.5rem 2rem 2rem;z-index:2}
.slide-category{font-size:12px;color:rgba(255,255,255,0.6);text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.slide-title{font-size:clamp(20px,2.5vw,32px);font-weight:500;line-height:1.25;margin-bottom:1.5rem;color:#fff}
.slide-btn{display:inline-block;border:1.5px solid #fff;color:#fff;padding:10px 22px;border-radius:30px;font-size:13px;cursor:pointer;width:fit-content;background:transparent;transition:background 0.2s,color 0.2s}
.slide-btn:hover{background:#fff;color:#000}

.slide-img{position:relative;overflow:hidden}
.slide-img img{width:100%;height:100%;object-fit:cover;display:block}
.slide-img-overlay{position:absolute;inset:0;background:linear-gradient(to right,#000 0%,transparent 40%)}

.next-preview{position:absolute;right:0;top:0;height:100%;width:120px;display:flex;flex-direction:column;justify-content:center;padding:1rem 0.75rem;background:rgba(0,0,0,0.5);z-index:3;gap:8px}
.next-label{font-size:10px;color:rgba(255,255,255,0.5);text-transform:uppercase;letter-spacing:0.8px}
.next-title{font-size:12px;color:#fff;font-weight:500;line-height:1.3}
.next-img{width:100%;height:70px;object-fit:cover;border-radius:4px;margin-bottom:4px}

.nav-bar{border-top:1px solid rgba(255,255,255,0.12);display:grid;grid-template-columns:repeat(4,1fr)}
.nav-item{padding:0.875rem 1rem;cursor:pointer;border-right:1px solid rgba(255,255,255,0.1);position:relative;transition:background 0.15s}
.nav-item:last-child{border-right:none}
.nav-item:hover{background:rgba(255,255,255,0.05)}
.nav-item.active .nav-progress{width:100%}
.nav-cat{font-size:10px;color:rgba(255,255,255,0.45);text-transform:uppercase;letter-spacing:0.8px;margin-bottom:5px}
.nav-title{font-size:12px;color:rgba(255,255,255,0.85);font-weight:400;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nav-progress-bar{position:absolute;bottom:0;left:0;width:100%;height:2px;background:rgba(255,255,255,0.1)}
.nav-progress{height:100%;background:#fff;width:0;transition:width 0.1s linear}

@media(max-width:600px){
  .slide-inner{grid-template-columns:1fr;min-height:auto}
  .slide-img{height:260px;order:-1}
  .slide-img-overlay{background:linear-gradient(to top,#000 0%,transparent 50%)}
  .slide-text{padding:1.25rem 1rem 1.25rem}
  .next-preview{display:none}
  .nav-bar{grid-template-columns:repeat(2,1fr)}
  .nav-item:nth-child(2){border-right:none}
  .nav-item:nth-child(3){border-top:1px solid rgba(255,255,255,0.1)}
  .nav-item:nth-child(4){border-top:1px solid rgba(255,255,255,0.1);border-right:none}
}


/* ===============================================
   GRID DE CONTENIDO
   =============================================== */

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.content-left, .content-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===============================================
   SECCIONES
   =============================================== */

.section-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.title-icon {
    font-size: 1.75rem;
}

.section-link {
    color: var(--fifa-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section-link:hover {
    color: var(--fifa-gold);
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-gray);
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, var(--fifa-dark-blue), var(--fifa-blue));
    border-color: var(--fifa-blue);
}

.info-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.info-icon img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
}

.info-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.info-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.info-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--fifa-gold);
    font-weight: bold;
}

.btn-info {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-info:hover {
    background: rgba(255, 255, 255, 0.25);
}


/* ===============================================
   COUNTDOWN
   =============================================== */

.countdown-wrapper {
    width: 100%;
    background: var(--fifablue);
}

.countdown-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-top: 20px;
    padding-bottom: 20px;
}

.countdown-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.countdown-label h2 {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
}

.countdown-label p {
    margin: 0;
    opacity: 0.8;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.time-box {
    padding: 0.5rem;
    min-width: 80px;
    text-align: center;
}

.time-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
}

.time-label {
    font-size: 1rem;
    color: rgb(255, 255, 255);
    padding-top: 5px;
}

.btn-view-matches {
    background: white;
    color: #0033A0;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-view-matches:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Hero content se mantiene abajo */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .countdown-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 15px;
        padding-top: 15px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* 2. Mantenemos el logo en su posición original */
    .countdown-label {
        flex-direction: row;
        margin: 0;
    }
    
    .countdown-label div {
        display: none;
    }
    
    /* 4. Ajustamos el espacio entre los números para que quepan bien en pantallas pequeñas */
    .countdown-timer {
        gap: 2px; 
        margin: 0;
    }
    
    .time-value {
        font-size: 2rem; 
        font-weight: 700;
        line-height: 1; 
        margin-bottom: 2px; 
    }

    .time-label {
        font-size: 0.85rem;
        padding-top: 0; 
        font-weight: 500;
    }
    
    .time-label {
        font-size: 0.8rem; 
        padding-top: 2px;
    }
    .time-box {
    min-width: 38px;
    padding: 0;
    text-align: center;
}
}

/* ================================================
   CARRUSEL HERO 
   ================================================ */

/* --- Wrapper --- */
.news-hero {
    background: #000000;
    color: #fff;
    font-family: 'Segoe UI', system-ui, sans-serif;
    padding-top: 0px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* --- Swiper --- */
.news-hero .swiper , .news-hero .news-nav { width: 100%; }
.news-hero .swiper-wrapper { height: 100%; }
.news-hero .swiper-slide  { width: 100% !important; max-width: 100% !important; }

/* --- Layout del slide (Desktop: 45% texto | 55% imagen) --- */
.slide-inner {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: stretch;   
    height: 500px;
    position: relative;
}

/* --- Columna texto (izquierda) --- */
.slide-text {
    display: flex;
    flex-direction: column;
    /* Quitamos el gap global para controlar los espacios uno a uno */
    gap: 0; 
    padding: 3rem 2.75rem 2.75rem;
    background: #000000;
    /* Asegúrate de que el contenedor tenga una altura mínima para que el "auto" funcione */
    min-height: 400px; 
    height: 100%;
}

.slide-text .slide-btn {
    margin-top: auto; /* Esto empuja el botón al final del contenedor siempre */
}

.slide-category {
    font-size: 0.8rem;
    font-weight: 400;
    color: #fff;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
}

.slide-title {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -1px ;
    color: #fff ;
    margin-bottom: 0 ;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Reseña — visible solo en desktop */
.slide-desc {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: -1px ;
    line-height: 1;
    color: #fff;
    margin-bottom: 2rem;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(255,255,255,0.8);
    color: #fff;
    background: transparent;
    padding: 11px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}
.slide-btn:hover           { background: #fff; color: #000; }
.slide-btn svg             { width: 14px; height: 14px; stroke: currentColor; fill: none; transition: transform 0.2s; }
.slide-btn:hover svg       { transform: translateX(3px); }

/* --- Columna imagen (derecha) --- */
.slide-img {
    position: relative;
    overflow: hidden;
    height: 100%;          /* ocupa toda la altura del grid       */
    background: #111;      /* fallback mientras carga la imagen   */
}

.slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* --- Preview "Siguiente" (solo desktop) --- */
.slide-next-preview {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 120px;
    background: rgba(0,0,0,0.82);
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 0.875rem;
    gap: 10px;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.next-label        { font-size: 9px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; }
.next-thumb        { width: 100%; height: 64px; object-fit: cover; border-radius: 4px; opacity: 0.75; }
.next-title-preview {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Barra de navegación inferior --- */
.news-nav {
    background: #000000;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-item {
    padding: 1rem 1.25rem;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transition: background 0.15s;
    user-select: none;
}
.nav-item:last-child      { border-right: none; }
.nav-item:hover           { background: rgba(255,255,255,0.04); }

.nav-cat {
    font-size: 10px;
    color: rgba(255,255,255,0.38);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nav-item.active .nav-title { color: #fff; }

/* Barra de progreso */
.nav-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.08);
}
.nav-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    /* duración se asigna desde JS */
}
.news-hero {
    margin-bottom: 0 !important;
}

.countdown-wrapper {
    margin-top: 0 !important;
}
/* ================================================
   RESPONSIVE — TABLET (641px – 900px)
   ================================================ */
@media (min-width: 641px) and (max-width: 900px) {
    .slide-inner          { grid-template-columns: 50% 50%; height: 400px; }
    .slide-title          { font-size: 22px; }
    .slide-desc           { -webkit-line-clamp: 2; }
    .slide-next-preview   { width: 90px; }
}

/* ================================================
   RESPONSIVE — MÓVIL (≤ 640px)
   ================================================ */
@media (max-width: 640px) {
    .slide-inner {
        grid-template-columns: 1fr;
        grid-template-rows: 260px auto;
        height: auto;
    }

    /* Imagen arriba en móvil */
    .slide-img            { order: -1; height: 260px; }

    .slide-text           { 
        padding: 1.25rem 1.25rem 1.5rem; 
        justify-content: flex-start; 
        height: auto; 
        gap: 0;                        /* ← elimina espacios entre hijos */
    }
    .slide-title          { 
        font-size: 20px; 
        -webkit-line-clamp: 4;
        margin-bottom: 0.75rem;        /* ← espacio controlado tras título */
    }
    .slide-desc           { 
        display: none;                 /* reseña oculta en móvil */
    }
    .slide-next-preview   { display: none; }

    .slide-btn {
        background: #fff;
        color: #000;
        border: none;
        padding: 14px 28px;
        font-weight: 600;
        font-size: 14px;
        margin-top: 0;                 /* ← pegado al título */
        align-self: flex-start;        /* ← que no se estire */
    }
    .slide-btn:hover {
        background: #f0f0f0;
        color: #000;
    }

    /* Barra de nav: 2 columnas en móvil */
    .news-nav                       { grid-template-columns: repeat(2, 1fr); }
    .nav-item:nth-child(2)          { border-right: none; }
    .nav-item:nth-child(3),
    .nav-item:nth-child(4)          { border-top: 1px solid rgba(255,255,255,0.08); }
    .nav-item:nth-child(4)          { border-right: none; }
}

@media (max-width: 640px) {
    /* ... (tus otras reglas para móvil) ... */

    .slide-inner {
        /* ... (tus otras reglas) ... */
        min-height: auto;           /* 🆕 Anula la altura mínima forzada en desktop */
    }

    .slide-text {
        /* ... (tus otras reglas) ... */
        justify-content: flex-start; /* 🆕 Anula el centrado vertical para pegar todo arriba */
    }

    .slide-btn {
        /* ... (tus otras reglas) ... */
        margin-top: 1rem;           /* 🆕 Cambia 'auto' por un espacio pequeño y fijo */
    }

    /* ... (resto de reglas) ... */
}
/* ─── GRID WRAPPER ──────────────────────────────────────── */
.dashboard-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 16px 48px;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    grid-template-areas: "izquierda centro derecha";
    gap: 24px;
    align-items: start;
}
 
/* ─── COLUMNAS ──────────────────────────────────────────── */
.col-izquierda {
    grid-area: izquierda;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px; /* altura del header */
}
 
.col-centro {
    grid-area: centro;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0; /* evita desbordamiento */
}
 
.col-derecha {
    grid-area: derecha;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
}
 
/* ─── WIDGET PLACEHOLDER (para construir componentes encima) */
.widget {
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
.widget-enlaces {
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}
 
/* Header de cada widget — reutilizable */
.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.widget-header-icon {
    font-size: 16px;
    line-height: 1;
}
.widget-header-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dark-bg, #0a0a0a);
    flex: 1;
}
.widget-header-accent {
    width: 3px;
    height: 16px;
    background: var(--fifa-gold, #FFD700);
    flex-shrink: 0;
}
 
.widget-body {
    padding: 16px;
}
 
/* Placeholder visual mientras construimos los widgets */
.widget-placeholder {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    color: #ccc;
    font-size: 12px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 6px,
        rgba(0,0,0,0.02) 6px,
        rgba(0,0,0,0.02) 12px
    );
}
.widget-placeholder i { font-size: 28px; }
 
/* ─── RESPONSIVE ────────────────────────────────────────── */
 
/* Tablet: colapsa a 2 columnas, derecha va abajo */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 240px 1fr;
        grid-template-areas:
            "izquierda centro"
            "derecha   derecha";
        gap: 20px;
    }
    .col-derecha {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .col-izquierda {
        position: sticky;
        top: 70px;
    }
}
 
@media (max-width: 700px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "centro"
            "izquierda"
            "derecha";
        padding: 16px 12px 40px;
        gap: 16px;
    }
    .col-izquierda,
    .col-derecha {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
 
@media (max-width: 480px) {
    .col-izquierda,
    .col-derecha {
        grid-template-columns: 1fr;
    }
}

    /* =============================================
       VARIABLES & RESET
    ============================================= */
 
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
 
    body {
      background: var(--dark-bg);
      font-family: 'Segoe UI', sans-serif;
      color: var(--text-white);
    }
 
    /* =============================================
       FOOTER PRINCIPAL
    ============================================= */
    .footer {
      background: #000000;
      border-top: 1px solid var(--border-color);
    }
 
    /* =============================================
       BARRA SUPERIOR: Logo + Redes + Texto
    ============================================= */
    .footer-top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 40px;
      border-bottom: 1px solid var(--border-color);
      flex-wrap: wrap;
      gap: 12px;
    }
 
    .footer-logo {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }
    
    .footer-logo img {
        height: 36px !important;   /* tamaño fijo controlado */
        width: auto !important;
        max-width: 180px !important;
        object-fit: contain;
    }
 
    /* Redes sociales */
    .footer-social {
      display: flex;
      align-items: center;
      gap: 22px;
    }
 
    .footer-social a {
      color: var(--text-white);
      text-decoration: none;
      font-size: 1.1rem;
      opacity: 0.8;
      transition: opacity 0.2s;
    }
 
    .footer-social a:hover {
      opacity: 1;
      color: var(--fifa-gold);
    }
 
    /* Texto central opcional */
    .footer-tagline {
      font-size: 0.85rem;
      color: var(--text-white);
      text-align: center;
    }
 
    /* =============================================
       SECCIÓN DE SPONSORS / PATROCINADORES
    ============================================= */
    .footer-sponsors {
      padding: 28px 40px;
      border-bottom: 1px solid var(--border-color);
    }
 
    /* Cada grupo tiene un título + fila de logos */
    .sponsor-group {
      margin-bottom: 24px;
    }
 
    .sponsor-group:last-child {
      margin-bottom: 0;
    }
 
    .sponsor-group-title {
      text-align: center;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
 
    /* Fila de logos: flex centrado, wrap automático */
    .sponsor-logos {
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 28px 40px;
    }
 
    /* Cada logo es un contenedor */
    .sponsor-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      height: auto;       
      min-width: 100px;
      opacity: 0.75;
      transition: opacity 0.2s;
    }
 
    .sponsor-logo:hover {
      opacity: 1;
    }
 
    .sponsor-logo img {
      max-height: 60px;
      max-width: 150px;
      width: auto;
      object-fit: contain;
    }
 
    /* Si no tienes imagen aún, usa texto placeholder */
    .sponsor-logo .logo-placeholder {
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--text-white);
      text-transform: uppercase;
      padding: 8px 16px;
      white-space: nowrap;
    }
 
    /* =============================================
       BARRA INFERIOR: Links legales + Copyright
    ============================================= */
    .footer-bottom-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 16px 40px;
      flex-wrap: wrap;
      gap: 12px;
    }
 
    .footer-legal-links {
      display: flex;
      align-items: center;
      gap: 28px;
      flex-wrap: wrap;
    }
 
    .footer-legal-links a {
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      color: var(--text-white);
      text-decoration: none;
      opacity: 0.8;
      transition: opacity 0.2s, color 0.2s;
    }
 
    .footer-legal-links a:hover {
      opacity: 1;
      color: var(--fifa-gold);
    }
 
    .footer-copyright {
      font-size: 0.72rem;
      color: var(--text-muted);
    }
 
    /* =============================================
       RESPONSIVE
    ============================================= */
    @media (max-width: 768px) {
    .footer-top-bar,
    .footer-bottom-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 14px 20px;
      }
 
    .footer-sponsors {
        padding: 24px 20px;
      }
 
    .sponsor-logos {
        gap: 20px 24px;
      }
 
    .sponsor-logo {
        min-width: 60px;
      }

    .footer-logo img {
        height: 28px !important;
        max-width: 140px !important;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-tagline {
    font-size: 1rem;
    }
    }
    
.sponsor-wrap {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.easter-logo {
    transition: transform 0.15s ease;
    display: block;
}
.easter-logo:active { transform: scale(0.93); }
.easter-logo.shake  { animation: sponsor-shake 0.4s ease; }
@keyframes sponsor-shake {
    0%, 100% { transform: rotate(0deg)   scale(1);    }
    25%       { transform: rotate(-6deg) scale(1.05); }
    75%       { transform: rotate(6deg)  scale(1.05); }
}
 
.meme-bubble {
    position: fixed;
    border-radius: 16px;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.22s cubic-bezier(.34,1.56,.64,1);
    transform: scale(0.8);
    width: 320px;
    z-index: 99999;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.meme-bubble.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.meme-bubble img {
    width: 100%;
    display: block;
    border-radius: 16px;
}
.meme-bubble-tail {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #111;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
 
@media (max-width: 600px) {
    .meme-bubble { width: 240px; }
}
    /* ─── WIDGET BASE ───────────────────────────────────────── */
.widget {
    background: #ffffff;
    border: 1px solid #eeeeee;
    overflow: hidden;
}
 
.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}
.widget-header-bar {
    width: 3px;
    height: 14px;
    background: var(--fifa-gold, #FFD700);
    flex-shrink: 0;
}
.widget-header-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--dark-bg, #0a0a0a);
    flex: 1;
}
.widget-header-link {
    font-size: 11px;
    color: var(--fifa-blue, #0066CC);
    text-decoration: none;
    font-weight: 600;
}
.widget-header-link:hover { text-decoration: underline; }
 
.widget-body { padding: 14px 16px; }
 
/* ─── WIDGET: SISTEMA DE PUNTUACIÓN ────────────────────── */
.pts-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f5;
}
.pts-row:last-of-type { border-bottom: none; }
.pts-label {
    font-size: 12px;
    color: #333;
}
.pts-badge {
    font-size: 12px;
    font-weight: 700;
    color: #004085;
    background: #D1E7FF;
    border-radius: 20px;
    padding: 2px 11px;
    min-width: 32px;
    text-align: center;
}
.pts-badge.zero {
    color: #993c1d;
    background: #faece7;
}
 
.widget-highlight {
    background: #EBF3FF;
    padding: 12px 14px;
    border-left: 3px solid var(--fifa-blue, #0066CC);
    margin-top: 12px;
}
.widget-highlight-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--fifa-dark-blue, #003d7a);
    margin-bottom: 4px;
}
.widget-highlight-text {
    font-size: 11px;
    color: #185FA5;
    line-height: 1.5;
    margin-bottom: 8px;
}
.widget-highlight-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--fifa-blue, #0066CC);
    text-decoration: none;
    border: 1px solid var(--fifa-blue, #0066CC);
    border-radius: 20px;
    padding: 4px 12px;
    transition: background 0.2s, color 0.2s;
}
.widget-highlight-link:hover {
    background: var(--fifa-blue, #0066CC);
    color: #fff;
}
 
/* ─── WIDGET: PRÓXIMOS PARTIDOS ─────────────────────────── */
.match-date-label {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 4px;
    margin-top: 8px;
}
.match-date-label:first-child { margin-top: 0; }
 
.match-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f5;
}
.match-row:last-child { border-bottom: none; }
 
.match-team {
    font-size: 12px;
    color: #1a1a1a;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.match-team.right { text-align: right; }
 
.match-time {
    font-size: 11px;
    color: #555;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 3px 7px;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
}
 
/* ─── WIDGET: REGLAMENTO ────────────────────────────────── */
.reg-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-bottom: 1px solid #f5f5f5;
}
.reg-item:last-of-type { border-bottom: none; }
 
.reg-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fifa-blue, #0066CC);
    flex-shrink: 0;
    margin-top: 5px;
}
.reg-text {
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}
 
.btn-widget-full {
    display: block;
    text-align: center;
    padding: 9px;
    font-size: 12px;
    font-weight: 700;
    color: var(--fifa-blue, #0066CC);
    border: 1px solid var(--fifa-blue, #0066CC);
    border-radius: 10px;
    text-decoration: none;
    margin-top: 12px;
    letter-spacing: 0.3px;
    transition: background 0.2s, color 0.2s;
}
.btn-widget-full:hover {
    background: var(--fifa-blue, #0066CC);
    color: #fff;
}

/* ─── RANKING ───────────────────────────────────────────── */
.rank-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid #f5f5f5;
}
.rank-row:last-child { border-bottom: none; }
 
.rank-medal {
    font-size: 16px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.rank-pos {
    font-size: 12px;
    font-weight: 700;
    color: #999;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}
.rank-avatar {
    width: 20;
    height: 20;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #004085;
    flex-shrink: 0;
}
.rank-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rank-pts {
    font-size: 14px;
    font-weight: 700;
    color: var(--fifa-blue, #0066CC);
    flex-shrink: 0;
}
.rank-pts span {
    font-size: 10px;
    color: #aaa;
    font-weight: 400;
    margin-left: 1px;
}
 
/* ─── ÚLTIMOS RESULTADOS ────────────────────────────────── */
.result-row {
    padding: 10px 16px;
    border-bottom: 1px solid #f5f5f5;
}
.result-row:last-child { border-bottom: none; }
 
.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.result-fase {
    font-size: 10px;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.result-badge {
    font-size: 10px;
    font-weight: 700;
    color: #085041;
    background: #E1F5EE;
    border-radius: 20px;
    padding: 2px 8px;
}
.result-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}
.result-team {
    font-size: 12px;
    color: #1a1a1a;
    font-weight: 600;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.result-team.right { text-align: right; }
 
.result-score {
    font-size: 16px;
    font-weight: 700;
    color: #BA7517;
    background: #FAEEDA;
    border-radius: 6px;
    padding: 2px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}
/* ─── STATS BAR ─────────────────────────────────────────── */

.stats-bar-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
 
.quick-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    overflow: hidden;
    border-radius: 0;
}
 
/* ── CARD BASE ──────────────────────────────────────── */
.stat-card {
    margin-top: 36px;
    background: #000000;
    padding: 10px 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #1e1e1e;
    cursor: default;
    transition: background 0.25s ease;
}
.stat-card:last-child { border-right: none; }
.stat-card:hover { background: #000000; }
 
/* Línea de acento superior */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card.pos::before { background: #3CAC3B; }
.stat-card.pts::before { background: #ffd830; }
.stat-card.pred::before { background: #7952B3; }
.stat-card.ef::before  { background: #cb2126; }
 
/* Número grande — sube levemente al hover */
.stat-value {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    color: #fff;
    transition: transform 0.25s ease;
    display: block;
}
.stat-card:hover .stat-value { transform: translateY(-2px); }
.stat-card.pts .stat-value { color: #ffd830; }
.stat-card.ef  .stat-value { color: #cb2126; }
 
/* Icono */
.stat-icon {
    font-size: 15px;
    margin-bottom: 6px;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0.5;
}
.stat-card.pos  .stat-icon { color: #9ee53d; }
.stat-card.pts  .stat-icon { color: #ffd830; }
.stat-card.pred .stat-icon { color: #6101eb; }
.stat-card.ef   .stat-icon { color: #cb2126; }
.stat-card:hover .stat-icon { opacity: 1; transform: scale(1.15); transform: translateX(5px) }
 
/* Label */
.stat-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 4px;
    transition: color 0.25s;
}
.stat-card:hover .stat-label { color: rgba(255,255,255,0.55); }
 
/* Sub */
.stat-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    font-weight: 500;
    transition: color 0.25s;
}
.stat-card:hover .stat-sub { color: rgba(255,255,255,0.4); }
 
/* Efecto de brillo deslizante al hover */
.stat-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.03),
        transparent
    );
    transition: left 0.5s ease;
    pointer-events: none;
}
.stat-card:hover::after { left: 150%; }
 
/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 600px) {
    .quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-card.pos,
    .stat-card.pts {
        border-bottom: 1px solid #1e1e1e;
    }
    .stat-card.pos  { border-right: 1px solid #1e1e1e; }
    .stat-card.pred { border-right: 1px solid #1e1e1e; }
    .stat-card.pts,
    .stat-card.ef   { border-right: none; }
    .stat-value { font-size: 30px; }
}


/* ─── TABLA DE LIGA ─────────────────────────────────────── */
.liga-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
}
.liga-table-wrapper thead tr {
    border-bottom: 1px solid #f0f0f0;
    background: #fafafa;
}
.liga-table-wrapper th {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #999;
    padding: 7px 6px;
    text-align: center;
}
.liga-table-wrapper th.left {
    text-align: left;
    padding-left: 14px;
}
.liga-table-wrapper td {
    padding: 8px 6px;
    border-bottom: 1px solid #f5f5f5;
    text-align: center;
    font-size: 12px;
    color: #aaa;
}
.liga-table-wrapper td.left {
    text-align: left;
    padding-left: 14px;
}
.liga-table-wrapper tr:last-child td {
    border-bottom: none;
}
.liga-table-wrapper tr.liga-me td {
    background: #EBF3FF;
}
.liga-table-wrapper tr:hover td {
    background: #fafafa;
}
.liga-table-wrapper tr.liga-me:hover td {
    background: #ddeeff;
}
 
.liga-td-pos {
    width: 28px;
    font-size: 13px;
}
.liga-td-name {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}
.liga-me .liga-td-name { color: #0C447C; }
 
.liga-td-col { width: 30px; font-size: 11px; }
 
.liga-td-total {
    width: 32px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
}
.liga-me .liga-td-total { color: #0C447C; }
 
.liga-widget-liga-name {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}
 
.liga-empty {
    text-align: center;
    padding: 24px 16px;
    font-size: 12px;
    color: #aaa;
}

/* ─── News ticker ────────────────────────────────────────── */

    .ticker-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    }

    #newsTicker3 {
    width: 100%;
    max-width: 1250px;
    color: #ffffff;
    position: relative;
    z-index: 1;
    }
    #newsTicker3 .ent_label span {
    font-style: italic;
    }
    .ent_wrapper {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      justify-content: flex-start;
      align-items: center;
      overflow: hidden;
      z-index: 9999;
    }
 
    .ent_wrapper * { box-sizing: border-box; }
 
    .ent_wrapper .ent_label {
      position: relative;
      width: auto;
      height: 100%;
      flex: 0 1 auto;
      display: flex;
      align-items: center;
    }
    .ent_wrapper .ent_label span { display: block; }
 
    .ent_wrapper .ent_news_wrapper {
      position: relative;
      flex: 1 1 auto;
      overflow: hidden;
    }
 
    .ent_wrapper .ent_news_wrapper .ent_news_container {
      position: relative;
      margin: 0;
      padding: 0;
      list-style: none;
    }
 
    .ent_wrapper .ent_news_wrapper .ent_news_container .ent_news {
      position: relative;
      width: 100%;
      margin: 0;
      padding: 0;
    }
 
    .ent_wrapper .ent_news_wrapper .ent_news_container .ent_news .ent_news_url {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      text-decoration: none;
      white-space: nowrap;
      outline: none !important;
      box-shadow: none !important;
      background: none !important;
    }
 
    .ent_wrapper .ent_news_wrapper .ent_news_container .ent_news .ent_news_url .ent_date,
    .ent_wrapper .ent_news_wrapper .ent_news_container .ent_news .ent_news_url .ent_prefix {
      margin-right: 10px;
    }
 
    .ent_wrapper .ent_news_wrapper .ent_news_container .ent_news .ent_news_url .ent_heading {
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
 
    .ent_wrapper .ent_news_wrapper .ent_news_container .ent_news .ent_news_url:hover .ent_heading {
      text-decoration: underline;
    }
 
    .ent_wrapper .ent_navigation {
      position: relative;
      height: 100%;
      flex: 0 1 auto;
      display: flex;
      align-items: center;
    }
 
    .ent_wrapper .ent_navigation .ent_prev_news,
    .ent_wrapper .ent_navigation .ent_next_news {
      position: relative;
      width: 20px;
      height: 25px;
      cursor: pointer;
    }
 
    .ent_wrapper .ent_navigation .ent_prev_news:after,
    .ent_wrapper .ent_navigation .ent_next_news:after {
      position: absolute;
      content: '';
      top: 50%; left: 50%;
      padding: 4px;
      border-color: inherit;
      border-style: solid;
      border-width: 0 3px 3px 0;
      pointer-events: none;
      transition: all 100ms cubic-bezier(0.25, 1, 0.5, 1);
    }
    .ent_wrapper .ent_navigation .ent_prev_news:hover:after,
    .ent_wrapper .ent_navigation .ent_next_news:hover:after { padding: 6px; }
    .ent_wrapper .ent_navigation .ent_prev_news:active:after,
    .ent_wrapper .ent_navigation .ent_next_news:active:after { padding: 2px; }
    .ent_wrapper .ent_navigation .ent_prev_news:after { transform: translate(-50%, -50%) rotate(135deg); }
    .ent_wrapper .ent_navigation .ent_next_news:after { transform: translate(-50%, -50%) rotate(-45deg); }
 
    /* ── Efecto SLIDE HORIZONTAL (el único que usamos) ── */
    .ent_wrapper.slide-horizontal-effect .ent_news_container { display: flex; }
    .ent_wrapper.slide-horizontal-effect .ent_news_container .ent_news { flex: 1 0 100%; }
@media (max-width: 768px) {
    .ent_wrapper .ent_label {
        display: none;
    }
}
    /* ── TOP BAR ──────────────────────────────────────────────── */
.mobile-top-bar {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 56px;
    background: #000;
    z-index: 1100;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
 
.mtb-icon-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.mtb-icon-btn:hover { background: rgba(255,255,255,0.08); }
 
.mtb-logo {
    height: 28px;
    display: flex;
    align-items: center;
}
.mtb-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}
 
/* ── MENU OVERLAY ──────────────────────────────────────────── */
.mobile-menu-overlay {
    position: fixed;
    bottom: 64px; left: 0;
    width: 100%;
    height: calc(100% - 56px - 64px);
    background: #000000;
    z-index: 1050;
    overflow-y: auto;
    transform: translateY(110%);      /* oculto fuera de pantalla */
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    pointer-events: none;
}
.mobile-menu-overlay.show {
    transform: translateY(0);
    pointer-events: auto;
}
 
.mmo-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.mmo-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}
 
.mmo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
    border-bottom: 1px solid #1a1a1a;
}
.mmo-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}
.mmo-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    cursor: pointer;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}
.mmo-close:hover { background: #1a1a1a; color: #fff; }
 
.mmo-section { padding: 8px 0; }
 
.mmo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 20px;
    text-decoration: none;
    transition: background 0.15s;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
}
.mmo-link:hover { background: #141414; }
 
.mmo-link-main {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}
.mmo-link-main i:first-child {
    width: 20px;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}
 
.mmo-link-sec {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    padding: 10px 20px 10px 54px;
    gap: 8px;
}
 
.mmo-arrow {
    margin-left: auto;
    font-size: 11px;
    color: rgba(255,255,255,0.25) !important;
    width: auto !important;
}
 
.mmo-divider {
    height: 1px;
    background: #1a1a1a;
    margin: 4px 20px;
}
 
.mmo-footer {
    margin-top: auto;
    padding: 16px 20px 20px;
    border-top: 1px solid #1a1a1a;
}
.mmo-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: border-color 0.2s, color 0.2s;
}
.mmo-logout-btn:hover { border-color: rgba(255,255,255,0.3); color: #fff; }
 
/* ── BOTTOM NAV ────────────────────────────────────────────── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    height: 64px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: #000;
    z-index: 1100;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
}
 
.mbn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(255,255,255,0.35);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    flex: 1;
    height: 100%;
    transition: color 0.2s;
    padding: 0;
}
.mbn-item i { font-size: 1.2rem; }
.mbn-item.active { color: #fff; }
.mbn-item:hover:not(.mbn-center) { color: rgba(255,255,255,0.7); }
 
/* Botón central */
.mbn-center {
    flex: 0 0 64px;
    position: relative;
}
.mbn-center-ball {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    box-shadow: 0 2px 12px rgba(255,255,255,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}
.mbn-center-ball i {
    font-size: 1.4rem;
    color: #000;
}
.mbn-center:hover .mbn-center-ball {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}
.mbn-center:active .mbn-center-ball { transform: scale(0.95); }
 
/* ── MOSTRAR EN MÓVIL ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .widget-enlaces    { display: none; }
    .mobile-top-bar    { display: flex; }
    .mobile-bottom-nav { display: flex; }
    .desktop-header    { display: none !important; }
    body { padding-top: 56px !important; padding-bottom: 64px !important; }
}
 
 
@media (max-width: 1100px) {
    .countdown-wrapper {
        background: var(--fifablue, #314fff);
        width: 100%;
    }

    .countdown-container {
        margin-top: 5px;
        display: flex;
        align-items: center; 
        justify-content: space-between; 
        padding: 15px 25px; 
        min-height: 80px; 
        box-sizing: border-box;
    }

    .countdown-label {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .countdown-label img {
        height: 45px; 
        width: auto;
        display: block;
        object-fit: contain;
    }

    .countdown-label div { 
        display: none; 
    }

    .countdown-timer {
        margin-right: 5px;
        margin-top: 6px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .time-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1.1;
    }

    .time-value {
        font-size: 1.8rem;
        font-weight: 900;
        color: white;
        margin: 0;
    }

    .time-label {
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: lowercase;
        color: white;
        opacity: 0.8;
    }
    .mobile-menu-overlay {
        display: flex;
    }
    .mobile-menu-overlay.show {
    transform: translateY(0);
    display: flex;
    }
}

.ppm-card {
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 0;
}
.ppm-card:last-child { border-bottom: none; }
 
.ppm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.ppm-fase  { font-size: 11px; font-weight: 700; color: #0066CC; }
.ppm-fecha { font-size: 11px; color: #aaa; font-weight: 600; margin-bottom: 1px; }
 
.ppm-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}
 
.ppm-teams {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 60px);
}
.ppm-team-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ppm-flag { font-size: 20px; line-height: 1; flex-shrink: 0; }
.ppm-name {
    font-size: 10px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
 
.ppm-hora-col {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    min-width: 48px;
}
.ppm-hora {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -1px;
    line-height: 1;
}
.ppm-result-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 48px;
    gap: 2px;
}
.ppm-result-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
}
.ppm-result-stack {
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ppm-result-num {
    font-size: 17px;
    font-weight: 700;
    color: #0066CC;
    line-height: 1.2;
    min-width: 20px;
    text-align: center;
    margin-bottom: 1px;
}
.ppm-result-line {
    width: 24px;
    height: 2px;
    background: #e0e0e0;
    margin-top: 2px;
    margin-bottom: 2px
}
.pred-card-result-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.pred-card-result-num {
    font-size: 22px; font-weight: 700; line-height: 1.2;
    min-width: 24px; text-align: center;
}

.pred-card-result-num.real { color: #000000; }
 
.pred-card-result-line {
    width: 24px; height: 2px;
    background: #e0e0e0; margin: 2px 0;
}
.pred-card-result-line.real-line { background: #bbf7d0; }

.enlace-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s, color 0.15s;
}
.enlace-item:last-child { border-bottom: none; }
.enlace-item:hover { background: #f5f5f5; color: #0066CC; }
.enlace-item i {
    width: 16px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
    transition: color 0.15s;
}
.enlace-item:hover i { color: #0066CC; }

/* ── HEADER DESKTOP ─────────────────────── */
        .desktop-header {
            position: fixed;
            top: 0; left: 0;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.6);
        }

        /* Top tier — barra delgada */
        .top-tier {
            font-weight: 400;
            background: #000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 24px;
            height: 30px;
            border-bottom: 1px solid rgba(255,255,255,0.5);
            font-size: 0.72rem;
            color: rgb(255, 255, 255);
        }
        .top-tier .fw-black { font-size: 0.7rem; letter-spacing: 0.5px; }
        .top-tier-links { display: flex; gap: 24px; }
        .top-tier-links a {
            color: rgb(255, 255, 255);
            text-decoration: none;
            font-size: 0.8rem;
            letter-spacing: 0.3px;
            transition: color 0.2s;
        }
        .top-tier-links a:hover { color: rgba(255,255,255,0.6); }

        .main-tier {
            background: #000000;
            display: flex;
            align-items: center;
            padding: 0 24px;
            height: 70px;
            overflow: visible;
        }
        
        .brand-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            height: 70px;
            margin-right: 24px;
        }

        .logo-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 80px;      
            height: 100px;    
            background: #000;
            z-index: 10;
            display: flex;
            justify-content: center;
            align-items: center;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
            padding-bottom: 12px;
        }

        .logo-container img {
            width: 55px;
            height: auto;
            object-fit: contain;
        }

        .logo-text {
            margin-left: 100px; 
            height: 35px;      
            display: flex;
            align-items: center;
        }

        .logo-text img {
            height: 75%;
            width: auto;
            object-fit: contain;
            padding-top: 3px;
        }

        /* Nav links */
        .main-nav-links {
            display: flex;
            gap: 2px;
            flex: 1;
        }
        .main-nav-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 600;
            padding: 6px 11px;
            border-radius: 4px;
            letter-spacing: 0.3px;
            white-space: nowrap;
            transition: color 0.2s, background 0.2s;
        }
        .main-nav-links a:hover  { color: #fff; background: rgba(255,255,255,0.07); }
        .main-nav-links a.active { color: #fff; }

        /* Sección derecha */
        .right-section {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }
        .user-pill {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(255,255,255,0.05);
            padding: 5px 14px;
            border-radius: 20px;
            border: 1px solid rgba(255,255,255,0.1);
            font-size: 0.8rem;
        }
        .user-pill .greeting  { color: rgba(255,255,255,0.5); font-weight: 600; }
        .user-pill .user-name-display { color: #fff; font-weight: 800; letter-spacing: 0.5px; }

        .user-pill-mobile {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(20, 30, 50, 0.6);
        backdrop-filter: blur(8px); 
        -webkit-backdrop-filter: blur(8px);
        padding: 4px 12px 4px 8px;
        border-radius: 40px; 
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); 
        max-width: 160px; 
    }

    .user-pill-mobile .user-icon {
        font-size: 1.3rem;
        line-height: 1;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
    }

    .user-pill-mobile .user-info {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .user-pill-mobile .greeting {
        color: rgba(255, 255, 255, 0.6);
        font-weight: 400;
        font-size: 0.6rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }

    .user-pill-mobile .user-name-display {
        color: #fff;
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 0.3px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100px;
    }

        .btn-admin-display {
            background: #f1c40f;
            border: none;
            width: 34px; height: 34px;
            border-radius: 6px;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: transform 0.2s;
            color: #000; font-size: 0.9rem;
        }
        .btn-admin-display:hover { transform: scale(1.08); }
        .btn-noticias-display {
            background: #f1c40f;
            border: none;
            width: 34px; height: 34px;
            border-radius: 6px;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: transform 0.2s;
            color: #000; font-size: 0.9rem;
        }
        .btn-noticias-display:hover { transform: scale(1.08); }
        .btn-logout-elegant {
            background: transparent;
            border: 1px solid rgba(255,255,255,0.35);
            color: #fff;
            padding: 6px 16px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 800;
            letter-spacing: 1px;
            cursor: pointer;
            display: flex; align-items: center; gap: 8px;
            transition: background 0.2s, color 0.2s;
        }
        .btn-logout-elegant:hover { background: #fff; color: #000; }

    .news-hero {
        max-width: 1600px !important;
        width: 100% !important;
        margin: 0 auto !important;
        border-radius: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: hidden;
    }
    .news-nav {
        max-width: 1600px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .slide-inner {
        height: 626px;
        max-width: 100%;
        width: 100%;
        align-items: stretch;
        gap: 0 !important;
    }
    
    .slide-img {
        height: 100% !important;
        display: block;
        margin: 0; 
        padding: 0;
    }
    
    .slide-img img {
        width: 100%; 
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
    }
    
    .slide-text { 
        height: 100%; 
    }

    @media (max-width: 640px) {
        .slide-inner { height: auto !important; }
        .slide-img   { height: 260px !important; }
        .slide-text  { height: auto; }
    }

    /* ── WRAPPER ──────────────────────────────────────── */
.uib-wrapper {
    max-width: 1250px;
    margin: 0 auto;
    margin-top: 30px;
    padding: 0 16px;
    background: #ffffff;
}

/* ── FILA PRINCIPAL ───────────────────────────────── */
.uib {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 90px;
}

/* ── IZQUIERDA ────────────────────────────────────── */
.uib-left {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    flex-shrink: 0;
}

/* Donut */
.uib-donut-wrap {
    position: relative;
    width: 76px; height: 76px;
    flex-shrink: 0;
}
.uib-donut-wrap canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}
.uib-donut-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.uib-donut-emoji {
    font-size: 28px;
    line-height: 1;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}

/* Perfil */
.uib-profile-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.uib-name {
    font-size: 17px;
    font-weight: 700;
    color: #000000;
    letter-spacing: -0.5px;
    line-height: 1;
}
.uib-sub-row {
    display: flex;
    align-items: center;
    gap: 6px;
}
.uib-liga-badge {
    font-size: 11px;
    color: rgba(255,255,255,.4);
    font-weight: 400;
}
.uib-pos-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,215,0,.1);
    border: 1px solid rgba(255,215,0,.2);
    color: #e7c500;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 20px;
    width: fit-content;
}
.uib-pos-badge i { font-size: 9px; }

/* ── DIVIDERS ─────────────────────────────────────── */
.uib-vdivider {
    width: 1px;
    height: 64px;
    background: #ccc;
    flex-shrink: 0;
}

/* ── STATS CENTRO ─────────────────────────────────── */
.uib-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 12px 16px;
    flex-shrink: 0;
}
.uib-stat-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 14px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.uib-stat-item:nth-child(2)  { border-right: none; }
.uib-stat-item:nth-child(3)  { border-bottom: none; }
.uib-stat-item:nth-child(4)  { border-right: none; border-bottom: none; }

.uib-stat-val {
    font-size: 22px;
    font-weight: 900;
    color: #000000;
    line-height: 1;
    letter-spacing: -0.5px;
}
.uib-stat-val.gold  { color: #FFD700; }
.uib-stat-val.green { color: #22c55e; }

.uib-stat-lbl {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
}

/* ── DERECHA: LEYENDA ─────────────────────────────── */
.uib-right {
    flex: 1;
    padding: 12px 20px;
    min-width: 0;
}
.uib-legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.uib-legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}
.uib-legend-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.uib-legend-lbl {
    font-size: 10px;
    color: #000000;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
}
.uib-legend-val {
    font-size: 11px;
    font-weight: 600;
    color: #000000;
    min-width: 20px;
    text-align: right;
}

/* ── BARRA INFERIOR ───────────────────────────────── */
.uib-bottom {
    display: flex;
    gap: 0;
    border-top: 1px solid #ccc;
    padding: 10px 24px;
    align-items: center;
}
.uib-bar-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.uib-bar-sep {
    width: 1px;
    height: 32px;
    background: #ccc;
    margin: 0 24px;
    flex-shrink: 0;
}
.uib-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.uib-bar-title {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
}
.uib-bar-val {
    font-size: 10px;
    font-weight: 600;
    color: #000000;
}
.uib-bar-track {
    height: 5px;
    background: #222;
    border-radius: 3px;
    overflow: hidden;
}
.uib-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.uib-bar-fill.gold  { background: linear-gradient(90deg, #FFD700, #f59e0b); }
.uib-bar-fill.white { background: linear-gradient(90deg, #3CAC3B, rgba(60, 255, 0, 0.6)); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
    .uib { flex-wrap: wrap; }
    .uib-right { min-width: 180px; }
}
@media (max-width: 700px) {
    .uib {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .uib-left { grid-column: 1 / -1; border-bottom: 1px solid #1e1e1e; }
    .uib-vdivider { display: none; }
    .uib-stats { padding: 10px; }
    .uib-right { padding: 10px 12px; }
    .uib-bottom { flex-direction: column; gap: 10px; }
    .uib-bar-sep { display: none; }
    .uib-bar-block { width: 100%; }
}