/* NAV BAWAH FLOATING PILL – SELALU KELIHATAN */

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: transparent;
    pointer-events: none;
}

.bottom-nav-inner {
    max-width: 520px;
    margin: 0 auto calc(10px + env(safe-area-inset-bottom));
    padding: 4px;
    background: rgba(5, 5, 5, 0.96);
    border-radius: 999px;
    border: 1px solid #262626;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    pointer-events: auto;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 4px 0 2px;
    border-radius: 999px;
    color: #bfbfbf;
    font-size: 10px;
    letter-spacing: 0.02em;
    font-weight: 500;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.bottom-nav-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-nav-item img {
    display: block;
    width: 22px;
    height: 22px;
    margin-bottom: 2px;
}

.bottom-nav-item span {
    display: block;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Badge 🔥 */
.bottom-nav-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 14px;
    height: 14px;
    padding: 0 3px;
    border-radius: 999px;
    background: #ff3d00;
    color: #ffffff;
    font-size: 9px;
    line-height: 14px;
    text-align: center;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}

/* Hover (desktop) */
.bottom-nav-item:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

/* TAB AKTIF (HANYA DI HALAMAN YANG KAMU TENTUKAN) */
.bottom-nav-item.is-active {
    background: linear-gradient(135deg, #ffb74d, #ff9100);
    color: #111111;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
    transform: translateY(-1px);
}

.bottom-nav-item.is-active span {
    color: #111111;
}

/* HP kecil */
@media (max-width: 360px) {
    .bottom-nav-inner {
        padding-inline: 6px;
    }

    .bottom-nav-item img {
        width: 20px;
        height: 20px;
    }

    .bottom-nav-item span {
        font-size: 9px;
    }
}

/* Desktop besar: kalau memang mau hide di layar lebar */
@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }
}
