        :root {
            --gold: #f2cf5b;
            --gold-dark: #c9a227;
            --gold-deep: #8a6a14;
            --gold-glow: rgba(242,207,82,0.15);
            --panel-dark: rgba(6,9,14,0.96);
        }

        body {
            padding-top: 80px;
            font-family: 'Inter', sans-serif;
            background: #252934;
        }

        @media (min-width: 1024px) {
            body {
                padding-top: 88px;
            }
        }

        /* --- Main Header --- */
        header.main-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10000;
            background: linear-gradient(180deg, rgba(40, 45, 60), rgba(40, 45, 60));
            border-bottom: 1px solid rgb(170 172 178);
            box-shadow: 0 8px 32px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03);
            backdrop-filter: blur(8px);
            transition: all 0.3s ease;
        }

        header.main-header.transparent {
            background: rgba(6,9,14,0.55) !important;
            backdrop-filter: blur(4px);
        }

        header.main-header.scrolled {
            background: linear-gradient(180deg, rgba(40, 45, 60), rgba(40, 45, 60));
            border-bottom-color: rgb(157 159 165);
        }

        .header-inner {
            max-width: 1600px;
            margin: 0 auto;
            padding: 12px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            position: relative;
        }

        @media (min-width: 768px) {
            .header-inner {
                padding: 14px 32px;
            }
        }

        /* --- Gold Corner Accent --- */
        .header-corner {
            position: absolute;
            left: 0;
            top: 0;
            width: 160px;
            height: 100%;
            clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
            pointer-events: none;
        }

        /* --- Logo --- */
        .header-logo {
            flex-shrink: 0;
            position: relative;
            z-index: 1;
            transition: all 0.3s ease;
        }

        .header-logo:hover {
            transform: scale(1.04);
            filter: drop-shadow(0 0 20px rgba(242,207,82,0.2));
        }

        .header-logo img {
            height: 52px;
            width: auto;
            display: block;
        }

        @media (min-width: 768px) {
            .header-logo img {
                height: 52px;
            }
        }

        /* --- Navigation --- */
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-wrap: wrap;
            position: relative;
            z-index: 1;
        }

        .nav-link {
            position: relative;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.75rem;
            letter-spacing: 0.0em;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.6);
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.04);
            text-decoration: none;
            transition: all 0.25s ease;
            white-space: nowrap;
            padding: 6px 10px 6px 10px;
            border-radius: 2px;
        }

        .nav-link::before {
            content: '';
            position: absolute;
            inset: -1px;
            padding: 1px;
            /** background: linear-gradient(135deg, #5a6174, rgb(171 173 179), transparent);**/
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .nav-link:hover::before {
            opacity: 1;
        }

        .nav-link:hover {
            color: #fff;
            background: #5a6174;
            border-color: rgb(157 160 167);
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(0,0,0,0.3);
        }

        .nav-link.active {
            color: #a1a3aa;
            background: rgb(90 97 116);
            border-color: rgb(170 172 178);
            box-shadow: 0 0 20px rgba(242,207,82,0.05), inset 0 1px 0 rgba(242,207,82,0.1);
            border-radius: 2px;
        }

        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 20%;
            right: 20%;
            height: 2px;
            background: linear-gradient(90deg, #00000000, #dddddd, transparent);
        }

        /* --- Mobile Nav Toggle --- */
        .nav-toggle {
            display: flex;
            flex-direction: column;
            gap: 5px;
            padding: 8px;
            background: transparent;
            border: none;
            cursor: pointer;
            position: relative;
            z-index: 10025;
        }

        .nav-toggle span {
            display: block;
            width: 26px;
            height: 2px;
            background: #a4a6ad;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
            transform: scaleX(0);
        }

        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        @media (min-width: 1024px) {
            .nav-toggle {
                display: none !important;
            }
        }

        /* --- Mobile Nav --- */
        @media (max-width: 1023px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                flex-direction: column;
                background: rgba(3,5,8,0.98);
                border-bottom: 1px solid rgba(201,162,39,0.25);
                box-shadow: 0 20px 40px rgba(0,0,0,0.8);
                padding: 16px 20px;
                gap: 6px;
                max-height: calc(100vh - 80px);
                overflow-y: auto;
                backdrop-filter: blur(12px);
            }

            .nav-menu.open {
                display: flex !important;
            }

            .nav-menu .nav-link {
                width: 100%;
                text-align: center;
                padding: 14px;
                font-size: 0.95rem;
            }

            .nav-menu .nav-link.active::after {
                display: none;
            }
        }

        /* --- Right Controls --- */
        .header-controls {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            z-index: 1;
        }

        @media (min-width: 768px) {
            .header-controls {
                gap: 16px;
            }
        }

        /* --- Currency Badges --- */
        .currency-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 14px 6px 10px;
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            font-size: 0.75rem;
            letter-spacing: 0.02em;
            transition: all 0.3s ease;
        }

        .currency-badge.gold {
            background: linear-gradient(
161deg, rgb(90 97 116), rgba(201, 162, 39, 0.05));
            color: #abadb3;
            border: 1px solid rgb(161 163 170);
            box-shadow: 0 0 16px rgb(161 163 170 / 13%);
            border-radius: 2px;
        }

        .currency-badge.gold:hover {
            border-color: rgb(255 255 255 / 40%);
            box-shadow: 0 0 24px rgb(129 129 129 / 10%);
            border-radius: 2px;
        }

        .currency-badge.iron {
            background: linear-gradient(135deg, rgba(160,120,255,0.12), rgba(100,60,200,0.05));
            color: #c8b8f0;
            border: 1px solid rgba(160,120,255,0.15);
            box-shadow: 0 0 16px rgba(160,120,255,0.03);
            border-radius: 2px;
        }

        .currency-badge.iron:hover {
            border-color: rgba(160,120,255,0.3);
        }

        .currency-badge i {
            font-size: 0.7rem;
            opacity: 0.8;
        }

        @media (max-width: 767px) {
            .currency-badge {
                display: none;
            }
        }

        /* --- Avatar --- */
        .avatar-trigger {
            width: 44px;
            height: 44px;
            flex-shrink: 0;
            border: 2px solid rgb(161 163 170);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 0 16px rgba(0, 0, 0, 0.4);
            background: rgba(0, 0, 0, 0.3);
        }

        .avatar-trigger:hover {
            border-color: #32334d;
            box-shadow: 0 0 24px rgb(68 61 106);
            transform: scale(1.04);
            border-radius: 2px;
        }

        .avatar-trigger img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            border-radius: 2px;
        }

        @media (min-width: 768px) {
            .avatar-trigger {
                width: 48px;
                height: 48px;
                border-radius: 2px;
            }
        }

        /* --- Language Button --- */
        .lang-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 14px 8px 10px;
            background: rgba(255,255,255,0.02);
            border: 1px solid rgb(52 57 71);
            color: rgba(255,255,255,0.7);
            font-family: 'Inter', sans-serif;
            font-weight: 600;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.25s ease;
            white-space: nowrap;
            border-radius: 2px;
        }

        .lang-btn:hover {
            border-color: rgb(170 172 178);
            background: rgb(52 54 60);
            color: #ffffff;
        }

        .lang-btn img {
            width: 20px;
            height: 14px;
            object-fit: cover;
            display: block;
        }

        .lang-btn .lang-label {
            display: none;
        }

        @media (min-width: 480px) {
            .lang-btn .lang-label {
                display: inline;
            }
        }

        /* --- Dropdowns --- */
        .wow-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            min-width: 250px;
            background: linear-gradient(160deg, rgb(38 41 52), rgb(49 54 70));
            border: 1px solid rgb(152 153 160);
            border-radius: 4px;
            box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 40px rgba(0,0,0,0.3);
            padding: 6px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-8px);
            transition: all 0.25s cubic-bezier(0.22, 0.68, 0, 1);
            z-index: 10050;
            backdrop-filter: blur(12px);
        }

        .wow-dropdown.open {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .wow-dropdown::before {
            content: '';
            position: absolute;
            inset: 4px;
            border: 1px solid rgb(49 52 59 / 39%);
            pointer-events: none;
        }

        .dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 18px;
            color: rgba(255,255,255,0.7);
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            font-size: 0.85rem;
            text-decoration: none;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            background: transparent;
            width: 100%;
            text-align: left;
        }

        .dropdown-item:hover {
            background: rgb(38 41 52);
            color: #fff;
        }

        .dropdown-item i {
            width: 20px;
            text-align: center;
            font-size: 0.9rem;
            opacity: 0.6;
            flex-shrink: 0;
        }

        .dropdown-item:hover i {
            opacity: 1;
        }

        .dropdown-item.danger {
            color: rgba(248,113,113,0.7);
        }

        .dropdown-item.danger:hover {
            background: rgba(248,113,113,0.08);
            color: #f87171;
        }

        .dropdown-divider {
            height: 1px;
            margin: 4px 16px;
            background: linear-gradient(90deg, transparent, rgba(201,162,39,0.15), transparent);
        }

        .dropdown-user {
            padding: 14px 18px;
            border-bottom: 1px solid rgba(201,162,39,0.08);
        }

        .dropdown-user .name {
            font-family: 'Inter', sans-serif;
            font-weight: 700;
            color: #93969e;
            font-size: 0.9rem;
        }

        .dropdown-user .email {
            font-size: 0.75rem;
            color: rgb(59 134 84);
            margin-top: 2px;
        }

        .dropdown-user .mini-badges {
            display: flex;
            gap: 8px;
            margin-top: 8px;
        }

        .dropdown-user .mini-badge {
            font-size: 0.65rem;
            padding: 2px 10px;
            font-weight: 700;
            letter-spacing: 0.04em;
        }

        .dropdown-user .mini-badge.gold {
            background: rgba(242,207,82,0.12);
            color: var(--gold);
            border: 1px solid rgba(242,207,82,0.15);
            border-radius: 2px;
        }

        .dropdown-user .mini-badge.iron {
            background: rgba(160,120,255,0.1);
            color: #c8b8f0;
            border: 1px solid rgba(160,120,255,0.12);
            border-radius: 2px;
        }

        /* --- Language options in dropdown --- */
        .lang-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 16px;
            color: rgba(255,255,255,0.7);
            font-family: 'Inter', sans-serif;
            font-weight: 500;
            font-size: 0.85rem;
            cursor: pointer;
            transition: all 0.2s ease;
            border: none;
            background: transparent;
            width: 100%;
            text-align: left;
        }

        .lang-option:hover {
            background: rgb(32 36 49);
            color: #ffffff;
        }

        .lang-option img {
            width: 20px;
            height: 14px;
            object-fit: cover;
        }

        /* --- Mobile responsive --- */
        @media (max-width: 480px) {
            .header-inner {
                padding: 10px 12px;
                gap: 8px;
            }

            .header-logo img {
                height: 40px;
            }

            .avatar-trigger {
                width: 36px;
                height: 36px;
            }

            .lang-btn {
                padding: 6px 10px;
                font-size: 0.7rem;
            }

            .lang-btn img {
                width: 16px;
                height: 11px;
            }

            .wow-dropdown {
                min-width: 180px;
                right: -8px;
            }
        }