/* ================================================================
   1. Banner 基础容器 - 严格限制总高度
   ================================================================ */
.banner-wrap {
    background: #081122;
    position: relative;
    overflow: hidden; /* 必须溢出隐藏，防止大图撑开页面 */
    height: 685px !important; /* 强制高度 */
    width: 100%;
}

/* 2. 1920px 居中核心区 */
.banner-content-area {
    position: relative;
    width: 1920px;
    height: 685px;
    left: 50%;
    margin-left: -960px;
    z-index: 1;
}

/* ================================================================
   3. 核心：强制控制图片大小与底端对齐
   ================================================================ */
.banner-main {
    position: relative;
    height: 100%;
    width: 100%;
}

.banner-item {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%; 
    height: 580px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-item.active { 
    opacity: 1; 
    z-index: 2; 
}

/* 强制图片样式 */
img.banner-bg-img {
    display: block;
    position: absolute;
    bottom: 0 !important; /* 强制图片贴紧底部 */
    left: 0;
    
    /* 核心：通过 width 和 height 强制定义图片显示的“窗口”大小 */
    width: 1920px !important;  
    height: 685px !important;  
    
    /* 核心：解决缩放变形问题 */
    /* cover 表示图片会按比例缩放以填满这 1920x685 的区域，超出的部分会被剪切 */
    object-fit: cover !important; 
    
    /* 核心：决定剪切哪一部分。bottom 表示保留底部，剪掉顶部 */
    object-position: bottom !important; 
    
    border: none;
    z-index: -1;
}

/* ================================================================
   4. 文字与选项卡 (层级与位置优化)
   ================================================================ */

/* 文字区域 */
.banner-text {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding-top: 150px; /* 根据导航栏高度调整，向下推文字 */
}

/* 底部选项卡 */
.banner-tabs {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    display: flex;
    background: rgba(8, 17, 34, 0.9); 
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.tab-item {
    flex: 1;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-item.active, .tab-item:hover {
    background: rgba(43, 85, 233, 0.3);
    box-shadow: inset 0 4px 0 0 #2b55e9;
}

.tab-item h3 { font-size: 16px; color: #fff; margin-bottom: 5px; }
.tab-item p { font-size: 12px; color: #a0a8b5; line-height: 1.4; }