@charset "utf-8";

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #87CEEB;
    color: #333;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.header-characters {
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    background-color: #87CEEB;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding-top: 20px;
}

.header-character {
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.header-character:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 15%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.header-character:nth-child(2) {
    width: 100px;
    height: 100px;
    left: 35%;
    transform: translateX(-50%);
    animation-delay: 0.5s;
}

.header-character:nth-child(3) {
    width: 70px;
    height: 70px;
    left: 65%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

.header-character:nth-child(4) {
    width: 60px;
    height: 60px;
    left: 85%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .header-characters {
        height: 120px;
    }
    
    .header-character:nth-child(1) {
        width: 60px;
        height: 60px;
        left: 15%;
    }
    
    .header-character:nth-child(2) {
        width: 80px;
        height: 80px;
        left: 40%;
    }
    
    .header-character:nth-child(3) {
        width: 55px;
        height: 55px;
        left: 65%;
    }
    
    .header-character:nth-child(4) {
        width: 45px;
        height: 45px;
        left: 85%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.header-qrcode {
    position: relative;
    width: 100%;
    padding: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #87CEEB;
}

.qrcode-img {
    width: 100px;
    height: 100px;
    padding: 5px;
    border-radius: 8px;
}

.qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

h1 {
    margin-top: 8px;
    font-size: 24px;
    color: #333;
    font-weight: bold;
    text-align: center;
}

.download-btn {
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 去除a标签下划线 */
a {
    text-decoration: none;
    color: white;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

/* 游戏特色区域 */
.features {
    padding: 30px 20px;
    background-color: #87CEEB;
    text-align: center;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #FF9800;
    border-radius: 3px;
}

.features-scroll {
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    /* scrollbar-width: thin; */
}

.features-scroll::-webkit-scrollbar {
    height: 6px;
}

.features-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.features-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.features-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

.features-track {
    display: flex;
    height: 400px;
}

.feature-item {
    width: 250px;
    height: 400px;
    padding: 0 10px;
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* CG场景区域 */
.cg-scenes {
    padding: 30px 20px;
    background-color: #87CEEB;
    text-align: center;
}

.scene-card {
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .scene-card {
        height: 500px;
    }
}

.scene-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频播放器样式 */
.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #4CAF50;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    font-size: 12px;
    min-width: 80px;
    text-align: center;
    color: white;
}

/* 视频播放器设置菜单 */
.settings-menu {
    position: absolute;
    bottom: 50px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    padding: 10px;
    display: none;
    z-index: 1000;
}

.settings-menu.show {
    display: block;
}

.settings-menu .setting-item {
    padding: 8px 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.settings-menu .setting-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 新闻资讯区域 */
.news {
    padding: 30px 20px;
    background-color: #87CEEB;
    text-align: center;
}

.news-card {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
}

.news-content {
    display: flex;
    padding: 15px;
}

.news-img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
}

.news-text {
    flex: 1;
    margin-left: 15px;
    text-align: left;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
}

.news-title:hover {
    color: #FF9800;
}

.news-date {
    font-size: 12px;
    color: #757575;
    margin-bottom: 5px;
}

.news-summary {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 404错误页面 */
.error-404-section {
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.error-404-content {
    text-align: center;
    padding: 60px;
    border-radius: 10px;
    margin: 0 auto;
    width: 100%;
    max-width: 600px;
}

.error-404-title {
    font-size: 150px;
    font-weight: bold;
    color: #FF9800;
    margin: 0 0 20px 0;
    line-height: 1;
    text-align: center;
}

.error-404-subtitle {
    font-size: 24px;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

.error-404-message {
    font-size: 16px;
    color: #666;
    margin: 0 0 40px 0;
    line-height: 1.5;
    text-align: center;
}

.error-404-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
}

.error-404-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #FF9800;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.error-404-btn:hover {
    background-color: #f57c00;
}

.error-404-btn.secondary {
    background-color: #666;
}

.error-404-btn.secondary:hover {
    background-color: #555;
}

/* 底部区域 */
.footer {
    padding: 20px;
    background-color: #333;
    color: white;
    text-align: center;
    font-size: 12px;
}

.footer-content {
    margin-bottom: 15px;
}

.footer-copyright {
    opacity: 0.7;
}

/* ==================== 新闻列表页样式 ==================== */

/* 新闻列表区域 */
.news-list-section {
    padding: 30px 20px;
    background-color: #87CEEB;
    min-height: 400px;
}

.news-list-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    display: inline-block;
}

.news-list-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #FF9800;
    border-radius: 3px;
}

.news-list-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 新闻列表项 */
.news-list-item {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    background-color: white;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.news-list-content {
    display: flex;
    padding: 15px;
}

.news-list-img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-list-text {
    flex: 1;
    margin-left: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-item-title {
    font-size: 2vw;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    font-size: clamp(14px, 2vw, 18px);
}

/* 响应式设计 */
/* @media (max-width: 768px) {
    .news-list-item-title {
        font-size: clamp(12px, 1.8vw, 16px);
    }
} */

/* @media (max-width: 480px) {
    .news-list-item-title {
        font-size: clamp(10px, 1.6vw, 14px);
    }
} */

@media (min-width: 900px) {
    .news-list-item-title {
        font-size: 18px;
    }
}

.news-list-item-title:hover {
    color: #FF9800;
}

.news-list-date {
    font-size: 13px;
    color: #757575;
    margin-bottom: 8px;
}

.news-list-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 10px;
}

.page-btn {
    padding: 8px 16px;
    background-color: white;
    border: 2px solid #4CAF50;
    border-radius: 6px;
    color: #4CAF50;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: auto;
}

.page-btn:hover {
    background-color: #4CAF50;
    color: white;
}

.page-btn.active {
    background-color: #4CAF50;
    color: white;
}

.page-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.page-btn:disabled:hover {
    background-color: white;
    color: #ccc;
}

.page-info {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

/* 响应式分页样式 */
@media (max-width: 480px) {
    .page-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .pagination {
        gap: 6px;
    }
}

@media (max-width: 360px) {
    .page-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .pagination {
        gap: 4px;
    }
}

/* 返回首页按钮 */
.back-home {
    text-align: center;
    margin-top: 20px;
}

.back-home-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #FF9800;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-home-btn:hover {
    background-color: #F57C00;
}

/* ==================== 文章内容页样式 ==================== */

/* 文章内容区域 */
.article-section {
    padding: 30px 20px;
    background-color: #87CEEB;
    min-height: 400px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* 文章标题 */
.article-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #757575;
}

.article-date {
    margin-right: 20px;
}

.article-category {
    background-color: #4CAF50;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* 文章封面图 */
.article-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 文章内容 */
.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h2 {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 25px 0 15px 0;
    padding-left: 10px;
    border-left: 4px solid #FF9800;
}

.article-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 10px 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

/* 文章导航 */
.article-nav {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.article-nav-item {
    flex: 1;
    max-width: 45%;
}

.article-nav-label {
    font-size: 13px;
    color: #757575;
    margin-bottom: 5px;
}

.article-nav-title {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-nav-title:hover {
    color: #FF9800;
}

.article-nav-next {
    text-align: right;
}

/* 返回按钮 */
.article-back {
    text-align: center;
    margin-top: 30px;
}

.article-back-btn {
    display: inline-block;
    padding: 10px 30px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.article-back-btn:hover {
    background-color: #45a049;
}

/* 返回首页按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #FF9800;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top-btn:hover {
    background-color: #F57C00;
    transform: translateY(-5px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}
