/* Bottom Navigation Styles */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(36, 0, 70, 0.9));
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -5px 20px rgba(157, 78, 221, 0.3);
    z-index: 1000;
    padding: 8px 0 max(8px, env(safe-area-inset-bottom));
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 10px;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 6px 8px;
    border-radius: 12px;
    min-width: 50px;
    position: relative;
}

.bottom-nav-item svg {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
    stroke-width: 2;
}

.bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: var(--light-purple);
    text-decoration: none;
    transform: translateY(-2px);
}

.bottom-nav-item.active {
    background: rgba(157, 78, 221, 0.2);
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--neon-purple);
    border-radius: 1px;
    box-shadow: 0 0 8px var(--neon-glow);
}

/* Add padding to body to prevent overlap */
body {
    padding-bottom: 80px !important;
}

/* Adjust main container */
main.container {
    padding-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .bottom-nav-item span {
        font-size: 9px;
    }
    
    .bottom-nav-item {
        min-width: 45px;
        padding: 5px 6px;
    }
}

/* Premium tile styling in bottom nav */
.bottom-nav-item.premium-tile {
    border: 1px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.bottom-nav-item.premium-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 20, 147, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.bottom-nav-item.premium-tile:hover::before {
    opacity: 1;
}

.bottom-nav-item.premium-tile:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-3px);
}

.bottom-nav-item.premium-tile svg {
    stroke: #ffd700;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.bottom-nav-item.premium-tile span {
    color: #ffd700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Adjust floating tea button position when bottom nav is present */
@media (max-width: 768px) {
    .floating-tea-btn {
        bottom: 90px !important;
    }
}