:root {
    --bg: #0a0a0a;
    --card-bg: #141414;
    --accent: #ff6600;
    --text: #ffffff;
    --border: #222;
}

body { background: var(--bg); color: var(--text); font-family: sans-serif; }

/* Navbar y Sport Bar */
.navbar { 
    display: flex; justify-content: center; align-items: center; 
    padding: 15px 5%; border-bottom: 2px solid var(--accent); background: #000;
}
.logo img { height: 70px; }

.sport-bar {
    display: flex; justify-content: center; gap: 10px; padding: 15px;
    background: #111; position: sticky; top: 0; z-index: 100;
}
.sport-btn {
    background: transparent; border: 1px solid var(--border); color: #888;
    padding: 8px 16px; border-radius: 20px; cursor: pointer; transition: 0.3s;
}
.sport-btn.active { background: var(--accent); color: white; border-color: var(--accent); }

/* Grid de Predicciones */
.predictions-grid { max-width: 1000px; margin: 30px auto; padding: 0 15px; }

.bloque-liga { 
    background: var(--card-bg); border-radius: 10px; margin-bottom: 25px; 
    border: 1px solid var(--border); overflow: hidden;
}

.header-liga { 
    background: #1a1a1a; padding: 12px 20px; display: flex; align-items: center; 
    gap: 12px; border-bottom: 1px solid var(--border);
}
.logo-liga-mini { width: 30px; height: 30px; object-fit: contain; }

.fila-partido { 
    display: grid; grid-template-columns: 1.2fr 1fr; padding: 20px; 
    border-bottom: 1px solid #1a1a1a; align-items: center;
}

.info-evento { display: flex; align-items: center; justify-content: space-around; }
.team { display: flex; flex-direction: column; align-items: center; width: 40%; text-align: center; }
.team img { width: 37px; margin-bottom: 5px; }
.vs-label { color: var(--accent); font-weight: bold; font-size: 0.8rem; }

.info-pronostico { 
    background: transparent; padding: 15px; border-radius: 8px; border-left: 3px solid var(--accent);
    font-size: 0.9rem; position: relative; line-height: 1.5;
}

.badge-vip-card { 
    position: absolute; top: -10px; right: 10px; background: #00d4ff; 
    color: black; font-size: 0.6rem; padding: 2px 6px; border-radius: 4px; font-weight: bold;
}

.btn-vip-nav { 
    background: var(--accent); color: white; border: none; padding: 10px 20px; 
    border-radius: 5px; font-weight: bold; cursor: pointer;
}

.alerta-vacia { text-align: center; padding: 50px; color: #555; font-style: italic; }

@media (max-width: 768px) {
    .fila-partido { grid-template-columns: 1fr; gap: 15px; }
    .sport-btn span { display: none; }
}

/* Estilo especial para el botón VIP dentro de la barra */
.vip-special-btn {
    border-color: #00d4ff !important; /* Color azul diamante */
    color: #00d4ff !important;
}

.vip-special-btn:hover {
    background: #00d4ff !important;
    color: black !important;
}


/* Footer Profesional */
.main-footer {
    background: #000;
    border-top: 1px solid var(--border);
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.telegram-link {
    color: #0088cc; /* Azul característico de Telegram */
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: 0.3s;
}

.telegram-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.main-footer p {
    color: #555;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Estilo para la nueva etiqueta de fecha */
/* Asegúrate de que info-evento sea el "jefe" de la posición */
.info-evento { 
    display: flex; 
    align-items: center; 
    justify-content: space-around; 
    position: relative; /* ¡ESTO ES VITAL! */
    padding-top: 30px; /* Espacio para que la fecha no tape los nombres */
    width: 100%;
}

/* Ajusta la fecha para que se pegue a su respectiva tarjeta */
.fecha-partido-item {
    position: absolute;
    top: 0; /* Se pega al techo de .info-evento */
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #666; /* Color naranja para que resalte */
    font-weight: normal;
    background: transparent; /* Fondo oscuro sutil */
    padding: 2px 10px;
    border-radius: 5px;
    white-space: nowrap;
}