.top_nav .dropdown {
    width: 714px;
}

#banner {
    width: 100%;
    max-height: 530px;
    overflow: hidden;
    z-index: 10;
    position: relative;
    background-size: contain;
}

#banner img {
    width: 100%;
}

.promotion-main {
    position: relative;
    background: #f1f1f1f1;
    background-size: 100% 100%;
}

.promotion-main.night {
    background: #161616 !important;
}

/*导航分类*/
.promotion-nav-cont {
    background: #FFFFFF;
}

.promotion-nav-cont.night {
    background: #1E1E1E;
}

.tab-promotion {
    display: flex;
    width: 1200px;
    gap: 10px; /* 若有間距需求可加 */
}

.tab-promotion li {
    flex: 1;
    text-align: center;
    color: #8996aa;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.tab-promotion li > div svg {
    position: relative;
    top: -4px;
}

.promotion-list-cont {
    margin: 20px 0;
    background: url(/images/promotion/main-bg.png) repeat-y center top;
    min-height: 340px;
}

.p-item {
    position: relative;
    width: 1200px;
    height: 320px;
    margin: 0 auto 25px;
    border-radius: 10px;
    cursor: pointer;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.p-item:hover {
    transform: scale(1.01);
}

.p-item.show {
    opacity: 1;
    transform: translateY(0);
}

.p-header {
    position: relative;
    height: 57px;
    clear: both;
}

.act-tag {
    position: absolute;
    top: 23px;
    left: -10px;
    z-index: 10;
}

.type-tag {
    position: absolute;
    top: 15px;
    right: -5px;
    z-index: 10;
}

.p-content {
    line-height: 1;
    padding: 20px 80px;
}

.img-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 1200px;
    height: 320px;
    z-index: 5;
    border-radius: 10px;
}

.context {
    position: relative;
    z-index: 10;
}

.title {
    line-height: 1;
    font-size: 28px;
    color: #fff;
    font-weight: bold;
}

.subtitle {
    position: relative;
    font-size: 18px;
    margin: 20px 0 10px;
    color: #91A0BD;
}

.act-time {
    color: #91A0BD;
    font-size: 18px;
}

.btn {
    display: inline-block;
    width: 140px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-top: 25px;
    font-size: 18px;
    color: #fff;
    background: #D02443;
    border-radius: 20px;
}

.animation-box {
    position: relative;
    width: 172px;
    height: 72px;
}

.lottie-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lottie-layer.enter {
    z-index: 2;
    opacity: 0;
    pointer-events: none; /* 避免遮住底層 hover */
    transition: opacity 0.3s;
}

.animation-box:hover .lottie-layer.enter {
    opacity: 1;
}

#j-tab-promotion {
    overflow: hidden;
}

.lottie-container {
    will-change: transform, opacity;
    transition: opacity 0.3s ease;
}