<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-color-rgb: 37, 99, 235;
    --secondary-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --input-bg: #f1f5f9;
    --header-bg: #ffffff;
    --footer-bg: #1e293b;
    --footer-text: #ffffff;
    --shadow-color: rgba(0,0,0,0.1);
}

/* Dark Theme */
[data-theme="dark"] {
    --primary-color: #ff8533;
    --primary-color-rgb: 255, 133, 51;
    --secondary-color: #ff6f1e;
    --light-bg: #1a1a1a;
    --dark-bg: #0d0d0d;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #2d2d2d;
    --card-bg: #242424;
    --input-bg: #2d2d2d;
    --header-bg: #242424;
    --footer-bg: #0d0d0d;
    --footer-text: #ffffff;
    --shadow-color: rgba(0,0,0,0.3);
}

/* Base Styles */
body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Header Styles */
.header {
    background: var(--header-bg);
    position: relative;
    z-index: 1000;
}

.header-top {
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 0;
    position: relative;
    overflow: hidden;
}

.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

/* Login Button Styles */
.login-wrapper {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.login-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.login-btn i {
    font-size: 1rem;
    flex-shrink: 0;
}

.login-btn span {
    display: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .login-btn span {
        display: inline;
    }
}

[data-theme="dark"] .login-btn {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .login-btn:hover {
    background: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-top {
        padding: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .header-top {
        padding: 0.25rem 0;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--input-bg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
}

.theme-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle i {
    transform: rotate(180deg);
}

/* Header Main Styles */
.header-main {
    padding: 1rem 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1000;
}

.header-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Layout */
.header-main .d-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.75rem;
    background: rgba(var(--primary-color-rgb), 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* Search Section */
.search-section {
    flex: 1;
    max-width: 400px;
    margin: 0 1rem;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-left: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    background: var(--card-bg);
}

.search-box input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-box input:focus + i {
    color: var(--primary-color);
}

.search-box .search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.search-box .search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-box .search-results::-webkit-scrollbar {
    width: 6px;
}

.search-box .search-results::-webkit-scrollbar-track {
    background: var(--input-bg);
    border-radius: 3px;
}

.search-box .search-results::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.search-box .search-results::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* Header Actions Styles */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1rem;
}

.header-actions .header-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

.header-actions .header-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.header-actions .header-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.header-actions .theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.header-actions .theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.header-actions .user-menu {
    position: relative;
}

.header-actions .user-menu-button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 12px;
    background: var(--input-bg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

.header-actions .user-menu-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.header-actions .user-menu-button .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-main {
        padding: 0.75rem 0;
    }

    .search-section {
        display: none;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo i {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions .header-btn,
    .header-actions .theme-toggle,
    .header-actions .user-menu-button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .header-actions .user-menu-button .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .header-main {
        padding: 0.5rem 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo i {
        font-size: 1.25rem;
        width: 32px;
        height: 32px;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .header-actions .header-btn,
    .header-actions .theme-toggle,
    .header-actions .user-menu-button {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .header-actions .user-menu-button .user-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}

/* User Menu Styles */
.user-menu {
    position: relative;
}

.user-menu-button {
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu-button:hover {
    color: var(--primary-color);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 380px;
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    padding: 0;
    margin-top: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transform-origin: top right;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--border-color);
    border: 1px solid rgba(var(--border-color-rgb), 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.user-menu.active .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.user-menu-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(var(--border-color-rgb), 0.1);
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 3;
    backdrop-filter: blur(10px);
}

.user-avatar {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
    overflow: hidden;
}

.avatar-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 3px solid var(--card-bg);
    background: var(--success-color);
}

.avatar-status.online {
    background: var(--success-color);
}

.user-info {
    flex: 1;
}

.user-info h4 {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.user-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-info p i {
    font-size: 0.75rem;
}

.user-balance {
    margin: 0 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1), rgba(var(--primary-color-rgb), 0.05));
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-color-rgb), 0.1);
    position: relative;
    z-index: 1;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.balance-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.balance-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.balance-trend {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.balance-trend.positive {
    color: var(--success-color);
}

.balance-trend.negative {
    color: var(--danger-color);
}

.user-menu-body {
    padding: 1rem 1.5rem;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-menu-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.user-menu-item.active {
    background: var(--light-bg);
    color: var(--primary-color);
}

.user-menu-item i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.user-menu-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(var(--border-color-rgb), 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-button {
    background: none;
    border: none;
    color: var(--danger-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-button:hover {
    color: var(--danger-color);
    opacity: 0.8;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgb(255 141 78 / 0%), rgb(255 133 51 / 17%));
    color: var(--text-primary);
    padding: 6rem 0 4rem;
    margin-top: 64px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,&lt;svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"&gt;&lt;path fill="rgba(0,0,0,0.02)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"&gt;&lt;/path&gt;&lt;/svg&gt;') no-repeat bottom;
    background-size: cover;
    opacity: 0.1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

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

.hero-btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.hero-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--card-bg);
}

.stats-card {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    background: var(--input-bg);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.stats-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.stats-icon i {
    font-size: 1.5rem;
    color: white;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Categories Section */
.categories {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Card Styles */
.category-card {
    display: block;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.category-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1);
}

.category-card:hover .category-icon::after {
    opacity: 1;
}

.category-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.category-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(var(--primary-color-rgb), 0.1);
}

.category-card:hover .category-link {
    transform: translateX(-5px);
    background: var(--primary-color);
    color: white;
}

.category-link i {
    transition: transform 0.3s ease;
}

.category-card:hover .category-link i {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-icon {
        width: 70px;
        height: 70px;
    }

    .category-icon i {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 576px) {
    .category-card {
        padding: 1.75rem 1.25rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-icon i {
        font-size: 1.5rem;
    }

    .category-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .category-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Products Section Styles */
.products {
    padding: 6rem 0;
    background: var(--card-bg);
}

.product-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.3s ease;
    height: 100%;
}

.section-header {
    text-align: center;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
}

.product-content {
    background: #fff;
}

.product-title {
    color: #2c3e50;
    font-weight: 600;
}

.product-price {
    color: #3498db;
    font-weight: 700;
}

.product-meta {
    font-size: 0.9rem;
}

.rating i {
    margin-left: 0.25rem;
}

.sales i {
    margin-left: 0.25rem;
}

.product-actions {
    margin-top: 1rem;
}

.add-to-cart-btn, .favorite-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background-color: #3498db;
    color: #fff;
}

.favorite-btn:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
}

/* Popular Products Section */
.popular-products {
    background: var(--light-bg);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.popular-products::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 100%);
    z-index: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
    border: 1px solid var(--primary-color);
}

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.product-content {
    padding: 1.5rem;
    background: transparent;
    position: relative;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-meta i {
    color: var(--primary-color);
}

.product-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.add-to-cart {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.favorite-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-btn:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.1);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .countdown-value {
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .deal-title {
        font-size: 1rem;
    }
    
    .new-price {
        font-size: 1.1rem;
    }
}

/* Daily Deals Section */
.daily-deals {
    background: var(--light-bg);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.daily-deals::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-color-rgb), 0.05) 0%, transparent 100%);
    z-index: 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.countdown-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    text-align: center;
    min-width: 100px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
    border: 1px solid var(--primary-color);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.deal-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
    border: 1px solid var(--primary-color);
}

.deal-card .product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.deal-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.deal-card:hover .product-image img {
    transform: scale(1.05);
}

.deal-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

.deal-content {
    padding: 1.5rem;
    background: transparent;
    position: relative;
}

.deal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.new-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.deal-progress {
    margin-bottom: 1rem;
}

.progress {
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.deal-stock {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.deal-actions {
    display: flex;
    justify-content: center;
}

.deal-actions .add-to-cart {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.deal-actions .add-to-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-timer {
        gap: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .deals-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 0.8rem;
    }
    
    .countdown-value {
        font-size: 1.2rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .deal-title {
        font-size: 1rem;
    }
    
    .new-price {
        font-size: 1.1rem;
    }
}

/* Games Subcategories Section */
.games-subcategories {
    padding: 4rem 0;
    background: var(--light-bg);
    overflow: hidden;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.game-category-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.game-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.game-category-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.game-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-category-card:hover .game-category-image img {
    transform: scale(1.1);
}

.game-category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.game-category-card:hover .game-category-overlay {
    transform: translateY(0);
}

.game-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.game-category-card:hover .game-category-title {
    transform: translateY(0);
}

/* Hide other elements on hover */
.game-category-desc,
.game-category-stats,
.game-category-link {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .game-category-overlay {
        padding: 0.75rem;
    }
    
    .game-category-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
}

/* Live Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.chat-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.chat-toggle i {
    font-size: 1.5rem;
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-container {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    width: 350px;
    height: 450px;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 8px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-container.active {
    display: flex;
}

.chat-header {
    padding: 1rem;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.chat-title i {
    font-size: 1.2rem;
}

.chat-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--light-bg);
}

.chat-message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
}

.chat-message.user {
    background: var(--primary-color);
    color: #fff;
    margin-right: auto;
    border-bottom-right-radius: 0;
}

.chat-message.bot {
    background: var(--card-bg);
    color: var(--text-primary);
    margin-left: auto;
    border-bottom-left-radius: 0;
    border: 1px solid var(--border-color);
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.3rem;
}

.chat-input {
    padding: 1rem;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
}

.message-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--light-bg);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.message-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.1);
}

.send-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.send-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.send-button i {
    font-size: 1rem;
}

/* Responsive Chat Widget */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 1rem;
        right: 1rem;
    }
    
    .chat-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chat-toggle i {
        font-size: 1.2rem;
    }
    
    .chat-badge {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }
    
    .chat-container {
        width: calc(100% - 2rem);
        right: 1rem;
        bottom: 4rem;
        height: 400px;
    }
    
    .chat-header {
        padding: 0.8rem;
    }
    
    .chat-title {
        font-size: 1rem;
    }
    
    .chat-messages {
        padding: 0.8rem;
    }
    
    .chat-message {
        max-width: 85%;
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .message-time {
        font-size: 0.65rem;
    }
    
    .chat-input {
        padding: 0.8rem;
    }
    
    .message-input {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
    
    .send-button {
        width: 36px;
        height: 36px;
    }
    
    .send-button i {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .chat-container {
        height: 350px;
    }
    
    .chat-message {
        max-width: 90%;
    }
}

/* Dark Mode Chat Widget */
[data-theme="dark"] .chat-container {
    background: var(--dark-card-bg);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .chat-messages {
    background: var(--dark-bg);
}

[data-theme="dark"] .chat-message.bot {
    background: var(--dark-card-bg);
    color: var(--dark-text-primary);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .message-input {
    background: var(--dark-bg);
    color: var(--dark-text-primary);
    border-color: var(--dark-border-color);
}

[data-theme="dark"] .message-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
}

[data-theme="dark"] .chat-input {
    background: var(--dark-card-bg);
    border-color: var(--dark-border-color);
}

.login-wrapper {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.login-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.login-btn i {
    font-size: 1rem;
    flex-shrink: 0;
}

.login-btn span {
    display: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .login-btn span {
        display: inline;
    }
}

[data-theme="dark"] .login-btn {
    background: var(--primary-color);
    color: white;
}

[data-theme="dark"] .login-btn:hover {
    background: var(--secondary-color);
} </pre></body></html>