/* ==================== Landing Page (index.html) ==================== */
#landing-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

#landing-overlay video {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* ==================== Sound Toggle Button ==================== */
.sound-btn {
  position: absolute;
  top: 5%;
  right: 2%;
  bottom: auto;
  width: clamp(30px, 3vw, 48px);
  height: clamp(30px, 3vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.1s ease;
  z-index: 1002;
  padding: 0;
}

.sound-btn:hover {
  background: rgb(255, 255, 255, 0.2);
}

.sound-btn:active {
  transform: scale(0.92);
}

.sound-btn svg {
  width: clamp(15px, 1.5vw,24px);
  height: clamp(15px, 1.5vw,24px);
  position: absolute;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  fill: none;
  stroke: currentColor;
}

.sound-btn .icon-unmuted {
  display: none;
  opacity: 0;
}

.sound-btn .icon-muted {
  display: block;
  opacity: 1;
}

.sound-btn.unmuted .icon-unmuted {
  display: block;
  opacity: 1;
}

.sound-btn.unmuted .icon-muted {
  display: none;
  opacity: 0;
}

/* Skip Button */
.skip-btn {
  position: absolute;
  bottom: 5%;
  right: 2%;
  padding: 1vh 1vw;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: #fff;
  font-size: clamp(10px, 2vw, 20px);
  font-weight: var(--font-tall-weight);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}

.skip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

#main-bg {
  position: fixed;
  inset: 0;
  background: center/cover;
  display: flex;
  filter: brightness(1.2);
}

#home-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: clamp(5px, 5vw, 65px);
  height: auto;
  pointer-events: none;
}

.split-links {
  position: fixed;
  inset: 0;
  display: flex;
}

.split-links .split-left,
.split-links .split-right {
  flex: 1;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

/* 视频全屏显示，用 mask 裁剪形状 */
.split-links .split-left video,
.split-links .split-right video {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0.85;
}

.split-links .split-left video {
  left: 0;
  mask-image: var(--left-mask);
  mask-size: cover;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: var(--left-mask);
  -webkit-mask-size: cover;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}

.split-links .split-right video {
  right: 0;
  mask-image: var(--right-mask);
  mask-size: cover;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-image: var(--right-mask);
  -webkit-mask-size: cover;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}

.split-links .split-left a,
.split-links .split-right a {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.split-links .split-left:hover,
.split-links .split-right:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Split Label Text */
.split-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: #fff;
  font-family: var(--font-tall);
  font-size: 3vw;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.split-label-left {
  left: 30vw;
}

.split-label-right {
  right: 28vw;
}

.split-left:hover .split-label-left {
  transform: translateY(-50%) translateX(-40px);
}

.split-right:hover .split-label-right {
  transform: translateY(-50%) translateX(40px);
}
