body.mox_dark_theme {
    background: #1a1a1a;
}

body.mox_dark_theme .mox_top_nav {
    background: #2f3144;
}

body.mox_dark_theme .mox_top_notice {
    background: #2f3144;
}

body.mox_dark_theme .mox_top_right {
    background: #2f3144;
}

body.mox_dark_theme .mox_main_header {
    background: linear-gradient(135deg, #252938 0%, #95969b 50%, #242736 100%);
}

body.mox_dark_theme .mox_search_section {
    background: linear-gradient(135deg, #252938 0%, #95969b 50%, #242736 100%);
}

.mox_container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
}

/* Top Header */
.mox_top_header {
    display: flex;
    align-items: center;
    height: 35px;
    font-size: 11px;
    position: relative;
}

.mox_top_nav {
    background: #2c81d5;
    height: 100%;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex: 1;
}

.mox_nav_link {
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mox_nav_link:hover {
    color: #E8F5E8;
}

.mox_top_notice {
    background: #aed8fa;
    color: white;
    height: 100%;
    padding: 0 25px;
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mox_top_right {
    background: #2c81d5;
    height: 100%;
    padding: 0 20px;
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.mox_top_right .mox_nav_link {
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mox_top_right .mox_nav_link:hover {
    color: #FFF3E0;
}

.mox_theme_toggle {
    margin-left: 15px;
}

.mox_theme_btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.mox_theme_btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Main Header */
.mox_main_header {
    background: linear-gradient(135deg, #1976D2 0%, #ffffff 50%, #1565C0 100%);
    padding: 12px 0;
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.mox_main_header .mox_container {
    position: relative;
}

.mox_left_menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.mox_hamburger_menu {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mox_hamburger_menu:hover {
    background: rgba(255,255,255,0.25);
}

.mox_menu_icon {
    font-size: 14px;
    font-weight: bold;
}

.mox_menu_text {
    font-size: 13px;
    font-weight: 600;
}

.mox_dropdown_menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mox_dropdown_menu.mox_show {
    display: block;
}

.mox_dropdown_menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mox_dropdown_menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mox_dropdown_menu a:last-child {
    border-bottom: none;
}

.mox_dropdown_menu a:hover {
    background: #f5f5f5;
    color: #1976D2;
}

.mox_dropdown_link {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mox_dropdown_link:hover {
    background: #f5f5f5;
    color: #1976D2;
}

.mox_game_links {
    display: flex;
    gap: 20px;
}

.mox_game_link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.mox_game_link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

/* Logo */
.mox_logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.mox_logo_img {
    height: 40px;
    width: auto;
    max-width: 200px;
}



/* User Section */
.mox_user_section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.mox_user_info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mox_user_avatar {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.3);
}

.mox_user_details {
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.mox_user_label {
    color: #B3E5FC;
    font-weight: 400;
    font-size: 10px;
}

.mox_user_name {
    color: white;
    font-weight: 600;
    font-size: 11px;
}

.mox_balance_info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mox_balance_icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.3);
}

.mox_balance_details {
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.mox_balance_label {
    color: #B3E5FC;
    font-weight: 400;
    font-size: 10px;
}

.mox_balance_amount {
    color: white;
    font-weight: 600;
    font-size: 11px;
}

.mox_cart_info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mox_cart_icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid rgba(255,255,255,0.3);
}

.mox_cart_details {
    display: flex;
    flex-direction: column;
    font-size: 10px;
}

.mox_cart_label {
    color: #B3E5FC;
    font-weight: 400;
    font-size: 10px;
}

.mox_cart_amount {
    color: white;
    font-weight: 600;
    font-size: 11px;
}

.mox_balance_widget {
    margin-left: 10px;
}

.mox_balance_card {
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,0.3);
    min-width: 120px;
}

.mox_balance_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.mox_balance_title {
    font-size: 10px;
    color: #B3E5FC;
    font-weight: 400;
}

.mox_balance_amount_big {
    font-size: 12px;
    color: white;
    font-weight: 700;
}

.mox_balance_items {
    text-align: right;
}

.mox_balance_item {
    font-size: 9px;
    color: #B3E5FC;
    font-weight: 400;
}

/* Search Section */
.mox_search_section {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    padding: 10px 0;
    border-bottom: 2px solid #1976D2;
}

.mox_search_section .mox_container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.mox_search_left {
    display: flex;
    align-items: center;
    gap: 0;
}

.mox_search_divider {
    display: none;
}

.mox_search_divider:nth-child(4) {
    display: none;
}

.mox_gold_info {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    color: #E65100;
    padding: 12px 18px;
    border-radius: 25px 0 0 25px;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #1976D2;
    border-right: none;
    box-shadow: none;
    height: 50px;
    display: flex;
    align-items: center;
}

.mox_search_center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mox_search_input {
    width: 250px;
    padding: 12px 20px;
    border: 2px solid #1976D2;
    border-radius: 0;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
    height: 50px;
    border-left: 1px solid #1976D2;
    border-right: 1px solid #1976D2;
}

.mox_search_input:focus {
    border-color: #0D47A1;
    box-shadow: none;
}

.mox_search_right {
    display: flex;
    align-items: center;
    gap: 0;
}

.mox_store_link {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border: 2px solid #1976D2;
    padding: 12px 18px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: none;
    text-decoration: none;
    margin-right: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    height: 50px;
    border-left: none;
    border-right: 1px solid #1976D2;
}

.mox_store_link:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    color: #333;
    transform: none;
    box-shadow: none;
}

.mox_payment_btn {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: 2px solid #1976D2;
    padding: 12px 18px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: none;
    height: 50px;
    border-left: 1px solid #1976D2;
    border-right: 1px solid #1976D2;
}

.mox_payment_btn:hover {
    background: linear-gradient(135deg, #1976D2, #0D47A1);
    transform: none;
}

.mox_balance_btn {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    border: 2px solid #4CAF50;
    padding: 12px 18px;
    border-radius: 0 25px 25px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: none;
    height: 50px;
    border-left: none;
}

.mox_balance_btn:hover {
    background: linear-gradient(135deg, #388E3C, #2E7D32);
    transform: none;
}

/* Mobile Menu Button */
.mox_mobile_menu_btn {
    display: none;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

.mox_mobile_menu_icon {
    font-size: 18px;
}

/* Mobile Menu */
.mox_mobile_menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
}

.mox_mobile_menu.mox_show {
    display: block;
}

.mox_mobile_menu_content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(135deg, #1976D2 0%, #2196F3 50%, #1565C0 100%);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mox_mobile_menu.mox_show .mox_mobile_menu_content {
    transform: translateX(0);
}

.mox_mobile_menu_header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.mox_mobile_close_btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.mox_mobile_close_btn:hover {
    background: rgba(255,255,255,0.3);
}

.mox_mobile_user_section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.mox_mobile_user_info,
.mox_mobile_balance_info,
.mox_mobile_cart_info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mox_mobile_user_avatar,
.mox_mobile_balance_icon,
.mox_mobile_cart_icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 2px solid rgba(255,255,255,0.3);
}

.mox_mobile_user_details,
.mox_mobile_balance_details,
.mox_mobile_cart_details {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.mox_mobile_user_label,
.mox_mobile_balance_label,
.mox_mobile_cart_label {
    color: #B3E5FC;
    font-weight: 400;
}

.mox_mobile_user_name,
.mox_mobile_balance_amount,
.mox_mobile_cart_amount {
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.mox_mobile_balance_widget {
    margin-top: 10px;
}

.mox_mobile_balance_card {
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
}

.mox_mobile_balance_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mox_mobile_balance_title {
    font-size: 12px;
    color: #B3E5FC;
    font-weight: 400;
}

.mox_mobile_balance_amount_big {
    font-size: 16px;
    color: white;
    font-weight: 700;
}

.mox_mobile_balance_items {
    text-align: right;
}

.mox_mobile_balance_item {
    font-size: 11px;
    color: #B3E5FC;
    font-weight: 400;
}

.mox_mobile_game_links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mox_mobile_game_links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mox_mobile_game_links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mox_mobile_game_links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    display: block;
}

.mox_mobile_game_links a:hover {
    background: rgba(255,255,255,0.2);
}

.mox_mobile_game_link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mox_mobile_game_link:hover {
    background: rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mox_container {
        padding: 0 15px;
    }
    
    .mox_game_links {
        gap: 15px;
    }
    
    .mox_user_section {
        gap: 12px;
    }
    
    .mox_top_nav {
        padding: 0 15px;
    }
    
    .mox_top_right {
        padding: 0 15px;
    }
    
    .mox_search_section .mox_container {
        max-width: 500px;
    }
    
    .mox_search_input {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .mox_top_header {
        display: none;
    }
    
    .mox_search_section {
        display: none;
    }
    
    .mox_search_divider {
        display: none;
    }
    
    .mox_search_left,
    .mox_search_center,
    .mox_search_right {
        display: none;
    }
    
    .mox_container {
        flex-direction: column;
        gap: 15px;
    }
    
    .mox_main_header .mox_container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 15px;
        position: relative;
    }
    
    .mox_left_menu {
        display: none;
    }
    
    .mox_mobile_menu_btn {
        display: block;
        order: 1;
        margin-right: auto;
    }
    
    .mox_logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 2;
    }
    
    .mox_logo_img {
        height: 35px;
        max-width: 150px;
    }
    
    .mox_user_section {
        display: flex;
        order: 3;
        margin-left: auto;
    }
    
    .mox_user_section > *:not(.notification-bell-wrapper) {
        display: none;
    }
    
    .notification-bell-wrapper {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .mox_nav_link {
        font-size: 10px;
    }
    
    .mox_top_nav {
        gap: 10px;
    }
    
    .mox_mobile_menu_content {
        width: 100%;
    }
    
    .mox_logo_img {
        height: 30px;
        max-width: 120px;
    }
    
    .mox_search_input {
        width: 180px;
        padding: 8px 15px;
        font-size: 13px;
        text-align: center;
    }
}

/* User Dropdown CSS */
.mox_user_dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.mox_user_info {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mox_user_info:hover {
    background: rgba(255,255,255,0.2);
}

.mox_user_name {
    color: white;
    font-weight: 600;
    font-size: 13px;
}

.mox_user_info i {
    color: white;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.mox_user_info.active i {
    transform: rotate(180deg);
}

.mox_user_info.active {
    background: rgba(255,255,255,0.2);
}

.mox_user_menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    margin-top: 5px;
}

.mox_user_menu.mox_show {
    display: block;
}

/* Theme dropdown menu styles for user dropdown */
.theme-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.theme-dropdown-menu.shadow {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.theme-dropdown-menu.theme-dropdown-menu-right {
    right: 0;
}

.theme-dropdown-menu.text-16 {
    font-size: 16px;
}

.theme-dropdown-menu.w3 {
    font-weight: 300;
}

.theme-dropdown-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.theme-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.theme-dropdown-menu a:last-child {
    border-bottom: none;
}

.theme-dropdown-menu a:hover {
    background: #f8f9fa;
    color: #1976D2;
}

.theme-dropdown-menu a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.theme-dropdown-menu hr {
    margin: 0;
    border: none;
    border-top: 1px solid #f0f0f0;
}

/* Legacy support for old classes */
.mox_user_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mox_user_menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mox_user_menu a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.mox_user_menu a:last-child {
    border-bottom: none;
}

.mox_user_menu a:hover {
    background: #f8f9fa;
    color: #1976D2;
}

.mox_user_menu hr {
    margin: 0;
    border: none;
    border-top: 1px solid #f0f0f0;
}

/* İlan info styles - kaldırılacak */
.mox_ilan_info {
    display: none;
}

.mox_mobile_ilan_info {
    display: none;
}

/* Bakiye kısmı - güncellenmiş */
.mox_balance_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
}

.mox_balance_label {
    color: #B3E5FC;
    font-weight: 400;
    font-size: 10px;
}

.mox_balance_amount {
    color: white;
    font-weight: 600;
    font-size: 12px;
}

/* Cart info güncelleme */
.mox_cart_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
}

.mox_cart_icon {
    font-size: 16px;
    display: none;
}

.mox_cart_amount {
    color: white;
    font-weight: 600;
    font-size: 11px;
}

/* Mobile cart info */
.mox_mobile_cart_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
}

.mox_mobile_cart_icon {
    font-size: 16px;
    display: none;
}

.mox_mobile_cart_amount {
    color: white;
    font-weight: 600;
    font-size: 11px;
}

/* Mobile balance info */
.mox_mobile_balance_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
}

.mox_mobile_balance_label {
    color: #B3E5FC;
    font-weight: 400;
    font-size: 10px;
}

.mox_mobile_balance_amount {
    color: white;
    font-weight: 600;
    font-size: 12px;
}

/* Mobile user info */
.mox_mobile_user_info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 6px;
}

.mox_mobile_user_name {
    color: white;
    font-weight: 600;
    font-size: 13px;
}