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

:root {
    --primary-purple: #2d1b4e;
    --accent-gold: #ffd700;
    --deep-red: #8b0000;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --bg-dark: #1a0f2e;
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
    background: radial-gradient(circle at top, var(--primary-purple), var(--bg-dark));
    color: var(--text-white);
    line-height: 1.8;
    min-height: 100vh;
}

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

/* 头部导航 */
header {
    background: linear-gradient(135deg, rgba(45, 27, 78, 0.95), rgba(139, 0, 0, 0.85));
    padding: 20px 0;
    border-bottom: 3px solid var(--accent-gold);
    position: relative;
}

.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: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(var(--shadow-glow));
}

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

nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
}

nav a:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    color: var(--bg-dark) !important;
    padding: 12px 30px !important;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    margin-bottom: 30px;
}

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

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb-list a {
    color: var(--accent-gold);
    text-decoration: none;
}

.breadcrumb-list span {
    color: var(--text-light);
}

/* 主内容区 */
main {
    padding: 50px 0;
}

/* 视频介绍模块 */
.video-intro {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(45, 27, 78, 0.3));
    border: 2px solid var(--accent-gold);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hero横幅 */
.hero-banner {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(45,27,78,0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.hero-overlay h1 {
    font-size: 56px;
    color: var(--accent-gold);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-overlay p {
    font-size: 24px;
    color: var(--text-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 800px;
}

/* 游戏卡片网格 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.game-card {
    background: linear-gradient(145deg, rgba(45, 27, 78, 0.8), rgba(139, 0, 0, 0.6));
    border: 3px solid var(--accent-gold);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.4);
    border-color: #ffed4e;
}

.game-card figure {
    position: relative;
    margin: 0;
}

.game-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover img {
    transform: scale(1.1);
}

.game-card figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 20px;
    color: var(--accent-gold);
    font-size: 24px;
    font-weight: 700;
}

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

.game-card h3 {
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.game-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-card .play-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
    color: var(--bg-dark);
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.game-card .play-button:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* 内容区块 */
.content-section {
    background: rgba(255, 255, 255, 0.05);
    border-left: 5px solid var(--accent-gold);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    font-size: 36px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.content-section h3 {
    font-size: 28px;
    color: #ffed4e;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 17px;
}

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

.content-section li {
    color: var(--text-light);
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

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

/* 支付方式网格 */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.payment-item {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-item:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.payment-item img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.payment-item p {
    color: var(--text-white);
    font-weight: 600;
    margin: 0;
}

/* 牌照展示 */
.license-display {
    display: flex;
    align-items: center;
    gap: 30px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3), rgba(45, 27, 78, 0.3));
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.license-display img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
}

.license-info {
    flex: 1;
}

.license-info h4 {
    color: var(--accent-gold);
    font-size: 24px;
    margin-bottom: 10px;
}

.license-info p {
    color: var(--text-light);
    margin-bottom: 8px;
}

/* FAQ区域 */
.faq-section {
    margin-top: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px 25px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.05);
    transition: all 0.3s ease;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: "▶";
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::before {
    transform: rotate(90deg);
}

.faq-item summary:hover {
    background: rgba(255, 215, 0, 0.15);
}

.faq-item p {
    padding: 20px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.review-card {
    background: linear-gradient(145deg, rgba(45, 27, 78, 0.6), rgba(139, 0, 0, 0.4));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

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

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

.reviewer-info p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

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

.review-card blockquote {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin: 15px 0;
    padding-left: 15px;
    border-left: 3px solid var(--accent-gold);
}

.review-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-align: right;
}

/* 页脚 */
footer {
    background: linear-gradient(135deg, rgba(26, 15, 46, 0.95), rgba(45, 27, 78, 0.95));
    border-top: 3px solid var(--accent-gold);
    padding: 50px 0 30px;
    margin-top: 80px;
}

.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);
    font-size: 22px;
    margin-bottom: 20px;
}

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

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

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

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

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

.age-restriction {
    display: inline-block;
    background: var(--deep-red);
    color: var(--text-white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 15px;
    border: 2px solid var(--accent-gold);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-overlay h1 {
        font-size: 36px;
    }
    
    .hero-overlay p {
        font-size: 18px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .license-display {
        flex-direction: column;
        text-align: center;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

table th {
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

table tr:hover {
    background: rgba(255, 215, 0, 0.05);
}
