/* ============================================================
   BOTTOMBAR LUX - ESTILO HEADER INVERTIDO
   ============================================================ */

.bottombar {
    height: 75px;
    width: 100%;

    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1100;

  background: var(--navy-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    border-top: var(--glass-border);
    border-left: var(--glass-border);
    border-right: var(--glass-border);

    border-radius: 30px 30px 0 0;

    display: flex;
    justify-content: space-around;
    align-items: center;

    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);

    overflow: hidden;
}

/* ============================================================
   GLOW FUTURISTA INVERTIDO
   ============================================================ */

.bottombar::before {
    content: "";
    position: absolute;
    bottom: -120%;
    left: -30%;
    width: 120%;
    height: 250%;

    background: radial-gradient(
        circle,
        rgba(var(--gold-rgb), 0.18),
        transparent 60%
    );

    transform: rotate(-25deg);
    pointer-events: none;
}

/* Linha superior dourada sutil */

.bottombar::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        transparent
    );

    opacity: 0.6;
}

/* ============================================================
   NAV ITEMS
   ============================================================ */

.bottombar .navitem {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: var(--text-white);

    font-size: 0.7rem;
    gap: 5px;

    padding: 10px 15px;
    border-radius: 15px;

    transition: 0.3s ease;
}

.bottombar .navitem i {
    font-size: 1.2rem;
    color: var(--gold);
    transition: 0.3s ease;
}

/* ============================================================
   HOVER
   ============================================================ */

.bottombar .navitem:hover {
    background: rgba(var(--gold-rgb), 0.1);
    transform: translateY(-4px);
}

.bottombar .navitem:hover i {
    transform: scale(1.1);
}

/* ============================================================
   ACTIVE
   ============================================================ */

.bottombar .navitem.active {
    background: rgba(var(--gold-rgb), 0.15);
    color: var(--gold);
}

.bottombar .navitem.active::before {
    content: "";
    position: absolute;
    top: -6px;
    width: 30px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 10px;
}

/* ============================================================
   MAIN AJUSTE
   ============================================================ */

.main-content {
    padding-bottom: 100px;
}

.hidden {
    display: none !important;
}

/* ============================================================
   MOBILE - 4 ITENS VISÍVEIS
   ============================================================ */

@media (max-width: 768px) {

    .bottombar {
        height: 70px;
        border-radius: 20px 20px 0 0;

        justify-content: space-between;
        padding: 0 5px;
    }

    .bottombar .navitem {
        flex: 1;
        padding: 8px 4px;
        font-size: 0.60rem;
    }

    .bottombar .navitem i {
        font-size: 1rem;
    }

}