/* ========== ENHANCED TOP BAR NAVIGATION ========== */

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #e5e5e5;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link svg {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.08);
}

.nav-link:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* ========== SMART WALLET INFO DISPLAY ========== */

.wallet-user-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wallet-smart-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.info-icon {
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 11px;
    color: #a1a1a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

/* ========== TIER PROGRESS BAR ========== */

.tier-progress-container {
    margin-top: 20px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.12);
}

.tier-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    font-size: 13px;
    color: #e5e5e5;
    font-weight: 500;
}

.progress-label #nextTier {
    color: #FFD700;
    font-weight: 700;
}

.progress-amount {
    font-size: 12px;
    color: #a1a1a1;
    font-weight: 600;
}

.tier-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tier-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFD700 0%, #FFA500 100%);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.tier-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-hint {
    margin-top: 8px;
    font-size: 11px;
    color: #a1a1a1;
    text-align: center;
}

.progress-hint strong {
    color: #FFD700;
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */

@media (max-width: 1024px) {
    .topbar-nav {
        gap: 2px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .nav-link svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 768px) {
    .topbar-nav {
        display: none;
    }
    
    .wallet-smart-info {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .info-item {
        padding: 6px;
    }
    
    .tier-progress-container {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .wallet-smart-info {
        padding: 12px;
    }
    
    .info-value {
        font-size: 14px;
    }
}
