/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none; /* 避免拖动时选中文字/图片 */
    -webkit-tap-highlight-color: transparent;
}

.header {
    width: 100%;
    min-height: 580px;
    background: url(../images/topBg.png);
    background-size: 100% 100%;
    position: relative;
}
.logo {
    display: flex;
    align-items: center;
    padding-top: 20px;
    margin-left: 200px;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 32px;
    line-height: 44px;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 5px;
}

.header .title{
    margin-top: 20px;
    font-family: Montserrat, Montserrat;
    font-weight: 800;
    font-size: 64px;
    color: #FFFFFF;
    line-height: 1.25;
    letter-spacing: 1px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.header .desc{
    font-family: Montserrat, Montserrat;
    font-weight: 500;
    font-size: 24px;
    color: #F8F8F8;
    line-height: 1.25;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.carousel-card {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translate(-50%, 50%);
    max-width: 1200px;
    width: 100%;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.35);
    padding: 0.75rem;
}

/* 主容器卡片风格 */
.carousel-card {
    max-width: 800px;
    width: 100%;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(2px);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.35);
    padding: 0.75rem;
}

/* 轮播图核心区域 */
.carousel {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    background: #1a1e2b;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* 视口容器 - 隐藏溢出部分 */
.carousel-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y pinch-zoom;  /* 保留垂直滚动，但水平拖拽时阻止页面滚动通过JS控制 */
}

.carousel-viewport:active {
    cursor: grabbing;
}

/* 滑动轨道 - 采用flex布局，动态宽度用js控制偏移 */
.carousel-track {
    display: flex;
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 每一个轮播项 */
.carousel-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
    background: #2c2f3a;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;  /* 避免拖拽时干扰图片事件 */
}

/* 优雅的图片占位装饰 (兼容加载) */
.carousel-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,240,0.1), rgba(0,0,0,0.2));
    pointer-events: none;
    z-index: 1;
}

/* 左右导航按钮 - 现代化悬浮设计 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(20, 25, 40, 0.7);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 60px;
    color: white;
    font-size: 28px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: monospace;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.carousel-btn.prev {
    left: 16px;
}

.carousel-btn.next {
    right: 16px;
}

/* 指示点容器 */
.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 20;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 48px;
    width: fit-content;
    margin: 0 auto;
    pointer-events: auto;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.dot.active {
    width: 28px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 0 6px rgba(255,255,200,0.8);
}

/* 提示信息: 滑动指引 (轻提示) */
.swipe-hint {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    color: #f0f0f0;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 40px;
    z-index: 20;
    white-space: nowrap;
    pointer-events: none;
    font-weight: 400;
    letter-spacing: 1px;
    transition: opacity 1s;
    opacity: 0.7;
}

/* 响应式高度调整 & 美观比例 */
@media (min-width: 768px) {
    .carousel {
        aspect-ratio: 16 / 9;
    }
    .carousel-viewport, .carousel-track, .carousel-slide {
        height: 100%;
    }
}
@media (max-width: 767px) {
    .carousel {
        aspect-ratio: 4 / 3;
    }
    .carousel-viewport, .carousel-track, .carousel-slide {
        height: 100%;
    }
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
    .swipe-hint {
        bottom: 65px;
        font-size: 10px;
    }
}

/* 轨道和容器默认适配高度 */
.carousel-viewport {
    width: 100%;
    height: 100%;
}

/* 优雅的图片加载背景 */
img {
    background: #2d3748;
}

.content {
    width: 95%;
    max-width: 1200px;
    margin: 220px auto 20px;
}

.content_info {
    margin-top: 20px;
}

.content_info img {
    width: 100%;
}

.footer {
    width: 100%;
    padding: 20px 50px;
    background: url(../images/footerBg.png);
    background-size: 100% 100%;
    margin-top: 20px;
    color: #FFFFFF;
    font-size: 16px;
}

.footer .title {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer .footer-content {
    display: flex;
    align-items: center;

}

.footer .footer-content .email {
    margin-right: 20px;
}

.footer .footer-content .policy {
    color: #FFFFFF;
}


.footer .footer-copyright {
    margin-top: 50px;
    font-family: Montserrat, Montserrat;
    font-weight: 500;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 21px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}
