body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.yjmh-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.yjmh-gradient-base {
    background: linear-gradient(135deg, #faf5ff, #fdf2f8, #eef2ff);
}

.yjmh-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    animation: yjmhFloatElements 8s ease-in-out infinite alternate;
}

@keyframes yjmhFloatElements {
    0% { 
        background-position: 0% 0%, 100% 100%, 50% 50%;
        transform: scale(1);
    }
    100% { 
        background-position: 100% 100%, 0% 0%, 30% 70%;
        transform: scale(1.05);
    }
}

.yjmh-fairy-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.yjmh-fairy-particles::before,
.yjmh-fairy-particles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.1) 0%, transparent 70%);
    animation: yjmhParticleFloat 6s ease-in-out infinite;
}

.yjmh-fairy-particles::before {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.yjmh-fairy-particles::after {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes yjmhParticleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.6;
    }
}

.yjmh-magical-beams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(147, 51, 234, 0.03) 50%,
        transparent 60%
    );
    animation: yjmhMagicalStream 10s linear infinite;
}

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

.yjmh-main-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.yjmh-logo-main {
    position: relative;
    z-index: 2;
}

.yjmh-logo-glow {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.yjmh-brand-link:hover .yjmh-logo-glow {
    opacity: 0.6;
}

.yjmh-nav-active {
    position: relative;
}

.yjmh-nav-indicator {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #9333ea, #ec4899);
    border-radius: 2px;
}

.yjmh-scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.yjmh-scroll-top.visible {
    transform: translateY(0);
    opacity: 1;
}

.yjmh-scroll-top:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: 0 15px 35px rgba(147, 51, 234, 0.4);
}

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

@media (max-width: 768px) {
    .yjmh-nav-menu {
        display: none;
    }
    
    .yjmh-hero-title {
        font-size: 2.5rem;
    }
    
    .yjmh-hero-desc {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    .yjmh-hero-title {
        font-size: 2rem;
    }
    
    .yjmh-nav-container {
        padding: 1rem;
    }
    
    .yjmh-brand-title {
        font-size: 1.5rem;
    }
    
    .yjmh-logo-main {
        width: 3rem;
        height: 3rem;
    }
    
    .yjmh-logo-main span {
        font-size: 1.25rem;
    }
}