* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    width: 1920px;
    background: #0f0b23 url("../css/bj1.jpg") no-repeat center center fixed;
    background-size: cover; /* 让背景图自适应铺满页面，不拉伸变形 */
    color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

/* 导航 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
    border-bottom: 2px solid #ffb300;
}
.nav-btn {
    color: #ff9500;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}
.nav-btn:hover {
    background: #ff3333;
    color: #fff;
    transform: scale(1.08);
}

/* 图片 */
.title-img, .game-intro-img {
    width: 1920px;
    margin-top: 90px;
    text-align: center;
}
.title-img img, .game-intro-img img {
    width: 1920px;
    height: auto;
    display: block;
    margin: 0 auto; /* 确保图片居中 */
}

/* 轮播（960×200尺寸，彻底无重叠） */
.carousel {
    width: 960px;    /* 改为960px宽 */
    height: 200px;   /* 改为200px高 */
    overflow: hidden;
    margin: 30px auto; /* 居中显示 */
    border: 2px solid #ff6666;
    position: relative;
}
.carousel-inner {
    display: flex;
    width: 6720px;   /* 960×7=6720，固定总宽度 */
    height: 200px;
    animation: lun 50s linear infinite;
}
.carousel-item {
    width: 960px;    /* 单张图960px宽 */
    height: 200px;   /* 单张图200px高 */
    flex-shrink: 0;  /* 禁止收缩，防止重叠 */
}
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例，不拉伸变形 */
    display: block;
}
/* 动画位移匹配960px宽度 */
@keyframes lun {
    0%    { transform: translateX(0); }
    14.28%{ transform: translateX(-960px); }   /* 第1→2张 */
    28.56%{ transform: translateX(-1920px); }  /* 第2→3张 */
    42.84%{ transform: translateX(-2880px); }  /* 第3→4张 */
    57.12%{ transform: translateX(-3840px); }  /* 第4→5张 */
    71.40%{ transform: translateX(-4800px); }  /* 第5→6张 */
    85.68%{ transform: translateX(-5760px); }  /* 第6→7张 */
    100%  { transform: translateX(0); }        /* 回到第1张 */
}

/* 开区表格 */
.server-table {
    width: 1920px;
    border-collapse: collapse;
    margin: 30px auto;
}
.server-table th, .server-table td {
    border: 2px solid #ff6666;
    padding: 14px;
    text-align: center;
    font-size: 17px;
    color: #cceeff;
    white-space: nowrap;
}
.server-table th {
    background: rgba(255,100,100,0.2);
    color: #ffd900;
    position: relative;
}
.hot-tag {
    position: absolute;
    top: -6px;
    left: -6px;
    color: #ff0;
    font-size: 14px;
    font-weight: bold;
    animation: shan 0.8s infinite alternate;
}
@keyframes shan {
    0%{text-shadow:0 0 5px red}
    100%{text-shadow:0 0 15px red}
}
.server-table a {
    color: #ff9500;
    text-decoration: none;
}

/* 介绍 */
.intro-title {
    text-align: center;
    font-size: 34px;
    color: #ff6666;
    margin: 40px 0;
}
.intro-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
.tab-btn {
    padding: 14px 32px;
    background: #1a1a33;
    color: #99ccff;
    border: 2px solid #66a3ff;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.tab-btn.active, .tab-btn:hover {
    background: #66a3ff;
    color: #000;
}

/* 内容盒子 */
.box {
    width: 1920px;
    margin: 0 auto 40px;
    background: rgba(0,0,0,0.6);
    border: 2px solid #ff6666;
    padding: 30px;
    display: none;
}
.box.active {
    display: block;
}
.box ul {
    list-style: none;
}
.box li {
    font-size: 18px;
    color: #99ccff;
    line-height: 2.2;
    white-space: nowrap;
}

/* 会员 */
.vip-box {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}
.vip {
    width: 31%;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.v1 {
    border: 3px solid #0099ff;
    color: #0099ff;
}
.v2 {
    border: 3px solid #ff3333;
    color: #ff3333;
}
.v3 {
    border: 3px solid #ff00ff;
    color: #ff00ff;
}
.vip h3 {
    font-size: 26px;
    margin-bottom: 16px;
}

/* 累计充值标题（居中+粉红色+放大） */
.cz {
    font-size: 35px; /* 标题大小，可改30/32px */
    margin-bottom: 16px;
    font-weight: bold;
    text-align: center; /* 保留居中 */
    color: #ff69b4; /* 粉红色核心代码，可微调色号 */
    /* 移除彩虹渐变，只保留纯粉红色 */
}

/* 累计充值内容（动态彩虹，样式不变） */
#vip li {
    font-size: 26px;
    font-weight: bold;
    /* 动态彩虹核心 */
    background: linear-gradient(90deg, #ff0000, #ff9900, #ffff00, #33cc33, #3399ff, #9933ff, #ff0000);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow-move 3s linear infinite;
}

/* 彩虹动画关键帧（不变） */
@keyframes rainbow-move {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* 底部 */
.bottom-nav {
    width: 1920px;
    height: 70px;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    border-top: 2px solid #ffb300;
}
.footer {
    width: 100%;
    height: 50px;
    background: #000;
    color: #999;
    text-align: center;
    line-height: 50px;
    border-top: 2px solid #ff6666;
}