
        /* Global Site Styles */
        * {
            font-family: 'Poppins', sans-serif;
        }

        /* Prevent site expansion when dropdowns are open - GameSepet dark theme */
        body {
            overflow-x: hidden !important;
            background-color: #f3f4f6;
            color: #111827;
            background-image: none;
            background-repeat: repeat;
        }
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(243, 244, 246, 0.95);
            z-index: 0;
            pointer-events: none;
        }
        html[data-theme="light"] body {
            background-color: #f3f4f6 !important;
            background-image: none !important;
            color: #111827;
        }
        html[data-theme="light"] body::before,
        [data-theme="light"] body::before {
            background: rgba(243, 244, 246, 0.95) !important;
        }
        body > * { position: relative; z-index: 1; }

        /* Offline / Online banner */
        .offline-banner {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 99999;
            padding: 12px 20px;
            text-align: center;
            font-size: 14px;
            font-weight: 500;
            animation: slideDown 0.3s ease;
        }
        .offline-banner-inner {
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }
        .offline-banner:not(.online-banner) {
            background: linear-gradient(135deg, #2e2591, #3f33b8);
            color: #d9d4ff;
            box-shadow: 0 4px 20px rgba(124, 45, 18, 0.4);
        }
        .offline-banner.online-banner {
            background: linear-gradient(135deg, #14532d, #166534);
            color: #bbf7d0;
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
        }
        @keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
        [data-theme="light"] .offline-banner:not(.online-banner) {
            background: linear-gradient(135deg, #f5f3ff, #ebe8ff);
            color: #3f33b8;
        }
        [data-theme="light"] .offline-banner.online-banner {
            background: linear-gradient(135deg, #dcfce7, #bbf7d0);
            color: #166534;
        }

        main, .main-content, .page-content {
            background: transparent !important;
        }
        [data-theme="light"] body {
            background: #f7f8fb;
            background-image: none;
        }

        /* Topbar Styles */
        .topbar {
           background: linear-gradient(135deg, #0f0f14, #1a1a24);
            border-bottom: 1px solid #2d2d3a;
            padding: 4px 0;
            font-size: 12px;
        }

        .topbar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .topbar-left {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .topbar-contact {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #f4f7ff;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 4px 8px;
            border-radius: 6px;
        }

        .topbar-contact:hover {
            color: #7567ff;
            background: rgba(117, 103, 255, 0.12);
            text-decoration: none;
        }

        .topbar-contact i {
            font-size: 14px;
            width: 16px;
            text-align: center;
        }
        
        .reg-title {
    display: grid;
    grid-template-columns: auto 1fr auto; /* ikon - yazı - boş alan */
    gap: 12px;
    background: rgba(117, 103, 255, 0.1);
    border: 1px solid rgba(117, 103, 255, 0.3);
    border-radius: 8px;
    padding: 12px 12px 12px 15px;
    margin-bottom: 16px;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s ease;
}

/* Icon ekleme için ::before pseudo-element */
.reg-title::before {
    content: "\f02d"; /* FontAwesome 5 Free - fa-list-alt */
    font-family: "Font Awesome 5 Free"; /* kullanacağın FontAwesome sürümü */
    font-weight: 900; /* solid için */
    font-size: 22px;
    color: #7567ff;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

/* Hover efekti */
.reg-title:hover {
    background: rgba(117, 103, 255, 0.15);
    border-color: #7567ff;
}

.reg-title:hover::before {
    transform: rotate(15deg); /* ikon hafif dönecek */
}


        .topbar-contact span {
            font-size: 12px;
            font-weight: 500;
        }

        .topbar-right {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .topbar-dropdown {
            position: relative;
        }

        .topbar-dropdown-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            background: none;
            border: none;
            color: #f4f7ff;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 6px;
            transition: all 0.3s ease;
            font-size: 12px;
            font-weight: 500;
        }

        .topbar-dropdown-btn:hover {
            color: #7567ff;
            background: rgba(117, 103, 255, 0.12);
        }

        .topbar-dropdown-btn i:first-child {
            font-size: 14px;
            width: 16px;
            text-align: center;
        }

        .topbar-dropdown-btn i:last-child {
            font-size: 10px;
            transition: transform 0.3s ease;
        }

        .topbar-dropdown:hover .topbar-dropdown-btn i:last-child {
            transform: rotate(180deg);
        }

        .topbar-dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: #1a1a24;
            border: 1px solid #2d2d3a;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            min-width: 180px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 9999;
            padding: 8px 0;
            margin-top: 5px;
        }

        .topbar-dropdown:hover .topbar-dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .topbar-dropdown-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 16px;
            color: #f4f7ff;
            text-decoration: none;
            font-size: 13px;
            transition: all 0.2s ease;
            border-left: 3px solid transparent;
        }

        .topbar-dropdown-item:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #7567ff;
            border-left-color: #7567ff;
            text-decoration: none;
        }

        .topbar-dropdown-item i {
            width: 16px;
            font-size: 14px;
            text-align: center;
        }

        .topbar-dropdown-item span {
            font-weight: 500;
        }

        /* Light theme topbar */
        [data-theme="light"] .topbar {
            background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.9));
            border-bottom: 1px solid #e9ecef;
        }

        [data-theme="light"] .topbar-contact {
            color: #495057;
        }

        [data-theme="light"] .topbar-contact:hover {
            color: #1976d2;
            background: rgba(25, 118, 210, 0.1);
        }

        [data-theme="light"] .topbar-dropdown-btn {
            color: #495057;
        }

        [data-theme="light"] .topbar-dropdown-btn:hover {
            color: #1976d2;
            background: rgba(25, 118, 210, 0.1);
        }

        [data-theme="light"] .topbar-dropdown-menu {
            background: #ffffff;
            border-color: #e9ecef;
        }

        [data-theme="light"] .topbar-dropdown-item {
            color: #495057;
        }

        [data-theme="light"] .topbar-dropdown-item:hover {
            background: rgba(0, 0, 0, 0.05);
            color: #1976d2;
            border-left-color: #1976d2;
        }

        /* Mobile topbar */
        @media (max-width: 768px) {
            .topbar {
                display: none;
            }
        }

        /* Frontend Header - itemsatis/liderepin tarzı sade tasarım */
        .frontend-header {
            background: #0f0f14;
            border-bottom: 1px solid rgba(255,255,255,0.06);
            top: 0;
            left: 0;
            right: 0;
            position: relative;
            z-index: 1000;
            box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(20px);
        }

        .frontend-header .header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 24px;
            background: linear-gradient(180deg, rgba(18,20,28,0.98) 0%, rgba(15,17,24,0.95) 100%) !important;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            width: 100%;
            overflow: visible;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }
        .logo-link {
            text-decoration: none;
            color: inherit;
            display: flex;
            align-items: center;
            transition: opacity 0.2s ease;
        }
        .logo-link:hover { opacity: 0.9; }
        .header-logo {
            height: 42px;
            max-width: 160px;
            object-fit: contain;
        }

        .logo {
            font-size: 24px;
            font-weight: 800;
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .logo-subtitle {
            font-size: 10px;
            color: #fbbf24;
            font-weight: 600;
            margin-top: -3px;
        }

        /* Header Search Bar — kompakt + sol neon şerit */
        .header-search-container {
            display: flex;
            align-items: center;
            flex: 1;
            max-width: 480px;
            margin: 0 20px;
        }

        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

        .header-search-box {
            position: relative;
            overflow: hidden;
            width: 100%;
            display: flex;
            align-items: center;
            background: rgba(18, 20, 28, 0.9);
            border: 1px solid rgba(63, 63, 70, 0.9);
            border-radius: 12px;
            padding: 8px 16px 8px 18px; /* py-2 px-4 + pl for accent */
            gap: 10px;
            transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
            height: auto;
            max-height: 42px;
            min-height: 38px;
            flex-direction: row;
            backdrop-filter: blur(12px);
        }

        /* Sol neon turuncu şerit */
        .header-search-box::before {
            content: '';
            position: absolute;
            left: 0;
            top: 8px;    /* top-2 */
            bottom: 8px; /* bottom-2 */
            width: 3px;
            border-radius: 0 9999px 9999px 0;
            background: #7567ff;
            box-shadow: 0 0 10px rgba(117, 103, 255, 0.8);
            transition: box-shadow 0.3s ease, background 0.3s ease, opacity 0.3s ease;
            pointer-events: none;
            z-index: 1;
        }

        .header-search-box:hover {
            border-color: rgba(117, 103, 255, 0.35);
            box-shadow: 0 0 12px rgba(117, 103, 255, 0.12);
        }

        .header-search-box:hover::before {
            box-shadow: 0 0 14px rgba(117, 103, 255, 0.95);
        }

        .header-search-box:focus-within {
            border-color: rgba(117, 103, 255, 0.5);
            box-shadow: 0 0 15px rgba(117, 103, 255, 0.2);
        }

        .header-search-box:focus-within::before {
            background: #8b7dff;
            box-shadow:
                0 0 12px rgba(117, 103, 255, 1),
                0 0 22px rgba(117, 103, 255, 0.55);
        }

        .header-search-icon-left {
            color: rgba(248, 250, 252, 0.7);
            font-size: 14px;
            width: 1rem;
            height: 1rem;
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .header-search-input {
            flex: 1;
            background: none !important;
            border: none !important;
            outline: none !important;
            color: #f8fafc !important;
            font-size: 12px; /* text-xs */
            padding: 0 !important;
            height: 100%;
            width: auto !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            line-height: 1.25;
        }

        @media (min-width: 640px) {
            .header-search-input {
                font-size: 13px; /* sm:text-sm */
            }
        }

        .header-search-input:focus {
            outline: none !important;
            box-shadow: none !important;
            border: none !important;
        }

        .header-search-input::placeholder {
            color: rgba(248, 250, 252, 0.5) !important;
        }

        .header-search-btn {
            background: rgba(255, 255, 255, 0.08);
            border: none;
            color: rgba(248, 250, 252, 0.75);
            cursor: pointer;
            padding: 0;
            border-radius: 8px;
            transition: all 0.25s ease;
            height: 28px;
            width: 28px;
            min-width: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .header-search-btn:hover {
            background: rgba(117, 103, 255, 0.15);
            color: #8b7dff;
        }

        .header-search-btn i {
            font-size: 12px;
            width: 1rem;
            height: 1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .live-search-dropdown {
            display: none;
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: rgba(21, 26, 39, 0.97);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 14px;
            box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,0.03);
            z-index: 9999;
            max-height: 420px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #313a53 transparent;
            backdrop-filter: blur(20px);
        }
        .live-search-dropdown.show { display: block; }
        .live-search-dropdown::-webkit-scrollbar { width: 5px; }
        .live-search-dropdown::-webkit-scrollbar-track { background: transparent; }
        .live-search-dropdown::-webkit-scrollbar-thumb { background: #444; border-radius: 10px; }

        .lsd-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            text-decoration: none;
            color: inherit;
            border-bottom: 1px solid rgba(255,255,255,.05);
            transition: background .15s;
        }
        .lsd-item:last-child { border-bottom: none; }
        .lsd-item:hover { background: rgba(42,94,225,.1); }

        .lsd-img {
            width: 52px;
            height: 52px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
            background: #111;
        }
        .lsd-info { flex: 1; min-width: 0; }
        .lsd-title {
            font-size: 13px;
            font-weight: 600;
            color: #e5e7eb;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 3px;
        }
        .lsd-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 11px;
            color: #9ca3af;
        }
        .lsd-server {
            background: rgba(42,94,225,.15);
            color: #799efb;
            padding: 1px 7px;
            border-radius: 4px;
            font-size: 10px;
            font-weight: 600;
        }
        .lsd-price {
            font-size: 14px;
            font-weight: 700;
            color: #facc15;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .lsd-empty {
            padding: 24px;
            text-align: center;
            color: #6b7280;
            font-size: 13px;
        }
        .lsd-footer {
            padding: 10px;
            text-align: center;
            border-top: 1px solid rgba(255,255,255,.06);
        }
        .lsd-footer a {
            color: #799efb;
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
        }
        .lsd-footer a:hover { color: #a4b0cb; }

        [data-theme="light"] .live-search-dropdown { background: rgba(255,255,255,0.98); border-color: rgba(0,0,0,0.06); box-shadow: 0 20px 60px rgba(0,0,0,.12); backdrop-filter: blur(20px); }
        [data-theme="light"] .lsd-item:hover { background: rgba(42,94,225,.04); }
        [data-theme="light"] .lsd-title { color: #1f2937; }
        [data-theme="light"] .lsd-meta { color: #6b7280; }
        [data-theme="light"] .lsd-price { color: #b45309; }
        [data-theme="light"] .lsd-footer { border-top-color: #f3f4f6; }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
            overflow: visible;
            position: relative;
            z-index: 1002;
        }

        /* İlan Pazarı, Sepet - LiderEpin tarzı butonlar */
        .header-action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            background: rgba(18, 20, 28, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            color: #f8fafc;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.25s ease;
        }
        .header-action-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(117, 103, 255, 0.3);
            color: #7567ff;
        }
        .header-action-btn i {
            font-size: 16px;
            opacity: 0.9;
        }

        .header-sepet-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px;
            background: rgba(18, 20, 28, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            color: #f8fafc;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.25s ease;
            flex-direction: column;
            align-items: flex-start;
            min-width: 90px;
        }
        .header-sepet-btn:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(117, 103, 255, 0.3);
            color: #f8fafc;
        }
        .header-sepet-btn .sepet-row {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .header-sepet-btn .sepet-row i {
            font-size: 18px;
            position: relative;
        }
        .header-sepet-btn .sepet-total {
            font-size: 12px;
            font-weight: 700;
            color: #7567ff;
            margin-top: 2px;
        }

        .user-actions {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .header-icon-btn {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.25s ease;
            position: relative;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06);
            color: rgba(248,250,252,0.8);
        }
        .header-icon-btn:hover {
            background: rgba(255,255,255,0.08);
            border-color: rgba(117, 103, 255,0.3);
            color: #7567ff;
        }
        .header-icon-btn.notifications-btn { color: rgba(117, 103, 255,0.9); }
        .header-icon-btn.messages-btn { color: rgba(251,191,36,0.9); }

        .header-icon-btn .notification-badge,
        .header-icon-btn .message-badge {
            position: absolute;
            top: -4px;
            right: -4px;
            background: #7567ff;
            color: white;
            border-radius: 10px;
            min-width: 16px;
            height: 16px;
            font-size: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #12141c;
            padding: 0 4px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }

        .header-user-card {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 6px 12px 6px 6px;
            background: rgba(255,255,255,0.04);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.25s ease;
            min-width: 0;
        }
        .header-user-card:hover {
            background: rgba(255,255,255,0.07);
            border-color: rgba(255,255,255,0.1);
        }
        .header-user-card .avatar-wrap {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            overflow: hidden;
            flex-shrink: 0;
            border: 1px solid rgba(255,255,255,0.08);
        }
        .header-user-card .avatar-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .header-user-card .user-details {
            display: flex;
            flex-direction: column;
            gap: 2px;
            min-width: 0;
        }
        .header-user-card .user-details .username {
            font-size: 13px;
            font-weight: 600;
            color: #f8fafc;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 100px;
        }
        .header-user-card .user-details .balance {
            font-size: 11px;
            font-weight: 700;
            color: #fbbf24;
            letter-spacing: 0.3px;
        }
        .header-user-card .dropdown-arrow {
            font-size: 10px;
            color: rgba(248,250,252,0.5);
            margin-left: 4px;
            transition: transform 0.2s ease;
        }
        .header-user-card:hover .dropdown-arrow {
            color: rgba(248,250,252,0.8);
        }

        .header-user-dropdown {
            padding: 0 !important;
            background: none !important;
            border: none !important;
        }
        .header-user-dropdown:hover {
            background: none !important;
        }
        .header-user-dropdown .dropdown-menu {
            right: 0 !important;
            left: auto !important;
            min-width: 200px !important;
            margin-top: 6px !important;
        }


        /* Theme Toggle — glass pill (rounded-full) */
        .theme-toggle-btn {
            width: 3.5rem;
            height: 2rem;
            min-width: 3.5rem;
            padding: 0 1rem;
            border-radius: 9999px;
            background: rgba(39, 39, 42, 0.8);
            border: 1px solid rgba(63, 63, 70, 0.5);
            color: #7567ff;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .theme-toggle-btn:hover {
            border-color: rgba(117, 103, 255, 0.45);
            color: #8b7dff;
            box-shadow:
                inset 0 2px 4px rgba(0, 0, 0, 0.18),
                0 0 12px rgba(117, 103, 255, 0.15);
        }

        .theme-toggle-btn:active {
            transform: scale(0.95);
        }

        .theme-toggle-btn i {
            transition: transform 0.5s ease;
            transform-origin: center center;
            line-height: 1;
        }

        .theme-toggle-btn:hover i {
            transform: rotate(15deg);
        }


        .auth-buttons {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        /* Giriş / Kayıt — tek tetikleyici + dropdown (2. satır: veya Kayıt Ol) */
        .auth-header-dropdown {
            padding: 0 !important;
            background: none !important;
            border: none !important;
            align-items: stretch !important;
        }
        .auth-header-dropdown::after {
            display: none !important;
        }
        .auth-header-dropdown:hover {
            background: none !important;
        }
        .auth-dropdown-trigger {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 10px;
            padding: 6px 4px 6px 8px;
            margin: 0;
            background: transparent;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-family: inherit;
            text-align: left;
            transition: background 0.2s ease;
        }
        .auth-dropdown-trigger:hover {
            background: rgba(255, 255, 255, 0.06);
        }
        .auth-dropdown-trigger__lines {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            gap: 2px;
        }
        .auth-dropdown-trigger__line1 {
            display: block;
            font-size: 14px;
            font-weight: 700;
            color: #f1f5f9;
            line-height: 1.15;
            letter-spacing: 0.01em;
        }
        .auth-dropdown-trigger__line2 {
            display: block;
            font-size: 12px;
            font-weight: 500;
            color: #94a3b8;
            line-height: 1.15;
        }
        .auth-dropdown-trigger__chev {
            font-size: 11px;
            color: rgba(148, 163, 184, 0.85);
            transition: transform 0.22s ease;
            align-self: center;
        }
        .auth-header-dropdown:hover .auth-dropdown-trigger__chev,
        .auth-header-dropdown:focus-within .auth-dropdown-trigger__chev {
            transform: rotate(180deg);
            color: #cbd5e1;
        }
        .auth-header-dropdown .dropdown-menu.auth-dropdown-panel {
            right: 0 !important;
            left: auto !important;
            min-width: 196px !important;
            margin-top: 8px !important;
            padding: 8px !important;
            background: #ffffff !important;
            border: 1px solid rgba(15, 23, 42, 0.08) !important;
            border-radius: 12px !important;
            box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
            backdrop-filter: none !important;
        }
        .auth-dropdown-panel .dropdown-item {
            justify-content: flex-start !important;
            color: #0f172a !important;
            font-weight: 700 !important;
            font-size: 14px !important;
            padding: 12px 14px !important;
            border-radius: 8px !important;
            border-left: none !important;
        }
        .auth-dropdown-panel .dropdown-item:hover {
            background: rgba(117, 103, 255, 0.12) !important;
            color: #4c3fd8 !important;
        }
        [data-theme="light"] .auth-dropdown-trigger:hover {
            background: rgba(15, 23, 42, 0.06);
        }
        [data-theme="light"] .auth-dropdown-trigger__line1 {
            color: #0f172a;
        }
        [data-theme="light"] .auth-dropdown-trigger__line2 {
            color: #64748b;
        }
        [data-theme="light"] .auth-dropdown-trigger__chev {
            color: #64748b;
        }

        .btn-auth-combined {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 8px 16px;
            background: rgba(18, 20, 28, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            color: #f8fafc;
            cursor: pointer;
            transition: all 0.25s ease;
            font-size: 12px;
            font-weight: 600;
            min-width: 98px;
            text-decoration: none;
        }
        .btn-auth-combined:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(117, 103, 255, 0.3);
            color: #7567ff;
        }
        .btn-auth-combined i {
            font-size: 18px;
            margin-bottom: 4px;
        }
        .btn-auth-combined .auth-line2 {
            font-size: 11px;
            opacity: 0.9;
        }

        .btn-register {
            background: rgba(18, 20, 28, 0.9);
            color: #f8fafc;
            padding: 8px 14px;
            border-radius: 10px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            min-width: auto;
            height: 48px;
        }

        .btn-register:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(117, 103, 255, 0.3);
            color: #7567ff;
        }

        .btn-register i {
            font-size: 14px;
            opacity: 0.9;
        }

        .btn-register span {
            font-weight: 600;
        }

        .btn-login {
            background: linear-gradient(135deg, #5b4ee8, #7567ff);
            color: white;
            padding: 8px 14px;
            border-radius: 10px;
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            box-shadow: 0 2px 12px rgba(117, 103, 255, 0.3);
            min-width: auto;
            height: 48px;
        }

        .btn-login:hover {
            background: linear-gradient(135deg, #4c3fd8, #5b4ee8);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(117, 103, 255, 0.4);
        }

        .btn-login i {
            font-size: 14px;
        }

        .btn-login span {
            font-weight: 600;
        }

        .header-nav {
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0 24px;
            gap: 4px;
            width: 100%;
            background: linear-gradient(180deg, rgba(15, 19, 30, 0.6), rgba(15, 19, 30, 0.4));
            backdrop-filter: blur(16px);
            border-top: 1px solid rgba(255,255,255,0.03);
            min-height: 44px;
            overflow: visible !important;
            position: relative;
            z-index: 40;
        }

        .nav-item {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 8px;
            color: #a4b0cb;
            text-decoration: none;
            padding: 10px 14px;
            border-radius: 10px;
            transition: all 0.25s ease;
            z-index: 5000;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            min-width: 0;
            position: relative;
        }
        .nav-item.has-dropdown { position: relative; }
        .nav-item.has-dropdown[data-view-type="1"] { position: static; }
        .nav-item.has-dropdown[data-view-type="2"] { position: static; }

        .nav-item i {
            font-size: 16px;
            display: block;
            opacity: 0.8;
        }
        .nav-item:hover i {
            opacity: 1;
        }

        /* View type 1 and 2 menu icons - show image instead of icon */
        .nav-item.has-dropdown[data-view-type="1"] .nav-item-icon,
        .nav-item.has-dropdown[data-view-type="2"] .nav-item-icon {
            width: 24px;
            height: 24px;
            border-radius: 4px;
            object-fit: cover;
            display: block;
        }

        /* Category icons styling - removed default green background */
        .nav-item:not([data-view-type="1"]):not([data-view-type="2"]) i:first-child:not(.fa-search) {
            /* Background color now handled by inline styles with icon_bg_color */
        }

        .nav-item span {
            font-size: 13px;
            font-weight: 500;
            text-align: left;
            white-space: nowrap;
            letter-spacing: 0.2px;
        }

        /* Prevent long menu titles from overflowing */
        .header-nav .nav-item span {
            max-width: 140px;
            overflow: hidden;
            text-overflow: ellipsis;
            display: inline-block;
            vertical-align: middle;
        }

        /* Override admin.css border leak */
        .header-nav .nav-item { border-bottom: none !important; }
        .header-nav .nav-item.has-dropdown { border-bottom: none !important; }

        .nav-item:hover {
            background: rgba(255, 255, 255, 0.06);
            color: #f4f7ff;
            text-decoration: none;
        }

        /* Sağ nav: İlan Pazarı / Kasa Aç — gökkuşağı + hafif nabız (yanıp sönme) */
        .header-nav .nav-item--rainbow:hover {
            color: inherit;
        }
        .header-nav .nav-item--rainbow > span:last-child {
            font-weight: 700 !important;
            background: linear-gradient(
                90deg,
                #ff0f7b 0%,
                #f9a825 18%,
                #ffeb3b 34%,
                #76ff03 50%,
                #00e5ff 66%,
                #651fff 82%,
                #ff0f7b 100%
            );
            background-size: 280% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent !important;
            -webkit-text-fill-color: transparent;
            animation: navRainbowShift 2.6s linear infinite, navRainbowPulse 1.35s ease-in-out infinite;
        }
        @keyframes navRainbowShift {
            0% { background-position: 0% 50%; }
            100% { background-position: 100% 50%; }
        }
        @keyframes navRainbowPulse {
            0%, 100% { opacity: 1; filter: brightness(1); }
            50% { opacity: 0.82; filter: brightness(1.25); }
        }
        .header-nav .nav-item--rainbow > span:first-of-type {
            background: rgba(255, 255, 255, 0.07) !important;
            border: 1px solid rgba(255, 255, 255, 0.12);
        }
        .header-nav .nav-item--rainbow > span:first-of-type i {
            background: linear-gradient(
                105deg,
                #ff4081,
                #ffea00,
                #69f0ae,
                #40c4ff,
                #b388ff,
                #ff4081
            );
            background-size: 220% 100%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent !important;
            -webkit-text-fill-color: transparent;
            opacity: 1 !important;
            animation: navRainbowShift 3s linear infinite reverse;
        }
        .header-nav .nav-item--rainbow > span:first-of-type img {
            animation: navRainbowImgHue 4s linear infinite;
        }
        @keyframes navRainbowImgHue {
            0% { filter: hue-rotate(0deg) saturate(1.15); }
            100% { filter: hue-rotate(360deg) saturate(1.15); }
        }
        [data-theme="light"] .header-nav .nav-item--rainbow > span:first-of-type {
            background: rgba(15, 23, 42, 0.06) !important;
            border-color: rgba(15, 23, 42, 0.1);
        }

        .nav-item .dropdown-arrow {
            font-size: 8px;
            margin-top: 2px;
        }

        .nav-item.has-dropdown::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 20px;
            height: 2px;
            background: linear-gradient(90deg, #5b4ee8, #7567ff);
            border-radius: 2px;
            transition: transform 0.25s ease;
        }

        .nav-item:hover.has-dropdown::after {
            transform: translateX(-50%) scaleX(1);
        }

        /* Dropdown Menu Styles */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: rgba(21, 26, 39, 0.95);
            border: 1px solid rgba(255,255,255,0.06);
            border-radius: 14px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.03);
            min-width: 200px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.25s cubic-bezier(.25,.46,.45,.94);
            z-index: 3000;
            padding: 6px;
            backdrop-filter: blur(20px);
        }

        /* Kategoriler dropdown — butonun hemen altında (absolute) */
        .gs-nav-categories,
        .nav-item.gs-nav-categories {
            position: relative !important;
            overflow: visible !important;
        }
        .categories-dropdown,
        .nav-item.has-dropdown .categories-dropdown,
        .gs-nav-categories .categories-dropdown {
            position: absolute !important;
            top: calc(100% + 8px) !important;
            left: 0 !important;
            right: auto !important;
            width: min(32rem, calc(100vw - 24px)) !important;
            max-width: min(32rem, calc(100vw - 24px)) !important;
            min-width: 280px !important;
            padding: 0 !important;
            margin: 0 !important;
            box-sizing: border-box !important;
            transform: none !important;
            transition: none !important;
            animation: none !important;
            background: transparent !important;
            box-shadow: none !important;
            border: none !important;
            border-radius: 0 !important;
            z-index: 50 !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }
        .gs-nav-categories.is-open > .categories-dropdown,
        .gs-nav-categories:hover > .categories-dropdown,
        .gs-nav-categories:focus-within > .categories-dropdown,
        .categories-dropdown.is-open {
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
            pointer-events: auto !important;
        }
        .gs-nav-categories .categories-panel {
            margin: 0 !important;
            min-width: 0 !important;
            width: 100% !important;
            max-width: 100% !important;
            max-height: none !important;
            overflow: visible !important;
            display: flex !important;
            flex-direction: column !important;
            background: var(--surface) !important;
            border: 1px solid var(--border-color) !important;
            border-radius: 12px !important;
            box-shadow: 0 12px 32px rgba(0,0,0,0.4) !important;
            padding: 12px 0 !important;
            pointer-events: auto !important;
            transform: none !important;
            transition: none !important;
        }
        .gs-nav-categories .categories-header {
            flex-shrink: 0;
            margin: 0 12px 10px 12px !important;
            gap: 8px !important;
        }
        .gs-nav-categories .categories-search {
            width: auto !important;
            min-width: 0 !important;
            flex: 1 1 auto !important;
            height: 36px !important;
        }
        .gs-nav-categories .categories-grid {
            display: grid !important;
            grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            gap: 8px !important;
            margin: 0 12px !important;
            padding: 0 4px 8px 0 !important;
            max-height: 400px !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            scrollbar-width: thin;
            scrollbar-color: rgba(148,163,184,.55) transparent;
        }
        .gs-nav-categories .categories-grid::-webkit-scrollbar {
            width: 6px;
        }
        .gs-nav-categories .categories-grid::-webkit-scrollbar-thumb {
            background: rgba(148,163,184,.55);
            border-radius: 999px;
        }
        .gs-nav-categories:hover > .categories-dropdown,
        .gs-nav-categories:focus-within > .categories-dropdown,
        .nav-item.gs-nav-categories:hover .dropdown-menu.categories-dropdown {
            transform: none !important;
        }

        /* View type 1 mega dropdowns (full width like categories) */
        .nav-item.has-dropdown[data-view-type="1"] .dropdown-menu {
            position: absolute !important;
            left: 0 !important;
            right: auto !important;
            width: 100vw !important;
            max-width: 100vw !important;
            padding: 0 !important;
            top: calc(100% + 10px) !important;
            box-sizing: border-box;
            transform: none !important;
            background: transparent !important;
            box-shadow: none !important;
            pointer-events: none; /* container shouldn't be clickable */
            border: none !important;
            border-radius: 0 !important;
            z-index: 1000 !important;
            margin-top: 0 !important;
            overflow: hidden !important;
        }

        /* View type 1 mega dropdown panels */
        .nav-item.has-dropdown[data-view-type="1"] .categories-panel {
            margin: 0 auto;
            min-width: 1400px;
            width: 1400px;
            max-width: 1400px;
            background: var(--surface);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.35);
            padding: 16px 0 16px 0;
            pointer-events: auto; /* only panel is interactive */
        }

        /* View type 1 dropdown hover behavior - same as categories */
        .nav-item.has-dropdown[data-view-type="1"]:hover .dropdown-menu {
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateY(0) !important;
        }

        /* View type 2 mega dropdowns (full width like categories but without search) */
        .nav-item.has-dropdown[data-view-type="2"] .dropdown-menu {
            position: absolute !important;
            left: 0 !important;
            right: auto !important;
            width: 100vw !important;
            max-width: 100vw !important;
            padding: 0 !important;
            top: calc(100% + 10px) !important;
            box-sizing: border-box;
            transform: none !important;
            background: transparent !important;
            box-shadow: none !important;
            pointer-events: none; /* container shouldn't be clickable */
            border: none !important;
            border-radius: 0 !important;
            z-index: 1000 !important;
            margin-top: 0 !important;
            overflow: hidden !important;
        }

        /* View type 2 mega dropdown panels */
        .nav-item.has-dropdown[data-view-type="2"] .categories-panel {
            margin: 0 auto;
            min-width: 1400px;
            width: 1400px;
            max-width: 1400px;
            background: var(--surface);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.35);
            padding: 16px 0 16px 0;
            pointer-events: auto; /* only panel is interactive */
        }

        /* View type 2 category cards - large images with text overlay on top */
        .nav-item.has-dropdown[data-view-type="2"] .category-card1 {
            position: relative;
            display: block;
            background: none;
            border: none;
            border-radius: 12px;
            padding: 0;
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s ease;
            width: 100%;
            height: 200px;
            overflow: hidden;
        }

        .nav-item.has-dropdown[data-view-type="2"] .category-card1:hover {
            transform: translateY(-5px);
            text-decoration: none;
        }

        .nav-item.has-dropdown[data-view-type="2"] .category-card1 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 12px;
            transition: transform 0.3s ease;
        }

        .nav-item.has-dropdown[data-view-type="2"] .category-card1:hover img {
            transform: scale(1.05);
        }

        .nav-item.has-dropdown[data-view-type="2"] .category-card1 span {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
            color: white;
            padding: 20px 12px 12px 12px;
            font-size: 14px;
            font-weight: 700;
            text-align: center;
            border-radius: 0 0 12px 12px;
            /* Reset truncation rules applied to generic nav labels */
            max-width: none !important;
            overflow: visible !important;
            text-overflow: clip !important;
            white-space: normal !important;
        }

        /* View type 2 grid - max 7 items per row */
        .nav-item.has-dropdown[data-view-type="2"] .categories-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 20px;
            margin: 0 24px;
            padding: 0 0 8px 0;
        }

        @media (max-width: 1400px) {
            .nav-item.has-dropdown[data-view-type="2"] .categories-grid { 
                grid-template-columns: repeat(6, 1fr); 
            }
        }
        @media (max-width: 1200px) {
            .nav-item.has-dropdown[data-view-type="2"] .categories-grid { 
                grid-template-columns: repeat(5, 1fr); 
            }
        }
        @media (max-width: 992px) {
            .nav-item.has-dropdown[data-view-type="2"] .categories-grid { 
                grid-template-columns: repeat(4, 1fr); 
            }
        }

        /* View type 2 dropdown hover behavior */
        .nav-item.has-dropdown[data-view-type="2"]:hover .dropdown-menu {
            opacity: 1 !important;
            visibility: visible !important;
            transform: translateY(0) !important;
        }

        .categories-panel {
            margin: 0;
            min-width: 0;
            width: 100%;
            max-width: 100%;
            background: var(--surface);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.35);
            padding: 16px 0 16px 0;
            pointer-events: auto !important;
        }

        .categories-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 0 24px 12px 24px;
            justify-content: flex-start;
        }

        .categories-search {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.06);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 0 12px;
            height: 40px;
            width: 360px;
            min-width: 360px;
            box-sizing: border-box;
        }

        .categories-search input {
            background: transparent;
            border: none !important;
            outline: none !important;
            color: var(--text-color);
            width: 100% !important;
            min-width: 0;
            font-size: 14px;
            height: 100%;
            box-sizing: border-box;
        }

        .btn-all-categories {
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 14px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-color);
            text-decoration: none;
            font-size: 13px;
            transition: all 0.2s ease;
        }

        .btn-all-categories:hover { color: #7567ff; border-color: #7567ff; }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
            margin: 0 24px;
            padding: 0 0 8px 0;
        }
        @media (max-width: 1200px) {
            .categories-grid { grid-template-columns: repeat(4, 1fr); }
        }
        @media (max-width: 992px) {
            .categories-grid { grid-template-columns: repeat(3, 1fr); }
        }

        .category-card1 {
            display: flex;
            align-items: center;
            gap: 10px;
            background: rgba(255,255,255,0.04);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 10px 12px;
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.2s ease;
            min-height: 48px;
        }

        .category-card1:hover {
            background: rgba(255,255,255,0.08);
            color: #fbbf24;
            text-decoration: none;
            transform: translateY(-1px);
        }

        .category-card1 img {
            width: 24px;
            height: 24px;
            object-fit: contain;
            border-radius: 6px;
            background: transparent !important;
        }

        .categories-footer {
            display: flex;
            justify-content: flex-end;
            margin-top: 12px;
        }

        .btn-all-categories {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            color: var(--text-color);
            text-decoration: none;
            font-size: 13px;
            transition: all 0.2s ease;
        }

        .btn-all-categories:hover { color: #7567ff; border-color: #7567ff; }

        /* Mobile dropdown positioning */
        @media (max-width: 768px) {
            .dropdown-menu {
                right: 0 !important;
                left: auto !important;
                min-width: 180px !important;
                max-width: 200px !important;
            }

            /* User actions dropdown specific mobile styling */
            .user-actions .dropdown-menu {
                right: 0 !important;
                left: auto !important;
                min-width: 160px !important;
                max-width: 180px !important;
            }

            .user-actions .dropdown-item {
                padding: 8px 12px !important;
                font-size: 12px !important;
            }

            .user-actions .dropdown-item i {
                width: 14px !important;
                margin-right: 8px !important;
                font-size: 12px !important;
            }
        }

        .nav-item:hover .dropdown-menu,
        .nav-item:focus-within .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .header-nav .categories-dropdown,
        .header-nav .gs-header-cat-dropdown,
        .header-nav .gs-nav-categories:hover > .categories-dropdown,
        .header-nav .gs-nav-categories.is-open > .categories-dropdown,
        .header-nav .gs-header-cat:hover > .dropdown-menu,
        .header-nav .nav-item:hover > .gs-header-cat-dropdown,
        .categories-dropdown.is-open {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }


        .dropdown-item {
            display: flex;
            align-items: center;
            padding: 10px 16px;
            color: var(--text-color);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.2s ease;
            border-left: 3px solid transparent;
        }

        .dropdown-item:hover {
            background: rgba(255, 255, 255, 0.05);
            color: #fbbf24;
            border-left-color: #fbbf24;
            text-decoration: none;
        }

        .dropdown-item i {
            width: 16px;
            margin-right: 12px;
            font-size: 14px;
            flex-shrink: 0;
        }

        .dropdown-divider {
            height: 1px;
            background: var(--border-color);
            margin: 6px 0;
        }

        /* Keyzin: dinamik header kategori menüleri */
        .gs-header-cat-dropdown {
            min-width: 220px;
            padding: 8px 0;
        }
        .gs-header-cat-dropdown .gs-header-cat-child {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 14px;
            color: inherit;
            text-decoration: none;
        }
        .gs-header-cat .gs-nav-cat-img,
        .gs-header-cat-child .gs-nav-cat-img {
            width: 16px;
            height: 16px;
            object-fit: contain;
            margin-right: 0;
            flex-shrink: 0;
        }
        .gs-header-cat .gs-nav-game-icon svg {
            width: 16px;
            height: 16px;
            display: block;
        }

        /* Light theme dropdown */
        [data-theme="light"] .dropdown-menu {
            background: #ffffff;
            border-color: #e5e7eb;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0,0,0,0.06);
        }

        [data-theme="light"] .dropdown-item {
            color: #1f2937;
        }

        [data-theme="light"] .dropdown-item:hover {
            background: rgba(0, 0, 0, 0.05);
            color: #1976d2;
            border-left-color: #1976d2;
            text-decoration: none;
        }

        /* Light theme overrides */
        [data-theme="light"] .frontend-header {
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
        }

        [data-theme="light"] .header-nav {
            background: #ffffff;
            border-top: 1px solid #e5e7eb;
        }



        [data-theme="light"] .header-search-box {
            background: rgba(255, 255, 255, 0.95);
            border-color: #e4e4e7;
        }

        [data-theme="light"] .header-search-box:hover {
            border-color: rgba(117, 103, 255, 0.4);
            box-shadow: 0 0 12px rgba(117, 103, 255, 0.1);
        }

        [data-theme="light"] .header-search-box:focus-within {
            border-color: rgba(117, 103, 255, 0.5);
            box-shadow: 0 0 15px rgba(117, 103, 255, 0.2);
        }

        [data-theme="light"] .header-search-icon-left {
            color: rgba(0, 0, 0, 0.5);
        }

        [data-theme="light"] .header-search-input {
            color: #1a1a24 !important;
            background: none !important;
            border: none !important;
            padding: 0 !important;
            width: auto !important;
            border-radius: 0 !important;
            outline: none !important;
            box-shadow: none !important;
        }

        [data-theme="light"] .header-search-input:focus {
            outline: none !important;
            box-shadow: none !important;
            border: none !important;
        }

        [data-theme="light"] .header-search-input::placeholder {
            color: rgba(0, 0, 0, 0.6) !important;
        }

        [data-theme="light"] .header-action-btn,
        [data-theme="light"] .header-sepet-btn {
            background: rgba(255, 255, 255, 0.9);
            border-color: rgba(0, 0, 0, 0.08);
            color: #1a1a24;
        }
        [data-theme="light"] .header-action-btn:hover,
        [data-theme="light"] .header-sepet-btn:hover {
            background: rgba(117, 103, 255, 0.08);
            border-color: rgba(117, 103, 255, 0.3);
            color: #5b4ee8;
        }
        [data-theme="light"] .header-sepet-btn .sepet-total { color: #7567ff; }
        [data-theme="light"] .btn-auth-combined {
            background: rgba(255, 255, 255, 0.9);
            border-color: rgba(0, 0, 0, 0.08);
            color: #1a1a24;
        }
        [data-theme="light"] .btn-auth-combined:hover { color: #5b4ee8; }

        [data-theme="light"] .header-icon-btn {
            background: rgba(0,0,0,0.04);
            border-color: rgba(0,0,0,0.08);
            color: #47516a;
        }
        [data-theme="light"] .header-icon-btn:hover {
            background: rgba(117, 103, 255, 0.08);
            border-color: rgba(117, 103, 255, 0.3);
            color: #5b4ee8;
        }
        [data-theme="light"] .header-icon-btn.notifications-btn { color: #5b4ee8; }
        [data-theme="light"] .header-icon-btn.messages-btn { color: #d97706; }
        [data-theme="light"] .header-icon-btn .notification-badge,
        [data-theme="light"] .header-icon-btn .message-badge {
            border-color: #ffffff;
        }

        [data-theme="light"] .header-user-card {
            background: rgba(0,0,0,0.04);
            border-color: rgba(0,0,0,0.08);
        }
        [data-theme="light"] .header-user-card:hover {
            background: rgba(0,0,0,0.06);
            border-color: rgba(0,0,0,0.12);
        }
        [data-theme="light"] .header-user-card .avatar-wrap {
            border-color: rgba(0,0,0,0.1);
        }
        [data-theme="light"] .header-user-card .user-details .username {
            color: #1f2937;
        }
        [data-theme="light"] .header-user-card .user-details .balance {
            color: #d97706;
        }
        [data-theme="light"] .header-user-card .dropdown-arrow {
            color: rgba(0,0,0,0.5);
        }
        [data-theme="light"] .header-user-card:hover .dropdown-arrow {
            color: rgba(0,0,0,0.8);
        }

        [data-theme="light"] .frontend-header .header-top {
            background: #ffffff !important;
            border-bottom: 1px solid #e5e7eb;
        }

        /* Force header-top background */
        .frontend-header .header-top[style] {
            background: linear-gradient(180deg, rgba(12, 15, 22, 1), rgba(15, 19, 30, 0.98)) !important;
        }

        [data-theme="light"] .frontend-header .header-top[style] {
            background: #ffffff !important;
        }

        /* Ultra specific rules */
        header.frontend-header div.header-top {
            background: linear-gradient(180deg, rgba(12, 15, 22, 1), rgba(15, 19, 30, 0.98)) !important;
        }

        [data-theme="light"] header.frontend-header div.header-top {
            background: #ffffff !important;
        }

        /* Override any possible inline styles */
        .frontend-header .header-top {
            background: linear-gradient(180deg, rgba(12, 15, 22, 1), rgba(15, 19, 30, 0.98)) !important;
        }

        [data-theme="light"] .frontend-header .header-top {
            background: #ffffff !important;
        }

        [data-theme="light"] .logo {
            background: linear-gradient(135deg, #1976d2, #42a5f5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        [data-theme="light"] .logo-subtitle {
            color: #1976d2;
        }


        /* light nav-item overrides moved to auth button block above */

        [data-theme="light"] .theme-toggle-btn {
            background: rgba(228, 228, 231, 0.8);
            border-color: rgba(212, 212, 216, 0.5);
            color: #5b4ee8;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .theme-toggle-btn:hover {
            background: rgba(255, 247, 237, 0.95);
            border-color: rgba(117, 103, 255, 0.45);
            color: #7567ff;
        }

        [data-theme="light"] .btn-register {
            background: rgba(0,0,0,0.04);
            border-color: rgba(0,0,0,0.1);
            color: #151a27;
        }

        [data-theme="light"] .btn-register:hover {
            background: rgba(0,0,0,0.07);
            border-color: rgba(0,0,0,0.15);
        }

        [data-theme="light"] .btn-login {
            background: linear-gradient(135deg, #5b4ee8, #7567ff);
            color: white;
        }

        [data-theme="light"] .btn-login:hover {
            background: linear-gradient(135deg, #4c3fd8, #5b4ee8);
        }

        [data-theme="light"] .nav-item {
            color: #47516a;
        }

        [data-theme="light"] .nav-item:hover {
            background: rgba(0, 0, 0, 0.04);
            color: #151a27;
            text-decoration: none;
        }

        [data-theme="light"] .categories-search {
            background: rgba(0,0,0,0.04);
        }
        [data-theme="light"] .category-card1 {
            background: rgba(0,0,0,0.03);
        }
        [data-theme="light"] .category-card1:hover {
            background: rgba(117, 103, 255, 0.06);
        }

        [data-theme="light"] .mobile-menu-content {
            background: #ffffff;
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        }
        [data-theme="light"] .mobile-submenu {
            background: rgba(0,0,0,0.03);
        }
        [data-theme="light"] .mobile-submenu-item {
            border-bottom-color: rgba(0,0,0,0.06);
        }
        [data-theme="light"] .mobile-submenu-item:hover {
            color: #5b4ee8;
        }
        [data-theme="light"] .mobile-nav-item:hover {
            color: #5b4ee8;
        }

        [data-theme="light"] .categories-panel {
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        }

        [data-theme="light"] .mobile-bottom-menu.magic-bottom-nav {
            background: transparent !important;
            box-shadow: none !important;
        }
        [data-theme="light"] .magic-nav-shell {
            box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12);
            border-radius: 16px 16px 0 0;
        }

        /* Mobile Drawer / Offcanvas Menu */
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            color: #7567ff;
            font-size: 20px;
            cursor: pointer;
            padding: 8px;
        }

        .mobile-account-btn {
            display: none;
            background: linear-gradient(135deg, #5b4ee8, #7567ff);
            color: white;
            border: none;
            border-radius: 10px;
            width: 38px;
            height: 38px;
            cursor: pointer;
            font-size: 15px;
            box-shadow: 0 2px 8px rgba(42,94,225,0.25);
            text-decoration: none;
        }

        .mobile-balance-badge {
            display: none;
            align-items: center;
            gap: 6px;
            flex-shrink: 1;
            min-width: 0;
            max-width: 118px;
            padding: 6px 10px;
            border-radius: 9999px;
            border: 1px solid rgba(161, 161, 170, 0.45);
            background: rgba(39, 39, 42, 0.65);
            color: #f4f4f5;
            text-decoration: none;
            font-size: 12px;
            font-weight: 600;
            line-height: 1.2;
            white-space: nowrap;
            transition: background .15s ease, border-color .15s ease, color .15s ease;
        }
        .mobile-balance-badge i {
            font-size: 11px;
            color: #93c5fd;
            flex-shrink: 0;
        }
        .mobile-balance-badge .mobile-balance-amount {
            overflow: hidden;
            text-overflow: ellipsis;
            min-width: 0;
        }
        .mobile-balance-badge:hover,
        .mobile-balance-badge:focus-visible {
            background: rgba(39, 39, 42, 0.9);
            border-color: rgba(93, 120, 255, 0.55);
            color: #fff;
            outline: none;
        }
        html[data-theme="light"] .mobile-balance-badge {
            background: rgba(244, 244, 245, 0.92);
            border-color: rgba(113, 113, 122, 0.35);
            color: #18181b;
        }
        html[data-theme="light"] .mobile-balance-badge i {
            color: #5b4ee8;
        }

        .mobile-menu {
            position: fixed;
            inset: 0;
            z-index: 2500;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.28s ease, visibility 0.28s ease;
        }

        .mobile-menu.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        .mobile-menu-content {
            position: absolute;
            top: 0;
            left: 0;
            width: min(320px, 88vw);
            max-width: 320px;
            height: 100%;
            background: #12121a;
            display: flex;
            flex-direction: column;
            padding: 0;
            transform: translateX(-105%);
            transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
            box-shadow: 8px 0 40px rgba(0, 0, 0, 0.45);
            overflow: hidden;
        }

        .mobile-menu.active .mobile-menu-content {
            transform: translateX(0);
        }

        .mm-drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            padding: 16px 16px 14px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            flex-shrink: 0;
        }

        .mm-drawer-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: inherit;
            min-width: 0;
        }

        .mm-drawer-logo img {
            height: 32px;
            max-width: 130px;
            object-fit: contain;
            display: block;
        }

        .mm-drawer-logo-text {
            font-weight: 800;
            font-size: 18px;
            color: #fff;
        }

        .mm-drawer-header-right {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-shrink: 0;
        }

        .mm-theme-switch {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 2px;
            height: 2rem;
            padding: 3px 4px;
            border-radius: 9999px;
            background: rgba(39, 39, 42, 0.8);
            border: 1px solid rgba(63, 63, 70, 0.5);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .mm-theme-switch button {
            width: 28px;
            height: 26px;
            border: none;
            border-radius: 9999px;
            background: transparent;
            color: #a1a1aa;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .mm-theme-switch button:active {
            transform: scale(0.95);
        }

        .mm-theme-switch button.active {
            background: rgba(117, 103, 255, 0.2);
            color: #7567ff;
            box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15);
        }

        .mm-theme-switch button:hover {
            color: #8b7dff;
        }

        .mm-drawer-close {
            width: 34px;
            height: 34px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.04);
            color: #e5e7eb;
            font-size: 16px;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .mm-drawer-scroll {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            padding: 16px;
            -webkit-overflow-scrolling: touch;
        }

        .mm-auth-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-bottom: 12px;
        }

        .mm-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 42px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 700;
            text-decoration: none;
            transition: transform 0.15s ease, opacity 0.15s ease;
        }

        .mm-btn-outline {
            border: 1px solid rgba(255, 255, 255, 0.14);
            background: rgba(255, 255, 255, 0.04);
            color: #f1f5f9;
        }

        .mm-btn-primary {
            border: none;
            background: linear-gradient(135deg, #5b4ee8, #4c3fd8);
            color: #fff;
        }

        .mm-user-card {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            margin-bottom: 12px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            text-decoration: none;
            color: inherit;
        }

        .mm-user-card img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        .mm-user-card-name {
            font-size: 14px;
            font-weight: 700;
            color: #f8fafc;
        }

        .mm-user-card-balance {
            font-size: 12px;
            color: #22c55e;
            font-weight: 700;
        }

        .mm-btn-balance {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            height: 44px;
            margin-bottom: 18px;
            border-radius: 12px;
            background: linear-gradient(135deg, #16a34a, #22c55e);
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 8px 20px rgba(34, 197, 94, 0.28);
        }

        .mm-section {
            margin-bottom: 18px;
        }

        .mm-section-title {
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.08em;
            color: #64748b;
            margin-bottom: 10px;
        }

        .mm-quick-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 11px 0;
            color: #e2e8f0;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .mm-quick-link:last-child {
            border-bottom: none;
        }

        .mm-quick-link i {
            width: 20px;
            text-align: center;
            color: #818cf8;
            font-size: 15px;
        }

        .mobile-nav-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            padding: 10px 0;
            color: #e2e8f0;
            text-decoration: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
        }

        .mobile-nav-item:hover {
            color: #fff;
            text-decoration: none;
        }

        .mm-drawer-cat-left {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 0;
        }

        .mm-drawer-cat-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.07);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            overflow: hidden;
        }

        .mm-drawer-cat-icon img,
        .mm-drawer-cat-icon .gs-nav-cat-img {
            width: 24px !important;
            height: 24px !important;
            margin: 0 !important;
            object-fit: contain !important;
            border-radius: 6px !important;
        }

        .mm-drawer-cat-icon i,
        .mm-drawer-cat-icon .mm-drawer-cat-icon-inner {
            font-size: 16px;
            color: #a5b4fc;
        }

        .mobile-nav-item .toggle-arrow {
            font-size: 12px;
            color: #64748b;
            transition: transform 0.25s ease;
            flex-shrink: 0;
        }

        .mobile-nav-item.active .toggle-arrow {
            transform: rotate(90deg);
        }

        .mobile-submenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.28s ease;
            margin: 0 -16px;
            padding: 0 16px;
            background: rgba(255, 255, 255, 0.02);
        }

        .mobile-submenu.active {
            max-height: 480px;
        }

        .mobile-submenu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0 10px 48px;
            color: #94a3b8;
            text-decoration: none;
            font-size: 13px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        }

        .mobile-submenu-item:hover {
            color: #e2e8f0;
            text-decoration: none;
        }

        .mm-drawer-footer {
            flex-shrink: 0;
            padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(0, 0, 0, 0.18);
        }

        .mm-btn-support {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            height: 44px;
            margin-bottom: 14px;
            border-radius: 12px;
            background: rgba(99, 102, 241, 0.15);
            border: 1px solid rgba(99, 102, 241, 0.35);
            color: #c7d2fe;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none;
        }

        .mm-social-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .mm-social-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #cbd5e1;
            text-decoration: none;
            font-size: 16px;
            transition: transform 0.15s ease, background 0.15s ease;
        }

        .mm-social-btn:hover {
            transform: translateY(-2px);
            color: #fff;
            text-decoration: none;
        }

        .mm-social-btn.instagram:hover { background: #e4405f; border-color: #e4405f; }
        .mm-social-btn.facebook:hover { background: #1877f2; border-color: #1877f2; }
        .mm-social-btn.twitter:hover { background: #1da1f2; border-color: #1da1f2; }
        .mm-social-btn.discord:hover { background: #5865f2; border-color: #5865f2; }

        .mm-copyright {
            text-align: center;
            font-size: 11px;
            color: #64748b;
        }

        [data-theme="light"] .mobile-menu-content {
            background: #ffffff;
            box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
        }

        [data-theme="light"] .mm-drawer-header,
        [data-theme="light"] .mm-drawer-footer {
            border-color: rgba(0, 0, 0, 0.08);
        }

        [data-theme="light"] .mm-drawer-logo-text,
        [data-theme="light"] .mobile-nav-item,
        [data-theme="light"] .mm-quick-link,
        [data-theme="light"] .mm-user-card-name {
            color: #0f172a;
        }

        [data-theme="light"] .mm-btn-outline {
            background: #f8fafc;
            border-color: #e2e8f0;
            color: #0f172a;
        }

        [data-theme="light"] .mm-theme-switch {
            background: rgba(228, 228, 231, 0.8);
            border-color: rgba(212, 212, 216, 0.5);
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        [data-theme="light"] .mm-drawer-close {
            background: #f8fafc;
            border-color: #e2e8f0;
            color: #334155;
        }

        [data-theme="light"] .mobile-submenu {
            background: rgba(0, 0, 0, 0.02);
        }

        [data-theme="light"] .mobile-nav-item,
        [data-theme="light"] .mm-quick-link,
        [data-theme="light"] .mobile-submenu-item {
            border-bottom-color: rgba(0, 0, 0, 0.06);
        }

        [data-theme="light"] .mm-drawer-cat-icon {
            background: rgba(0, 0, 0, 0.05);
        }

        [data-theme="light"] .mm-drawer-footer {
            background: #f8fafc;
        }

        [data-theme="light"] .mm-social-btn {
            background: #fff;
            border-color: #e2e8f0;
            color: #475569;
        }


        /* Message badge animation */
        .message-badge {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .message-badge.new-message {
            animation: bounce 0.6s ease-in-out;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        /* Modal Styles */
        .modal-backdrop {
            display: none !important;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }
        
        .modal-backdrop.show {
            display: flex !important;
        }
        
        .modal {
            background: var(--surface);
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 400px;
            width: 90%;
            max-height: 80vh;
            overflow: hidden;
        }
        
        .modal-header {
            padding: 20px;
            border-bottom: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .modal-title {
            color: var(--text-color);
            font-size: 18px;
            font-weight: 600;
            margin: 0;
        }
        
        .modal-close {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 20px;
            cursor: pointer;
            padding: 4px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }
        
        .modal-close:hover {
            background: rgba(117, 103, 255, 0.1);
            color: #7567ff;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label:not(.checkbox-label):not(.radio-label) {
            display: block;
            color: var(--text-color);
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 14px;
        }
        
        .form-group input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background: var(--bg);
            color: var(--text-color);
            font-size: 14px;
            outline: none;
        }
        
        .form-group input:focus {
            border-color: #7567ff;
        }
        
        .modal-actions {
            padding: 20px;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #5b4ee8, #4c3fd8);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 14px rgba(91, 78, 232, 0.35);
        }
        
        .btn-primary:hover {
            background: linear-gradient(135deg, #4c3fd8, #3f33b8);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            header.frontend-header div.header-top,
            .frontend-header .header-top,
            .header-top {
                display: flex !important;
                flex-direction: row !important;
                align-items: center !important;
                padding: 6px 12px !important;
                gap: 8px !important;
            }

            .header-nav {
                display: none !important;
            }

            .gs-announcement {
                display: none !important;
            }

            .theme-toggle-btn {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                flex-shrink: 0 !important;
            }

            .mobile-menu-toggle {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                visibility: visible !important;
                opacity: 1 !important;
                flex-shrink: 0 !important;
                width: 40px !important;
                height: 40px !important;
                padding: 8px !important;
                font-size: 18px !important;
                color: #7567ff !important;
                background: transparent !important;
                border: none !important;
            }

            .mobile-account-btn {
                display: inline-flex !important;
                align-items: center !important;
                justify-content: center !important;
                visibility: visible !important;
                opacity: 1 !important;
                flex-shrink: 0 !important;
            }

            .mobile-balance-badge {
                display: inline-flex !important;
            }

            .auth-buttons,
            .gs-desktop-only,
            .header-actions > .gs-icon-btn {
                display: none !important;
            }

            .header-content {
                display: flex !important;
                flex-wrap: nowrap !important;
                align-items: center !important;
                justify-content: space-between !important;
                gap: 8px !important;
                overflow-x: hidden;
                width: 100% !important;
            }

            .messages-btn {
                display: none !important; /* Hide messages button on mobile */
            }

            /* Hide username on mobile, keep only balance */
            .user-actions .nav-item .user-info .username {
                display: none !important;
            }

            /* Make user-actions more compact on mobile */
            .user-actions .nav-item {
                min-width: 80px !important;
            }

            .user-actions .nav-item .user-info {
                gap: 0 !important;
            }

            .user-actions .nav-item .user-info span {
                font-size: 10px !important;
            }

            .header-actions {
                display: flex !important;
                align-items: center !important;
                gap: 6px !important;
                flex-shrink: 0 !important;
            }

            .logo {
                font-size: 18px;
            }

            /* Mobilde logo ortada, kompakt */
            .header-logo {
                height: 36px !important;
                max-width: 120px !important;
                display: block !important;
            }
            .logo-section {
                flex: 1 1 auto !important;
                display: flex !important;
                justify-content: center !important;
                gap: 6px;
                min-width: 0;
            }
        }

        @media (max-width: 480px) {
            .header-top {
                padding: 6px 12px;
            }

            .header-logo {
                height: 32px !important;
                max-width: 110px !important;
            }

            .mobile-menu-content {
                width: min(300px, 86vw);
                max-width: 300px;
            }
        }

/* Mobile Bottom Menu — Top Light Indicator (edge-docked) */
.mobile-bottom-menu.magic-bottom-nav {
    --magic-nav-bg: rgba(9, 9, 11, 0.95);
    --magic-nav-border: rgba(39, 39, 42, 0.80);
    --magic-nav-height: 64px;
    --magic-light-w: 32px;
    --magic-light-h: 4px;
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 50 !important;
    overflow: visible !important;
    box-sizing: border-box;
}

.magic-nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    min-height: var(--magic-nav-height);
    height: auto;
    margin: 0;
    padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: var(--magic-nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    border-top: 1px solid var(--magic-nav-border);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
    overflow: visible;
}

.magic-nav-list {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    width: 100%;
    min-height: 48px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 2;
    overflow: visible;
}

.magic-nav-item {
    flex: 1;
    min-width: 0;
    position: relative;
    height: auto;
    align-self: stretch;
    overflow: visible;
}

.magic-nav-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 48px;
    padding: 2px 2px 4px;
    gap: 4px;
    text-decoration: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
    transition: color 0.3s ease;
    overflow: visible;
}

.magic-nav-item .icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 18px;
    color: #71717a;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.magic-nav-item .text {
    display: block;
    position: relative;
    z-index: 2;
    margin-top: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    color: #71717a;
    white-space: nowrap;
    opacity: 1 !important;
    transition: color 0.3s ease, font-weight 0.3s ease;
    pointer-events: none;
    max-width: calc(100% - 2px);
    overflow: visible;
    text-overflow: clip;
    text-align: center;
    padding-bottom: 1px;
}

.magic-nav-item a:hover .icon,
.magic-nav-item a:hover .text {
    color: #d4d4d8;
}

.magic-nav-item.active .icon,
.magic-nav-item.active .text {
    color: #7567ff !important;
}
.magic-nav-item.active .text {
    font-weight: 800;
}
.magic-nav-item.active .icon {
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    width: 28px;
    height: 28px;
    font-size: 18px;
    filter: drop-shadow(0 0 8px rgba(117, 103, 255, 0.55));
}

.magic-nav-item.add-item:not(.active) .icon {
    color: #a1a1aa;
}
.magic-nav-item.add-item:not(.active) .icon i {
    font-size: 19px;
}
.magic-nav-item.add-item:not(.active) .text {
    color: #71717a;
}

.magic-bottom-nav .indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--magic-light-w) !important;
    height: var(--magic-light-h) !important;
    background: #7567ff;
    border-radius: 0 0 9999px 9999px;
    border: none;
    box-shadow: 0 4px 12px rgba(117, 103, 255, 0.8);
    transition: left 0.3s ease, transform 0.3s ease;
    z-index: 6;
    pointer-events: none;
    transform: translateX(-50%);
}

.magic-bottom-nav .indicator::before {
    content: '' !important;
    display: block !important;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 32px;
    background: rgba(117, 103, 255, 0.20);
    filter: blur(12px);
    border-radius: 9999px;
    pointer-events: none;
    z-index: -1;
}

.magic-bottom-nav .indicator::after {
    display: none !important;
    content: none !important;
}

.magic-nav-item.messages-item .message-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: #7567ff;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #09090b;
    min-width: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
    z-index: 12;
}

[data-theme="light"] .mobile-bottom-menu.magic-bottom-nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .magic-nav-shell {
    --magic-nav-bg: rgba(255, 255, 255, 0.96);
    --magic-nav-border: rgba(228, 228, 231, 0.90);
    background: var(--magic-nav-bg);
    border-top: 1px solid var(--magic-nav-border);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .magic-nav-item .icon,
[data-theme="light"] .magic-nav-item .text {
    color: #71717a;
}

[data-theme="light"] .magic-nav-item a:hover .icon,
[data-theme="light"] .magic-nav-item a:hover .text {
    color: #3f3f46;
}

[data-theme="light"] .magic-nav-item.active .icon,
[data-theme="light"] .magic-nav-item.active .text {
    color: #5b4ee8 !important;
}

[data-theme="light"] .magic-nav-item.active .icon {
    background: transparent !important;
    filter: drop-shadow(0 0 6px rgba(91, 78, 232, 0.35));
}

[data-theme="light"] .magic-nav-item.add-item:not(.active) .icon {
    color: #a1a1aa;
}

@media (max-width: 768px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden !important;
        position: relative;
    }
    body {
        padding-bottom: calc(var(--magic-nav-height, 64px) + 12px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .mobile-bottom-menu.magic-bottom-nav {
        display: block !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 50 !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .gs-desktop-only,
    .auth-buttons.gs-auth-row,
    .header-actions .gs-icon-btn { display: none !important; }
    .mobile-account-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 9999px;
        border: 1px solid rgba(255,255,255,0.12);
        background: rgba(255,255,255,0.06);
        color: #fff;
        flex-shrink: 0;
    }
    .mobile-balance-badge {
        display: inline-flex !important;
    }
    .header-content {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        overflow-x: hidden;
    }
    .nav-item.has-dropdown .dropdown-menu {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 180px !important;
    }
}



        @media (min-width: 769px) {
            .mobile-bottom-menu.magic-bottom-nav { display: none !important; }
            .mobile-account-btn { display: none !important; }
            .mobile-balance-badge { display: none !important; }
        }
    