/* ============================================
   首页样式
   ============================================ */

/* Hero区域 */
.hero-section {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* 游戏卡片 */
.games-section {
    padding: 60px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--game-color, var(--primary));
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--game-color, var(--primary));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.game-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.game-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.game-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.price-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-light);
}

.price-unit {
    font-size: 12px;
    color: var(--text-muted);
}

.game-arrow {
    position: absolute;
    top: 24px;
    right: 20px;
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.game-card:hover .game-arrow {
    color: var(--primary-light);
    transform: translateX(4px);
}

/* 特色服务 */
.features-section {
    background: var(--bg-card);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 服务流程 */
.process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    max-width: 200px;
    padding: 0 16px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
    margin-top: 20px;
}

.process-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin-top: 60px;
}

/* 合作入驻 */
.join-section {
    background: var(--bg-card);
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.join-card {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.join-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.join-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.join-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.join-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.join-link {
    font-size: 14px;
    color: var(--primary-light);
    font-weight: 600;
}

/* 底部CTA */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
}

.cta-card h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.cta-card p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: var(--primary);
}

.cta-buttons .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 响应式 */
@media (max-width: 1200px) {
    .games-grid,
    .features-grid,
    .join-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .games-grid,
    .features-grid,
    .join-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
    .hero-stats {
        gap: 20px;
    }
    .stat-number {
        font-size: 24px;
    }
}
