/* ============================================
   重置样式
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    background: #000;
    overflow-x: hidden;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    border: none;
    vertical-align: middle;
    max-width: 100%;
}

/* ============================================
   主容器
   ============================================ */
.main {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* ============================================
   首屏 - 视频背景区域
   ============================================ */
.hero-section {
    width: 1920px;
    height: auto;
    position: relative;
    left: 50%;
    margin-left: -960px;
    padding: 50px 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 下载按钮区域 */
.download-btns {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 10;
}

.download-btns a {
    display: block;
    width: 290px;
    height: 75px;
    background-size: 100% 200%;
    background-position: top;
    transition: background-position 0.3s ease;
}

.download-btns a:hover {
    background-position: bottom;
}

.btn-download { background-image: url('../images/btn_down1.png'); }
.btn-recharge { background-image: url('../images/btn_down2.png'); }
.btn-client { background-image: url('../images/btn_down3.png'); }

/* ============================================
   介绍区域
   ============================================ */
.intro-section {
    width: 1920px;
    height: 736px;
    position: relative;
    left: 50%;
    margin-left: -960px;
    background: url('../images/bg_02.jpg') center no-repeat;
}

/* ============================================
   装备展示区域
   ============================================ */
.equipment-section {
    width: 1920px;
    height: 724px;
    position: relative;
    left: 50%;
    margin-left: -960px;
    background: url('../images/bg_03.jpg') center no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 280px;
}

.equipment-container {
    display: flex;
    justify-content: space-between;
    width: 1100px;
}

.equipment-column {
    width: 343px;
}

/* ============================================
   武神展示区域
   ============================================ */
.wushen-section {
    width: 1920px;
    height: 932px;
    position: relative;
    left: 50%;
    margin-left: -960px;
    background: url('../images/bg_04.jpg') center no-repeat;
}

.wushen-container {
    width: 1080px;
    margin: 0 auto;
    padding-top: 200px;
    position: relative;
}

/* ============================================
   地图展示区域
   ============================================ */
.map-section {
    width: 1920px;
    height: 1083px;
    position: relative;
    left: 50%;
    margin-left: -960px;
    background: url('../images/bg_05.jpg') center no-repeat;
}

.map-container {
    width: 1310px;
    margin: 0 auto;
    padding-top: 155px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.map-item {
    width: 395px;
    height: 260px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    border: 2px solid rgba(255, 200, 0, 0.3);
}

.map-item:nth-child(1) { background-image: url('../dt/1.png'); }
.map-item:nth-child(2) { background-image: url('../dt/2.png'); }
.map-item:nth-child(3) { background-image: url('../dt/3.png'); }
.map-item:nth-child(4) { background-image: url('../dt/4.png'); }
.map-item:nth-child(5) { background-image: url('../dt/5.png'); }
.map-item:nth-child(6) { background-image: url('../dt/6.png'); }
.map-item:nth-child(7) { background-image: url('../dt/7.png'); }
.map-item:nth-child(8) { background-image: url('../dt/8.png'); }
.map-item:nth-child(9) { background-image: url('../dt/9.png'); }

.map-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 200, 0, 0.5);
    border-color: rgba(255, 200, 0, 0.8);
}

/* ============================================
   图片弹窗
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.lightbox.active {
    display: block;
}

.lightbox-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url('../images/close.png') no-repeat center;
    background-size: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

/* ============================================
   页脚
   ============================================ */
.footer {
    width: 1920px;
    height: 125px;
    position: relative;
    left: 50%;
    margin-left: -960px;
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    text-align: center;
    color: #fff;
}

.footer-content p {
    font-size: 12px;
    margin: 5px 0;
}

/* ============================================
   侧边栏
   ============================================ */
.sidebar {
    position: fixed;
    top: 35%;
    right: 0;
    width: 200px;
    z-index: 1000;
    background: url('../images/cebar.png') no-repeat center;
    background-size: contain;
    padding: 70px 20px 20px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-menu a {
    display: block;
    height: 45px;
    line-height: 45px;
    text-align: center;
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.sidebar-menu a:hover {
    color: #ff6347;
}

/* ============================================
   Swiper 自定义样式
   ============================================ */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
}

/* 装备轮播 */
.equipment-swiper .swiper-slide {
    background: transparent;
}

/* 武神轮播 */
.wushen-swiper {
    width: 100%;
    padding: 50px 0;
}

.wushen-swiper .swiper-slide {
    width: 344px;
    height: 640px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.wushen-swiper .swiper-slide-active {
    opacity: 1;
}

/* 轮播导航按钮 */
.swiper-button-next-custom,
.swiper-button-prev-custom {
    position: absolute;
    top: 50%;
    width: 42px;
    height: 54px;
    margin-top: -27px;
    cursor: pointer;
    z-index: 10;
}

.swiper-button-next-custom {
    right: 22%;
    background: url('../images/next.png') no-repeat center;
}

.swiper-button-prev-custom {
    left: 22%;
    background: url('../images/prev.png') no-repeat center;
}

/* ============================================
   音频控制
   ============================================ */
.bg-audio {
    display: none;
}

/* ============================================
   响应式适配
   ============================================ */
@media screen and (max-width: 1920px) {
    .hero-section,
    .intro-section,
    .equipment-section,
    .wushen-section,
    .map-section,
    .footer {
        left: 0;
        margin-left: 0;
        width: 100%;
        min-width: 1200px;
    }
}
