body {
    margin: 0;
    padding: 0;
}

div {
    display: block;
    unicode-bidi: isolate;
}

html,
body,
video,
.con {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.con {
    display: flex;
}

#my_video {
    object-fit: cover;
}

.video_bg {
    position: absolute;
    z-index: 1;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0, 0, 0, .6) 4.17%, rgba(50, 50, 50, .523) 25.28%, rgba(83, 83, 83, .403) 42.26%, hsla(0, 0%, 77%, 0) 69.58%);
}

.side_tab {
    position: fixed; /* 固定定位，始终在视口右侧 */
    right: -364px;   /* 默认隐藏在右侧外面，露出文字部分的宽度 */
    top: 50%;        /* 垂直居中 */
    transform: translateY(-50%);
    z-index: 999;    /* 确保层级高于视频和背景 */
    display: flex;
    align-items: center;
    transition: right 0.3s ease-in-out; /* 核心动画：平滑过渡 */
    cursor: pointer;
}

.side_tab:hover {
    right: 0;
}

.side_tab:hover .tab_text {
    border-radius: 0;
}

.tab_text {
    writing-mode: vertical-rl; /* 文字竖排显示 */
    background-color: #1C5623; /* 按钮背景色，建议用品牌色 */
    color: #fff;
    padding: 15px 8px;
    border-radius: 8px 0 0 8px; /* 左侧圆角 */
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 6px;
    box-shadow: -3px 0 8px rgba(0,0,0,0.2); /* 加一点阴影立体感 */
}

.tab_qrcode {
    background-color: #fff;
    padding: 10px;
    border-radius: 12px 0 0 12px; /* 左侧圆角 */
    box-shadow: -3px 0 8px rgba(0,0,0,0.1);
    text-align: center;
}

.tab_qrcode img {
    display: block;
    width: 344px;
    height: 344px;
    background-color: #eee;
}

.tab_qrcode p {
    margin: 5px 0 0 0;
    font-size: 16px;
    color: #666;
}

.ft {
    position: absolute;
    z-index: 9;
    bottom: 0;
    width: 100%;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.ft,
.ft a {
    color: #fff;
    text-decoration: none;
}

.ft span {
    padding: 0 3px;
    text-shadow: 2px 2px 4px #000;
}