
        :root {
            /* --- NEW Navy Blue Color Palette --- */
            --primary: #007bff;         /* Vibrant Blue */
            --primary-dark: #0056b3;      /* Deep Blue */
            --primary-light: #cce5ff;    /* Soft Pastel Blue */
            --secondary: #6c757d;       /* Medium Gray */
            --gradient: linear-gradient(135deg, var(--primary), #0056b3);

            /* Base Colors (Kept for consistency) */
            --success: #198754;
            --danger: #dc3545;
            --warning: #ffc107;
            --info: #0dcaf0;
            
            /* Light Theme */
            --dark: #212529;              /* Dark text */
            --dark-light: #6c757d;      /* Lighter text (gray) */
            --gray: #adb5bd;
            --light-gray: #e9ecef;      /* Borders / Light backgrounds */
            --light: #f8f9fa;           /* Main background */
            --white: #ffffff;           /* Card background */
            
            /* Spacing (Unchanged) */
            --spacing-xs: 0.5rem;   /* 8px */
            --spacing-sm: 0.75rem;  /* 12px */
            --spacing-md: 1rem;     /* 16px */
            --spacing-lg: 1.5rem;   /* 24px */
            --spacing-xl: 2rem;     /* 32px */
            --spacing-xxl: 3rem;    /* 48px */
            
            /* Typography (Unchanged) */
            --font-size-xs: 0.75rem;
            --font-size-sm: 0.875rem;
            --font-size-md: 1rem;
            --font-size-lg: 1.125rem;
            --font-size-xl: 1.25rem;
            --font-size-xxl: 1.5rem;
            --font-size-xxxl: 2rem;
            
            /* Effects (Updated with Blue Theme) */
            --border-radius-sm: 10px;
            --border-radius: 12px;
            --border-radius-lg: 16px;
            --border-radius-xl: 30px;
            --shadow: 0 4px 12px rgba(0, 86, 179, 0.07);
            --shadow-md: 0 6px 16px rgba(0, 86, 179, 0.08);
            --shadow-lg: 0 10px 24px rgba(0, 86, 179, 0.1);
            --shadow-xl: 0 20px 40px rgba(0, 86, 179, 0.15);
            --transition: all 0.3s ease;
            
            /* Layout (Unchanged) */
            --max-width: 1200px;
            --header-height: 70px;
        }

        /* --- NEW: Dark Mode (Navy Blue Theme) --- */
        [data-theme="dark"] {
            --primary: #3399ff;   /* Lighter, vibrant blue for dark mode */
            --primary-dark: #3399ff;
            --primary-light: #003366;    /* Dark blue for hover/active */
            --secondary: #809bce;
            --gradient: linear-gradient(135deg, var(--primary), #007bff);

            --dark: #e4e6eb;              /* Light text */
            --dark-light: #b0b3b8;      /* Lighter text */
            --gray: #6c757d;
            --light-gray: rgba(255, 255, 255, 0.1); /* Borders */
            --light: #0a1929;             /* Main background (Deep Navy) */
            --white: #001e3c;             /* Card background (Lighter Navy) */

            /* Dark mode shadows */
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.3);
            --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.4);
            --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.5);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: var(--header-height);
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: var(--light);
            color: var(--dark);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Improved focus styles (Now uses blue theme) */
        a:focus-visible,
        button:focus-visible,
        input:focus-visible,
        select:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 2px;
            box-shadow: 0 0 0 3px var(--primary-light);
        }

        /* --- Header --- */
        .main-header {
            background: var(--white);
            border-bottom: 1px solid var(--light-gray);
            box-shadow: var(--shadow);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height);
            z-index: 1000;
            transition: var(--transition);
        }

        .header-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 var(--spacing-md);
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-logo {
            text-decoration: none;
            color: var(--primary);
            font-size: var(--font-size-xl);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .header-logo img {
            height: 35px;
            width: 35px;
            border-radius: 50%;
        }

        .header-logo span {
            color: var(--dark);
        }

        .theme-toggle-btn {
            background: var(--light-gray);
            border: none;
            color: var(--dark-light);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: var(--font-size-lg);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .theme-toggle-btn:hover {
            background: var(--primary-light);
            color: var(--primary);
        }
        /* --- END: Header CSS --- */


        /* Main content */
        .main-content {
            margin-top: var(--header-height);
            min-height: calc(100vh - var(--header-height));
        }

        /* Game Banner */
        .game-banner {
            margin: var(--spacing-lg) auto;
            padding: 0 var(--spacing-md);
            max-width: var(--max-width);
        }

        .banner-container {
            border-radius: var(--border-radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transition: var(--transition);
        }

        .banner-container:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .banner-image {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Game Info */
        .game-info {
            margin: var(--spacing-lg) auto;
            padding: 0 var(--spacing-md);
            max-width: var(--max-width);
            text-align: center;
        }

        .section-title {
            font-size: var(--font-size-xxl);
            font-weight: 700;
            color: var(--dark);
            margin-bottom: var(--spacing-lg);
            position: relative;
            display: inline-block;
            padding: 0 var(--spacing-md);
        }

        /* Category Tabs */
        .category-tabs {
            max-width: var(--max-width);
            margin: 0 auto var(--spacing-lg);
            padding: 0 var(--spacing-md);
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            gap: var(--spacing-sm);
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none; /* Firefox */
            padding-bottom: 10px; /* For shadow visibility */
        }

        .category-tabs::-webkit-scrollbar {
            display: none; /* Chrome, Safari */
        }

        .category-tab {
            background: var(--white);
            border-radius: var(--border-radius);
            padding: var(--spacing-sm);
            text-align: center;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
            border: 2px solid transparent;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--spacing-xs);
            min-width: 90px;
            flex-shrink: 0;
        }

        .category-tab:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
            border-color: var(--primary-light);
        }

        .category-tab.active {
            background: var(--white);
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-light);
            transform: translateY(-2px);
        }

        .category-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            padding: 6px;
            background: var(--light-gray);
            box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }
        
        .category-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .category-name {
            font-weight: 600;
            color: var(--dark);
            font-size: var(--font-size-xs);
            text-align: center;
            line-height: 1.2;
        }

        .category-tab.active .category-name {
            color: var(--primary-dark);
            font-weight: 700;
        }

        /* Main Container */
        .main-container {
            max-width: var(--max-width);
            margin: 0 auto var(--spacing-xxl);
            padding: 0 var(--spacing-md);
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--spacing-xl);
        }

        /* Products Section */
        .products-section {
            background: var(--white);
            border-radius: var(--border-radius-lg);
            padding: var(--spacing-lg);
            box-shadow: var(--shadow);
            border: 1px solid var(--light-gray);
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: var(--spacing-lg);
            padding-bottom: var(--spacing-sm);
            border-bottom: 1px solid var(--light-gray);
        }

        .section-heading {
            font-size: var(--font-size-xl);
            font-weight: 700;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: var(--spacing-sm);
        }
        
        .section-heading i {
            color: var(--primary); /* Themed icon */
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: var(--spacing-md);
        }

        .product-card {
            background: var(--white);
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--light-gray);
            cursor: pointer;
            position: relative;
        }
        
        .product-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: var(--shadow-md);
            border-color: var(--primary); /* Themed hover */
        }
        
        .product-card.selected {
            border-color: var(--primary); /* Themed selected */
            box-shadow: 0 0 0 3px var(--primary-light);
            transform: translateY(-2px);
        }
        
        /* --- NEW: Discount Badge --- */
        .product-discount-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            background: var(--danger); /* Red, as requested */
            color: #ffffff;
            font-size: 10px;
            font-weight: 700;
            padding: 3px 6px;
            border-radius: var(--border-radius-sm);
            z-index: 3; /* Above other elements */
            transform: rotate(-10deg);
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            text-transform: uppercase;
        }
        
        .product-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: var(--primary); /* Themed badge */
            color: #ffffff;
            font-size: var(--font-size-xs);
            font-weight: 600;
            padding: 4px 8px;
            border-radius: var(--border-radius-xl);
            z-index: 2;
            box-shadow: var(--shadow);
        }
        
        .product-img-container {
            position: relative;
            height: 100px;
            overflow: hidden;
            background: var(--light);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: var(--spacing-sm);
        }
        
        .product-img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            transition: var(--transition);
        }
        
        .product-card:hover .product-img {
            transform: scale(1.1);
        }
        
        .product-content {
            padding: var(--spacing-sm);
            position: relative;
            z-index: 1;
        }
        
        .product-title {
            font-size: var(--font-size-sm);
            font-weight: 600;
            margin-bottom: var(--spacing-xs);
            color: var(--dark);
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 2.8em; /* 2 lines */
        }
        
        .product-stock {
            font-size: var(--font-size-xs);
            margin-bottom: var(--spacing-xs);
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .stock-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: inline-block;
        }
        
        .in-stock {
            color: var(--success);
        }
        
        .in-stock .stock-dot {
            background: var(--success);
        }
        
        .out-of-stock {
            color: var(--danger);
        }
        
        .out-of-stock .stock-dot {
            background: var(--danger);
        }
        
        .product-price {
            font-size: var(--font-size-md);
            font-weight: 700;
            color: var(--primary-dark); /* Themed price */
            margin-top: var(--spacing-xs);
            display: flex;
            align-items: center;
            gap: var(--spacing-xs);
        }
        
        .product-price::before {
            content: '₹';
            font-size: var(--font-size-sm);
        }
        
        /* Order Form */
        .order-form-section {
            background: var(--white);
            border-radius: var(--border-radius-lg);
            padding: var(--spacing-lg);
            box-shadow: var(--shadow);
            border: 1px solid var(--light-gray);
            position: sticky;
            top: calc(var(--header-height) + var(--spacing-md));
        }

        .form-header {
            text-align: center;
            margin-bottom: var(--spacing-lg);
            padding-bottom: var(--spacing-md);
            border-bottom: 1px solid var(--light-gray);
        }

        .form-title {
            font-size: var(--font-size-xl);
            font-weight: 700;
            color: var(--dark);
            margin-bottom: var(--spacing-xs);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-sm);
        }
        
        .form-title i {
            color: var(--primary); /* Themed icon */
        }

        .form-subtitle {
            color: var(--dark-light);
            font-size: var(--font-size-sm);
        }

        .form-group {
            margin-bottom: var(--spacing-md);
            position: relative;
        }

        .form-label {
            display: block;
            margin-bottom: var(--spacing-xs);
            font-weight: 500;
            color: var(--dark);
            font-size: var(--font-size-sm);
            display: flex;
            align-items: center;
            gap: var(--spacing-xs);
        }
        
        .form-label i {
            width: 16px;
            text-align: center;
            color: var(--dark-light);
        }

        .form-control {
            width: 100%;
            padding: var(--spacing-sm) var(--spacing-md);
            border: 2px solid var(--light-gray);
            border-radius: var(--border-radius-sm);
            font-family: 'Poppins', sans-serif;
            transition: var(--transition);
            font-size: var(--font-size-md);
            background: var(--light);
            color: var(--dark); /* Ensure text color is set for dark mode */
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary); /* Themed focus */
            box-shadow: 0 0 0 3px var(--primary-light);
            background: var(--white);
        }
        
        /* --- NEW: Style for the help icon (THE FIX) --- */
        .form-help-icon {
            color: var(--primary);
            cursor: pointer;
            font-size: var(--font-size-sm); /* A bit smaller */
            margin-left: var(--spacing-xs); /* A little space */
            transition: var(--transition);
        }
        .form-help-icon:hover {
            color: var(--primary-dark);
            transform: scale(1.1);
        }

        .total-section {
            background: var(--light);
            border-radius: var(--border-radius);
            padding: var(--spacing-md);
            margin: var(--spacing-lg) 0;
            text-align: center;
            border: 1px solid var(--primary-light);
        }

        .total-label {
            font-size: var(--font-size-sm);
            color: var(--dark-light);
            margin-bottom: var(--spacing-xs);
        }

        .total-price {
            font-size: var(--font-size-xxl);
            font-weight: 800;
            color: var(--primary-dark); /* Themed total */
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-xs);
        }

        .total-price::before {
            content: '₹';
            font-size: var(--font-size-lg);
        }

        .buy-button {
            width: 100%;
            background: var(--gradient); /* Themed gradient */
            color: #ffffff; /* Always white text */
            padding: var(--spacing-md);
            border-radius: var(--border-radius);
            font-weight: 600;
            font-size: var(--font-size-lg);
            border: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: var(--spacing-sm);
            position: relative;
            overflow: hidden;
        }

        .buy-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s all;
        }

        .buy-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }

        .buy-button:hover:not(:disabled)::before {
            left: 100%;
        }

        .buy-button:disabled {
            background: var(--light-gray);
            color: var(--gray);
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }
        
        .buy-button .spinner,
        .buy-button .verification-loading {
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: var(--white);
            animation: spin 1s ease-in-out infinite;
        }
        
        .buy-button .verification-loading {
            width: 16px;
            height: 16px;
        }

        
        .highlight {
            font-weight: 600;
            color: var(--primary); /* Themed highlight */
        }

        /* Modal (General) */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            padding: var(--spacing-md);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background-color: var(--white);
            border-radius: var(--border-radius-lg);
            width: 100%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
            padding: var(--spacing-xl);
            position: relative;
            box-shadow: var(--shadow-xl);
            animation: modalFadeIn 0.3s ease;
            border: 1px solid var(--light-gray);
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* Guide Modal */
        .modal#modal img {
            width: 100%;
            border-radius: var(--border-radius);
            margin-bottom: var(--spacing-lg);
            box-shadow: var(--shadow);
        }

        .close-btn {
            position: absolute;
            top: var(--spacing-md);
            right: var(--spacing-md);
            background: var(--light-gray);
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: var(--font-size-lg);
            color: var(--dark-light);
        }

        .close-btn:hover {
            background: var(--primary); /* Themed hover */
            color: var(--white);
            transform: rotate(90deg);
        }

        /* Confirmation Modal */
        .modal-title {
            font-size: var(--font-size-xl);
            font-weight: 700;
            color: var(--dark);
            text-align: center;
            margin-bottom: var(--spacing-xs);
        }
        .modal-subtitle {
            text-align: center;
            color: var(--dark-light);
            font-size: var(--font-size-sm);
            margin-bottom: var(--spacing-lg);
        }
        .order-summary {
            background: var(--light);
            border-radius: var(--border-radius-sm);
            padding: var(--spacing-md);
            margin-bottom: var(--spacing-lg);
            border: 1px solid var(--light-gray);
        }
        .summary-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: var(--spacing-sm) 0;
            border-bottom: 1px solid var(--light-gray);
            font-size: var(--font-size-sm);
        }
        .summary-item:last-child {
            border-bottom: none;
        }
        .summary-item span {
            color: var(--dark-light);
        }
        .summary-item strong {
            color: var(--dark);
            font-weight: 600;
            word-break: break-all;
            text-align: right;
            padding-left: var(--spacing-sm);
        }
        .summary-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: var(--spacing-md);
            margin-top: var(--spacing-sm);
            border-top: 2px solid var(--primary-light);
        }
        .summary-total span {
            font-size: var(--font-size-md);
            font-weight: 600;
            color: var(--dark);
        }
        .summary-total strong {
            font-size: var(--font-size-xl);
            font-weight: 700;
            color: var(--primary-dark);
        }
        #confirm-payment-button {
            width: 100%;
        }


        /* Toast notification */
        .toast {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(100px); /* Start off-screen */
            color: #ffffff; /* Always white text */
            padding: var(--spacing-sm) var(--spacing-md);
            border-radius: var(--border-radius-sm);
            box-shadow: var(--shadow-lg);
            z-index: 3000;
            display: flex;
            align-items: center;
            gap: var(--spacing-sm);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.21, 1.02, 0.73, 1); /* Bouncy effect */
            border-left: 4px solid var(--white);
            min-width: 250px;
        }
        
        .toast.success { background: var(--success); border-left-color: #0f5132; }
        .toast.error { background: var(--danger); border-left-color: #842029; }
        /* --- UPDATED: Use --primary for info toast --- */
        .toast.info { background: var(--primary); border-left-color: var(--primary-dark); } 


        .toast.show {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        /* Loading spinner */
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Mobile Footer Menu */
        .mobile-footer-menu {
            display: none; /* Hidden by default on desktop */
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: var(--white);
            box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
            z-index: 1000;
            border-top: 1px solid var(--light-gray);
        }

        .footer-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
            text-decoration: none;
            /* --- UPDATED: Use --secondary for inactive color --- */
            color: var(--secondary);
            font-size: var(--font-size-xs);
            font-weight: 500;
            padding: var(--spacing-sm) 0;
            transition: var(--transition);
        }

        .footer-link i {
            font-size: var(--font-size-lg);
            margin-bottom: 4px;
        }

        .footer-link:hover,
        .footer-link.active {
            color: var(--primary); /* Themed active state */
        }

        /* Responsive Design - MOBILE FIRST APPROACH */
        @media (max-width: 767px) {
            :root {
                --spacing-lg: 1rem;
                --spacing-xl: 1.25rem;
                --spacing-xxl: 1.5rem;
                --font-size-xxl: 1.25rem;
                --font-size-xl: 1.125rem;
                --font-size-lg: 1rem;
            }
            
            body {
                --header-height: 60px;
                padding-bottom: 70px; /* for footer menu */
            }

            /* --- Mobile Header --- */
            .header-logo {
                font-size: var(--font-size-lg);
            }
            .header-logo img {
                height: 30px;
                width: 30px;
            }
            .theme-toggle-btn {
                width: 35px;
                height: 35px;
                font-size: var(--font-size-md);
            }
            
            .game-banner {
                margin: var(--spacing-md) auto;
            }
            
            .game-info {
                margin: var(--spacing-lg) auto;
            }
            
            .section-title {
                font-size: var(--font-size-xl);
            }
            
            .category-tabs {
                gap: 8px;
                padding: 0 10px 10px;
            }
            
            .category-tab {
                min-width: 80px;
                padding: 8px;
            }
            
            .category-icon {
                width: 35px;
                height: 35px;
                font-size: 18px;
            }
            
            .category-name {
                font-size: 10px;
            }
            
            .main-container {
                padding: 0 10px;
                gap: var(--spacing-lg);
            }
            
            .products-section {
                padding: var(--spacing-md);
            }
            
            .section-heading {
                font-size: var(--font-size-lg);
            }
            
            /* --- UPDATED: 4-column grid on mobile --- */
            .products-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 8px;
            }

            /* --- UPDATED: Mobile styles for 4-column grid --- */
            
            .product-card {
                border: 1px solid transparent; 
                border-radius: var(--border-radius-sm); /* 10px */
            }
            
            /* --- NEW: Hide discount badge on smallest layout if too cluttered --- */
            /* You can remove this if you want to keep the badge */
            .product-discount-badge {
                 font-size: 8px;
                 padding: 2px 4px;
                 top: 4px;
                 left: 4px;
            }

            .product-img-container {
                height: 70px; /* Reduced height for 4-col */
                padding: 4px; 
            }

            .product-img {
                max-width: 100%; 
                max-height: 100%;
            }
            
            .product-content {
                padding: 6px; /* Reduced padding */
            }
            
            .product-title {
                font-size: 10px; /* Reduced font size */
                min-height: 2.4em; /* 2 lines */
                line-height: 1.2;
                margin-bottom: 4px;
            }
            
            .product-stock {
                font-size: 8px; /* Reduced font size */
                margin-bottom: 4px;
            }

            .stock-dot {
                width: 6px;
                height: 6px;
            }
            
            .product-price {
                font-size: 12px; /* Reduced font size */
                margin-top: 0;
            }
            .product-price::before {
                font-size: 10px;
            }
            
            /* --- END OF UPDATED MOBILE STYLES --- */

            
            .order-form-section {
                position: static;
                margin-top: 0;
                padding: var(--spacing-md);
            }
            
            .form-title {
                font-size: var(--font-size-lg);
            }
            
            .total-price {
                font-size: var(--font-size-xl);
            }
            
            .steps {
                grid-template-columns: 1fr;
                gap: var(--spacing-md);
            }
            
            .step {
                padding: var(--spacing-md);
                padding-left: var(--spacing-lg); /* Space for number */
            }
            
            .step::before {
                width: 30px;
                height: 30px;
                top: 15px; /* Aligned with padding */
                left: -10px;
                font-size: var(--font-size-md);
            }
            
            .instructions {
                padding: var(--spacing-lg) 10px;
                margin: var(--spacing-xl) auto;
            }
            
            .instructions-title {
                font-size: var(--font-size-xl);
                margin-bottom: var(--spacing-md);
            }
            
            .modal-content {
                padding: var(--spacing-lg);
                max-width: 95vw;
            }
            
            .close-btn {
                top: var(--spacing-sm);
                right: var(--spacing-sm);
                width: 35px;
                height: 35px;
            }

            /* Show Mobile Footer Menu */
            .mobile-footer-menu {
                display: flex;
                justify-content: space-around;
            }
        }

        @media (min-width: 768px) and (max-width: 1023px) {
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
            
            .category-tab {
                min-width: 100px;
            }
        }

        @media (min-width: 1024px) {
            .main-container {
                grid-template-columns: 1fr 400px;
            }
        }
        
        /* --- BANNER UPDATE --- */
        /* Modify existing .banner-container */
        .banner-container {
            position: relative; /* Needed for overlay */
            background-size: cover; /* Cover the container */
            background-position: center center;
            min-height: 220px; /* This creates the "rectangle size" */
            display: flex; /* Use flex to center content */
            align-items: center;
        }

        /* We hide the old <img> tag, as it's replaced by the background */
        .banner-image {
            display: none; 
        }
        
        /* NEW: Style for the dark overlay, to make text readable */
        .banner-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.45); /* Dark overlay */
            border-radius: inherit; /* Match parent's border-radius */
            z-index: 1;
        }

        /* NEW: Container for all the content */
        .banner-content-overlay {
            position: relative; /* Sit on top of the ::before overlay */
            z-index: 2;
            display: flex;
            align-items: center;
            width: 100%;
            padding: var(--spacing-lg);
            gap: var(--spacing-lg);
        }

        /* NEW: "small image same" (the icon) */
        .banner-game-icon {
            flex-shrink: 0;
        }
        .banner-game-icon img {
            width: 120px;
            height: 120px;
            border-radius: var(--border-radius-lg);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            border: 3px solid var(--white);
        }
        
        /* NEW: Container for the features */
        .banner-features {
            display: flex;
            flex-direction: column;
            gap: var(--spacing-md);
        }
        
        /* NEW: Individual feature item */
        .feature-item {
            display: flex;
            align-items: center;
            gap: var(--spacing-sm);
            font-size: var(--font-size-md);
            font-weight: 600;
            color: var(--white); /* White text for the overlay */
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }
        
        .feature-item i {
            color: var(--info); /* Use a bright theme color */
            font-size: var(--font-size-lg);
            width: 24px;
            text-align: center;
        }
        
        /* Responsive adjustments for the new banner */
        @media (max-width: 767px) {
            .banner-container {
                min-height: 180px; /* Shorter on mobile */
            }
            
            .banner-content-overlay {
                padding: var(--spacing-md);
                gap: var(--spacing-md);
            }
            
            .banner-game-icon img {
                width: 90px;
                height: 90px;
                border-width: 2px;
                border-radius: var(--border-radius);
            }
            
            .banner-features {
                gap: var(--spacing-sm);
            }

            .feature-item {
                font-size: var(--font-size-sm);
                gap: var(--spacing-xs);
            }
            
            .feature-item i {
                font-size: var(--font-size-md);
            }
        }
        /* --- END BANNER UPDATE --- */
    