/* 基础重置 */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* 防止横向滚动条 */
}
body {
  margin: 0;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: #000;
  min-height: 100vh;
}

/* 顶部导航（静态样式，无功能） */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff; /* 改为与 logo 背景一致的纯白色 */
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: none; /* 暂时隐藏顶部标题栏 */
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 20px;
  padding-left: 12px; /* 略微向左贴边 */
}
.logo { height: 56px; transform: translateX(-8px); }
.nav { display: flex; gap: 16px; }
.nav-item {
  text-decoration: none;
  color: #222;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}
.nav-item .nav-en {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 1px;
  text-transform: capitalize;
}
.nav-item.active, .nav-item:hover { background: rgba(0,0,0,0.06); }

/* 首屏背景与主体 */
.hero {
  position: relative;
  min-height: 100vh;
  height: auto; /* 改为 auto 让内容撑开高度 */
  background: #000; /* 由伪元素承载背景图以实现丝滑视差 */
  display: grid;
  place-items: center;
  overflow: visible; /* 改为 visible 让二级面板可见 */
  width: 100%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -15vh -10vw; /* 增大边距确保任何比例都不露黑边 */
  background: url('./image/背景图.png') center/cover no-repeat;
  background-size: cover;
  min-width: 120vw;
  min-height: 130vh;
  transform: translate3d(0, var(--parallaxY, 0px), 0);
  will-change: transform;
  z-index: 0;
}
.hero-inner {
  max-width: 1200px;
  width: 100%;
  padding: 80px 20px 120px;
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-center { 
  display: inline-flex; 
  flex-direction: column; 
  align-items: center; 
  transform: translateY(150px) !important; /* 向下移动 */
}
.hero-text {
  display: block;
  width: min(600px, 70%); /* 调整基础宽度 */
  max-width: 80vw;
  height: auto;
  margin: 0 auto 28px;
  transform: scale(0.9); /* 放大到 0.6 × 1.5 = 0.9 */
  transform-origin: center top;
}

.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  max-width: 100%;
  width: 100%;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.3;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-2px) scale(1); box-shadow: 0 10px 24px rgba(0,0,0,0.35); }
.btn:active { transform: translateY(0) scale(1); }
/* 自定义购票按钮样式，参考示例.png 的圆角白底与描边 */
.btn-ticket {
  background: rgba(255,255,255,0.96);
  color: #1b1b1b;
  border: 2px solid rgba(0,0,0,0.12);
  letter-spacing: .02em;
  font-size: 14px;
  min-width: 220px;
  max-width: 280px;
  flex: 1 1 220px; /* 自动伸缩以适应容器 */
  white-space: normal;
  word-spacing: 0.1em;
}
.btn-ticket .btn-sub {
  display: block;
  font-weight: 600;
  font-size: 11px;
  opacity: .85;
  margin-top: 2px;
  line-height: 1.4;
}

/* 购票下拉菜单 */
.ticket-dropdown {
  width: auto;
  max-width: 600px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: none;
}
.ticket-dropdown[open] .ticket-panel {
  animation: pvFade .25s ease;
}
.ticket-dropdown summary {
  list-style: none !important;
  cursor: pointer;
  user-select: none;
}
.ticket-dropdown summary::-webkit-details-marker,
.ticket-dropdown summary::marker {
  display: none !important;
  content: '' !important;
}
.btn-main {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  max-width: 280px !important;
  width: auto !important;
  flex: none !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  font-size: 14px !important;
  padding: 14px 26px !important;
  white-space: normal !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.main-title-primary {
  display: block !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  width: 100% !important;
}
.main-title-en {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  opacity: 0.85 !important;
  margin-top: 2px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  width: 100% !important;
}
.ticket-panel {
  width: 100%;
  min-width: 480px;
  max-width: 600px;
  margin-top: 20px;
  padding: 20px;
  background: rgba(0,0,0,0.65);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ticket-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.96);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  text-decoration: none;
  color: #1b1b1b;
  text-align: center;
  transition: transform .1s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.ticket-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.ticket-option .option-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.ticket-option .option-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  line-height: 1.4;
}

/* 登记下拉菜单 */
.register-dropdown {
  width: auto;
  max-width: 600px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: none;
}
.register-dropdown[open] .register-panel {
  animation: pvFade .25s ease;
}
.register-dropdown summary {
  list-style: none !important;
  cursor: pointer;
  user-select: none;
}
.register-dropdown summary::-webkit-details-marker,
.register-dropdown summary::marker {
  display: none !important;
  content: '' !important;
}

