/* ==========================================================================
   SWAM GLOBAL NAVIGATION BAR STYLES
   Unified stylesheet for desktop and mobile navigation header & user dropdowns
   ========================================================================== */

.radial-background-primary {
    position: relative;
    width: 100%;
    background: rgba(1, 2, 10, 0.6) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1060;
}

.logo-container a img,
.logo-mobile img {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s ease;
}

.logo-container a:hover img,
.logo-mobile:hover img {
    transform: scale(1.06);
    filter: brightness(1.1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.logo-link {
    display: inline-block;
}

.logo-pulse {
    cursor: pointer;
    transition: transform 0.2s ease;
    animation: pulse 2s infinite;
}

.logo-pulse:hover {
    animation-play-state: paused;
    transform: scale(1.08);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    8% {
        transform: scale(1.08);
    }

    16% {
        transform: scale(1);
    }
}

.header-container {
    position: relative;
}

/* Desktop Header */
.desktop-header {
    padding: 10px 20px;
}

.logo-container {
    flex-shrink: 0;
    margin-right: 30px;
}

.logo-container img {
    display: block;
    height: auto;
}

.main-nav {
    justify-content: center;
    flex: 1;
    gap: 0;
    white-space: nowrap;
    --dock-max-scale: 1.4;
    --dock-influence: 120px;
}

.main-nav .nav-link {
    flex: 0 0 auto;
    text-align: center;
    padding: 15px 16px;
    transition: transform 160ms cubic-bezier(.2, .8, .2, 1), color 160ms;
    will-change: transform;
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    letter-spacing: .05em;
}

.main-nav .nav-link:hover {
    color: #ffffff !important;
}

.main-nav .nav-link.active {
    color: #E6B21A !important;
    /* transform: scale(1.35); */
}

.nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 4px;
    align-self: center;
    pointer-events: none;
}

.header-right {
    flex-shrink: 0;
}

/* ==========================================================================
       MODERN NAVIGATION DROPDOWNS & POPOVERS (Desktop & Mobile)
       ========================================================================== */

/* Animations */
@keyframes navDropdownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes navDrawerSlideDown {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes notifPulseRing {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(2.4);
        opacity: 0;
    }

    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

@keyframes bellShake {

    0%,
    65%,
    100% {
        transform: rotate(0);
    }

    70% {
        transform: rotate(18deg);
    }

    75% {
        transform: rotate(-16deg);
    }

    80% {
        transform: rotate(12deg);
    }

    85% {
        transform: rotate(-8deg);
    }

    90% {
        transform: rotate(4deg);
    }

    95% {
        transform: rotate(0);
    }
}

/* --------------------------------------------------------------------------
       1. Language Dropdown (Desktop)
       -------------------------------------------------------------------------- */
.language-dropdown {
    position: relative;
}

.language-pill-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.language-pill-btn:hover,
.language-pill-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: 195px;
    background: rgba(5, 18, 42, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 9999;
    overflow: visible !important;
    animation: navDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.language-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(5, 18, 42, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
    z-index: 1;
}

.language-dropdown-item {
    padding: 7px 12px;
    margin: 2px 4px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #f1f5f9 !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.language-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFD166 !important;
    transform: translateX(2px);
}

.language-dropdown-item.active {
    background: rgba(232, 186, 85, 0.14) !important;
    color: #FFD166 !important;
    font-weight: 600;
}

.locale-pill-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    letter-spacing: 0.5px;
    min-width: 26px;
    text-align: center;
}

.language-dropdown-item.active .locale-pill-badge {
    background: #FFD166;
    color: #05142e;
}

.active-locale-check {
    color: #FFD166;
    font-size: 15px;
}

/* --------------------------------------------------------------------------
       2. Buttons (Login & User Pill)
       -------------------------------------------------------------------------- */
.login-btn {
    text-transform: uppercase;
    letter-spacing: .05em;
    background: linear-gradient(90deg, #E9C266 0%, #FFEAB9 50%, #E9C266 100%);
    padding: 6px 28px;
    color: #0C1F47 !important;
    border-radius: 10px 0px 10px 0px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(233, 194, 102, 0.25);
}

.login-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(233, 194, 102, 0.35);
}

.user-pill-btn {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.user-pill-btn:hover,
.user-pill-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
       3. User Profile Dropdowns (Desktop & Mobile Shared Tokens)
       -------------------------------------------------------------------------- */
.desktop-user-menu {
    position: absolute;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: 285px;
    background: rgba(5, 18, 42, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 9999;
    overflow: visible !important;
    animation: navDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.desktop-user-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 32px;
    width: 12px;
    height: 12px;
    background: rgba(5, 18, 42, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
    z-index: 1;
}

.nav-dropdown-item,
.mobile-user-dropdown-item {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 8px;
    gap: 10px;
    color: #f1f5f9 !important;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:active,
.mobile-user-dropdown-item:hover,
.mobile-user-dropdown-item:active {
    background: rgba(255, 255, 255, 0.08);
    color: #FFD166 !important;
}

.nav-dropdown-item .item-icon-box,
.mobile-user-dropdown-item .item-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.05);
    color: #FFD166;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-dropdown-item:hover .item-icon-box,
.mobile-user-dropdown-item:hover .item-icon-box {
    background: rgba(255, 209, 102, 0.15);
    transform: scale(1.05);
}

.nav-dropdown-item .item-chevron,
.mobile-user-dropdown-item .item-chevron {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover .item-chevron,
.mobile-user-dropdown-item:hover .item-chevron {
    color: #FFD166;
    transform: translateX(2px);
}

.nav-dropdown-item.logout-item,
.mobile-user-dropdown-item.logout-item {
    color: #ff6b6b !important;
}

.nav-dropdown-item.logout-item .item-icon-box,
.mobile-user-dropdown-item.logout-item .item-icon-box {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.nav-dropdown-item.logout-item:hover,
.nav-dropdown-item.logout-item:active,
.mobile-user-dropdown-item.logout-item:hover,
.mobile-user-dropdown-item.logout-item:active {
    background: rgba(239, 68, 68, 0.12);
    color: #ff4d4d !important;
}

.nav-dropdown-item.logout-item:hover .item-icon-box,
.mobile-user-dropdown-item.logout-item:hover .item-icon-box {
    background: rgba(239, 68, 68, 0.22);
}

.nav-dropdown-item.logout-item:hover .item-chevron,
.mobile-user-dropdown-item.logout-item:hover .item-chevron {
    color: #ff4d4d;
}

/* --------------------------------------------------------------------------
       4. Notification Bell & Dropdown Styles (Desktop & Mobile)
       -------------------------------------------------------------------------- */
.notification-trigger-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.notification-trigger-btn:hover,
.notification-trigger-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.notification-count-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    z-index: 2;
}

.notification-pulse-ring {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.6);
    animation: notifPulseRing 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
    pointer-events: none;
    z-index: 1;
}

.bell-ringing {
    display: inline-block;
    animation: bellShake 3s ease-in-out infinite;
    transform-origin: top center;
}

.notification-menu {
    position: absolute;
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: 380px;
    max-width: calc(100vw - 24px);
    background: rgba(5, 18, 42, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 9999;
    overflow: visible !important;
    animation: navDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: rgba(5, 18, 42, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
    z-index: 1;
}

.notification-item {
    transition: background 0.2s ease;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.06) !important;
}

.btn-swam-action-gold {
    background: linear-gradient(135deg, #f5d482 0%, #e8ba55 100%);
    color: #05142e !important;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(232, 186, 85, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    border: none;
}

.btn-swam-action-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 186, 85, 0.4);
    color: #05142e !important;
}

.notif-footer-link {
    color: #FFD166;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.notif-footer-link:hover {
    color: #f5d482;
    transform: translateX(2px);
}

.custom-scroll::-webkit-scrollbar {
    width: 5px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
       5. Mobile Header Elements & Action Buttons
       -------------------------------------------------------------------------- */
.notification-trigger-btn-mobile {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.notification-trigger-btn-mobile:hover,
.notification-trigger-btn-mobile[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.btn-user-mobile {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: relative;
}

.btn-user-mobile:hover,
.btn-user-mobile[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.user-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #05142e;
}

.mobile-menu-toggle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #ffffff;
}

.mobile-menu-toggle-btn:hover,
.mobile-menu-toggle-btn.active,
.mobile-menu-toggle-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(233, 194, 102, 0.4) !important;
    color: #FFD166;
    transform: translateY(-1px);
}

.mobile-menu-toggle-btn.active .hamburger-icon {
    stroke: #FFD166;
}

.btn-login-mobile {
    padding: 6px 16px;
    font-size: 11.5px;
    border-radius: 999px;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
       6. Mobile Popovers (Notification & User Dropdown)
       -------------------------------------------------------------------------- */
.notification-menu-mobile {
    position: absolute;
    top: calc(100% + 12px) !important;
    right: -92px !important;
    left: auto !important;
    width: 350px !important;
    max-width: calc(100vw - 20px) !important;
    background: rgba(5, 18, 42, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 9999;
    overflow: visible !important;
    animation: navDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification-menu-mobile::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 105px;
    width: 12px;
    height: 12px;
    background: rgba(5, 18, 42, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
    z-index: 1;
}

.mobile-user-menu {
    position: absolute;
    top: calc(100% + 12px) !important;
    right: -46px !important;
    left: auto !important;
    width: 290px !important;
    max-width: calc(100vw - 20px) !important;
    background: rgba(5, 18, 42, 0.97) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 9999;
    overflow: visible !important;
    animation: navDropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-user-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 59px;
    width: 12px;
    height: 12px;
    background: rgba(5, 18, 42, 0.97);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    transform: rotate(45deg);
    z-index: 1;
}

/* --------------------------------------------------------------------------
       7. Mobile Drawer & Overlay
       -------------------------------------------------------------------------- */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 8, 20, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(4, 14, 34, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.7);
    z-index: 1050;
    overflow: hidden;
}

.mobile-menu-collapse.open {
    display: block;
    animation: navDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-inner {
    padding: 16px 18px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FFD166 !important;
    transform: translateX(3px);
}

.mobile-nav-link.active {
    background: rgba(233, 194, 102, 0.12) !important;
    color: #FFD166 !important;
    border: 1px solid rgba(233, 194, 102, 0.3) !important;
    font-weight: 700;
}

.mobile-link-arrow {
    font-size: 16px;
    opacity: 0.4;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-link:hover .mobile-link-arrow {
    opacity: 0.9;
    transform: translateX(3px);
}

.mobile-language-wrapper {
    margin-top: 10px;
    padding-top: 10px;
}

.mobile-language-toggle {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #f1f5f9;
}

.mobile-language-toggle:hover,
.mobile-language-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.mobile-language-collapse {
    display: none;
    padding-top: 10px;
}

.mobile-language-collapse.open {
    display: block;
    animation: navDropdownFadeIn 0.2s ease;
}

.mobile-language-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.mobile-lang-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none !important;
    color: #e2e8f0 !important;
    transition: all 0.2s ease;
    gap: 6px;
}

.mobile-lang-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFD166 !important;
    border-color: rgba(255, 255, 255, 0.16);
}

.mobile-lang-chip.active {
    background: rgba(233, 194, 102, 0.15) !important;
    border-color: rgba(233, 194, 102, 0.4) !important;
    color: #FFD166 !important;
    font-weight: 600;
}

.mobile-lang-chip .chip-code {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    letter-spacing: 0.5px;
    min-width: 26px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-lang-chip.active .chip-code {
    background: #FFD166;
    color: #05142e;
}

.mobile-lang-chip .chip-label {
    font-size: 12px;
    flex: 1;
}

.mobile-lang-chip .chip-check {
    color: #FFD166;
    font-size: 14px;
    flex-shrink: 0;
}

/* Sticky behavior */
.radial-background-primary.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 260ms ease;
}

.radial-background-primary.is-sticky.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
    background: rgba(1, 2, 10, 0.35) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-spacer {
    display: block;
    width: 100%;
    height: 0px;
    background: var(--swam-navy-primary)
}

/* Focus outlines */
.main-nav .nav-link:focus,
.mobile-nav-link:focus {
    outline: 2px solid rgba(230, 178, 26, 0.25);
    outline-offset: 2px;
}

/* Tablet adjustments */
@media (max-width: 992px) {
    .desktop-header {
        padding: 8px 15px;
    }

    .logo-container {
        margin-right: 20px;
    }

    .logo-container img {
        height: 50px;
    }

    .main-nav .nav-link {
        padding: 12px 12px;
        font-size: 13px;
    }

    .nav-divider {
        margin: 0 3px;
    }

    .language-dropdown .dropdown-toggle {
        padding: 8px 12px;
        font-size: 13px;
    }

    .login-btn {
        padding: 10px 30px;
        font-size: 13px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .radial-background-primary {
        position: sticky;
        top: 0;
        z-index: 1060;
    }

    .radial-background-primary.is-sticky {
        position: sticky;
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .radial-background-primary.is-sticky.show {
        box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
        backdrop-filter: blur(8px);
    }

    .mobile-header .d-flex {
        padding: 8px 15px;
    }

    .logo-mobile img {
        height: 44px;
    }
}

/* Small devices */
@media (max-width: 576px) {
    .mobile-header .d-flex {
        padding: 7px 12px;
    }

    .logo-mobile img {
        height: 38px;
    }

    .btn-login-mobile {
        padding: 5px 12px;
        font-size: 11px;
    }

    .mobile-menu-inner {
        padding: 12px 14px;
    }
}

/* Extra small screens (< 440px) */
@media (max-width: 440px) {
    .notification-menu-mobile {
        right: -86px !important;
        width: calc(100vw - 20px) !important;
    }

    .notification-menu-mobile::before {
        right: 99px !important;
    }

    .mobile-user-menu {
        right: -42px !important;
        width: calc(100vw - 20px) !important;
    }

    .mobile-user-menu::before {
        right: 55px !important;
    }

    .mobile-language-grid {
        grid-template-columns: 1fr;
    }
}