/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: auto; /* 允许横向滚动条，防止挤压 */
    min-width: 1200px; /* 保证 PC 端最小布局宽度 */
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 顶部导航 */
.header {
    width: 100%;
    height: 100px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left, .nav-right {
    display: flex;
    gap: 4vw; /* 使用响应式间距 */
    flex: 1;
}

.nav-left {
    justify-content: center;
}

.nav-right {
    justify-content: center;
}

.nav-container a {
    font-size: 18px; /* 稍微调大字号 */
    color: #333; /* 文字改为深色 */
    font-weight: 500;
    transition: color 0.3s;
}

.nav-container a:hover, .nav-container a.active {
    color: #00a0e9;
}

.logo img {
    height: 70px; /* 随高度增加稍微调大 logo */
    vertical-align: middle;
}

/* Hero 区域 */
.hero-section {
    width: 100%;
    min-height: 100vh; /* 改为 min-height */
    background: url('images/BG.jpg') no-repeat center top;
    background-size: cover;
    position: relative;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
}

.hero-content {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    flex: 1; /* 撑开空间 */
}

.hero-title {
    margin-bottom: 30px;
}

.title-img {
    max-width: 600px;
}

/* 下载区域 */
.download-box {
    background: rgba(45, 23, 78, 0.85);
    border: 2px solid #5a34a4;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 320px; /* 稍微减小，避免在小高度屏幕下太靠下 */
    margin-bottom: 50px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10;
}

.qr-code-box {
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-box img {
    width: 140px;
    height: 140px;
    display: block;
}

.middle-buttons {
    display: flex;
    gap: 10px;
}

.btn-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.img-btn img {
    height: 70px;
    display: block;
    border-radius: 4px;
    transition: filter 0.3s;
}

.img-btn:hover img {
    filter: brightness(1.1);
}

.pc-box {
    display: flex;
    align-items: center;
}

.img-btn-large img {
    height: 150px; /* 对应两行小按钮的高度 + 间距 */
    display: block;
    border-radius: 6px;
    transition: filter 0.3s;
}

.img-btn-large:hover img {
    filter: brightness(1.1);
}

/* 游戏特色区域 */
.features-section {
    width: 100%;
    min-height: 100vh;
    background: url('images/BG2.jpg') no-repeat center top;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 0;
}

.features-header {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-title-img {
    height: 30px; /* 稍微缩小图标以匹配文字高度 */
}

.features-title-text {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 160, 233, 0.5); /* 添加微弱发光感 */
}

.features-carousel {
    width: 1200px;
    height: 500px;
    position: relative;
    perspective: 1000px;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 700px;
    height: 400px;
    left: 50%;
    top: 50%;
    margin-left: -350px;
    margin-top: -200px;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1); /* 减慢动画速度 */
    cursor: pointer;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3D 状态 - 5张展示 */
.carousel-item.active {
    transform: translate3d(0, 0, 150px);
    z-index: 10;
    opacity: 1;
}

.carousel-item.next {
    transform: translate3d(200px, 0, 50px) scale(0.8);
    z-index: 8;
    opacity: 0.8;
}

.carousel-item.next2 {
    transform: translate3d(360px, 0, -50px) scale(0.6);
    z-index: 5;
    opacity: 0.4;
}

.carousel-item.prev {
    transform: translate3d(-200px, 0, 50px) scale(0.8);
    z-index: 8;
    opacity: 0.8;
}

.carousel-item.prev2 {
    transform: translate3d(-360px, 0, -50px) scale(0.6);
    z-index: 5;
    opacity: 0.4;
}

.carousel-item.hidden {
    transform: translate3d(0, 0, -200px) scale(0.4);
    z-index: 1;
    opacity: 0;
}

.carousel-item:hover {
    opacity: 1;
}

.carousel-item.active:hover {
    cursor: default;
}

/* 详情页样式 */
.detail-page {
    background-color: #f5f5f5;
    color: #333;
}

.detail-page .header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article-container {
    max-width: 1200px;
    width: 95%;
    margin: 120px auto 50px;
    background: #fff;
    padding: 40px 60px;
    min-height: 800px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.breadcrumb {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    text-align: left;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #00a0e9;
}

.breadcrumb .current {
    color: #333;
}

.article-title {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 40px;
}

.article-body {
    line-height: 2;
    font-size: 16px;
    text-align: center;
}

.article-body p {
    margin-bottom: 20px;
}

.highlight-text {
    color: #e63946;
    font-size: 20px;
    font-weight: bold;
}

.link-text {
    font-size: 18px;
    color: #000;
}

.content-img {
    margin: 30px 0;
}

.img-desc {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.content-img-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.content-img-group img {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gift-code-box {
    background: #fff9db;
    border: 2px dashed #fab005;
    border-radius: 12px;
    padding: 30px;
    margin: 50px auto 0;
    display: inline-block;
    min-width: 400px;
}

.gift-code-box h3 {
    color: #f08c00;
    margin-bottom: 15px;
}

.gift-code-box .code {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    letter-spacing: 4px;
    margin: 10px 0;
}

.gift-code-box .tips {
    font-size: 14px;
    color: #868e96;
}

/* 底部资讯区 */
.bottom-info {
    position: relative; /* 取消 absolute */
    bottom: 0;
    width: 100%;
    z-index: 100;
    padding-bottom: 50px;
}

.info-container {
    max-width: 1200px;
    width: 95%;
    margin: 0 auto;
    background: #fff;
    border-radius: 4px;
    display: flex;
    height: 380px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.slider-box {
    width: 480px;
    position: relative;
}

.slider-wrapper {
    height: 100%;
    width: 100%;
}

.slider-item {
    width: 100%;
    height: 100%;
}

.slider-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.news-box {
    flex: 1;
    padding: 0;
    color: #333;
    display: flex;
    flex-direction: column;
}

.news-tabs {
    display: flex;
    height: 60px;
    border-bottom: 1px solid #f0f0f0;
    padding: 0 20px;
}

.tab-item {
    flex: 1;
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-item.active {
    color: #00a0e9;
    font-weight: bold;
}

.tab-item.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 15%;
    width: 70%;
    height: 3px;
    background: #00a0e9;
}

.tab-item.active::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #00a0e9;
    display: none; /* 如果不需要三角可隐藏 */
}

.news-list {
    padding: 15px 30px;
}

.news-content {
    display: none; /* 默认隐藏所有内容 */
}

.news-content.active {
    display: block; /* 仅显示激活的内容 */
}

.news-list ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-list ul li a {
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.news-list ul li a:hover {
    color: #00a0e9;
}

.news-title {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    min-width: 0;
}

.news-date {
    flex-shrink: 0;
    color: #999;
    font-size: 13px;
}

.news-list li.sticky {
    gap: 10px;
}

.news-list li.sticky .tag {
    background: #ef4444;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

.server-info {
    width: 250px;
    padding: 0;
    background: #fff;
    border-left: 1px solid #f0f0f0;
    color: #333;
}

.server-header {
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #00a0e9;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
}

.server-header .indicator {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #00a0e9;
}

.server-content {
    padding: 20px;
}

.server-tips {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.server-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
    color: #444;
}

/* 页脚区域 */
.footer {
    width: 100%;
    min-height: 850px; /* 显著增加高度 */
    background: url('images/BG3.png') no-repeat center bottom;
    background-size: cover;
    padding: 100px 0 60px; /* 增加上下内边距 */
    position: relative;
    color: #d4c092; /* 改为更亮的浅金色 */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* 增加黑色投影，让文字更清晰 */
}

.footer-container {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 100%;
}

.footer-game-name {
    font-size: 24px; /* 调大游戏名 */
    font-weight: bold;
    letter-spacing: 12px;
    margin-bottom: 40px; /* 增加间距 */
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px; /* 增加装饰间距 */
    margin-bottom: 60px;
}

.decor-left, .decor-right {
    height: 50px; /* 稍微放大装饰图 */
}

.footer-qr-wrapper {
    position: relative;
    width: 280px; /* 放大二维码容器 */
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 10s linear infinite;
    filter: brightness(1.2); /* 增加背景圆的亮度 */
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.footer-qr {
    width: 140px; /* 放大二维码 */
    height: 140px;
    position: relative;
    z-index: 2;
    background: #fff;
    padding: 8px;
    border-radius: 4px;
}

.back-to-top {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #00a0e9;
    color: #00a0e9;
    padding: 12px 40px; /* 增大按钮 */
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 80px; /* 增加间距 */
    transition: all 0.3s;
    border-radius: 4px;
}

.back-to-top:hover {
    background: #00a0e9;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 160, 233, 0.5);
}

.age-rating {
    position: absolute;
    left: 50px;
    bottom: 120px; /* 随高度增加上调位置 */
}

.age-rating img {
    height: 100px; /* 放大标识 */
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    line-height: 2.2;
    margin-top: 20px;
    color: #000; /* 改为黑色 */
    text-shadow: none; /* 移除黑色文字的投影 */
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #000; /* 改为黑色 */
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00a0e9; /* 悬浮颜色改为蓝色，在白色背景更明显 */
}

.footer-links span {
    color: #000; /* 分隔符改为黑色 */
    opacity: 0.3;
}

.copyright, .trademarks {
    color: #000; /* 确保版权文字为黑色 */
}
