* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
  color: #fff;
}

/* 顶部布局容器 - 包含语言切换和关于我们按钮 */
.top-controls {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 关于我们按钮 - 左上角 */
.about-btn {
  padding: 6px 12px;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
  outline: none;
  backdrop-filter: blur(4px);
}

.about-btn:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.02) !important;
}

/* 语言切换按钮容器 - 右上角 */
.language-switcher {
  display: flex;
  gap: 8px;
}

/* 语言切换按钮样式 */
.lang-btn {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.lang-btn.active {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  font-weight: 500;
}

.lang-btn:hover:not(.active) {
  border-color: rgba(255,255,255,0.8);
  background: rgba(0, 0, 0, 0.6);
}

.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.bg-image {
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1586281380270-3e1cddb89088") center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  display: none; /* 默认隐藏图片，优先显示视频 */
}

/* 视频容器通用样式 */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-player {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  display: block !important; /* 强制显示视频 */
}

/* 横屏视频 - 默认显示 */
#landscape-video {
  display: block !important;
}

/* 竖屏视频 - 初始隐藏，通过JS控制显示 */
#portrait-video {
  object-fit: cover; /* 竖屏视频适配 */
  display: none !important;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 10, 30, 0.65);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  /* 给顶部控件和底部版权信息留出空间 */
  padding-top: 60px;
  padding-bottom: 80px;
  box-sizing: border-box;
}

.title {
  font-size: clamp(24px, 8vw, 42px);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
}

/* 按钮超链接容器样式 - 关键新增 */
.btn-link {
  text-decoration: none; /* 去掉链接下划线 */
  display: inline-block; /* 保证按钮样式不变 */
}

.btn {
  padding: 14px 28px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
}

/* 社交图标容器样式 */
.social-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  justify-content: center;
}

.social-text {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  margin-right: 8px;
}

/* 社交图标超链接样式 - 关键新增 */
.social-link {
  text-decoration: none; /* 去掉链接下划线 */
  display: inline-flex; /* 保证图标样式不变 */
}

/* 统一社交图标样式（Bootstrap Icons） */
.social-icon {
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.social-icon:hover {
  transform: scale(1.1);
  background: rgba(255,255,255,0.2);
}

/* 品牌特色hover颜色 */
.instagram-icon:hover { color: #fff; background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d); }
.xiaohongshu-icon:hover { color: #fff; background: #ff2442; }

/* 弹窗样式修改：降低透明度 + 添加模糊效果 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* 关键修改1：降低遮罩透明度（从0.5改为0.75，更暗） */
  background: rgba(0, 0, 0, 0.75) !important;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  /* 关键修改2：添加背景色+降低透明度（不再是纯透明）+ 增加模糊效果 */
  background: rgba(0, 20, 50, 0.8) !important;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  /* 关键修改3：添加背景模糊（backdrop-filter） */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* 兼容webkit内核浏览器 */
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.1),
              0 8px 20px rgba(0,0,0,0.2);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.modal-body {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 25px;
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.close-btn {
  padding: 8px 20px;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  text-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.close-btn:hover {
  border-color: #ffffff;
  background: rgba(255,255,255,0.08) !important;
}

/* 底部版权备案信息 */
.footer-info {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.6;
  padding: 0 20px;
}

/* 备案号链接样式 */
.icp-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.icp-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 版权信息样式 - 支持多语言切换 */
.copyright-info {
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

/* 移动端适配 */
@media (max-width: 480px) {
  .top-controls {
    top: 15px;
    left: 15px;
    right: 15px;
  }
  .about-btn, .lang-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  .language-switcher {
    gap: 6px;
  }
  .buttons {
    flex-direction: column;
    gap: 12px;
    width: 80%;
  }
  .btn {
    width: 100%;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }
  .modal-content {
    padding: 20px;
  }
  .footer-info {
    bottom: 15px;
    font-size: 11px;
  }
  .copyright-info {
    font-size: 10px;
  }
}