.video-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 30%;
    text-align: center;
    margin-right: 20px;
}

.video-thumbnail {
    width: 100%;
    height: auto;
}

.icon-video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    color: #fff;
    opacity: .9;
    border-radius: 50%;
    background: rgba(0, 0, 0, .3);
    transition: .2s linear;
}

.icon-video:hover {
    transform: translate(-50%, -50%) scale(1.05);
    cursor: pointer;
}

.video-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-content {
    position: relative;
    margin: 8% auto;
    padding: 20px;
    width: 60%;
    /* background: white; */
}

.icon-close {
    position: absolute;
    top: -20px;
    right: -20px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.6;
}

.icon-close:hover,
.icon-close:focus {
    opacity: 1;
    text-decoration: none;
    cursor: pointer;
}

.subscribe-button {
    display: none;
    position: absolute;
    bottom: 10%;
    right: 2%;
    padding: 10px;
    cursor: pointer;
    opacity: 0; /* 初始透明度 */
    transition: opacity 2s ease; /* 添加过渡效果 */
}

.subscribe-button.show {
    display: block;
    opacity: 1; /* 目标透明度 */
    animation: updown 1.5s infinite; /* 添加上下移动动画 */
}

@keyframes updown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.video-btn {
    display: block;
    width: auto;
    padding: 0 20px;
    line-height: 50px;
    font-size: 25px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    background-color: #2978FF;
    border-radius: 6px;
    border: none;
    margin-top: 45px;
    margin-bottom: 22px;
    outline: none; 
}

.video-btn:hover, .video-btn:focus {
    cursor: pointer;
    background-color: #5895FF;
    color: #fff;
    border: none;
    text-decoration: none;
    outline: none; 
}

.icon-down{
    margin-right: 10px;
}


@media (max-width: 1199px) {
    .video-container {
        position: relative;
        transform: none;
        width: 100%;
        margin-top: 20px;
        padding-bottom: 50px;
    }

    .video-container {
        margin: 0 auto;
        width: 90%;
    }
    .video-btn {
        padding: 0 20px;
        line-height: 40px;
        font-size: 16px;
        margin-top: 45px;
        margin-bottom: 35px;
    }
}