:root {
  --orange: #ff6537;
  --orange-deep: #e8552b;
  --ink: #333333;
  --muted: #999999;
  --bg: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-gutter: stable; overflow-y: scroll; overflow-anchor: none; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "思源黑体 CN", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== 顶栏 ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 40px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  border-bottom: 1px solid #efefef;
}
.topbar nav { display: flex; align-items: center; gap: 42px; }
.topbar nav a {
  color: var(--ink); text-decoration: none; font-size: 15px;
  letter-spacing: 1px; opacity: .85;
  padding: 6px 14px;
  border-radius: 20px;
  transition: opacity .2s, background .2s, color .2s;
}
.topbar nav a:hover { opacity: 1; }
.topbar nav a:first-child { font-weight: 700; }
.topbar nav a:last-child { color: #682090; font-weight: 700; }
.topbar nav a.active {
  opacity: 1;
  background: #682090;
  color: #fff;
  font-weight: 700;
}

/* ===== 轮播大图 ===== */
.banner {
  position: relative;
  width: 100%;
  height: calc(100vh - 66px);
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
  background: #000;
}
.banner .slide {
  position: absolute; inset: 0;
  transform: translateX(100%);
  transition: transform .65s cubic-bezier(.45, 0, .15, 1);
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px;
  overflow: hidden;
}
.banner .slide.active { transform: translateX(0); z-index: 2; }
.banner .slide .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.banner .slide::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.28);
}
.banner .slide .txt {
  position: relative; z-index: 3;
  text-align: center;
  color: #fff;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 4px;
  font-size: clamp(30px, 5vw, 60px);
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
  transform: translateY(-40px);
}
.banner .slide .txt .main { display: block; white-space: nowrap; }
.banner .slide .txt .sub { display: block; font-size: clamp(20px, 2.8vw, 34px); margin-top: 42px; letter-spacing: 6px; font-weight: 600; white-space: nowrap; }
.banner .dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 5; display: flex; gap: 10px;
}
.banner .dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s;
}
.banner .dots span.active { background: #fff; width: 28px; border-radius: 6px; }
.banner .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 4px;
  transition: background .2s;
}
.banner .arrow:hover { background: rgba(0,0,0,.45); }
.banner .arrow.prev { left: 22px; }
.banner .arrow.next { right: 22px; }

/* ===== 占位页（静待开放） ===== */
.coming {
  position: relative;
  flex: 1;
  min-height: calc(100vh - 66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  overflow: hidden;
}
.coming::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('b1.png');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(2.0);
  opacity: 0.25;
}
.coming .big {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--muted);
  text-indent: 6px;
}
.coming .line {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 3px;
  background: #e0e0e0;
  border-radius: 2px;
  margin: 26px auto;
}
.coming .hint { font-size: 14px; letter-spacing: 3px; color: var(--muted); }

/* ===== 页脚 ===== */
footer {
  text-align: center;
  padding: 22px 20px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
  background: #f6f6f6;
}
footer .icp { margin-bottom: 8px; }
footer .icp a { color: var(--muted); text-decoration: none; }
footer .icp a:hover { color: var(--ink); }
footer .icp .sep { color: #ccc; margin: 0 12px; }

@media (max-width: 720px) {
  .topbar { padding: 0; justify-content: flex-start; }
  .topbar nav {
    gap: 0;
    flex-wrap: nowrap;
    padding: 10px 10px;
    width: 100%;
    justify-content: space-between;
  }
  .topbar nav a {
    font-size: 12px;
    letter-spacing: 0;
    white-space: nowrap;
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 14px;
  }
  .banner { height: 58vh; min-height: 300px; }
  .banner .slide { padding: 0 22px; }
  .coming .big { font-size: 14px; letter-spacing: 4px; text-indent: 4px; }
}

@media (max-width: 480px) {
  .banner .slide .txt .main { font-size: 18px; letter-spacing: 1px; }
  .banner .slide .txt .sub { font-size: 14px; letter-spacing: 2px; }
}

/* ===== 登录/注册页 & 会员专区 ===== */
.auth { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 24px; }
.auth-card { width: 100%; max-width: 400px; background: #fff; border: 1px solid #efefef; border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.06); padding: 32px 28px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.auth-tab { flex: 1; padding: 10px 0; border: none; background: #f4f4f4; color: var(--ink); font-size: 15px; cursor: pointer; border-radius: 8px; }
.auth-tab.active { background: #682090; color: #fff; font-weight: 700; }
.auth-switch { display: flex; gap: 8px; margin-bottom: 18px; }
.auth-sub { flex: 1; padding: 8px 0; border: none; background: transparent; color: var(--muted); font-size: 14px; cursor: pointer; border-bottom: 2px solid transparent; }
.auth-sub.active { color: #682090; font-weight: 700; border-bottom-color: #682090; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form input[type=email], .auth-form input[type=password], .auth-form input[type=text] { padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 15px; outline: none; }
.auth-form input:focus { border-color: #682090; }
.auth-code-row { display: flex; gap: 10px; }
.auth-code-row input { flex: 1; }
.auth-code-btn { white-space: nowrap; padding: 0 14px; border: 1px solid #682090; background: #fff; color: #682090; border-radius: 8px; cursor: pointer; font-size: 13px; }
.auth-code-btn:disabled { color: #bbb; border-color: #ddd; cursor: not-allowed; }
.auth-remember { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.auth-btn { display: block; width: 100%; padding: 13px; border: none; border-radius: 8px; background: #682090; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: 4px; cursor: pointer; text-align: center; text-decoration: none; }
.auth-btn:hover { background: #571d7d; }
.auth-btn.ghost { background: #f4f4f4; color: var(--ink); font-weight: 400; letter-spacing: 0; }
.auth-msg { min-height: 20px; margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.auth-msg.err { color: #e8552b; }
.auth-msg.ok { color: #2e9e5b; }
.auth-authed { text-align: center; font-size: 16px; margin-bottom: 18px; }
.auth-authed-actions { display: flex; gap: 10px; }

.vip { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.vip .big { font-size: 16px; letter-spacing: 6px; color: var(--muted); }
.vip .line { width: 44px; height: 3px; background: #e0e0e0; border-radius: 2px; margin: 26px auto; }
.vip-unlocked { width: 100%; max-width: 640px; }
.vip-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.vip-head span { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: 2px; }
.vip-head .auth-btn { width: auto; padding: 8px 18px; font-size: 14px; }
.vip-locked .auth-btn { width: auto; padding: 12px 32px; display: inline-block; }
