body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1115; /* Daha koyu bir ton */
    overflow-x: hidden;
}

/* Header stil ayarları */
.header-main {
    background-color: #121418;
    border-color: rgba(255, 255, 255, 0.05);
}

.bg-gray-900 {
    background-color: #121418 !important;
}

.border-gray-800 {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

/* Dashboard sidebar ile header uyumu için */
body.has-dashboard-sidebar .header-main .container,
body.has-dashboard-sidebar .category-nav-bar .container {
    max-width: 100%;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Kategori navigasyonunu her zaman ortalı tutacak kural */
.category-nav-bar .container .flex,
.category-nav-bar .container div.flex,
body.has-dashboard-sidebar .category-nav-bar .container .flex,
body.has-dashboard-sidebar .category-nav-bar .container div.flex {
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* Navbar içindeki nav elementini ortalı tut */
.category-nav-bar nav,
body.has-dashboard-sidebar .category-nav-bar nav {
    justify-content: center !important;
    margin: 0 auto !important;
}

/* Dropdown container ve nav-link için düzeltmeler */
body.has-dashboard-sidebar .category-nav-bar .dropdown-container,
body.has-dashboard-sidebar .category-nav-bar .nav-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

/* Kategoriler butonu için düzeltme */
body.has-dashboard-sidebar #categoriesToggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.has-dashboard-sidebar .header-main .flex.items-center.justify-between {
    width: 100%;
}

body.has-dashboard-sidebar .header-main .flex-1 {
    flex: 0 1 auto;
    max-width: 400px;
}

body.has-dashboard-sidebar .header-main .space-x-1,
body.has-dashboard-sidebar .header-main .space-x-2 {
    margin-left: auto;
}

/* Fix for icon alignment in header */
.header-main .flex.items-center.space-x-1,
.header-main .flex.items-center.space-x-2 {
    justify-content: flex-end;
    min-width: 180px;
}

@media (max-width: 768px) {
    body.has-dashboard-sidebar .header-main .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .header-main .flex.items-center.space-x-1,
    .header-main .flex.items-center.space-x-2 {
        min-width: auto;
    }
}

/* Kategoriler dropdown menüsü için özel stiller */
.categories-dropdown {
    width: 800px; /* Genişletilmiş kategori dropdown genişliği */
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #121418;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    z-index: 50;
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-radius: 0;
}

.categories-dropdown.show {
    opacity: 1;
    visibility: visible;
}

/* Mobil menü için tam ekran */
#offCanvasMenu {
    width: 100%;
    max-width: 100%;
    border-right: none;
}

.offcanvas-menu {
    background-color: #121418;
    display: flex;
    flex-direction: column;
}

/* Sol sidebar tasarımı */
.side-nav {
    width: 80px;
    background-color: #121418;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 70px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 40;
}

.side-nav-item {
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a0aec0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.65rem;
}

.side-nav-item img {
    width: 32px;
    height: 32px;
    margin-bottom: 0.25rem;
    border-radius: 4px;
}

.side-nav-item.active, .side-nav-item:hover {
    color: #ffffff;
}

/* Arama çubuğu */
.search-input {
    background-color: rgba(20, 20, 20, 0.8);
    color: #e2e8f0;
    border: none;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

/* TÜM KATEGORİLER butonu */
.all-categories-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #1e293b;
    color: #4c7bff;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.all-categories-btn .arrow-icon {
    color: #4c7bff;
}

/* Alt bar stillemesi */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    background-color: #121418;
    padding: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 40;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.65rem;
    color: #4c7bff;
}

.bottom-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.nav-link {
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.75rem;
    transition: all 0.3s;
    position: relative;
    background-color: transparent;
}

.nav-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background-color: rgba(45, 50, 60, 0.5);
}

.nav-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-link:hover .nav-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0;
}

@media (max-width: 768px) {
    .nav-items {
        display: none;
    }
    
    .nav-items.mobile-visible {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #121418;
        padding: 1rem;
        z-index: 50;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    
    .mobile-menu-button {
        display: flex !important;
    }
}

.mobile-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #1f2937;
    border: 1px solid #374151;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    z-index: 50;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: rgba(31, 41, 55, 0.5);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        transform: none;
    }
}

.dropdown-menu.show,
.nav-dropdown.show {
    display: block !important;
    transform: translateY(0);
    opacity: 1;
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #9ca3af;
    transition: all 0.2s;
    border-radius: 0.25rem;
    margin: 0.25rem;
}

