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

:root {
    --primary-red: #c8102e;
    --primary-gold: #d4af37;
    --secondary-red: #8b0000;
    --light-gold: #f4e4c1;
    --dark-bg: #1a0000;
    --text-dark: #2c1810;
    --text-light: #ffffff;
    --border-color: #d4af37;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fff5e6 0%, #ffffff 100%);
    overflow-x: hidden;
}

/* 顶部导航栏 */
.top-header {
    background: linear-gradient(to right, var(--primary-red), var(--secondary-red));
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

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

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

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

/* 主导航 */
.main-nav {
    background: var(--primary-gold);
    padding: 0;
    border-bottom: 3px solid var(--primary-red);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-container a {
    color: var(--text-dark);
    text-decoration: none;
    padding: 18px 30px;
    display: block;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(200, 16, 46, 0.2);
}

.nav-container a:last-child {
    border-right: none;
}

.nav-container a:hover {
    background: var(--primary-red);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* 横幅区域 */
.hero-banner {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

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

/* 主内容区 */
.main-content {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--light-gold);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: 14px;
}

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

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

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

/* 内容卡片 */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-gold);
}

.content-card h1 {
    color: var(--primary-red);
    font-size: 36px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-gold);
}

.content-card h2 {
    color: var(--secondary-red);
    font-size: 28px;
    margin: 35px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-gold);
}

.content-card h3 {
    color: var(--primary-red);
    font-size: 22px;
    margin: 25px 0 15px;
}

.content-card p {
    margin-bottom: 18px;
    text-align: justify;
    font-size: 16px;
    line-height: 1.9;
}

.content-card ul, .content-card ol {
    margin: 20px 0 20px 30px;
}

.content-card li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* 图片网格 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.image-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.05);
}

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

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 15px;
    font-size: 16px;
}

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

.game-card {
    background: linear-gradient(135deg, var(--light-gold) 0%, white 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-gold);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(200, 16, 46, 0.2);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.game-card h3 {
    color: var(--primary-red);
    font-size: 22px;
    margin-bottom: 12px;
}

.game-card p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

/* FAQ部分 */
.faq-section {
    margin: 40px 0;
}

.faq-item {
    background: var(--light-gold);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-red);
}

.faq-question {
    color: var(--secondary-red);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.faq-answer {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
}

/* 用户评论 */
.reviews-section {
    margin: 40px 0;
}

.review-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--primary-gold);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.reviewer-location {
    color: #666;
    font-size: 14px;
}

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

.review-text {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 10px;
}

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

/* 页脚 */
.site-footer {
    background: linear-gradient(to bottom, var(--dark-bg), #000000);
    color: var(--text-light);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.footer-section h3 {
    color: var(--primary-gold);
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-gold);
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .site-title {
        font-size: 22px;
    }
    
    .nav-container a {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .content-card {
        padding: 25px;
    }
    
    .content-card h1 {
        font-size: 28px;
    }
    
    .content-card h2 {
        font-size: 24px;
    }
    
    .image-grid, .game-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 加载优化 */
img {
    max-width: 100%;
    height: auto;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* 辅助类 */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.highlight {
    background: linear-gradient(120deg, var(--light-gold) 0%, var(--light-gold) 100%);
    background-repeat: no-repeat;
    background-size: 100% 40%;
    background-position: 0 85%;
    padding: 0 5px;
}
