/* 首页样式 - 现代化重设计 */

/* 现代化英雄区域 */
.modern-hero {
    position: relative;
    min-height: 30vh;
    /* 从80vh减少到50vh，防止占用过高 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 30% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(197, 160, 89, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(197, 160, 89, 0.3), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-100px);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 2.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.highlight-text {
    background: linear-gradient(135deg, #c5a059 0%, #f9e29c 50%, #c5a059 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #c5a059 0%, #f9e29c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* 区域标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--luxury-gold);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 排行榜区域 */
.ranking-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

/* 网格布局由公共类 .msr-spa-grid 统一处理 */

/* 推荐区域 */
.recommended-showcase {
    padding: 80px 0;
    background: white;
}

/* 网格布局由公共类 .msr-spa-grid 统一处理 */

/* 空状态优化 */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: rgba(248, 250, 252, 0.5);
    border-radius: 24px;
    border: 2px dashed #e2e8f0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* 特色功能区域 */
.features-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 160, 89, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* 响应式调整 - 仅针对手机端 */
@media (max-width: 767px) {
    .modern-hero {
        min-height: 200px !important;
        height: auto;
        padding: 40px 0 !important;
        /* 恢复正常内边距 */
        margin-bottom: 20px !important;
        /* 恢复正常下边距 */
    }

    .hero-title {
        font-size: 24px !important;
        /* 大幅缩小标题 */
        line-height: 1.3 !important;
        padding: 0 15px;
        /* 防止贴边 */
    }

    .hero-title .highlight-text {
        display: inline-block;
        /* 允许高亮词作为一个块，避免中间断开 */
    }

    .hero-subtitle {
        font-size: 13px !important;
        margin-top: 10px !important;
        padding: 0 20px;
        line-height: 1.5;
        opacity: 0.9;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .stat-divider {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .ranking-showcase,
    .recommended-showcase {
        padding: 60px 0;
        /* 特色功能区已隐藏，无需设置padding */
    }

    /* 手机端隐藏特色功能区域 */
    .features-section {
        display: none !important;
    }

    /* .ranking-grid, .recommended-grid 响应式已由 .msr-spa-grid 统一处理 */

    .features-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}