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

:root {
    --primary-color: #2D1B4E;
    --secondary-color: #D4AF37;
    --background-color: #1A1A2E;
    --accent-color: #FF6B6B;
    --text-light: #FFFFFF;
    --text-gray: #B8B8B8;
    --card-bg: rgba(45, 27, 78, 0.6);
    --border-glow: rgba(212, 175, 55, 0.5);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    background: linear-gradient(135deg, var(--background-color) 0%, #0F0F1E 100%);
    color: var(--text-light);
    line-height: 1.8;
    min-height: 100vh;
}

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

/* 头部导航 */
header {
    background: rgba(26, 26, 46, 0.95);
    border-bottom: 2px solid var(--secondary-color);
    padding: 20px 0;
    position: relative;
}

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

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

.logo-area img {
    height: 60px;
    width: auto;
}

.site-title {
    font-family: 'Source Han Sans', 'Microsoft YaHei', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

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

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--secondary-color);
    background: rgba(212, 175, 55, 0.1);
}

nav a:hover::after {
    width: 80%;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color) 0%, #FF4757 100%);
    color: var(--text-light);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

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

/* 移动端菜单切换 */
.menu-toggle {
    display: none;
    background: var(--secondary-color);
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

/* 面包屑导航 */
.breadcrumb {
    background: rgba(45, 27, 78, 0.3);
    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(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--secondary-color);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '›';
    color: var(--text-gray);
}

/* 主内容区 */
main {
    min-height: 60vh;
    padding: 40px 0;
}

/* 视频区域 */
.video-section {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-section h2 {
    font-family: 'Source Han Sans', 'Microsoft YaHei', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

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

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

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

.game-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.4);
    border-color: var(--secondary-color);
}

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

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

.game-card-content h3 {
    font-family: 'Source Han Sans', 'Microsoft YaHei', sans-serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

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

.game-card-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #B8941F 100%);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-card-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
}

/* 内容区块 */
.content-section {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.content-section h2 {
    font-family: 'Source Han Sans', 'Microsoft YaHei', sans-serif;
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
}

.content-section h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p {
    color: var(--text-gray);
    margin-bottom: 20px;
    text-align: justify;
}

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

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

.content-section ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

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

.payment-item {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-item:hover {
    transform: scale(1.05);
    border-color: var(--secondary-color);
}

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

.payment-item h4 {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.faq-item {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item details {
    cursor: pointer;
}

.faq-item summary {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-item summary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.faq-item details[open] summary::after {
    content: '−';
}

.faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-gray);
    line-height: 1.8;
}

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

.review-card {
    background: rgba(26, 26, 46, 0.5);
    border: 1px solid var(--border-glow);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

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

.review-author {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem;
}

.review-rating {
    color: var(--secondary-color);
    font-size: 1rem;
}

.review-location {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.review-content {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.review-date {
    color: var(--text-gray);
    font-size: 0.85rem;
    text-align: right;
}

/* 牌照徽章 */
.license-badge {
    text-align: center;
    margin: 30px 0;
}

.license-badge img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.5));
}

/* 页脚 */
footer {
    background: rgba(15, 15, 30, 0.95);
    border-top: 2px solid var(--secondary-color);
    padding: 50px 0 20px;
    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(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

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

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

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

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

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-gray);
}

.age-restriction {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        grid-template-columns: 1fr auto;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        grid-column: 1 / -1;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
}

/* 加载动画 */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px var(--border-glow);
    }
    50% {
        box-shadow: 0 0 20px var(--secondary-color);
    }
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

/* 图片懒加载占位 */
img[loading="lazy"] {
    background: linear-gradient(90deg, rgba(45, 27, 78, 0.3) 25%, rgba(212, 175, 55, 0.2) 50%, rgba(45, 27, 78, 0.3) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 打印样式 */
@media print {
    header, footer, .cta-button, .game-card-button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .content-section {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}
