@charset "utf-8";
/* CSS Document */


.page-title {
	color: #fff;
    font-family: 'BaseR', sans-serif;
    font-size: 1.6rem;
    text-align: left;
	margin-bottom:15px;
	}



.calendar-layout {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 50px 20px;
}

/* Grilla de juegos */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
}

/* Estilo de la "Baldosa" de Juego */
.game-tile {
    background-color: #1a1a1a;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
    border: 1px solid transparent;
}

/* Indicadores de Casa (Naranja) o Gira (Blanco) */
.home-game { border-color: #fd4d00; }
.away-game { border-color: #ffffff; }

/* Fechas Especiales (Playoffs / All-Star) */
.special-date {
    background: linear-gradient(135deg, #fd4d00 0%, #000000 100%);
}

.tile-header {
    padding: 8px;
    text-align: center;
}

.tile-date {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: #fff;
    font-size: .9rem;
}

.tile-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.rival-logo {
    max-width: 80%;
    height: auto;
    transition: filter 0.3s;
	border-radius:6px;
}

/* Efecto Rollover */
.tile-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 10px;
}

.game-tile:hover .tile-overlay { opacity: 1; }
.game-tile:hover { transform: scale(1.05); }

.opponent-name {
    color: #fd4d00;
    font-family: 'BaseR', sans-serif;
    font-size: 0.8rem;
    text-align: center;
}

/* Sidebar Estilo Mini */
.sidebar-sticky {
    position: sticky;
    top: 100px;
    background: #000;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 10px;
}

.next-match-mini { text-align: center; }
.mini-matchup { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; }
.mini-logo { height: 60px; }
.mini-vs { color: #fd4d00; font-weight: 900; }

.btn-buy-mini {
    display: block;
    background: #fd4d00;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    font-family: 'BaserunnerJNL', sans-serif;
    margin-top: 15px;
}

/* --- ESTILOS DE LA LEYENDA DE EQUIPOS --- */

.calendar-legend {
    margin-top: 60px;
    padding: 40px;
    background-color: #0a0a0a; /* Un tono ligeramente distinto al fondo para resaltar */
    border-radius: 12px;
    border: 1px solid #222;
}

.calendar-legend h3 {
    font-family: 'BaserunnerJNL', sans-serif;
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 2px;
}

/* Grilla de la leyenda */
.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legend-item img {
    width: 30px; /* Logos pequeños y discretos */
    height: 30px;
    object-fit: contain;
    filter: grayscale(1); /* Estilo minimalista: gris por defecto */
    transition: filter 0.3s ease;
}

/* Efecto al pasar el mouse por la leyenda */
.legend-item:hover {
    color: #ffffff;
}

.legend-item:hover img {
    filter: grayscale(0); /* Recupera el color al hacer hover */
}

/* Estilo para fechas especiales (Playoffs / Estrellas) */
.special-legend {
    color: #fd4d00;
    font-weight: 700;
}

.star-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

/* --- AJUSTE PARA MÓVILES --- */
@media (max-width: 768px) {
    .legend-grid {
        grid-template-columns: 1fr 1fr; /* 2 columnas en móvil */
        gap: 15px;
    }
    
    .calendar-legend {
        padding: 20px;
    }
}

/* --- ESTILOS DEL SIDEBAR (PRÓXIMO DUELO) --- */

.calendar-sidebar {
    position: relative;
}

/* El contenedor que se queda fijo al hacer scroll */
.sidebar-sticky {
    position: sticky;
    top: 100px; /* Se detiene a 100px del borde superior */
    background-color: #000000;
    border: 2px solid #e04c0d; /* Borde naranja característico */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.sidebar-label {
    font-family: 'BaserunnerJNL', sans-serif;
    color: #ffffff;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

/* Matchup Mini (Logos) */
.mini-matchup {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 25px;
}

.mini-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(224, 76, 13, 0.2));
}

.mini-vs {
    background-color: #fd4d00;
    color: #000;
    font-family: 'BaserunnerJNL', sans-serif;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Detalles del texto */
.mini-details {
    text-align: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 25px;
}

.mini-date {
    color: #fd4d00;
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}

.mini-stadium {
    color: #aaaaaa;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Botón de acción rápido */
.btn-buy-mini {
    display: block;
    background-color: #fd4d00;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-family: 'BaserunnerJNL', sans-serif;
    font-size: 1.1rem;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-buy-mini:hover {
    background-color: #ffffff;
    color: #fd4d00;
    transform: translateY(-3px);
}

/* --- AJUSTE RESPONSIVO --- */
@media (max-width: 992px) {
    .calendar-layout {
        grid-template-columns: 1fr; /* Sidebar pasa abajo en tablets/móvil */
    }

    .sidebar-sticky {
        position: static; /* Deja de ser fijo */
        margin-top: 40px;
    }
    
    .mini-matchup {
        justify-content: center;
        gap: 40px;
    }
}

/* NS */

/* --- LEYENDA --- */
.calendar-legend2 {
    display: flex;
    justify-content: flex-end; /* Alineada a la derecha sobre el grid */
    gap: 20px;
    margin-bottom: 20px;
    padding-right: 10px;
}

.legend-item2 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.bullet.home { background-color: #fd4d00; } /* Naranja Vaqueros */
.bullet.away { background-color: #b7b7b7; }    /* Gris/Negro Visitante */

.legend-text2 {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- ETIQUETA DE HORARIO (TIME TAG) --- */
.game-tile {
    position: relative; /* Crítico para que la etiqueta flote dentro */
    /* ... tus estilos de baldosa ... */
}

.time-tag {
    position: absolute;
    top: 35px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.4); /* Fondo oscuro semi-transparente */
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(253, 77, 0, 0.5); /* Borde naranja sutil */
    backdrop-filter: blur(4px); /* Efecto moderno de desenfoque */
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Si quieres que en los de visitante (cuando los definas) se vea distinto */
.is-away .time-tag {
    border-color: #444;
}