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

/* 基础字体设置 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 第一部分：首屏Banner区域 */
.hero-banner {
    /* 设置全屏高度 */
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* 默认背景图片（PC端） - 使用 WebP 格式优化性能 */
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('images/beijing1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* 响应式背景图片 - 手机端 */
@media (max-width: 768px) {
    .hero-banner {
        background-image: 
            linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
            url('images/beijing2.webp');
        /* 手机端取消固定背景以提高性能 */
        background-attachment: scroll;
    }
}

/* Logo矩形条 */
.logo-bar {
    /* 定位到页面顶部 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
    
    /* 黑色渐变背景：从不透明到30%透明 */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1.0) 0%,     /* 顶部完全不透明 */
        rgba(0, 0, 0, 0.3) 100%   /* 底部30%透明 */
    );
    
    /* 文字居中对齐 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo文字样式 */
.logo-text {
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

/* 主要内容区域 */
.hero-content {
    text-align: center;
    z-index: 5;
    max-width: 800px;
    padding: 0 20px;
}

/* 主标题样式 */
.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 按钮样式 */
.hero-button {
    display: inline-block;
    background-color: #dc3545; /* 红色背景 */
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* 按钮悬停效果 */
.hero-button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* 按钮点击效果 */
.hero-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

/* 响应式设计 - 平板设备 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
}

/* 响应式设计 - 手机设备 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .hero-button {
        font-size: 1.1rem;
        padding: 12px 30px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-bar {
        height: 80px;
    }
}

/* 第二部分：最新更新区域 */
.latest-updates {
    background-color: #000000;
    padding: 80px 20px;
    min-height: auto;
}

/* 区域标题样式 */
.section-title {
    color: #eeeeee;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 0;
}

/* 游戏图片网格容器 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC端：一行3张 */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* 游戏项目容器 */
.game-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1; /* 保持正方形比例 */
    overflow: hidden;
    border-radius: 12px; /* 轻微圆角 */
    box-sizing: border-box;
}

/* 游戏图片样式 */
.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例，裁剪多余部分 */
    display: block;
    transition: transform 0.3s ease;
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .latest-updates {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr); /* 移动端：一行2张 */
        gap: 20px;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .latest-updates {
        padding: 50px 10px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .games-grid {
        gap: 15px;
    }
}

/* 第三部分：平台介绍区域 */
.platform-intro {
    background-color: #000000;
    padding: 40px 20px 80px 20px;
    min-height: auto;
}

/* 功能特性网格容器 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC端：一行2张 */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* 功能特性卡片 */
.feature-card {
    background: linear-gradient(135deg, #1B2041 0%, #1E0F18 50%, #1C172A 100%); /* 深色渐变 */
    border-radius: 20px; /* 大圆角 */
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* 轻微阴影 */
    box-sizing: border-box;
}

/* 功能标题样式 */
.feature-title {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 0;
}

/* 功能描述样式 */
.feature-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .platform-intro {
        padding: 30px 15px 60px 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr; /* 移动端：一行1张 */
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    .feature-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .platform-intro {
        padding: 25px 10px 50px 10px;
    }
    
    .features-grid {
        gap: 15px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

/* 第四部分：常见问题区域 */
.faq-section {
    background-color: #000000;
    padding: 40px 20px 80px 20px;
    min-height: auto;
}

/* FAQ容器 */
.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* FAQ项目 */
.faq-item {
    background-color: #2D2D2D;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

/* FAQ问题区域 */
.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* FAQ问题文字 */
.faq-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    flex: 1;
}

/* FAQ图标 */
.faq-icon {
    color: #dc3545; /* 红色，与开始使用按钮一致 */
    font-size: 1.5rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

/* FAQ答案区域 */
.faq-answer {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 25px;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 展开状态 */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
}

/* 响应式设计 - 移动端 */
@media (max-width: 768px) {
    .faq-section {
        padding: 30px 15px 60px 15px;
    }
    
    .faq-question {
        padding: 18px 20px;
    }
    
    .faq-text {
        font-size: 1rem;
    }
    
    .faq-icon {
        font-size: 1.3rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 18px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
    .faq-section {
        padding: 25px 10px 50px 10px;
    }
    
    .faq-item {
        margin-bottom: 12px;
    }
    
    .faq-question {
        padding: 15px 18px;
    }
    
    .faq-text {
        font-size: 0.95rem;
    }
    
    .faq-icon {
        font-size: 1.2rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 18px;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
}

/* 第五部分：底部区域 */
.footer-section {
    background-color: #000000;
    padding: 40px 20px 80px 20px;
    text-align: center;
}

/* 底部内容容器 */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* 联系客服按钮 */
.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #dc3545; /* 红色背景，与开始使用按钮一致 */
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 15px 60px 15px 40px; /* 调整内边距：上 右 下 左，图标和文字整体往左移动 */
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* 客服图标 */
.contact-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* 按钮悬停效果 */
.contact-button:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* 按钮点击效果 */
.contact-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

/* 客服时间文字 */
.service-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

/* 版权信息 */
.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    margin-top: 20px; /* 与上面内容间距大一点 */
} 