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

:root {
    --primary-color: #d4af37;
    --secondary-color: #c41e3a;
    --accent-color: #1e3a8a;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #0f172a;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* 头部导航 */
.header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent-color) 100%);
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
}

.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;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover {
    background-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8941f 100%);
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Hero区域 */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    padding: 60px 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 0;
    font-size: 0.95rem;
}

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

.breadcrumb-item::after {
    content: '›';
    margin-left: 10px;
    color: #999;
}

.breadcrumb-item:last-child::after {
    content: '';
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 20px;
}

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

.game-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

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

.game-info {
    padding: 25px;
}

.game-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.game-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* FAQ区域 */
.faq-section {
    background-color: white;
    padding: 60px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

/* 评论区域 */
.reviews-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.review-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

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

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
}

.reviewer-location {
    font-size: 0.95rem;
    color: #777;
}

.review-rating {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.review-date {
    font-size: 0.9rem;
    color: #999;
}

/* 支付方式 */
.payment-section {
    padding: 60px 0;
    background-color: white;
}

.payment-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.payment-image {
    max-width: 100%;
    height: auto;
}

/* 牌照区域 */
.license-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--text-light);
    text-align: center;
}

.license-content {
    max-width: 800px;
    margin: 0 auto;
}

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

/* 页脚 */
.footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    color: var(--text-light);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.age-restriction {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 15px;
}

/* 响应式设计 - 移动端优先 */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .nav-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
