:root {
    /* New color palette */
    --primary-dark: #121821;
    --primary-medium: #1d2f48;
    --primary-light: #1E88E5;
    
    /* Sport-specific colors */
    --football-primary: #2E7D32;
    --football-hover: #388E3C;
        
    --cricket-primary: #F5F5DC;
    --cricket-hover: #E0E0D1;
    
    --golf-primary: #4CAF50;
    --golf-hover: #5DC264;
    
    --f1-primary: #C62828;
    --f1-hover: #D32F2F;
    
    --tennis-primary: #FBC02D;
    --tennis-hover: #FDD835;
    
    --basketball-primary: #F76D57;
    --basketball-hover: #f86e59;
    
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --light-gray: #E0E0E0;
    --mid-gray: #9E9E9E;
    --dark-gray: #424242;
    --black: #212121;
    --shadow: 0 8px 16px rgba(0,0,0,0.2);
    --shadow-hover: 0 12px 24px rgba(0,0,0,0.3);
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--primary-dark);
    color: var(--off-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

header {
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    color: var(--off-white);
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
}

.header-content {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    gap: 10px;
    padding: 20px 0; /* Add vertical padding as needed */
}

.logo {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.logo-icon {
    width: min(480px, 80vw);  /* Uses 80% of viewport width, max 480px */
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
}

/* Stats counter */
.stats-counter {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.counter-item {
    text-align: center;
}

.counter-value {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 5px;
}

.counter-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light-gray);
}

footer {
    background-color: var(--primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var (--off-white);
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
    max-width: 1240px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--off-white);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--off-white);
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-light);
}

.social-links img {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    margin: 0 10px; /* Add spacing between icons */
    display: inline-block;
    vertical-align: middle;
}

.copyright {
    font-size: 12px;
    opacity: 0.8;
}

/* Layout wrapper for sidebars and main content */
.page-layout {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    width: 100%;
    background: var(--primary-dark);
}

/* Sidebar styles */
.sidebar {
    width: 350px; /* Adjust width as needed for ads */
    background: transparent; /* Or use a subtle color if you want */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    min-width: 300px;
    box-sizing: border-box;
    /* Optionally add a border or shadow for separation */
}

.main-content {
    flex: 1;
    padding: 0 20px; /* Add some horizontal padding */
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ============================================ */

/* Large screens and tablets (landscape) */
@media (max-width: 1200px) {
    .sidebar {
        width: 250px;
        min-width: 200px;
    }
}

/* Tablets (portrait) and small laptops */
@media (max-width: 1024px) {
    .page-layout {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        min-width: unset;
        order: 2; /* Move sidebars below main content */
        padding: 10px 0;
        min-height: 100px;
    }
    
    .main-content {
        order: 1;
        padding: 0 15px;
    }
    
    .header-content {
        padding: 0 15px;
    }
    
    .logo-icon {
        width: min(380px, 70vw);
    }
}

/* Mobile devices (large) */
@media (max-width: 768px) {
    .header-content {
        padding: 0 10px;
    }
    
    .logo-icon {
        width: min(300px, 80vw);
    }
    
    .stats-counter {
        gap: 20px;
        margin: 15px 0;
    }
    
    .counter-value {
        font-size: 28px;
    }
    
    .counter-label {
        font-size: 12px;
    }
    
    .main-content {
        padding: 0 10px;
    }
    
    .sidebar {
        display: none; /* Hide sidebars on mobile for cleaner layout */
    }
}

/* Mobile devices (small) */
@media (max-width: 480px) {
    .header-content {
        padding: 0 8px;
    }
    
    .logo-container {
        padding: 15px 0;
    }
    
    .logo-icon {
        width: min(250px, 85vw);
    }
    
    .stats-counter {
        flex-direction: column;
        gap: 10px;
        margin: 10px 0;
    }
    
    .counter-value {
        font-size: 24px;
    }
    
    .main-content {
        padding: 0 8px;
    }
}

