* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; width: 100%; max-width: 100%; background: #0b1f3a; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: #fff; overflow: hidden; overflow-x: hidden; overscroll-behavior-x: none; }

/* 加载页 */
.loading { position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 40%, #1a2c66 0%, #0b1f3a 70%); transition: opacity .6s ease; overflow: hidden; }
.loading.hide { opacity: 0; pointer-events: none; }

/* 旋转光环加载器 */
.loader-ring { position: relative; width: 86px; height: 86px; margin-bottom: 26px; }
.loader-ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; }
.loader-ring span:nth-child(1) { border-top-color: #6ee7ff; animation: spin 1.1s linear infinite; }
.loader-ring span:nth-child(2) { inset: 10px; border-right-color: #9b5cff; animation: spin 1.5s linear infinite reverse; }
.loader-ring span:nth-child(3) { inset: 20px; border-bottom-color: #ff5ce0; animation: spin 1.9s linear infinite; }
.loader-core { position: absolute; inset: 33px; border-radius: 50%; background: radial-gradient(circle, #ffe08a, #ffce3d); box-shadow: 0 0 18px #ffce3d, 0 0 36px rgba(255,206,61,.6); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(.8); opacity: .8; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.loader-title { font-size: 17px; font-weight: 700; letter-spacing: 2px; background: linear-gradient(90deg, #6ee7ff, #ffce3d); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; animation: titleGlow 2s ease-in-out infinite; }
@keyframes titleGlow { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
.loader-bar { width: 180px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.15); overflow: hidden; margin-bottom: 10px; }
.loader-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #6ee7ff, #9b5cff, #ff5ce0); transition: width .3s ease; }
.loader-tip { font-size: 13px; color: rgba(255,255,255,.65); letter-spacing: 1px; }
.loader-tip em { font-style: normal; color: #ffce3d; }

/* 顶部滚动进度条 */
.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 40; background: linear-gradient(90deg, #6ee7ff, #9b5cff, #ff5ce0); box-shadow: 0 0 8px rgba(155,92,255,.8); transition: width .1s linear; }

/* 滑动容器：按真实比例完整展示，不裁切 */
.pager { height: 100%; width: 100%; max-width: 100%; overflow-y: scroll; overflow-x: hidden; scroll-snap-type: y proximity; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; overscroll-behavior-x: none; }
.pager.lock { overflow: hidden; }
.pager::-webkit-scrollbar { display: none; }
.page { scroll-snap-align: start; display: block; position: relative; width: 100%; max-width: 100%; overflow: hidden; }
.page img { width: 100%; max-width: 100%; height: auto; display: block; }

/* 进场特效：淡入 + 上浮 + 放大 + 轻微模糊聚焦 */
.page { opacity: 0; transform: translateY(48px) scale(.97); filter: blur(6px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1), filter .8s ease; will-change: opacity, transform; }
.page.in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
/* 图片本身再做一层轻微缩放，增强层次（视差感）*/
.page img { transition: transform 1.1s cubic-bezier(.22,.61,.36,1); transform: scale(1.06); }
.page.in img { transform: scale(1); }
/* 第六屏报名页不做图片缩放，避免影响表单对齐 */
.page-form img, .page-form.in img { transform: none !important; transition: none; }

/* 右侧进度圆点 */
.dots { position: fixed; right: 12px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 9px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .3s; }
.dots i.active { background: #9b5cff; box-shadow: 0 0 8px #9b5cff; transform: scale(1.4); }

/* 漂浮光点粒子层（覆盖在图片上方，纯装饰，不挡点击） */
.fx-canvas { position: fixed; inset: 0; z-index: 15; pointer-events: none; mix-blend-mode: screen; }

/* ===== 地址导航热区 ===== */
.page-cover, .page-venue { position: relative; }
.nav-hot { position: absolute; border: 0; background: transparent; padding: 0; cursor: pointer; z-index: 16; border-radius: 8px; -webkit-tap-highlight-color: transparent; }
.nav-hot:active { background: rgba(110,231,255,.18); }
/* 封面：活动地址文字处 */
.page-cover .nav-hot { left: 50%; width: 39%; top: 63%; height: 10%; }
/* 第七屏：活动地址区域 */
.page-venue .nav-hot { left: 16%; width: 68%; top: 14%; height: 71%; }
/* 轻微呼吸提示，告诉用户可点 */
.nav-hot::after { content: "点击导航"; position: absolute; right: 0; bottom: 100%; font-size: 11px; color: #fff; background: rgba(123,47,247,.85); padding: 2px 8px; border-radius: 10px; white-space: nowrap; opacity: 0; transform: translateY(6px); animation: navHint 3s ease-in-out infinite; pointer-events: none; }
@keyframes navHint { 0%,100% { opacity: 0; transform: translateY(6px); } 30%,60% { opacity: 1; transform: translateY(0); } }

/* 导航选择弹层 */
.nav-sheet { position: fixed; inset: 0; z-index: 150; display: none; }
.nav-sheet.show { display: block; }
.nav-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.nav-card { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; animation: slideUp .3s ease; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.nav-venue { text-align: center; padding: 6px 4px 10px; border-bottom: 1px solid #eee; }
.nav-venue strong { display: block; font-size: 16px; color: #222; margin-bottom: 4px; }
.nav-venue span { font-size: 13px; color: #888; }
.nav-app { height: 50px; border: 0; border-radius: 12px; font-size: 16px; color: #fff; background: linear-gradient(135deg, #9b5cff, #7b2ff7); }
.nav-app:active { opacity: .85; }
.nav-copy { background: #f0ecff; color: #7b2ff7; }
.nav-cancel { height: 50px; border: 0; border-radius: 12px; font-size: 16px; background: #f4f4f4; color: #666; margin-top: 2px; }

/* ===== 第六屏：报名页，坐标按新版 1224 × 2177 设计稿计算 ===== */
.page-form { position: relative; }
.page-form > img { width: 100%; height: auto; display: block; }
.form-hot { position: absolute; inset: 0; }
.form-hot .hot {
  position: absolute;
  margin: 0;
  border: 0;
  background: #fff;
  color: #5b34c4;
  font-size: 3.1vw;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0 2.4vw;
  border-radius: 1.8vw;
  line-height: 1.4;
}
.form-hot .hot::placeholder { color: #a99bc9; font-weight: 400; }
.form-hot .hot:focus { box-shadow: 0 0 0 2px rgba(123,47,247,.35); }
.form-hot select.hot { padding-right: 7vw; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b2ff7' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2.4vw center; }
.form-hot select.hot option { color: #333; }
.form-hot textarea.hot { padding: 1.5vw 2.4vw; resize: none; font-weight: 400; }
.form-hot button.hot { background: transparent; border-radius: 8vw; cursor: pointer; }
.form-hot button.hot:active { background: rgba(123,47,247,.15); }
.form-hot button.hot:disabled { cursor: wait; background: rgba(255,255,255,.3); }

.form-hot [data-box="name"]          { left:30%; width:51.3%; top:14.35%; height:4.05%; }
.form-hot [data-box="org"]           { left:36.2%; width:45.1%; top:20.7%; height:4.1%; }
.form-hot [data-box="role"]          { left:18.7%; width:62.7%; top:29.35%; height:4.2%; }
.form-hot [data-box="district"]      { left:18.7%; width:62.7%; top:39.5%; height:4.1%; }
.form-hot [data-box="districtOther"] { left:18.7%; width:62.7%; top:46%; height:4.1%; }
.form-hot [data-box="industry"]      { left:18.7%; width:62.7%; top:54.85%; height:4.1%; }
.form-hot [data-box="advice"]        { left:18.7%; width:62.7%; top:68.2%; height:4.1%; }
.form-hot [data-box="submit"]        { left:36.1%; width:28%; top:91.1%; height:4.5%; }

/* 停车信息与提交按钮放在同一张报名页。 */
.drive-box { position: absolute; left: 19%; right: 19%; top: 79%; display: flex; flex-direction: column; gap: 1.6vw; padding: 1.6vw; border-radius: 2vw; background: rgba(255,255,255,.94); z-index: 16; }
.drive-row { display: flex; align-items: center; gap: 2.2vw; }
.drive-row > span { flex: 0 0 auto; font-size: 3vw; font-weight: 700; color: #5b34c4; white-space: nowrap; }
.drive-field { flex: 1 1 auto; min-width: 0; height: 7vw; border: 1px solid rgba(123,47,247,.5); border-radius: 1.8vw; background: #fff; color: #5b34c4; font-size: 3vw; font-weight: 600; padding: 0 3vw; -webkit-appearance: none; appearance: none; outline: none; font-family: inherit; }
.drive-field::placeholder { color: #a99bc9; font-weight: 400; }
select.drive-field { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237b2ff7' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 3vw center; padding-right: 8vw; }
.drive-field:focus { border-color: #7b2ff7; }

/* 调试模式：给 body 加 class="debug-boxes" 即可看到红框，方便对位 */
.debug-boxes .form-hot .hot { outline: 1px solid red; background: rgba(255,0,0,.12); }

/* 上滑提示 */
.scroll-hint { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 20; text-align: center; color: rgba(255,255,255,.85); animation: floatY 1.6s ease-in-out infinite; transition: opacity .4s; }
.scroll-hint.hide { opacity: 0; pointer-events: none; }
.scroll-hint .arrow { display: block; width: 14px; height: 14px; margin: 0 auto 4px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-135deg); }
.scroll-hint small { font-size: 12px; }
@keyframes floatY { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* 音乐按钮 */
.music-btn { position: fixed; top: 16px; right: 16px; z-index: 30; width: 38px; height: 38px; border: none; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.music-btn.playing svg { animation: spin 3s linear infinite; }

/* 轻提示 */
.toast { position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 200; background: rgba(0,0,0,.8); color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .3s; max-width: 80%; text-align: center; }
.toast.show { opacity: 1; }
