/* Hero Module Styles */

.hero-banner {
    background: transparent;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

/* 彩虹渐变效果 */
.rainbow-gradient {
    background: linear-gradient(90deg, #8A2387, #E94057, #F27121, #FFA500, #FFE135, #32CD32, #00CED1, #1E90FF, #9932CC);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-slide 3s ease-in-out infinite;
    display: inline-block;
}

@keyframes rainbow-slide {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-title {
    color: #1b5e20 !important;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.03em;
    /* 优化文字渲染 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero-separator {
    display: none; /* 隐藏分隔线 */
}

.hero-subtitle {
    color: #2e7d32 !important;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    /* 优化文字渲染 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        padding: 30px 20px;
    }

    .hero-title {
        font-size: 2rem; /* 从 2.5rem 缩小到 2rem */
        line-height: 1.2; /* 添加行高控制 */
        margin-bottom: 2rem; /* 增加标题间隙 */
    }

    .hero-subtitle {
        font-size: 0.95rem; /* 从 1rem 稍微缩小 */
        margin-top: 0.5rem; /* 额外增加间隙 */
    }
}