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

:root {
    --primary-color: #8B4789;
    --secondary-color: #D4AF37;
    --accent-color: #C41E3A;
    --dark-bg: #1a0f1f;
    --light-text: #f5f5f5;
    --card-bg: #2d1b3d;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2d1533 100%);
    color: var(--light-text);
    line-height: 1.8;
    font-size: 16px;
}

/* 容器布局 */
.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.main-header {
    background: rgba(26, 15, 31, 0.95);
    padding: 20px 0;
    border-bottom: 3px solid var(--secondary-color);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.site-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.site-branding h1 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* 主导航 */
.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

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

.primary-nav a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero区域 */
.hero-section {
    padding: 60px 0;
    text-align: center;
}

.hero-banner {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb-nav {
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb-nav ol {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb-nav a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-nav span {
    color: #999;
}

/* 视频模块 */
.video-intro-section {
    padding: 50px 0;
    text-align: center;
}

.video-intro-section h2 {
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.video-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #ccc;
}

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

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
    border-color: var(--secondary-color);
}

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

.game-card-content {
    padding: 25px;
}

.game-card-content h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.game-card-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ddd;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #8B0000);
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(135deg, #8B0000, var(--accent-color));
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

/* 内容区块 */
.content-section {
    padding: 50px 0;
}

.content-section h2 {
    font-size: 34px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}

.content-section h3 {
    font-size: 26px;
    color: var(--secondary-color);
    margin-top: 35px;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 17px;
    line-height: 1.8;
}

.content-section li:before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 20px;
}

/* 特色图片展示 */
.feature-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ部分 */
.faq-section {
    padding: 50px 0;
}

.faq-item {
    background: var(--card-bg);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
}

.faq-item h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
}

/* 用户评论 */
.reviews-section {
    padding: 50px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--primary-color);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.reviewer-info h4 {
    font-size: 19px;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.reviewer-meta {
    font-size: 14px;
    color: #999;
}

.review-rating {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.review-text {
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
}

.review-date {
    font-size: 14px;
    color: #888;
    margin-top: 15px;
}

/* 页脚 */
.main-footer {
    background: rgba(13, 8, 18, 0.95);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 3px solid var(--secondary-color);
}

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

.footer-section h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #888;
    font-size: 14px;
}

.age-restriction {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin: 20px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .primary-nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .primary-nav a {
        text-align: center;
    }
    
    .site-branding h1 {
        font-size: 24px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

/* 性能优化 */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-load.loaded {
    opacity: 1;
}