.nav-dropdown a:hover {
    background: linear-gradient(90deg, #374151, #1f2937);
    color: #ffffff;
}

.search-input {
    background-color: #282c38;
    color: #e2e8f0;
    border: 1px solid rgba(75, 85, 99, 0.3);
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.search-input:hover {
    border-color: rgba(75, 85, 99, 0.5);
    background-color: #2d323f;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.4);
    background-color: #2d323f;
    transform: scale(1.01);
    border-color: rgba(59, 130, 246, 0.5);
}

/* Daktilo efekti için stil */
.search-input::placeholder {
    color: #9ca3af;
    transition: color 0.3s;
}

.typing-active::placeholder {
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7, #7e22ce);
    color: #ffffff;
    transition: all 0.3s;
    box-shadow: 0 4px 10px -2px rgba(126, 34, 206, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c026d3, #9333ea);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(126, 34, 206, 0.5);
}

.header-shadow {
    box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.2), 0 2px 6px -1px rgba(0, 0, 0, 0.1);
}

.balance-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 8px -1px rgba(16, 185, 129, 0.3);
    transition: all 0.3s;
}

.balance-badge:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

/* Login/Register butonları için daha canlı renkler */
.login-button {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.4);
}

.login-button:hover {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
}

.register-button {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.4);
}

.register-button:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.5);
}

/* Sepet butonu için daha canlı stil */
.cart-button {
    background: linear-gradient(135deg, #9333ea, #7e22ce);
    box-shadow: 0 3px 5px -1px rgba(147, 51, 234, 0.3);
    position: relative;
    z-index: 1;
}

.cart-button:hover {
    background: linear-gradient(135deg, #a855f7, #9333ea);
    box-shadow: 0 4px 8px -2px rgba(147, 51, 234, 0.4);
    transform: translateY(-1px);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.5);
}

/* Sepet butonu için mobil düzenlemeler */
@media (max-width: 768px) {
    .cart-button {
        padding: 0.5rem;
        min-width: auto;
    }
    
    .cart-button span {
        display: none;
    }
    
    .cart-badge {
        top: -5px;
        right: -5px;
        min-width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }
    
    .login-button span,
    .register-button span {
        display: none;
    }
    
    .login-button, 
    .register-button {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .search-container {
        display: none;
    }
    
    .mobile-search-button {
        display: flex !important;
    }
}

.mobile-search-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-search-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Modern navbar stilleri */
.modern-navbar {
    background-color: #121418;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    z-index: 10;
}

.modern-navbar .nav-items {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-navbar .nav-item {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-navbar .nav-link {
    color: #a3b1cc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    height: 40px;
}

.modern-navbar .nav-link:hover {
    color: #ffffff;
    background-color: rgba(45, 50, 60, 0.5);
}

.modern-navbar .nav-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.modern-navbar .nav-link:hover .nav-icon {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.modern-navbar .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #1a1c24;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modern-navbar .nav-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.modern-navbar .nav-dropdown a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #94a3b8;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.modern-navbar .nav-dropdown a:hover {
    color: #ffffff;
    background-color: rgba(45, 50, 60, 0.5);
}

/* Özel kategori stilleri */
.icon-pubg { color: #f59f00; }
.icon-valorant { color: #fa5252; }
.icon-lol { color: #ffd43b; }
.icon-cs2 { color: #4dabf7; }
.icon-social { color: #748ffc; }
.icon-deals { color: #51cf66; }
.icon-giveaway { color: #be4bdb; }
.icon-marketplace { color: #20c997; }
.icon-fire { color: #ff922b; }

.bg-pubg { background-color: rgba(245, 159, 0, 0.15); }
.bg-valorant { background-color: rgba(250, 82, 82, 0.15); }
.bg-lol { background-color: rgba(255, 212, 59, 0.15); }
.bg-cs2 { background-color: rgba(77, 171, 247, 0.15); }
.bg-social { background-color: rgba(116, 143, 252, 0.15); }
.bg-deals { background-color: rgba(81, 207, 102, 0.15); }
.bg-giveaway { background-color: rgba(190, 75, 219, 0.15); }
.bg-marketplace { background-color: rgba(32, 201, 151, 0.15); }
.bg-fire { background-color: rgba(255, 146, 43, 0.15); }

.dropdown-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-arrow {
    position: absolute;
    top: -8px;
    left: 2rem;
    width: 16px;
    height: 16px;
    background-color: #121418;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
}

.search-container {
    position: relative;
    max-width: 500px;
    width: 100%;
}

.search-input {
    width: 100%;
    background-color: #1e2028;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    color: #fff;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    color: #a3b1cc;
}

.all-categories-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #2b3fd7;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.all-categories-btn:hover {
    background-color: #3549e3;
    transform: translateY(-2px);
}

.all-categories-btn i {
    margin-left: 0.5rem;
}

/* Kategoriler grid düzeni */
.categories-dropdown .categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)); /* Tam 5 sütun */
    grid-template-rows: repeat(6, 48px); /* Tam 6 satır */
    gap: 0.5rem;
    width: 100%;
    margin: 0 auto;
    max-height: 350px; /* 6 satır için yeterli yükseklik */
    overflow-y: auto;
    padding: 0.5rem;
}

/* Mobil cihazlar için media query ayarları - 1280px */
@media (max-width: 1280px) {
    .categories-dropdown .categories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* Tablet için 4 sütun */
        grid-template-rows: repeat(7, 48px); /* Daha fazla satır */
    }
}

/* Tablet cihazlar için media query ayarları - 1024px */
@media (max-width: 1024px) {
    .categories-dropdown .categories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* Daha küçük tablet için 3 sütun */
        grid-template-rows: repeat(9, 48px); /* Daha fazla satır */
    }
    
    .categories-dropdown {
        width: 95%;
        max-width: 95%;
    }
}

/* Mobil cihazlar için media query ayarları - 768px altı */
@media (max-width: 768px) {
    .categories-dropdown .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Mobil için 2 sütun */
        grid-template-rows: repeat(13, 48px);
    }
    
    .categories-dropdown {
        top: 80px;
    }
}

/* Küçük mobil cihazlar için media query ayarları - 640px altı */
@media (max-width: 640px) {
    .categories-dropdown .categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Mobil için 2 sütun kalır */
    }
}

/* Kategori kartlar için daha kompakt tasarım */
.category-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.1rem;
    border-radius: 0.375rem;
    background-color: rgba(30, 32, 38, 0.6);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: visible;
    z-index: 1;
    height: 48px; /* Kategori kartları için sabit yükseklik */
}

.category-card:hover {
    background-color: rgba(45, 50, 60, 0.8);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
    z-index: 2;
    transform: scale(1.02);
}

/* Kategoriler için daha kompakt dropdown */
.categories-dropdown {
    width: 800px; /* 5 sütun için yeterli genişlik */
    max-height: 80vh; /* Yükseklik limiti */
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #121418;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    z-index: 50;
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border-radius: 0;
}

.categories-dropdown .categories-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)); /* 5 sütun */
    grid-template-rows: repeat(6, minmax(48px, auto)); /* 6 satır, her birisi 48px yüksekliğinde */
    gap: 0.35rem;
    width: 100%;
    max-height: 350px; /* 6 satır için yeterli yükseklik */
    overflow-y: auto;
    padding: 0.5rem;
}

/* Scrollbar stilleri */
.categories-grid::-webkit-scrollbar {
    width: 6px;
}

.categories-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.categories-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.categories-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.category-card .nav-icon {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.category-card .nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.category-card:hover .nav-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.3);
}

