    /* ==== BASE STYLES ==== */
    :root {
  /* Light Theme Default */
  --bg-color: #ffffff;
  --text-color: #333333;
  --nav-bg: #d9230f;
  /* ...बाकी वेरिएबल्स */
}

body.dark-theme {
  --bg-color: #121212;
  --text-color: #ffffff;
  /* ...डार्क थीम वेरिएबल्स */
}
        /* Reset all margins and padding */
        body, html {
            margin: 0;
            padding: 0;
            font-family: 'Arial', sans-serif;
            transition: background-color 0.3s, color 0.3s;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        
        /* ==== THEME VARIABLES ==== */
        /* Dark Theme Variables */
        body.dark-theme {
            --bg-color: #121212;
            --text-color: #ffffff;
            --header-bg: #1a1a1a;
            --nav-bg: #d9230f;
            --card-bg: #1e1e1e;
            --hover-color: #ffcc00;
            --topbar-bg: #1e3a8a;
            --ad-bg: #2d2d2d;
            --sidebar-bg: #1e1e1e;
            --footer-bg: #1a1a1a;
            --footer-text: #cccccc;
        }
        
        /* Light Theme Variables */
        body:not(.dark-theme) {
            --bg-color: #ffffff;
            --text-color: #333333;
            --header-bg: #ffffff;
            --nav-bg: #d9230f;
            --card-bg: #f9f9f9;
            --hover-color: #d9230f;
            --topbar-bg: #1e3a8a;
            --ad-bg: #f5f5f5;
            --sidebar-bg: #f5f5f5;
            --footer-bg: #2d2d2d;
            --footer-text: #ffffff;
        }
        
        body {
            background-color: var(--bg-color);
            color: var(--text-color);
        }
        
        /* ==== TOP BAR STYLES ==== */
        .top-bar {
            background-color: var(--topbar-bg);
            color: white;
            padding: 3px 0;
            font-size: 14px;
            position: relative;
            z-index: 100;
        }
        
        .top-bar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0 auto;
            padding: 0 15px;
            max-width: 1200px;
        }
        
        .live-indicator {
            display: flex;
            align-items: center;
            margin-left: 10px;
        }
        
        .live-icon {
            width: 8px;
            height: 8px;
            background-color: #fff;
            border-radius: 50%;
            margin-right: 6px;
            animation: blink 1s ease-in-out;
            animation-iteration-count: 3;
        }
        
        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0; }
            100% { opacity: 1; }
        }
        
        .social-icons a {
            color: white;
            margin-left: 15px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        /* Social icons hover colors */
        .social-icons a:hover {
            transform: scale(1.2);
        }
        
        .social-icons .fa-facebook-f:hover { color: #3b5998 !important; }
        .social-icons .fa-twitter:hover { color: #1da1f2 !important; }
        .social-icons .fa-instagram:hover { color: #e1306c !important; }
        .social-icons .fa-youtube:hover { color: #ff0000 !important; }
        
        .theme-toggle {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            margin-left: 15px;
            transition: all 0.3s ease;
            font-size: 16px;
        }
        
        .theme-toggle:hover {
            color: var(--hover-color);
            transform: scale(1.1);
        }
        
        /* ==== HEADER STYLES ==== */
        .main-header {
            background-color: var(--header-bg);
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 10px 0;
            position: relative;
        }
        
        /* Using CSS Grid for header layout */
        .header-container {
            display: grid;
            grid-template-columns: auto 728px;
            align-items: center;
            margin: 0 auto;
            padding: 0 15px;
            max-width: 1200px;
            gap: 20px;
        }
        
        .site-title {
            font-size: 32px;
            font-weight: bold;
            color: #d9230f;
            text-decoration: none;
            transition: all 0.3s ease;
            margin: 0;
        }
        
        .site-title:hover {
            color: #b51d0d;
            transform: scale(1.02);
        }
        
        .site-title span {
            color: #ffc107;
        }
        
        /* Ad banner styles */
        .header-ad {
            width: 728px;
            height: 90px;
            background-color: var(--ad-bg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-color);
            font-weight: bold;
            border: 1px solid rgba(0,0,0,0.1);
        }
        
        /* ==== NAVIGATION STYLES ==== */
        .main-nav {
            background-color: var(--nav-bg);
            position: relative;
        }
        
        .nav-container {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            margin: 0 auto;
            padding: 0 15px;
            max-width: 1200px;
        }
        
        /* Nav menu on the left */
        .nav-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
            flex-wrap: wrap;
        }
        
        .nav-menu li {
            position: relative;
        }
        
        .nav-menu li a {
            color: white;
            text-decoration: none;
            padding: 12px 15px;
            display: block;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .nav-menu li a:hover {
            background-color: #b51d0d;
        }
        
        /* Auth buttons on the right */
        .nav-auth {
            display: flex;
            gap: 10px;
            margin-left: auto;
        }
        
        .auth-button {
            text-decoration: none;
            padding: 6px 12px;
            border-radius: 4px;
            font-weight: 500;
            background-color: #d9230f;
            color: white;
            border: 1px solid #d9230f;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 14px;
        }
        
        .auth-button:hover {
            background-color: #b51d0d;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 10px;
            margin-left: auto;
        }
        
        /* ==== MAIN CONTENT AREA ==== */
        /* Using CSS Grid for main content layout - 70% main content, 30% sidebar */
        .main-content {
            display: grid;
            grid-template-columns: 7fr 3fr;
            margin: 20px auto;
            max-width: 1200px;
            padding: 0 15px;
            gap: 20px;
            flex: 1;
        }
        
        .content-area {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .content-section {
            background-color: var(--card-bg);
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .section-title {
            color: #d9230f;
            border-bottom: 2px solid #d9230f;
            padding-bottom: 10px;
            margin-bottom: 15px;
        }
        
        /* ==== SIDEBAR STYLES ==== */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .widget {
            background-color: var(--sidebar-bg);
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .widget-title {
            color: #d9230f;
            margin-bottom: 15px;
            font-size: 18px;
        }
        
        .trending-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .trending-list li {
            padding: 8px 0;
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }
        
        .trending-list li:last-child {
            border-bottom: none;
        }
        
        .trending-list a {
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .trending-list a:hover {
            color: #d9230f;
        }
        
        /* ==== FOOTER STYLES ==== */
        /* Attractive footer using CSS Grid */
        footer {
            background-color: var(--footer-bg);
            color: var(--footer-text);
            padding: 40px 0 20px;
            margin-top: 40px;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .footer-column h3 {
            color: #d9230f;
            margin-bottom: 20px;
            font-size: 18px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: #d9230f;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: var(--footer-text);
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .footer-links a:hover {
            color: #d9230f;
            padding-left: 5px;
        }
        
        .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .footer-social a {
            color: var(--footer-text);
            font-size: 20px;
            transition: all 0.3s ease;
        }
        
        .footer-social a:hover {
            color: #d9230f;
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            margin-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        /* ==== RESPONSIVE STYLES ==== */
        @media (max-width: 1200px) {
            .header-container {
                grid-template-columns: 1fr;
                justify-items: center;
            }
            
            .header-ad {
                width: 100%;
                max-width: 728px;
            }
            
            .footer-container {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .sidebar {
                order: -1; /* Show sidebar first on mobile */
            }
            
            .nav-menu {
                display: none;
                flex-direction: column;
                width: 100%;
            }
            
            .nav-menu.active {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .site-title {
                font-size: 28px;
            }
        }
        
        @media (max-width: 768px) {
            .top-bar-container {
                flex-direction: column;
                text-align: center;
            }
            
            .live-indicator {
                margin: 5px 0;
            }
            
            .social-icons {
                margin-top: 5px;
            }
            
            .nav-container {
                grid-template-columns: 1fr auto;
            }
            
            .nav-auth {
                display: none;
            }
            
            .footer-container {
                grid-template-columns: 1fr;
            }
            
            .footer-column {
                margin-bottom: 30px;
            }
        }