/*author: 葉研万事屋*/
/*BilibiliSpace: https://space.bilibili.com/3546741129349750*/
/*QQGroup: 1056692175*/
.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.fullscreen-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
    outline: none;
}

/* 隐藏视频控件 */
.fullscreen-video::-webkit-media-controls {
    display: none !important;
}

.fullscreen-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* 容器定位：居中下方 */
.join-us-container {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 99px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 渐变背景容器 */
.gradient-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-top: 3px solid #a98553;
    border-bottom: 3px solid #a98553;
    box-sizing: border-box;
    /* 使用 mask 实现从中心向两侧渐变透明 */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,1) 80%, transparent 100%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

/* 标题包装器 */
.title-wrapper-1 {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s ease;
    box-sizing: border-box;
}

/* 英文底图 */
.title-bg {
    position: absolute;
    object-fit: cover;
    z-index: 1;
}

/* 中文文字 */
.title-text {
    position: relative;
    z-index: 2;
    font-family: 'SourceHanSemiBold', serif;
    font-size: 48px;
    letter-spacing: 2px;
    top: -12px;
    text-shadow: 0 0 10px black;
    transition: all 0.5s ease;
}

/* 蓝色光效图（默认隐藏） */
.title-light {
    position: absolute;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.plate-container {
    position: absolute;
    z-index: -1;
    overflow: hidden;
}

/* plate 图片：旋转、隐藏 */
.plate {
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate 6s linear infinite;
}

/* 鼠标悬停效果 */
.join-us-container:hover .title-light {
    opacity: 1;
}

.join-us-container:hover .plate {
    opacity: 1;
}

/* 旋转动画 */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
