.cp-navbar {
    background-color: var(--cp-main);
}
.cp-navbar .nav-link {
    color: #fff;
}
.bg-cover {
    width: 100%;
    min-height: 120px;
    background-image: url("/static/images/bg/bg.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}
/* 或者 */

.carousel-indicators  .rounded-circle {
    width: 12px !important;
    height: 12px !important;
}

.banner-box {
    margin-top: 20px;
    min-height: 420px;
}
.start-bg {
    margin-top: 40px;
    width: 100%;
    height: 200px;
    background: url("/static/images/bg/start.png") center/contain no-repeat;
}
.belt {
    width: 100vw;
    height: 200px;
    background: url("/static/images/bg/belt.png") center/cover no-repeat;
}
.belt-up {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
}
    .carousel-wrapper {
      position:relative;
    }

    .carousel img {
      height:420px;
      object-fit:cover;
      border-radius:8px;
    }

    /* 外侧按钮 */
    .carousel-control-prev,
    .carousel-control-next {
      width:60px;
    }
    .carousel-control-prev { left:-70px; }
    .carousel-control-next { right:-70px; }

/* ================= FLIP COUNTDOWN ================= */
.countdown {
    background:#fff;
    color:#6b1d6b;
    padding:30px;
    border-radius:10px;
}

.tc-main {
    color: var(--cp-purple-2);
}
.relative {
    position: relative;
}
.countdown-box {
    flex: 1;
    background: #fff;
    padding: 0 0 0 20px;
    margin-right: 20px;
}
.countdown-label {
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
}
.flex {
    display: flex;
}
.flex-align-center {
    display: flex;
    align-items: center;
}
.flex1 {
    flex: 1
    ;
}

.time-btn-box {
    flex: 0 0 310px;
    background: #fff;
    padding: 20px;
}
.apply-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
     color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    background: var(--cp-main);
}
.gradient-button {
    margin-top: 20px;
    display: inline-block;
    background: linear-gradient(
        to bottom,
        var(--cp-main),
        var(--cp-yellow-1)
    );
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
}

.gradient-button:hover a {
   color: #fff !important;
}

.gradient-header {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.8),
        transparent
    );
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
}

.gradient-text {
    background: linear-gradient(
        to bottom,
        #ff7e5f,
        #feb47b
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}
.new-block {
    width: 100%;
    position: relative;
    border: 2px solid #fff;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 100%;
    display: inline-block;
}
.new-tips {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 10;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(106,24,104,0.95)
    );
    
    color: #fff;
    padding: 10px;
    font-size: 12px;
}
.new-tips .title {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 20;
    padding: 0 10px 20px;
}
.b-space {
    margin: 40px auto;
}
.b-space-news {
    margin: 80px auto 40px;
}
.ga-block {
    border: 2px solid var(--cp-main);
    overflow: hidden;
    /* height: 428px; */
}
.grade-block {
    background: #fff;
    padding: 4px;
}
.ads-block {
    height: 100%;
}
.gradient-title {
    position: relative;
    margin: 4px;
    color: var(--cp-main);
    font-size: 18px;
    font-weight: 500;
}
.gradient-title::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100px;
    height: 6px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(
        45deg,
        rgba(184, 3, 255, 0.885),
        rgba(184, 3, 255, 0.5),
        rgba(184, 3, 255, 0.3),
        rgba(184, 3, 255, 0.1),
        rgba(184, 3, 255, 0.01)
    );
}
.purple-grade-line {
    padding: 10px;
    width: 100%;
    background: linear-gradient(
        to right,
        rgba(212, 173, 227, 0.8) 0%,
        rgba(212, 173, 227, 0.5)
    );
}
.blue-grade-line {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    background: linear-gradient(
        to right,
        rgba(65, 222, 250, 0.345) 0%,
        rgba(65, 222, 250, 0.212)
    );
}
.country-flag {
    width: 40px;
    height: auto;
    object-fit: cover;
}
.country-name {
    line-height: 40px;
}
.grade-line-item {
    width: 50%;
}
.score {
    display: flex;
    align-items: center;
}
.score .category {
    margin-right: 30px;
}
.flex-center-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.goods-w {
    width: 25%;
}
.goods-box {
    overflow: hidden;
}
.goods-box .goods-bg {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(
        to bottom,
        rgba(118, 2, 164, 0.885),
        rgba(105, 3, 145, 0.5),
        rgba(118, 1, 164, 0.3),
        rgba(184, 3, 255, 0.1),
        rgba(184, 3, 255, 0.01)
    );
    z-index: 1;
}
.goods-box .goods-name {
    background-color: #fff;
    line-height: 3;
}
.sponsor-container {
    height: 100px;
    padding: 20px 10%;
    background: var(--cp-purple);
}
.goods-img {
    z-index: 2;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.sponsor-img  {
    height: 60px;
    object-fit: contain;
}
.cp-cover-img  {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.margin-b-15 {
    margin-bottom: 15px;
}
.margin-b-20 {
    margin-bottom: 20px;
}
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.partner-logo {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}
.partner-border {
    border: 1px solid #6b1d6b;
    border-radius: 3px;
    width: 260px;
    height: 130px;
    overflow: hidden;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.main-color {
    color: var(--cp-main);
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.full-width {
    width: 100%;
}
.full-height {
    height: 100%;
}
.f-f-s {
    font-size: 12px;
}
.margin-l-20 {
    margin-left: 20px;
}
.margin-l-10 {
    margin-left: 10px;
}
.margin-t-5 {
    margin-top: 5px;
}
.f-f-s p {
    margin-bottom: 2px;
}
.tc-white {
    color: #fff;
}
/* 彩带移动 */
.fullscreen-scroll-container {
    width: 100vw;
    height: 120px;
    overflow: hidden;
    position: relative;
}

.repeat-scroll-l {
    width: 100vw;
    height: 120px;
    background-image: url('/static/images/bg/belt2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat-x; /* 关键：水平重复 */
    animation: viewportScroll 10s linear infinite;
    /* 性能优化 */
    will-change: background-position;
    transform: translateZ(0);
    filter: blur(3px);
}


/* 使用视口单位，适配各种屏幕 */
@keyframes viewportScroll {
    0% {
        background-position: 0 center;
    }
    100% {
        background-position: -100vw center; /* 移动一个视口宽度 */
    }
}

.repeat-scroll-r {
    width: 100vw;
    height: 120px;
    background-image: url('/static/images/bg/belt2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat-x; /* 关键：水平重复 */
    animation: viewportScroll-r 10s linear infinite;
    /* 性能优化 */
    will-change: background-position;
    transform: translateZ(0);
}


/* 使用视口单位，适配各种屏幕 */
@keyframes viewportScroll-r {
    0% {
        background-position: 0 center;
    }
    100% {
        background-position: 100vw center; /* 移动一个视口宽度 */
    }
}
.route-3 {
    transform: rotate(3deg);
}
.route-s-3 {
    transform: rotate(-3deg);
}


/* 鼠标悬停暂停 */
/* .fullscreen-scroll-container:hover .fullscreen-scroll {
    animation-play-state: paused;
} */