
/* Navigation Menu */
.main-nav {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
}

.nav-logo {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-link:hover {
    color: #1e293b;
    background-color: #f1f5f9;
}

.nav-link.active {
    color: #3b82f6;
    background-color: #dbeafe;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 3rem 0;
}

.page-header-content {
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    opacity: 0.8;
}

/* Matches Content */
.matches-content {
    padding: 2rem 0;
}

/* Date Filter */
.date-filter {
    margin-bottom: 2rem;
}

.date-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.date-tab {
    background: none;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.date-tab:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.date-tab.active {
    background-color: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

/* Matches Section */
.matches-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Match Cards */
.match-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.match-card.live {
    border-left: 4px solid #ef4444;
}

.match-card.upcoming {
    border-left: 4px solid #3b82f6;
}

.match-card.finished {
    border-left: 4px solid #10b981;
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.competition {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.match-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.live-status {
    background-color: #ef4444;
    color: white;
    animation: pulse 2s infinite;
}

.match-content {
    padding: 1.5rem;
}

.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.team {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.team-logo {
    font-size: 1.5rem;
}

.team-name {
    font-weight: 600;
    font-size: 0.875rem;
}

.match-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.match-time {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.match-vs {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    padding: 0.5rem;
}

.match-footer {
    padding: 1rem;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.watch-btn, .notify-btn, .highlights-btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.watch-btn {
    background-color: #ef4444;
    color: white;
}

.watch-btn:hover {
    background-color: #dc2626;
}

.notify-btn {
    background-color: #3b82f6;
    color: white;
}

.notify-btn:hover {
    background-color: #2563eb;
}

.highlights-btn {
    background-color: #10b981;
    color: white;
}

.highlights-btn:hover {
    background-color: #059669;
}

/* Responsive Design for Matches */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .date-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .date-tab {
        width: 100%;
        max-width: 200px;
    }
    
    .matches-grid {
        grid-template-columns: 1fr;
    }
    
    .match-teams {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .team {
        justify-content: center;
    }
}