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

:root {
    --primary-purple: #4a148c;
    --secondary-purple: #6a1b9a;
    --accent-gold: #ffd700;
    --dark-bg: #1a0033;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --card-bg: #2d1b4e;
    --border-color: #8e24aa;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.8;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-purple) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

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

/* 导航栏 - 非sticky */
.main-header {
    background: rgba(26, 0, 51, 0.95);
    border-bottom: 2px solid var(--accent-gold);
    padding: 15px 0;
}

.header-container {
    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;
    object-fit: contain;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

.main-nav a:hover {
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.1);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffed4e 100%);
    color: var(--dark-bg);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    background: var(--accent-gold);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
}

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

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* 视频模块 */
.video-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 2px solid var(--border-color);
}

.section-title {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

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

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0,0,0,0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--dark-bg);
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* 游戏网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

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

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 36, 170, 0.5);
    border-color: var(--accent-gold);
}

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

.game-info {
    padding: 20px;
}

.game-title {
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.game-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.game-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #ffed4e 100%);
    color: var(--dark-bg);
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.game-button:hover {
    transform: scale(1.05);
}

/* 内容区块 */
.content-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 2px solid var(--border-color);
}

.content-section h2 {
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    border-bottom: 3px solid var(--accent-gold);
    padding-bottom: 10px;
}

.content-section h3 {
    font-size: 22px;
    color: var(--accent-gold);
    margin: 25px 0 15px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

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

.content-section li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
}

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

/* 文章列表 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.article-card {
    background: rgba(45, 27, 78, 0.6);
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid var(--accent-gold);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateX(5px);
    background: rgba(45, 27, 78, 0.9);
}

.article-title {
    font-size: 18px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* 下载模块 */
.download-section {
    background: linear-gradient(135deg, var(--secondary-purple) 0%, var(--primary-purple) 100%);
    border-radius: 15px;
    padding: 50px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    margin: 30px auto;
}

.qr-code-container {
    text-align: center;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: var(--dark-bg);
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.download-btn:hover {
    transform: scale(1.05);
}

.download-btn img {
    width: 40px;
    height: 40px;
}

/* FAQ手风琴 */
.faq-container {
    margin: 30px 0;
}

.faq-item {
    background: rgba(45, 27, 78, 0.6);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--accent-gold);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(45, 27, 78, 0.9);
}

.faq-icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-gray);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* 用户评论 */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.review-card {
    background: rgba(45, 27, 78, 0.6);
    border-radius: 10px;
    padding: 25px;
    border-top: 3px solid var(--accent-gold);
}

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

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-gold);
}

.reviewer-info h4 {
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.reviewer-meta {
    font-size: 12px;
    color: var(--text-gray);
}

.review-rating {
    color: var(--accent-gold);
    font-size: 18px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.review-date {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 10px;
    text-align: right;
}

/* 徽章展示 */
.badges-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}

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

.badge-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

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

/* 页脚 */
.main-footer {
    background: rgba(26, 0, 51, 0.95);
    border-top: 2px solid var(--accent-gold);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.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: 18px;
}

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

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

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-size: 14px;
}

.age-restriction {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--dark-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin: 10px 0;
}

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

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

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.breadcrumb span {
    color: var(--text-gray);
    margin: 0 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        grid-template-columns: auto 1fr;
    }
    
    .main-nav {
        display: none;
        grid-column: 1 / -1;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .content-section {
        padding: 25px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 支付方式图标 */
.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.payment-icon {
    width: 80px;
    height: auto;
}
