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

.yjmh-community-hero {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(147, 51, 234, 0.1));
}

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

.yjmh-hot-discussions::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    transition: left 1s ease;
    animation: yjmhCommunityGlow 4s ease-in-out infinite;
}

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

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

.yjmh-discussion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.15);
}

.yjmh-hot-badge,
.yjmh-recommend-badge,
.yjmh-creative-badge {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .yjmh-discussion-card {
        padding: 1.5rem;
    }
    
    .yjmh-discussion-card .flex {
        flex-direction: column;
        text-align: center;
    }
}