/* 全局样式 - 紫色+金色主题 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #6B46C1;
    --secondary-purple: #9333EA;
    --accent-gold: #F59E0B;
    --dark-purple: #4C1D95;
    --light-purple: #A78BFA;
    --text-dark: #1F2937;
    --text-light: #F9FAFB;
    --gradient-main: linear-gradient(135deg, #6B46C1 0%, #9333EA 50%, #F59E0B 100%);
    --shadow-card: 0 10px 30px rgba(107, 70, 193, 0.3);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: linear-gradient(to bottom, #F3F4F6, #E5E7EB);
    overflow-x: hidden;
}

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

/* 导航栏 - 非sticky */
.header {
    background: var(--gradient-main);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

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

.nav-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    list-style: none;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 英雄区域 */
.hero-section {
    position: relative;
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

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

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-purple);
    margin: 30px 0 20px;
}

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

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

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-gold);
}

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

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

.game-card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-purple);
    margin-bottom: 15px;
}

.game-card-description {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-play {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.4);
}

.btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(107, 70, 193, 0.6);
}

/* 视频区域 */
.video-section {
    text-align: center;
    margin: 40px 0;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: var(--shadow-card);
}

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

.faq-item {
    background: #F9FAFB;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 2px solid #E5E7EB;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-purple);
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '▼';
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item details[open] .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: #4B5563;
    line-height: 1.8;
}

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

.review-card {
    background: #F9FAFB;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
}

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

.reviewer-name {
    font-weight: bold;
    color: var(--primary-purple);
    font-size: 18px;
}

.review-rating {
    color: var(--accent-gold);
    font-size: 16px;
}

.reviewer-location {
    color: #6B7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.review-text {
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-date {
    color: #9CA3AF;
    font-size: 13px;
}

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

.payment-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 150px;
}

.payment-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* 牌照区域 */
.license-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #EDE9FE, #FEF3C7);
    border-radius: 15px;
    margin: 40px 0;
}

.license-badge {
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

/* 页脚 */
.footer {
    background: var(--dark-purple);
    color: var(--text-light);
    padding: 50px 0 30px;
    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: 20px;
}

.footer-links {
    list-style: none;
}

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

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

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

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

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

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

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    .site-title {
        font-size: 22px;
    }
    
    .nav-menu {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 22px;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 图片懒加载优化 */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* 文本内容样式 */
.text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
    margin: 20px 0;
}

.text-content p {
    margin-bottom: 15px;
}

.text-content ul, .text-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.text-content li {
    margin-bottom: 8px;
}

.highlight-box {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
    margin: 25px 0;
}

/* 表格样式 */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.info-table th {
    background: var(--gradient-main);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.info-table td {
    padding: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.info-table tr:hover {
    background: #F9FAFB;
}