.category-card:hover .nav-icon img {
    transform: scale(1.1);
}

.category-card .nav-icon i {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.category-card:hover .nav-icon i {
    transform: scale(1.1);
}

#categoriesToggle {
    position: relative;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
}

#categoriesToggle:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #6366f1;
    transition: all 0.3s ease;
}

#categoriesToggle:hover:after,
#categoriesContainer:hover #categoriesToggle:after {
    width: 80%;
}

/* Ana kategori sayfası için grid düzeni */
.main-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    width: 100%;
}

@media (max-width: 1280px) {
    .main-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .main-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .main-categories-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* Özel stil sınıfları */
.opacity-100 {
    opacity: 1;
}

/* Hover efektleri */
.user-dropdown a:hover {
    background: linear-gradient(90deg, rgba(55, 65, 81, 0.3), rgba(31, 41, 55, 0.1));
}

/* Bakiye kartı arka plan efekti */
.user-dropdown .bg-gradient-to-r {
    position: relative;
    overflow: hidden;
}

.user-dropdown .bg-gradient-to-r::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0) 100%);
    transform: translateX(-100%);
    transition: transform 1.5s ease;
}

.user-dropdown .bg-gradient-to-r:hover::after {
    transform: translateX(100%);
}

/* Text xxs sınıfı */
.text-xxs {
    font-size: 0.65rem;
    line-height: 1rem;
}

.category-card .flex-col span.font-medium {
    font-size: 0.875rem;
}

.category-card .flex-col span.text-xs {
    font-size: 0.7rem;
}

/* Kategoriler grid düzeni */
.categories-dropdown .categories-header {
    padding: 0.5rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    margin-bottom: 0.75rem;
    border-radius: 0.25rem;
}

/* Offcanvas mobil menüdeki grid düzeni - diğer grid ile karışmaması için */
.offcanvas-categories-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* Mobil için 1 sütun */
    gap: 0.3rem;
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
}

