/* 双层渐变边框不变；--btn-fill + @property 使填充色可 transition */
@property --btn-fill {
    syntax: "<color>";
    inherits: false;
    initial-value: #CC261F;
}

.s-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.75rem;
    min-height: 2.5rem;
    padding: .9375rem 2rem;
    gap: 1.875rem;
    border-radius: 1rem;
    color: var(--color-white);
    font-family: "OPPO Sans 4.0";
    font-style: Medium;
    font-size: var(--font-15);
    font-weight: 500;
    line-height: var(--font-18);
    letter-spacing: 0rem;
    text-transform: capitalize;
    border: 1px solid transparent;
    white-space: nowrap;
    user-select: none;
    transition: all .3s ease;
}

.s-btn__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.s-btn--glass {}

/* 渐变边框+hover背景变色 */
.s-btn--primary {
    background-color: var(--color-primary);
}

.s-btn--primary:hover {
    background-color: var(--color-primary-hover);
}

.s-btn--ghost {
    color: rgba(0, 0, 0, 1);
    background: transparent;
    border: 1px solid currentColor;
}

.s-btn--ghost:hover {
    color: var(--color-white);
    border-color: transparent;
    background-color: #3A3A3A;
}

.s-btn--ghost:hover img {
    filter: invert(1);
}

/* 按钮箭头 */
.s-btn .s-btn__arrow {
    width: .9375rem;
    height: .75rem;
}

/* 按钮小圆点 */
.s-btn .btn__dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-white);
}

/* 下划线 start */
.hover_underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: currentColor;
    /* 用 3D 缩放固定 Y=1，避免收起时抗锯齿看起来“变细” */
    transform: scale3d(0, 1, 1);
    transform-origin: center;
    will-change: transform;
    transition: transform 0.3s ease;
}

.hover_underline:hover::after {
    transform: scale3d(1, 1, 1);
}

/* 下划线 end */
/* 文字跑马灯 */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.track {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.track span {
    margin-right: 50px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 文字跑马灯 */

/* 毛玻璃卡片 */
.glass-card {
    --c-glass: rgba(196, 196, 196, 0.2);
    --c-light: #fff;
    --saturation: 100%;
    --left: 2px;
    --right: -1.8px;
    border: none;
    background-color: color-mix(in srgb, var(--c-glass) 20%, transparent);
    backdrop-filter: blur(5px) saturate(var(--saturation));
    box-shadow:
        inset 0 0 0 2px color-mix(in srgb, var(--c-light) 10%, transparent),
        inset var(--left) var(--left) 2px -2px color-mix(in srgb, var(--c-light) 90%, transparent),
        inset var(--right) var(--right) 2px -2px color-mix(in srgb, var(--c-light) 80%, transparent);
}

.glass-card2 {
    display: block;
    background: linear-gradient(135deg, rgba(230, 230, 230, 1) 0%, rgba(246, 246, 246, 1) 100%);
    box-shadow: -4px -4px 10px -8px rgba(255, 255, 255, 1), 4px 4px 10px -8px rgba(0, 0, 0, .3);
}


/* slide-btn */
.slide-btn {
    width: 3rem;
    height: 3rem;
    border: none;
    cursor: pointer;
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.slide-btn:hover img {
    filter: invert(1);
}


/* 所有的内页的公共样式 */

.section__banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section__banner__inner {}

/* banner 标题 */
.section__banner__title {
    color: rgba(255, 255, 255, 1);
    font-family: "Douyin Sans";
    font-style: Bold;
    font-size: 4rem;
    font-weight: 700;
    line-height: 4.8125rem;
    letter-spacing: 0px;
    text-align: center;
}

.section__banner__sub {
    color: rgba(255, 255, 255, 1);
    font-family: "OPPO Sans 4.0";
    font-style: Medium;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4375rem;
    letter-spacing: 0px;
    text-align: center;
}

.section__header {
    display: flex;
    flex-direction: column;
    margin-bottom: 2.5rem;
}

/*各模块的 红色标题 */
.section__title__red {
    color: var(--color-primary);
    font-family: "OPPO Sans 4.0";
    font-style: Medium;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.3125rem;
    letter-spacing: 0px;
    text-align: left;

    margin-bottom: 1rem;
}

/*各模块的 主标题 */
.section__title {
    color: rgba(0, 0, 0, 1);
    font-family: "OPPO Sans 4.0";
    font-style: Medium;
    font-size: 2.375rem;
    font-weight: 500;
    line-height: 2.8125rem;
    letter-spacing: 0px;
    text-align: left;
}

/* 各模块的 描述文案样式 */
.section__desc {
    color: rgba(108, 108, 108, 1);
    font-family: "OPPO Sans 4.0";
    font-style: Regular;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.625rem;
    letter-spacing: 0px;
    text-align: justify;
    margin-bottom: 1.25rem;
    max-width: 45rem;
}

@media (width <=992px) {
    .s-btn {
        font-size: 14px;
        line-height: 1.2;
    }
    .section__banner__title {
        font-size: 48px;
        line-height: 60px;
    }

    .section__banner__sub {
        font-size: 18px;
        line-height: 24px;
    }

    .section__title__red {
        font-size: 16px;
        line-height: 1.5;
    }

    .section__header {
        align-items: center;
    }

    .section__title {
        font-size: 20px;
        line-height: 32px;
    }

    .section__desc {
        font-size: 16px;
        line-height: 1.5;
    }
}