      body {
            font-family: 'Open Sans', sans-serif;
            background-color: #f1f5f9;
            color: #334155;
            line-height: 1.6;
            margin: 0;
            padding: 0;
            -webkit-font-smoothing: antialiased;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            margin-top: 0;
            color: var(--dark-color);
        }
        
        a {
            text-decoration: none;
        
            transition: var(--transition);
        }
        
        /* Enhanced Navbar Styles */
.navbar {
    background-color: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: white;
    letter-spacing: 0.5px;
    padding: 0.25rem 0;
    margin-right: 1.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    opacity: 0.9;
}

.navbar-nav {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0.25rem 0;
    scrollbar-width: thin;
}

.navbar-nav::-webkit-scrollbar {
    width: 5px;
}

.navbar-nav::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0.1rem 0;
    position: relative;
}

.nav-link.active {
    color: white;
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 1rem;
    width: calc(100% - 2rem);
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

/* Enhanced Date Filter Styles */
.date-filter {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.date-filter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: var(--border-radius);
    background: linear-gradient(90deg, rgba(0,0,0,0.03) 0%, transparent 20%, transparent 80%, rgba(0,0,0,0.03) 100%);
    pointer-events: none;
}

.date-scroller {
    display: flex;
    gap: 0.5rem;
    
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.date-scroller::-webkit-scrollbar {
    height: 4px;
}

.date-scroller::-webkit-scrollbar-thumb {
    background-color: var(--gray-color);
    border-radius: 2px;
}

.date-btn {
    border: none;
    background: transparent;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--gray-color);
    position: relative;
    font-size: 0.85rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.date-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.date-btn.active::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px 2px 0 0;
}

.date-btn:hover:not(.active) {
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
    border-color: rgba(37, 99, 235, 0.1);
}

/* Matches Container */
        .matches-container {
            display: grid;
            grid-template-columns: 1fr;
            
        }
        
        /* Match Card (now a link) */
        a.match-card {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            overflow: hidden;
            display: flex;
            
            border: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        a.match-card:hover, 
        a.match-card:focus {
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-2px);
            border-color: rgba(37, 99, 235, 0.2);
        }
        
      /* Enhanced Match Header Styles */
.match-header {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    color: white;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    
    min-width: 120px;
    width: 25%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 7px;
}

.match-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.sport-name {
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.tournament-name {
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
    color: white;
    
    width: 100%;
    
}
        .match-time-badge {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 1rem;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .match-time-badge i {
            font-size: 0.7rem;
        }
        
        
        
        
        .team {
            text-align: center;
            flex: 1;
            padding: 0 0.5rem;
        }
        
        .team-name {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--dark-color);
        }
        
        .match-time-display {
            font-size: 0.75rem;
            color: var(--primary-color);
            font-weight: 700;
            margin: 0 0.5rem;
            align-self: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 3.5rem;
        }
        
        .match-time-display .time {
            font-size: 0.80rem;
        }
        
        .match-time-display .status {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 0.1rem;
        }
        
        .live-badge {
            background: var(--danger-color);
            animation: pulse 1.5s infinite;
            font-size: 0.7rem;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            color: white;
            font-weight: 600;
        }
        
        
        /* Footer */
        footer {
            background: var(--dark-color);
            color: white;
            padding: 1.5rem 0;
            margin-top: 3rem;
            text-align: center;
            font-size: 0.9rem;
        }
        
        /* Loading State */
        .loading-spinner {
            width: 3rem;
            height: 3rem;
            border-width: 0.2rem;
            color: var(--primary-color);
        }
        
        .loading-text {
            font-size: 0.95rem;
            color: var(--gray-color);
            margin-top: 1rem;
        }
        
        /* Empty State */
        .empty-state {
            text-align: center;
            padding: 2rem 0;
        }
        
        .empty-state-icon {
            font-size: 2.5rem;
            color: var(--gray-light);
            margin-bottom: 1rem;
        }
        
        .empty-state-title {
            font-size: 1.1rem;
            color: var(--dark-color);
            margin-bottom: 0.5rem;
        }
        
        .empty-state-text {
            font-size: 0.95rem;
            color: var(--gray-color);
        }
/* Responsive Adjustments */
@media (max-width: 992px) {
    .match-header {
        min-width: 100px;
        width: 22%;
    }
    
    .tournament-name {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .date-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .match-header {
        width: 25%;
        padding: 0.4rem;
    }
    
    .sport-name {
        font-size: 0.65rem;
    }
    
    .tournament-name {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .date-filter {
        padding: 0.5rem;
    }
    
    .date-scroller {
        gap: 0.25rem;
    }
    
    .date-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .match-header {
        width: 28%;
        min-width: 80px;
    }
    
    .sport-name {
        font-size: 0.6rem;
    }
    
    .tournament-name {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .match-header {
        width: 30%;
    }
    
    .team-name {
        font-size: 0.8rem;
    }
    
    .match-time-display .time {
        font-size: 0.7rem;
    }
}



/* Enhanced Match Body Styles */
.match-body {
    
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Fixes flexbox overflow issues */
}

.teams-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.team {
    text-align: center;
    flex: 1;
    min-width: 0; /* Allows text truncation to work */
    padding: 0 0.25rem;
}

.team-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--dark-color);
    line-height: 1.3;
}


.match-time-display .time {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.match-time-display .status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.live-badge {
    background: var(--danger-color);
    animation: pulse 1.5s infinite;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    color: white;
    font-weight: 600;
    display: inline-block;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .team-name {
        font-size: 0.9rem;
    }
    .match-time-display .time {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .match-body {
        padding: 0.4rem;
    }
    .team-name {
        font-size: 0.85rem;
    }
    .match-time-display {
        min-width: 3rem;
    }
}

@media (max-width: 768px) {
    .team-name {
        font-size: 0.8rem;
    }
    .match-time-display .time {
        font-size: 0.75rem;
    }
    .match-time-display .status {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .match-body {
        padding: 0.3rem;
    }
    .teams-container {
        gap: 0.25rem;
    }
    .team-name {
        font-size: 0.75rem;
    }
    .match-time-display {
        min-width: 2.5rem;
    }
    .match-time-display .time {
        font-size: 0.7rem;
    }
    .live-badge {
        font-size: 0.6rem;
        padding: 0.1rem 0.3rem;
    }
}

@media (max-width: 400px) {
    .team-name {
        font-size: 0.7rem;
    }
    .match-time-display .time {
        font-size: 0.65rem;
    }
    .match-time-display {
        min-width: 2.2rem;
    }
}

/* Live Sports Streaming Heading Styles */
h1.mb-0.h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}



/* Border Bottom Variant */
h1.mb-0.h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

h1.mb-0.h4:hover::after {
    width: 80px;
}

/* Responsive Adjustments */
@media (min-width: 1200px) {
    h1.mb-0.h4 {
        font-size: 1.75rem;
    }
}

@media (max-width: 1199px) {
    h1.mb-0.h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    h1.mb-0.h4 {
        font-size: 1.4rem;
    }
    h1.mb-0.h4::after {
        height: 2.5px;
        bottom: -4px;
    }
}

@media (max-width: 768px) {
    h1.mb-0.h4 {
        font-size: 1.3rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 576px) {
    h1.mb-0.h4 {
        font-size: 1.2rem;
    }
    h1.mb-0.h4::after {
        width: 40px;
        height: 2px;
        bottom: -3px;
    }
    h1.mb-0.h4:hover::after {
        width: 60px;
    }
}

@media (max-width: 400px) {
    h1.mb-0.h4 {
        font-size: 1.1rem;
    }
}


.teams-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.team {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.match-time-display {
    min-width: 80px;
    text-align: center;
}

/* For single team matches */
.teams-container.single-team {
    justify-content: space-around;
}

/* Improved match cards for all cases */
.match-card {
    display: block;
    margin-bottom: 0.20rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.teams-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-right: 3px solid var(--primary-color);
}

.teams-container2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    border-right: 3px solid red;
}


/* Team styling */
.team {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 0.5rem;
}

/* Time display styling */
.match-time-display {
    min-width: 80px;
    text-align: center;
    padding: 0.5rem;
    font-weight: 500;
}

/* Special cases for single team */

.teams-container.single-team .match-time-display {
    order: 2; /* Put time in middle */
}

/* For mobile responsiveness */
@media (max-width: 576px) {
    .teams-container {
        flex-direction: column;
    }
    
    .team, .match-time-display {
        width: 100%;
        min-width: auto;
    }
    
    .teams-container.single-team .team {
        flex: 0 0 auto;
        width: 100%;
    }
}



/* Improved responsive navbar */
.navbar {
    background: var(--dark-color);
    padding: 0.75rem 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar-nav {
    flex-wrap: wrap;
    max-height: 60vh;
    overflow-y: auto;
}

.nav-item {
    white-space: nowrap;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Mobile menu */
@media (max-width: 992px) {
    .navbar-collapse {
        padding-top: 1rem;
    }
    
    .navbar-nav {
        max-height: 50vh;
    }
    
    .nav-item {
        width: 50%;
        padding: 0.25rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        text-align: center;
    }
}

/* Scrollable date filter */
.date-scroller {
    display: flex;
    overflow-x: auto;
    padding: 0.5rem 0;
    gap: 0.5rem;
    scrollbar-width: none; /* Firefox */
}

.date-scroller::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.date-btn {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.date-btn.active {
    background: var(--primary-color);
    color: white;
}










/* Enhanced live badge */
.status.live-badge {
    position: relative;
    padding-left: 20px;
   
}

.status.live-badge:before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}


.vs {
    border: 1px solid #dee2e6;
    background-color: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #495057;
    white-space: nowrap;
    margin: 0 0.5rem;
}