/* Mobil menü dropdown stilleri */
.menu-dropdown-reveal {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.menu-dropdown-reveal.open {
    max-height: 500px;
    opacity: 1;
}

.offcanvas-chevron {
    transition: transform 0.3s ease;
}

.offcanvas-chevron.rotate-180 {
    transform: rotate(180deg);
}

.menu-item-active {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Header-specific styles with unique class names to avoid sidebar conflicts */
.header-wrapper {
    background-color: rgba(15, 17, 21, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
}

.header-logo {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.header-search {
    position: relative;
    flex: 1;
    max-width: 500px;
    margin: 0 1.5rem;
}

.header-search-input {
    width: 100%;
    padding: 0.75rem 1.25rem;
    padding-right: 2.75rem;
    background: linear-gradient(145deg, rgba(35, 40, 60, 0.5), rgba(25, 30, 50, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-search-input:focus {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
    background: linear-gradient(145deg, rgba(40, 45, 70, 0.5), rgba(30, 35, 60, 0.8));
    transform: translateY(-1px);
}

.header-search-button {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a3b1cc;
    transition: all 0.2s ease;
}

.header-search-button:hover {
    color: #8b5cf6;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(45, 50, 80, 0.5), rgba(30, 35, 60, 0.8));
    color: #a3b1cc;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-icon-button:hover {
    background: linear-gradient(145deg, rgba(55, 60, 90, 0.5), rgba(40, 45, 70, 0.8));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.header-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(15, 17, 21, 0.95);
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.3);
}

.header-user-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    padding-right: 1rem;
    background: linear-gradient(145deg, rgba(45, 50, 80, 0.5), rgba(30, 35, 60, 0.8));
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-user-button:hover {
    background: linear-gradient(145deg, rgba(55, 60, 90, 0.5), rgba(40, 45, 70, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-username {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.header-balance {
    font-size: 0.75rem;
    color: #a78bfa;
    font-weight: 500;
}

.header-nav {
    background: linear-gradient(to bottom, rgba(23, 25, 35, 0.95), rgba(20, 22, 30, 0.95));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
}

.header-categories-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: #fff;
    font-weight: 500;
    border-radius: 12px;
    background: linear-gradient(145deg, #4f46e5, #4338ca);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.header-categories-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
    background: linear-gradient(145deg, #4338ca, #3730a3);
}

.header-nav-items {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.header-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    color: #a3b1cc;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav-link:hover {
    color: #fff;
    background: linear-gradient(145deg, rgba(45, 50, 80, 0.5), rgba(30, 35, 60, 0.8));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-nav-link i {
    color: #8b5cf6;
}

.header-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: linear-gradient(145deg, rgba(30, 35, 55, 0.95), rgba(25, 30, 45, 0.95));
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9999; /* z-index değerini artırıyorum */
    overflow: hidden;
    transform-origin: top right;
    transition: all 0.3s ease;
}

.header-dropdown-header {
    padding: 1rem;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.1), rgba(0, 0, 0, 0));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-dropdown-body {
    padding: 0.5rem;
}

.header-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #9ca3af;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.header-dropdown-item i {
    width: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .header-search {
        display: none;
    }
    
    .header-user-info {
        display: none;
    }
}

/* Categories dropdown enhancements */
.header-categories-dropdown {
    position: fixed; /* absolute yerine fixed kullanıyorum */
    top: auto; /* top değerini JavaScript ile ayarlayacağız */
    left: auto; /* left değerini JavaScript ile ayarlayacağız */
    width: 800px;
    background-color: #1a1d2d;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 9999; /* Çok yüksek z-index değeri */
    padding: 1rem;
    display: none;
    transform-origin: top left;
    margin-top: 0.5rem;
    max-height: 80vh;
    overflow-y: auto;
}

.header-categories-dropdown.active {
    display: block;
    animation: fadeInUp 0.3s ease forwards;
}

/* Kategoriler container'ı için position relative ekliyorum */
#categoriesContainer {
    position: relative;
    z-index: 999;
}

/* Dropdown arrow ekliyorum */
.header-categories-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 30px;
    width: 16px;
    height: 16px;
    background-color: #1a1d2d;
    transform: rotate(45deg);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: -1;
}

.header-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.header-category-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.header-category-card:hover {
    background-color: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    font-size: 1.25rem;
}

.header-category-info {
    flex: 1;
}

.header-category-title {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.header-category-desc {
    color: #9ca3af;
    font-size: 0.75rem;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-burger-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(45, 50, 80, 0.5), rgba(30, 35, 60, 0.8));
    color: #a3b1cc;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* Explicitly hide burger menu on desktop */
@media (min-width: 768px) {
    .header-burger-button {
        display: none !important;
    }
}

.header-burger-button:hover {
    background: linear-gradient(145deg, rgba(55, 60, 90, 0.5), rgba(40, 45, 70, 0.8));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
} 