.secondary-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin-top: 28px;
  max-width: 100%;
  width: 100%;
}
.btn-register {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  max-width: 280px !important;
  width: auto !important;
  flex: none !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  font-size: 14px !important;
  padding: 14px 26px !important;
  white-space: normal !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.register-title-primary {
  display: block !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  width: 100% !important;
}
.register-title-en {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  opacity: 0.85 !important;
  margin-top: 2px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  width: 100% !important;
}
.register-panel {
  width: 100%;
  min-width: 480px;
  max-width: 600px;
  margin-top: 20px;
  padding: 20px;
  background: rgba(0,0,0,0.65);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.register-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.96);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  text-decoration: none;
  color: #1b1b1b;
  text-align: center;
  transition: transform .1s ease, box-shadow .2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.register-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.register-option .option-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.register-option .option-sub {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.85;
  line-height: 1.4;
}
.pv-dropdown {
  width: auto;
  max-width: 720px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  flex: none;
}
.pv-dropdown[open] .pv-panel {
  animation: pvFade .25s ease;
}
.pv-dropdown summary {
  list-style: none !important;
  cursor: pointer;
  user-select: none;
  display: block !important; /* 强制块级显示 */
  width: auto !important;
  max-width: 100% !important;
}
.pv-dropdown summary::-webkit-details-marker {
  display: none !important;
}
/* iOS Safari 兼容性修复 */
.pv-dropdown summary::-webkit-details-marker,
.pv-dropdown summary::marker {
  display: none !important;
  content: '' !important;
}
.btn-pv {
  /* 完全继承购票按钮的样式 */
  display: inline-flex !important; /* 强制使用 inline-flex */
  flex-direction: column !important; /* 强制纵向排列 */
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  max-width: 280px !important;
  width: auto !important; /* 固定宽度为 auto，不随容器拉伸 */
  flex: none !important; /* 不参与 flex 拉伸 */
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  font-size: 14px !important;
  padding: 14px 26px !important;
  white-space: normal !important; /* 允许文字换行 */
  box-sizing: border-box !important;
  text-align: center !important;
}
.btn-pv .pv-title-primary {
  display: block !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.3 !important;
  width: 100% !important;
}
.btn-pv .pv-title-en {
  display: block !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  opacity: 0.85 !important;
  margin-top: 2px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em !important;
  width: 100% !important;
}
.pv-panel {
  width: 100%;
  min-width: 600px;
  max-width: 720px;
  margin-top: 20px;
  padding: 24px;
  background: rgba(0,0,0,0.65);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pv-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 24px 32px;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.pv-card-title {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pv-card-title-primary {
  font-size: 20px;
}
.pv-card-title-en {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pv-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.pv-link {
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 280px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #050505;
  background: rgba(255,255,255,0.96);
  border: 2px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  transition: transform .1s ease, box-shadow .25s ease;
}
.pv-link span {
  display: block;
  line-height: 1.3;
}
.pv-link-zh {
  font-size: 14px;
}
.pv-link-en {
  font-size: 12px;
  letter-spacing: 0.05em;
  opacity: 0.8;
}
.pv-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}
.pv-link:active {
  transform: scale(0.98);
}

@keyframes pvFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 600px) {
  .nav { display: none; }
  /* 移动端保持良好自适应 */
  .hero { min-height: 100vh; }
  .hero::before { 
    inset: -20vh -15vw; 
    min-width: 130vw; 
    min-height: 140vh; 
  }
  .hero-center { transform: translateY(80px) !important; } /* 减小上移距离 */
  .hero-text { width: min(500px, 75%); transform: scale(0.65); } /* 缩小文字图 */
  /* 移动端按钮纵向排列 */
  .cta { 
    margin-top: 20px;
  }
  .ticket-dropdown {
    width: 100%;
    max-width: 100%;
  }
  .btn-main {
    min-width: 200px !important;
    max-width: 220px !important;
    width: auto !important;
    flex: none !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
  }
  .main-title-primary {
    font-size: 13px !important;
  }
  .main-title-en {
    font-size: 10px !important;
  }
  .ticket-panel {
    min-width: auto;
    max-width: 100%;
    padding: 16px;
    gap: 10px;
  }
  .ticket-option {
    padding: 12px 16px;
  }
  .ticket-option .option-name {
    font-size: 13px;
  }
  .ticket-option .option-sub {
    font-size: 10px;
  }
  .btn-ticket { 
    min-width: 200px;
    max-width: 220px;
    width: auto; /* 不使用百分比宽度 */
    font-size: 13px; 
    padding: 10px 18px;
    flex: none; /* 移除 flex 伸缩 */
  }
  .btn-ticket .btn-sub {
    font-size: 10px;
  }
  .secondary-cta {
    flex-direction: column;
    margin-top: 20px;
    gap: 12px;
    align-items: center;
  }
  .register-dropdown {
    width: 100%;
    max-width: 100%;
  }
  .btn-register {
    min-width: 200px !important;
    max-width: 220px !important;
    width: auto !important;
    flex: none !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
  }
  .register-title-primary {
    font-size: 13px !important;
  }
  .register-title-en {
    font-size: 10px !important;
  }
  .register-panel {
    min-width: auto;
    max-width: 100%;
    padding: 16px;
    gap: 10px;
  }
  .register-option {
    padding: 12px 16px;
  }
  .register-option .option-name {
    font-size: 13px;
  }
  .register-option .option-sub {
    font-size: 10px;
  }
  .btn-pv {
    min-width: 200px !important;
    max-width: 220px !important;
    width: auto !important;
    flex: none !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
    padding: 10px 18px !important;
  }
  .btn-pv .pv-title-primary {
    font-size: 13px !important;
  }
  .btn-pv .pv-title-en {
    font-size: 10px !important;
  }
  .pv-dropdown {
    width: 100%;
    max-width: 100%;
  }
  .pv-panel {
    min-width: auto;
    max-width: 100%;
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .pv-secondary {
    text-align: center;
  }
  .pv-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .pv-link {
    min-width: 200px;
    max-width: 220px;
    width: auto;
    padding: 12px 20px;
    flex: none;
  }
}


