/* Mobile-first styles */
.schedule-container {
    margin: 80px auto 20px;
    padding: 10px;
}

.game-cards {
    margin-top: 140px;
}

/* Game Card Styles */
.game-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.game-card.red::before {
    background: linear-gradient(135deg, #ef0000ff 0%, #8f0000ff 100%);
}

.game-card.blue::before {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.game-date {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
    color: #1e3c72;
}

.game-time {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 12px;
}

.game-opponent {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
}

.game-location {
    font-size: 0.9em;
    margin-bottom: 12px;
    color: #555;
}

.game-result {
    font-weight: bold;
    font-size: 1.1em;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.win {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.loss {
    background-color: #ffebee;
    color: #c62828;
}

.upcoming {
    background-color: #f5f5f5;
    color: #6c757d;
}

.location-link {
    color: #1e88e5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.location-link::after {
    content: '📍';
    font-size: 0.9em;
}

.location-link:hover {
    text-decoration: underline;
}

.game-links {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 16px;
}

.video-link {
    color: #1e88e5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9em;
}

.video-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.video-link:hover {
    text-decoration: underline;
}

/* Navigation styles */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a.active {
    background: rgba(255,255,255,0.2);
}

.nav-links a:hover {
    background: rgba(255,255,255,0.15);
}

/* Tablet and desktop styles */
@media (min-width: 768px) {
    .schedule-container {
        max-width: 1200px;
        margin: 120px auto 40px;
        padding: 20px;
    }

    .game-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .game-card {
        margin-bottom: 0;
    }
}

@media (min-width: 1024px) {
    .game-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
