.hj-member-layout {
    min-height: 100vh;
}

.hj-member-hero {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
}

.hj-member-profile-header {
    transition: all 0.3s ease;
}

.hj-member-avatar {
    position: relative;
}

.hj-avatar-ring {
    animation: hjAvatarRing 3s linear infinite;
}

@keyframes hjAvatarRing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hj-vip-badge {
    animation: hjVipBadge 2s ease-in-out infinite;
}

@keyframes hjVipBadge {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hj-member-tabs {
    transition: all 0.3s ease;
}

.hj-tab-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hj-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hj-tab-btn:hover::before {
    left: 100%;
}

.hj-history-item {
    transition: all 0.3s ease;
    position: relative;
}

.hj-history-item:hover {
    transform: translateX(8px);
}

.hj-progress-bar {
    background: #e5e7eb;
    overflow: hidden;
    position: relative;
}

.hj-progress-fill {
    height: 100%;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.hj-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: hjProgressShimmer 2s ease-in-out infinite;
}

@keyframes hjProgressShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.hj-action-buttons button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hj-action-buttons button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.hj-action-buttons button:hover::before {
    width: 300px;
    height: 300px;
}

.hj-vip-info {
    position: relative;
    overflow: hidden;
}

.hj-vip-badge {
    position: relative;
}

.hj-benefit-item {
    transition: all 0.3s ease;
}

.hj-benefit-item:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .hj-member-profile-header {
        text-align: center;
    }
    
    .hj-member-profile-header .flex {
        flex-direction: column;
    }
    
    .hj-member-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hj-member-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .hj-tab-btn {
        flex: 1;
        min-width: calc(50% - 0.25rem);
    }
    
    .hj-history-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hj-history-item img {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
    
    .hj-action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}