#header-container .nav{
   background: transparent;
}

#header-container .nav:hover {
   background: url("/images/nav-bg1.jpg") no-repeat center / cover;
}

#header-container .nav .menu .split-line {
    color: transparent;
}

#header-container .nav:hover .menu .split-line{
    color: var(--color-primary-9);
}

/* 预加载容器 */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--nav-color);
    z-index: 9999;
    color: white;
    font-family: Arial;
}

.msg-tip {
    position: absolute;
    top: calc(50% + 128px);
    left: calc(50%);
    transform: translate(-50%, -50%);
    color: #a0a0a0;
    animation: changeColor 2s linear infinite;
}

.spinner {
    position: absolute;
    width: 128px;
    height: 128px;
    top: calc(50% - 64px);
    left: calc(50% - 64px);
    transform: perspective(206px) rotateX(45deg);
  }

  .outer {
    box-sizing: border-box;
    animation: spin 3s linear infinite;
    height: 100%;
  }

  .inner {
    position: absolute;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    animation: spin 1.8s ease-in-out infinite;
  }
  .inner.tl {
    top: 0;
    left: 0;
    border-top: 2px solid #531430;
    border-left: 4px solid #531430;
  }
  .inner.tr {
    top: 0;
    right: 0;
    border-top: 2px solid #e04960;
    border-right: 4px solid #e04960;
  }
  .inner.br {
    bottom: 0;
    right: 0;
    border-bottom: 2px solid #531430;
    border-right: 4px solid #531430;
  }
  .inner.bl {
    bottom: 0;
    left: 0;
    border-bottom: 2px solid #e04960;
    border-left: 4px solid #e04960;
  }
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes changeColor {
    0% { color: #a0a0a0; }
    50% { color: #e04960; }
    100% { color: #a0a0a0; }
  }

/* 核心区域布局 */
.section {
    position: relative;
    background-position: 46%;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--color-primary-2);
    height: 100vh;
}

.section .box-left {
    width: 34%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 10vw;
    transform: translateY(-50%);
    text-align: justify;
    display: none;
}

.section .box-left .title {
    font-size: 2rem;
    font-weight: 550;
    margin-bottom: 1.75rem;
}

.section .box-left .content {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.1rem;
}

.section .box-left .content p{
    margin-top: 1.75rem;
    color: #e6e6e6;
}

.section .box-left .add-btn{
    margin-top: 1.75rem;
}

.section .join .content p{
    margin-top: 1rem;
}

.section .box-right {
    width: 40%;
    height: auto;
    position: absolute;
    top: 50%;
    right: 10vw;
    transform: translateY(-50%);
    text-align: right;
    display: none;
}

.section .box-right .title {
    font-size: 2rem;
    font-weight: 550;
    margin-bottom: 1.75rem;
}

.section .box-right .content p{
    margin-top: 1rem;
    font-size: 1rem;
    color: var( --color-primary-3);
}

.section .box-right .detail {
    margin-top: 2rem;
}

/* 底部 */
.fix-bottom {
    position: fixed;
    left: 0;
    bottom: 0;
}

#footer-container .footer {
    background: transparent;
}

#home_ {
    position: relative;
}

#home-pre {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 99;
    top: 0;
    left: 0;
}

#main-video {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 100;
    top: 0;
    left: 0;
    opacity: 0;
}

.mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
}

/* 播放按钮样式 */
#playBtn {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    position: absolute;
    bottom: 22%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#playBtn::after {
    content: '';
    position: absolute;
    left: 52%;
    top: 50%;
    transform: translate(-40%, -50%);
    border-left: 20px solid rgba(255, 255, 255, 0.3);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transition: all 0.3s ease;
}

#playBtn:hover {
    background: rgba(128, 128, 128, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

#playBtn:hover::after {
    border-left-color: rgba(255, 255, 255, .9);
}


/* 向下滚动 */
.scroll-prompt {
    position: fixed;
    bottom: 5rem;;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 1000;
    color: var(--color-primary-7);
}

.scroll-prompt:hover {
    transition: all 0.5s;
    color: var(--color-primary-2);
}

.vertical-text {
    writing-mode: vertical-lr;
    font-size: 0.875rem;
    letter-spacing: 0.375rem;
    margin-bottom: 1rem;
}

.line-container {
    position: relative;
    height: 3.125rem;
    width: 1px;
}

.line-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--color-primary-9);
}

.line-moving {
    position: absolute;
    left: -0.125rem;
    width: 0.375rem;
    height: 1.125rem;
    animation: slide 2s infinite;
    border-radius: 1px;
}

@keyframes slide {
    0% {
        top: -15%;
        opacity: 0;
        background:var(--color-primary-1);
    }
    15% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
        background:var(--color-primary-6);
    }
    85% {
        opacity: 0.8;
    }
    100% {
        top: 70%;
        opacity: 0;
        background:var(--color-primary-11);
    }
}

/* 返回顶部 */
.scroll-top {
    position: fixed;
    bottom: 5rem;;
    right: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10rem;
    cursor: pointer;
    z-index: 1000;
}

.scroll-top span {
    font-size: 1.25rem;
    color: var(--color-primary-8);
}

.scroll-top span:hover {
    color: var(--color-primary-4);
}