/* ============================================================
   MXQ V2 - SUPER-APP ULTRA-PREMIUM 3D FLOATING DOCK NAVIGATION
   Matches Homepage 3D Holographic Fintech Theme 100%
   ============================================================ */

/* ── Top Header ── */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1.5px solid var(--border-3d-highlight);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    box-sizing: border-box;
}

.logo-img {
    height: 36px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-3d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--holo-indigo);
    font-size: 16px;
    text-decoration: none;
    box-shadow: var(--shadow-3d-sm);
    transition: var(--transition-bounce);
}

.header-actions a:hover {
    transform: scale(1.08);
}

/* ── Elevated 3D Holographic Floating Bottom Dock Navigation ── */

.footer-menu {
    position: fixed;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    max-width: 460px;
    z-index: 9999;
    padding: 0;
}

.footer-inner {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1.5px solid var(--border-3d-highlight);
    border-radius: 26px;
    box-shadow: 0 20px 45px -10px rgba(79, 70, 229, 0.25), inset 0 1.5px 0 rgba(255, 255, 255, 1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 4px 8px;
    position: relative;
}

.nav-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #64748b;
    padding: 4px 2px;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.nav-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #64748b;
    background: transparent;
}

.nav-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    line-height: 1;
    transition: var(--transition-fast);
}

.tab-dot {
    position: absolute;
    bottom: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Active State Custom 3D Badges & Glowing Colors */

.nav-tab-item.active {
    transform: translateY(-4px);
}

.nav-tab-item.active .nav-label {
    font-weight: 900;
}

.nav-tab-item.active .tab-dot {
    opacity: 1;
    transform: scale(1);
}

/* Home Active (3D Indigo Gradient Badge) */

.nav-tab-item.active .ic-home {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.45);
}

.nav-tab-item.active.tab-home .nav-label {
    color: #4f46e5;
}

.nav-tab-item.active.tab-home .dot-home {
    background: #4f46e5;
    box-shadow: 0 0 10px #4f46e5;
}

/* Product Active (3D Cyan Gradient Badge) */

.nav-tab-item.active .ic-product {
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.45);
}

.nav-tab-item.active.tab-product .nav-label {
    color: #0284c7;
}

.nav-tab-item.active.tab-product .dot-product {
    background: #0284c7;
    box-shadow: 0 0 10px #0284c7;
}

/* VIP Active (3D Gold Crown Badge) */

.ic-vip {
    color: #d97706;
    background: rgba(245, 158, 11, 0.10);
    border-radius: 12px;
}

.tab-vip .nav-label {
    color: #b45309;
}

.nav-tab-item.active .ic-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
}

.nav-tab-item.active.tab-vip .nav-label {
    color: #d97706;
}

.nav-tab-item.active.tab-vip .dot-vip {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

/* Team Active (3D Sunset Rose Badge) */

.nav-tab-item.active .ic-team {
    background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(236, 72, 153, 0.45);
}

.nav-tab-item.active.tab-team .nav-label {
    color: #be185d;
}

.nav-tab-item.active.tab-team .dot-team {
    background: #ec4899;
    box-shadow: 0 0 10px #ec4899;
}

/* Me Active (3D Emerald Badge) */

.nav-tab-item.active .ic-me {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.nav-tab-item.active.tab-me .nav-label {
    color: #059669;
}

.nav-tab-item.active.tab-me .dot-me {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.nav-tab-item:hover {
    transform: translateY(-2px);
}

.nav-tab-item:active {
    transform: scale(0.92);
}