/* =========================
   BOTTOM BAR
========================= */

.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom, 0px));
    background: var(--bg-alpha);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-top: 1px solid var(--border);
    z-index: 1000;
}


/* Nav Item */
.nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    font-size: 18px;
    color: var(--muted);
    text-decoration: none;
    font-family: inherit;
    padding: 8px;
    min-width: 52px;

    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

/* Button resets for nav items (launcher) */
button.nav-item {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--muted);
}

/* Label */
.nav-label {
    font-size: 11px;
}

/* Active State (we'll wire later) */
.nav-item.active {
    color: var(--text);
}

/* Hover State */
.nav-item:hover {
    color: var(--text);
    background: var(--hover);
    border-radius: 12px;
}

/* Tap Feedback */
.nav-item:active {
    transform: scale(0.95);
    background: var(--border);
}

.nav-item.active .app-icon {
    transform: scale(1.15);
}

/* Smooth icon animation */
.app-icon {
    transition: transform 0.2s ease;
}

/* Active indicator (dot) */
.nav-item.active::after {
    content: "";
    position: absolute;
    bottom: 2px;
    width: 6px;
    height: 6px;
    background: var(--text);
    border-radius: 50%;
}