
/* ========== hero 直接作为顶级背景大容器 ========== */
.hero {
    /*width: 100%;*/
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    /* 背景铺满核心属性 */
    background-size: cover;
    /*background:  linear-gradient(135deg, #003399 0%, #0055cc 50%, #001a66 100%) ;*/
    background-position: center;
    background-repeat: no-repeat;
    /* 背景切换过渡动画 */
    transition: background-image 0.5s ease-in-out;
    margin: 0 0;
}

/* 全局遮罩 */
.slider-mask {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 2;
}

/* 左右箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    z-index: 20;
}
.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}
.arrow-left {left: 24px;}
.arrow-right {right: 24px;}

/* 内容布局：文字居左，缩略图靠右 */
.slider-content {
    position: absolute;
    z-index: 5;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6vw;
    width: 100%;
}
.text-area {
    color: #ffffff;
    flex-shrink: 1;
    max-width: 540px;
}
.text-area h1 {
    font-size: 2.4rem;
    line-height: 1.35;
    margin-bottom: 16px;
}
.meta-info {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
}
.hash-tag {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 28px;
}

.btn-group {
    display: flex;
    gap: 14px;
}
/*这是原本banner的button*/
.btn {
    padding: 13px 26px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
}

.btn-purple {background-color: #7b2cbf;}
.btn-green {background-color: #2b9348;}

/* 缩略图容器，彻底禁止flex挤压，稳定可见 */
.thumb-group {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    margin-left: 30px;

    /* 新增：在flex父容器里靠底部对齐 */
    align-self: flex-end;
    /* 距离底部多少像素，自己改数值 */
    margin-bottom: 60px;

}
.thumb-item {
    width: 200px;
    height: 200px;
    border: 3px solid transparent;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    /* 核心：圆形裁切 */
    border-radius: 50%;
}
.thumb-item.active {
    border-color: #2b9348;
    opacity: 1;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* 图片同步圆角，避免溢出白边 */
    border-radius: 50%;
}

/* 底部圆点指示器 */
.slider-dots {
    position: absolute;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}
.dot.active {
    background-color: #fff;
}