/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #7c3aed;
    --secondary-blue: #2563eb;
    --accent-gold: #fbbf24;
    --dark-bg: #1e1b4b;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #f1f5f9;
    --card-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
header {
    background: rgba(30, 27, 75, 0.95);
    padding: 20px 0;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.5);
}

.site-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

nav a:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(to bottom, rgba(30, 27, 75, 0.9), rgba(30, 27, 75, 0.7));
    padding: 60px 0;
    margin: 30px 0;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.hero-banner {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

/* 卡片网格布局 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.5);
}

.game-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-description {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 内容区块 */
.content-section {
    background: white;
    padding: 50px;
    margin: 40px 0;
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-gold));
    border-radius: 2px;
}

.section-content {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    margin-bottom: 25px;
}

/* 特色图标网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ区域 */
.faq-container {
    margin: 40px 0;
}

.faq-item {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 16px;
    border-left: 5px solid var(--primary-purple);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2);
    transform: translateX(5px);
}

.faq-question {
    font-size: 1.3rem;
    color: var(--primary-purple);
    font-weight: 700;
    margin-bottom: 15px;
}

.faq-answer {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

/* 评论区域 */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.review-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
    position: relative;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--dark-bg);
    font-size: 1.2rem;
}

.review-rating {
    color: var(--accent-gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.review-location {
    color: #78716c;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.review-text {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.review-date {
    color: #78716c;
    font-size: 0.9rem;
    text-align: right;
}

/* 页脚 */
footer {
    background: rgba(30, 27, 75, 0.95);
    color: var(--text-light);
    padding: 50px 0 30px;
    margin-top: 60px;
    border-radius: 24px 24px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.badge-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 15px 0;
    margin: 20px 0;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.breadcrumb-item {
    color: var(--text-dark);
}

.breadcrumb-item a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #94a3b8;
}

/* CTA按钮 */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-blue));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
    text-align: center;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 图片优化 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
