/* Bottom Navigation Styling */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 400px;
    background: rgba(22, 22, 22, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: space-evenly;
    align-items: center;
    margin-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    font-weight: 500;
    width: 55px;
    height: 45px;
    padding: 2px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bottom-nav-item i {
    font-size: 18px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    z-index: 2;
}

.bottom-nav-item span {
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 9px;
}

/* Active State - Vibrant and Distinctive */
.bottom-nav-item.active {
    color: #ffffff;
    background: linear-gradient(135deg, #ff6b35 0%, #fca016 50%, #ffb347 100%);
    box-shadow: 0 4px 12px rgba(252, 160, 22, 0.4),
        0 0 20px rgba(252, 160, 22, 0.2);
    transform: translateY(-2px);
}

.bottom-nav-item.active i {
    font-size: 16px;
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.bottom-nav-item.active span {
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hover effect for desktop testing */
.bottom-nav-item:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Make sure main content doesn't get hidden behind nav */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }

    .main-content {
        padding-bottom: 110px !important;
    }

    /* Hide standard footer links on mobile to reduce clutter */
    footer div {
        display: none !important;
    }

    footer {
        padding-bottom: 110px !important;
        margin-top: 20px !important;
        border: none !important;
    }
}