.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 100%;
    gap: 4px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666666;
    min-width: 50px;
    flex: 1;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0) 0%,
        rgba(212, 175, 55, 0.05) 50%,
        rgba(212, 175, 55, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover::before {
    opacity: 1;
}

.nav-item:hover {
    color: #d4af37;
    background: rgba(20, 20, 20, 0.8);
    transform: translateY(-2px);
}

.nav-item.active {
     transform: scale(0.95);
    margin: 0 2px; 
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #d4af37;
    border-radius: 50%;
    box-shadow: 0 0 8px #d4af37;
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.nav-icon i {
    font-size: 16px;
    transition: all 0.3s ease;
}

.nav-item:hover .nav-icon i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-item.active .nav-icon i {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.nav-item:hover .nav-label {
    letter-spacing: 0.7px;
}

/* Animation for nav items */
@keyframes navItemAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item {
    animation: navItemAppear 0.6s ease-out;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }

/* Decorative line in bottom nav */
.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    opacity: 0.3;
}

@media (max-width: 420px) {
    .nav-container {
        padding: 0 16px;
    }
}

@media (max-width: 375px) {
    .nav-container {
        padding: 0 12px;
    }
    
    .nav-item {
        padding: 8px 10px;
    }
}

/* Pulse animation for active nav item */
@keyframes pulseGold {
    0%, 100% {
        box-shadow: 0 0 0 rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    }
}

.nav-item.active {
    animation: pulseGold 3s ease-in-out infinite;
}