/* 下载页：滑动门 + 解锁后竞品落地皮（门禁对齐落地黑金） */
:root {
  --bg: #050403;
  --card: rgba(22, 16, 10, 0.78);
  --ink: #FFF6E8;
  --muted: rgba(232, 210, 170, 0.68);
  --line: rgba(212, 168, 80, 0.38);
  --gold: #E8C36A;
  --gold-hi: #FFF1D0;
  --gold-mid: #D4A24A;
  --gold-deep: #8B5A2B;
  --ok: #F0D48A;
  --glow: 0 0 40px rgba(212, 162, 74, 0.28);
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { width: 100%; overflow-x: hidden; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding: max(14px, env(safe-area-inset-top)) clamp(10px, 3.2vw, 16px) max(22px, env(safe-area-inset-bottom));
  position: relative;
  overflow-x: hidden;
}
body.is-land {
  padding: 0;
  background: #000;
  color: #fff;
}

button {
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
}
a { text-decoration: none; color: inherit; }
img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.hidden { display: none !important; }

/* —— 门禁背景（黑金） —— */
.fx {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(70% 48% at 50% -6%, rgba(232, 195, 106, 0.28), transparent 58%),
    radial-gradient(50% 36% at 8% 70%, rgba(139, 90, 43, 0.22), transparent 55%),
    radial-gradient(48% 34% at 94% 78%, rgba(212, 162, 74, 0.12), transparent 55%),
    linear-gradient(165deg, #050403 0%, #0C0906 48%, #080604 100%);
}
.fx .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232, 195, 106, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 195, 106, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  opacity: 0.55;
}
.fx .orb {
  position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.55;
  animation: drift 11s ease-in-out infinite;
}
.fx .orb.a {
  width: 170px; height: 170px; left: -50px; top: 16%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 241, 208, 0.35), rgba(212, 162, 74, 0.45) 45%, transparent 70%);
}
.fx .orb.b {
  width: 130px; height: 130px; right: -30px; bottom: 12%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 230, 180, 0.22), rgba(139, 90, 43, 0.42) 45%, transparent 70%);
  animation-delay: -4s;
}
@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.05); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.hero { text-align: center; margin-bottom: 22px; }
.logo-wrap {
  width: clamp(72px, 22vw, 96px);
  height: clamp(72px, 22vw, 96px);
  margin: 0 auto 14px;
  border-radius: clamp(18px, 5.5vw, 26px);
  padding: 3px;
  background: linear-gradient(135deg, #FFF1D0, #E8C36A 42%, #8B5A2B 100%);
  box-shadow: 0 14px 36px rgba(212, 162, 74, 0.38);
  position: relative;
  animation: logoPulse 3.2s ease-in-out infinite;
}
.logo-wrap::after {
  content: "";
  position: absolute; inset: -10px; border-radius: 32px; z-index: -1;
  background: radial-gradient(circle, rgba(232, 195, 106, 0.34), transparent 68%);
  animation: halo 2.8s ease-in-out infinite;
}
.logo-wrap img {
  width: 100%; height: 100%;
  display: block; border-radius: calc(clamp(18px, 5.5vw, 26px) - 3px);
  object-fit: cover; background: #120e08;
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes halo {
  0%, 100% { opacity: 0.55; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 auto 10px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  color: #FFE9B8;
  background: rgba(212, 162, 74, 0.16);
  border: 1px solid rgba(232, 195, 106, 0.42);
}
.badge i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #F0D48A; box-shadow: 0 0 8px rgba(240, 212, 138, 0.85);
}
.hero h1 {
  font-size: clamp(1.35rem, 5.2vw, 1.7rem);
  font-weight: 900; letter-spacing: 0.02em; margin-bottom: 8px;
  background: linear-gradient(180deg, #FFF8E8 0%, #E8C36A 55%, #B8893A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  color: var(--muted); font-size: 0.9rem; line-height: 1.55; font-weight: 600;
}

/* —— 滑动门 —— */
.gate-screen, .main-screen { position: relative; z-index: 1; }
.gate-screen {
  min-height: calc(100vh - 40px);
  min-height: calc(100dvh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-screen.hidden, .main-screen.hidden { display: none !important; }
.gate-panel {
  width: 100%;
  max-width: 400px;
  animation: rise 0.65s cubic-bezier(.22,1,.36,1) both;
}
.gate-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 4.5vw, 24px);
  padding: clamp(16px, 4vw, 22px) clamp(12px, 3vw, 16px) clamp(14px, 3.5vw, 18px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.5), var(--glow);
  backdrop-filter: blur(16px) saturate(1.1);
  position: relative;
  overflow: hidden;
  width: 100%;
}
.gate-card::after {
  content: "";
  position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 208, 0.7), transparent);
}
.gate-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: #FFF1D0;
}
.gate-desc {
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 16px;
  font-weight: 600;
}
.slide-wrap {
  margin: 2px 0 8px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.slide-track {
  position: relative;
  height: 62px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,241,208,0.07), rgba(255,241,208,0.02)),
    rgba(10, 8, 5, 0.92);
  border: 1px solid rgba(212, 162, 74, 0.42);
  overflow: hidden;
  box-shadow:
    inset 0 2px 10px rgba(0,0,0,0.5),
    0 0 24px rgba(212, 162, 74, 0.14);
}
.slide-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,241,208,0.16) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sheen 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}
.slide-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 57px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(139,90,43,0.25), rgba(212,162,74,0.55), rgba(255,241,208,0.35));
  box-shadow: 0 0 28px rgba(212, 162, 74, 0.35);
  pointer-events: none;
}
.slide-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding-left: clamp(18px, 6vw, 34px);
  padding-right: 8px;
  color: rgba(255, 230, 180, 0.78);
  font-size: clamp(0.78rem, 3.4vw, 0.92rem); font-weight: 800; letter-spacing: 0.04em;
  pointer-events: none; transition: opacity 0.2s ease;
  white-space: nowrap;
}
.slide-hint.fade { opacity: 0; }
.slide-knob {
  position: absolute; left: 5px; top: 0; bottom: 0; margin: auto 0;
  width: 52px; height: 52px; border-radius: 50%; border: 0;
  cursor: grab; color: #1a1208; padding: 0;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.65), transparent 40%),
    linear-gradient(145deg, #FFF1D0, #E8C36A 48%, #A67C3D);
  box-shadow:
    0 10px 24px rgba(139, 90, 43, 0.55),
    0 0 0 2px rgba(255,241,208,0.35) inset,
    0 0 22px rgba(232, 195, 106, 0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; touch-action: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.slide-knob:active { cursor: grabbing; transform: scale(1.05); }
.slide-knob.done {
  color: #1a1208;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.7), transparent 40%),
    linear-gradient(145deg, #FFF8E8, #F0D48A 50%, #C9A227);
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.5), 0 0 22px rgba(240, 212, 138, 0.55);
}
.slide-knob svg { width: 22px; height: 22px; display: block; color: inherit; }
.gate-msg {
  min-height: 1.2em; margin-top: 8px; text-align: center;
  font-size: 0.84rem; color: #E8C36A; font-weight: 800;
}
.gate-msg.ok { color: var(--ok); }
.gate-screen.pass-out { animation: gateOut 0.35s ease forwards; }
@keyframes gateOut {
  to { opacity: 0; transform: translateY(-10px) scale(0.98); }
}
.flash {
  position: fixed; inset: 0; z-index: 8;
  pointer-events: none; opacity: 0;
  background:
    radial-gradient(circle at center, rgba(232, 195, 106, 0.3), transparent 48%),
    radial-gradient(circle at 50% 40%, rgba(255, 241, 208, 0.14), transparent 55%);
}
.flash.on { animation: flashBurst 0.65s ease; }
@keyframes flashBurst {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}

/* —— 落地皮（竞品原始） —— */
.main-screen {
  animation: rise 0.55s cubic-bezier(.22,1,.36,1) both;
}
.shell {
  width: 100%;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  background: #000;
}
.mobile {
  width: 100%;
  max-width: 480px;
  min-height: 100dvh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #000 url('./assets/land/bg.7c5f2439.jpg') no-repeat top center / 100% auto;
  padding-bottom: calc(32vw + env(safe-area-inset-bottom, 0px));
}
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5.7333333333vw;
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  overflow: visible;
}
.logo {
  width: 39.3333333333vw;
  max-width: 190px;
  margin-left: 5.8666666667vw;
  height: auto;
  object-fit: contain;
  /* 装饰图：禁点选/拖蓝框（点右侧按钮时别把左侧 PNG 选中） */
  pointer-events: none;
}
.group {
  display: flex;
  align-items: flex-start;
  margin-right: 3.2vw;
  gap: 2.2vw;
  position: relative;
  z-index: 20;
  flex-shrink: 0;
}
.group-hit {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 14vw;
  max-width: 58px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}
.group-hit:focus-visible {
  outline: 1px solid rgba(232, 195, 106, 0.7);
  outline-offset: 2px;
  border-radius: 8px;
}
.group-ico {
  width: 7.6vw;
  max-width: 32px;
  height: 7.6vw;
  max-height: 32px;
  border: 1.2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
}
.group-ico--web::before {
  content: '';
  width: 4.4vw;
  max-width: 18px;
  height: 4.4vw;
  max-height: 18px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a15 15 0 0 1 0 18'/%3E%3Cpath d='M12 3a15 15 0 0 0 0 18'/%3E%3C/svg%3E");
}
.group-ico--adv::before {
  content: '';
  width: 4.4vw;
  max-width: 18px;
  height: 4.4vw;
  max-height: 18px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.2l2.2 6.4h6.6l-5.3 4 2 6.4L12 16.6 6.5 20l2-6.4-5.3-4h6.6z'/%3E%3C/svg%3E");
}
/* 客户须知：线条文件+条文 */
.group-ico--notice::before {
  content: '';
  width: 4.4vw;
  max-width: 18px;
  height: 4.4vw;
  max-height: 18px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M9 13h6'/%3E%3Cpath d='M9 17h6'/%3E%3C/svg%3E");
}
.group-lab {
  margin-top: 1.2vw;
  font-size: 2.4vw;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.text {
  width: 87.3333333333vw;
  max-width: 420px;
  margin-top: 10vw;
  flex-shrink: 0;
  pointer-events: none;
}
.pic {
  width: 99.0666666667vw;
  max-width: 480px;
  margin-top: 4vw;
  flex-shrink: 0;
  pointer-events: none;
}
.footer {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding-bottom: calc(2.5vw + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, #000 55%, rgba(0, 0, 0, 0));
  z-index: 10;
}
.act {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 1.5vw;
}
.btn {
  width: 28.6666666667vw;
  max-width: 140px;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn img { width: 100%; height: auto; pointer-events: none; }
.tips-hit {
  margin-top: 2.6666666667vw;
  margin-bottom: 2vw;
  padding: 0;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.tips {
  width: 48.1333333333vw;
  max-width: 230px;
  pointer-events: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  z-index: 99;
  max-width: min(78vw, 360px);
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.toast.show { opacity: 1; }

/* —— 顶栏下拉：优势 / 须知（一行一条往下） —— */
.drop-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.drop-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: max(112px, 28vw);
  padding: 8px 0;
  margin: 0;
  border-radius: 12px;
  background: rgba(12, 10, 6, 0.96);
  border: 1px solid rgba(212, 168, 80, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 162, 74, 0.12);
  z-index: 30;
  overflow: hidden;
}
.drop-menu[hidden] { display: none !important; }
.drop-menu li {
  display: block;
  padding: 9px 14px;
  color: #FFF1D0;
  font-size: clamp(12px, 3.2vw, 13px);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-align: center;
  border-bottom: 1px solid rgba(212, 168, 80, 0.14);
  opacity: 0;
  transform: translateY(-8px);
}
.drop-menu li:last-child { border-bottom: 0; }
.drop-wrap.is-open .drop-menu li {
  animation: dropIn 0.28s ease forwards;
}
.drop-wrap.is-open .drop-menu li:nth-child(1) { animation-delay: 0.02s; }
.drop-wrap.is-open .drop-menu li:nth-child(2) { animation-delay: 0.06s; }
.drop-wrap.is-open .drop-menu li:nth-child(3) { animation-delay: 0.10s; }
.drop-wrap.is-open .drop-menu li:nth-child(4) { animation-delay: 0.14s; }
.drop-wrap.is-open .drop-menu li:nth-child(5) { animation-delay: 0.18s; }
.drop-wrap.is-open .drop-menu li:nth-child(6) { animation-delay: 0.22s; }
.drop-wrap.is-open .drop-menu li:nth-child(n+7) { animation-delay: 0.26s; }
@keyframes dropIn {
  to { opacity: 1; transform: translateY(0); }
}
.drop-wrap.is-open .group-hit .group-ico {
  border-color: rgba(232, 195, 106, 0.95);
  box-shadow: 0 0 12px rgba(232, 195, 106, 0.35);
}

/* 客户须知：宽度贴齐左右两键外沿，整段自然换行 */
.drop-bubble {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  width: auto;
  box-sizing: border-box;
  padding: 11px 12px;
  margin: 0;
  border-radius: 12px;
  background: rgba(12, 10, 6, 0.96);
  border: 1px solid rgba(212, 168, 80, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(212, 162, 74, 0.12);
  z-index: 30;
  color: #FFF1D0;
  font-size: clamp(12px, 3.1vw, 13px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.drop-bubble[hidden] { display: none !important; }
.group.is-notice-open .drop-bubble {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.group.is-notice-open #btn-notice .group-ico {
  border-color: rgba(232, 195, 106, 0.95);
  box-shadow: 0 0 12px rgba(232, 195, 106, 0.35);
}

@media (min-width: 481px) {
  .header { margin-top: 22px; }
  .logo { width: 150px; margin-left: 22px; }
  .group { margin-right: 14px; gap: 10px; }
  .group-hit { width: auto; min-width: 48px; max-width: none; }
  .group-ico { width: 30px; height: 30px; }
  .group-ico--web::before,
  .group-ico--adv::before,
  .group-ico--notice::before { width: 16px; height: 16px; }
  .group-lab { font-size: 10px; margin-top: 4px; }
  .drop-menu {
    min-width: 120px;
    top: calc(100% + 10px);
  }
  .drop-menu li { font-size: 13px; padding: 10px 14px; }
  .drop-bubble {
    top: calc(100% + 10px);
    padding: 12px 14px;
    font-size: 13px;
  }
  .text { width: 88%; margin-top: 36px; }
  .pic { width: 100%; margin-top: 16px; }
  .footer {
    max-width: 480px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
  }
  .btn { width: 30%; max-width: 140px; }
  .tips { width: 220px; }
  .tips-hit { margin-top: 10px; margin-bottom: 12px; }
  .mobile { padding-bottom: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-wrap, .fx .orb, .gate-panel, .slide-sheen, .main-screen,
  .drop-menu li, .drop-bubble { animation: none !important; transition: none !important; }
  .drop-wrap.is-open .drop-menu li,
  .group.is-notice-open .drop-bubble { opacity: 1; transform: none; }
}
