.yjmh-user-layout {
    min-height: 100vh;
}

.yjmh-user-hero {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
}

.yjmh-user-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.yjmh-user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 1s ease;
    animation: yjmhUserGlow 3s ease-in-out infinite;
}

@keyframes yjmhUserGlow {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

.yjmh-user-avatar {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.yjmh-user-stats .yjmh-stat-item {
    transition: all 0.3s ease;
}

.yjmh-user-stats .yjmh-stat-item:hover {
    transform: translateY(-5px);
}

.yjmh-achievement-card {
    transition: all 0.3s ease;
}

.yjmh-achievement-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .yjmh-user-header {
        flex-direction: column;
        text-align: center;
    }
    
    .yjmh-user-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}