* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    overflow-x: hidden;
}

/* 顶部导航栏 - 默认隐藏 (PC端) */
.top-navbar {
    display: none;
}

.bg-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    background: #000;
}

.bg-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 下载按钮 */
.download-buttons {
    position: absolute;
    top: 39%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.download-btn:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
}

.download-btn img {
    height: 50px;
    width: auto;
}

/* 轮播区域 */
.carousel-section {
    position: absolute;
    top: 53%;
    left: 0;
    right: 0;
    padding: 2rem 1rem;
    z-index: 5;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
}

/* 左右箭头 */
.carousel-arrow {
    position: absolute;
    z-index: 20;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.carousel-arrow:hover {
    transform: scale(1.1);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-arrow img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(255, 200, 100, 0.8));
    opacity: 0.9;
}

.carousel-arrow:hover img {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 200, 100, 1));
}

/* 轮播包装器 */
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible;
}

.carousel-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 650px;
    perspective: 1000px;
}

/* 轮播图片 */
.carousel-slide {
    position: absolute;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    display: block;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 10;
    transform: scale(1) translateX(0);
}

.carousel-slide.prev {
    opacity: 0.4;
    z-index: 5;
    transform: scale(0.7) translateX(-80%);
}

.carousel-slide.next {
    opacity: 0.4;
    z-index: 5;
    transform: scale(0.7) translateX(80%);
}

.carousel-slide.hidden {
    opacity: 0;
    display: none;
}

.carousel-slide img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.5));
    transition: filter 0.6s ease;
}

.carousel-slide.prev img,
.carousel-slide.next img {
    filter: grayscale(100%) brightness(0.5) drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

/* 圆点指示器 */
.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3rem;
}

.dot {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 30% 30%, #6b6b6b, #4a4a4a);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.dot:hover {
    background: radial-gradient(circle at 30% 30%, #7a0f0a, #580803);
    transform: scale(1.1);
    box-shadow: 
        0 2px 6px rgba(88, 8, 3, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: radial-gradient(circle at 30% 30%, #9a1410, #580803);
    transform: scale(1.15);
    box-shadow: 
        0 3px 8px rgba(88, 8, 3, 0.6),
        0 0 12px rgba(88, 8, 3, 0.4),
        inset 0 1px 3px rgba(255, 100, 100, 0.3);
}

.dot img {
    display: none;
}

/* 响应式 */
@media (max-width: 640px) {
    /* 显示顶部导航栏 */
    .top-navbar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }
    
    .navbar-bg {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .navbar-buttons {
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }
    
    .navbar-btn {
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: transform 0.2s ease;
    }
    
    .navbar-btn:hover {
        transform: scale(1.1);
    }
    
    .navbar-btn img {
        height: 35px;
        width: auto;
    }
    
    .reserve-btn img {
        height: 40px;
    }
    
    /* 调整body以适应固定导航栏 */
    body {
        padding-top: 80px;
    }
    
    .download-buttons {
        flex-direction: row;
        gap: 1rem;
        top: 42%;
    }
    
    .download-btn img {
        height: 45px;
    }
    
    .download-btn:nth-child(3) {
        display: none;
    }
    
    .carousel-section {
        top: 58%;
    }
    
    .carousel-container {
        padding: 0 20px;
    }
    
    .carousel-arrow {
        /* border: 2px solid #ff3333; */
        padding: 8px;
        border-radius: 4px;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .carousel-arrow img {
        width: 28px;
        height: 28px;
    }
    
    .carousel-track {
        min-height: 300px;
    }
    
    .carousel-slide img {
        max-width: 200px;
    }
    
    .carousel-slide.prev {
        transform: scale(0.5) translateX(-75%);
    }
    
    .carousel-slide.next {
        transform: scale(0.5) translateX(75%);
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

/* 底部Banner区域 - 默认隐藏(PC端) */
.bottom-banner {
    display: none;
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.bottom-bg {
    width: 100%;
    height: auto;
    display: block;
}

.bottom-carousel {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 400px;
    z-index: 5;
}

.bottom-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bottom-slide.active {
    opacity: 1;
}

.bottom-download-btn {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    z-index: 10;
}

.bottom-download-btn a {
    display: block;
    transition: transform 0.3s ease;
}

.bottom-download-btn a:hover {
    transform: scale(1.05);
}

.bottom-download-btn img {
    width: auto;
    height: 80px;
    display: block;
}

/* 底部版权信息 - PC端显示 */
.footer {
    display: block;
    background: #3a3a3a;
    padding: 1.5rem 2rem;
    text-align: center;
    color: #999;
    font-size: 12px;
    line-height: 1.6;
}

.footer-address {
    margin: 0 0 0.5rem 0;
    color: #aaa;
}

.footer-copyright {
    margin: 0;
    color: #888;
}

/* H5移动端响应式 */
@media (max-width: 640px) {
    /* 显示底部Banner */
    .bottom-banner {
        display: block;
    }
    
    .bottom-carousel {
        left: 3%;
        width: 55%;
        top:22%;
        max-width: 280px;
    }
    
    /* j3图片单独调整位置 */
    .slide-j3 {
        transform: translateY(-25%);
    }
    
    .bottom-download-btn {
        top: 75%;
        right: 3%;
    }
    
    .bottom-download-btn img {
        height: 40px;
    }
    
    /* 隐藏PC版权信息 */
    .footer {
        display: none;
    }
}
