/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: linear-gradient(135deg, var(--template-bg) 0%, var(--tertiary-color) 100%);
    border-top: 1px solid var(--primary-color);
    padding: 16px 8px 12px;
    z-index: 1002;
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2), 0 -1px 0 rgba(156, 236, 254, 0.1);
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: var(--template-color);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    font-size: 22px;
    backdrop-filter: blur(10px);
}

.mobile-nav-btn:hover,
.mobile-nav-btn:focus {
    background: linear-gradient(135deg, var(--primary-color), rgba(156, 236, 254, 0.8));
    color: var(--octonary-color);
    transform: translateY(-4px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(156, 236, 254, 0.3);
}

.mobile-nav-btn:active {
    transform: translateY(0);
}

.mobile-nav-label {
    font-size: 12px;
    color: var(--template-color);
    margin-top: 6px;
    font-weight: 600;
    opacity: 0.9;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-nav-item:hover .mobile-nav-label {
    opacity: 1;
    color: var(--primary-color);
}

/* Wallet Button - Prominent */
.mobile-nav-wallet {
    position: relative;
}

.mobile-nav-wallet::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #ffba23;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffba23;
}

.mobile-wallet-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffba23, #ff9800);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 26px;
    color: var(--octonary-color);
    box-shadow: 0 6px 20px rgba(255, 186, 35, 0.4), 0 0 0 3px rgba(255, 186, 35, 0.1);
    transform: translateY(-8px);
    position: relative;
}

.mobile-wallet-btn:hover,
.mobile-wallet-btn:focus {
    background: linear-gradient(135deg, #ff9800, #ffba23);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 186, 35, 0.5), 0 0 0 4px rgba(255, 186, 35, 0.2);
}

.mobile-nav-wallet .mobile-nav-label {
    font-weight: 600;
    color: #ffba23;
    opacity: 1;
}

/* Menu Button - removed icon-bar styles since using regular icon now */

/* Icon Styles */
.mobile-nav-btn i {
    font-size: 20px;
    transition: all 0.3s ease;
}

.mobile-wallet-btn i {
    font-size: 24px;
}

/* Active State */
.mobile-nav-item.active .mobile-nav-btn {
    background-color: var(--primary-color);
    color: var(--octonary-color);
}

.mobile-nav-item.active .mobile-nav-label {
    color: var(--primary-color);
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 375px) {
    .mobile-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .mobile-wallet-btn {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .mobile-nav-label {
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .mobile-bottom-nav {
        padding: 12px 4px 8px;
    }
    
    .mobile-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .mobile-wallet-btn {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    
    .mobile-nav-label {
        font-size: 10px;
        margin-top: 4px;
    }
}

/* Body padding to prevent content overlap */
@media (max-width: 1199px) {
    body {
        padding-bottom: 90px;
    }
}

/* Animation for menu button */
.mobile-nav-btn.open-offcanvas-nav.active .top-bar {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-btn.open-offcanvas-nav.active .middle-bar {
    opacity: 0;
}

.mobile-nav-btn.open-offcanvas-nav.active .bottom-bar {
    transform: rotate(-45deg) translate(5px, -5px);
}