﻿/* Hide desktop header on mobile/tablet */
@media (max-width: 490.98px) {
    .header {
        display: none !important;
    }

    .mobile-tab-bar-modern {
        display: flex !important;
    }
}

.liquid-bottom-nav {
    display: none; /* Hide by default */
}

@media (max-width: 490.98px) { /* Mobile only */
    .liquid-bottom-nav {
        display: block; /* Show on mobile */
    }
}

.liquid-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 98px;
    pointer-events: none;
    z-index: 1000;
}

.liquid-bar-svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 98px;
    display: block;
    z-index: 1;
    pointer-events: none;
}

.tab-btn {
    position: absolute;
    bottom: 0;
    width: 88px;
    height: 78px;
    display: flex;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fafafa;
    background: none;
    border: none;
    outline: none;
    font-size: 24px;
    z-index: 3;
    pointer-events: auto;
    transition: color 0.16s, transform 0.15s;
    cursor: pointer;
}

.tab-left {
    left: 26px;
    bottom: 8px;
}

.tab-right {
    right: 26px;
    bottom: 8px;
}

/* Raised, floating center button */
.tab-center {
    left: 50%;
    transform: translateX(-50%) translateY(-30px); /* Raised for clear separation */
    z-index: 5;
}

.center-icon-bg {
    color:#000;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 40px 0 rgba(229,9,20,0.17), 0 0 0 8px #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s, transform 0.15s;
}

.tab-center.active .center-icon-bg,
.tab-center:active .center-icon-bg {
    box-shadow: 0 0 0 13px #ff002230, 0 20px 60px rgba(229,9,20,0.23);
    transform: scale(1.08);
}

.tab-left i, .tab-right i {
    font-size: 28px;
    color: #d7d7d7;
}

.tab-btn:active i, .tab-btn:hover i {
    color: #e50914;
}

.tab-center .fa-house {
    font-size: 40px;
    color: #e50914;
}



.tab-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #fafafa;
    letter-spacing: -0.2px;
    text-align: center;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    transition: color 0.16s;
}

.tab-btn:active .tab-label,
.tab-btn:hover .tab-label {
    color: #e50914;
}

.tab-center .tab-label {
    display: none; /* Don't show label under center button (unless you want to) */
}

@media (min-width: 420px) {
    .tab-btn, .center-icon-bg {
        width: 70px;
        height: 70px;
    }

    .tab-center .fa-house {
        font-size: 29px;
    }

    .tab-center {
        transform: translateX(-50%) translateY(-31px);
    }
}

@media (max-width: 320px) {
    .tab-btn, .center-icon-bg {
        width: 60px;
        height: 60px;
    }

    .tab-center .fa-house {
        font-size: 29px;
    }

    .tab-center {
        transform: translateX(-50%) translateY(-31px);
    }
}



:root {
    --nav-bg1: #e9e9ef;
    --nav-bg2: #bfc3ca;
    --nav-icon: #24262c;
    --nav-icon-active: #bb2353;
}
/* For dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --nav-bg1: #23262c;
        --nav-bg2: #181c25;
        --nav-icon: #fafafa;
        --nav-icon-active: #e50914;
    }
}

.tab-left i, .tab-right i {
    color: var(--nav-icon);
}

.tab-center .fa-house {
    color: var(--nav-icon-active);
}

.tab-btn:active i, .tab-btn:hover i,
.tab-btn:active .tab-label, .tab-btn:hover .tab-label {
    color: var(--nav-icon-active);
}

.tab-label {
    color: var(--nav-icon);
}
