/* ============================================
   福州优魅网 - 共享样式表
   暗调高级感 · 按摩SPA情调
   ============================================ */

/* ---------- 设计变量 ---------- */
:root {
  /* 背景色阶 - 深墨绿系 */
  --bg-deep: #0a1410;
  --bg-surface: #101b16;
  --bg-elevated: #16241d;
  --bg-card: #1a2a22;
  --bg-overlay: rgba(10, 20, 16, 0.85);

  /* 文字色阶 */
  --text-primary: #f0e8d8;
  --text-secondary: #b8b0a0;
  --text-muted: #7a7568;
  --text-faint: #4a4640;

  /* 强调色 */
  --gold: #c9a961;
  --gold-bright: #e0c478;
  --gold-dim: rgba(201, 169, 97, 0.5);
  --rose: #b76e79;
  --warm: #d97757;

  /* 边框与分割 */
  --border: rgba(201, 169, 97, 0.18);
  --border-soft: rgba(240, 232, 216, 0.08);
  --divider: rgba(240, 232, 216, 0.06);

  /* 阴影 */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 32px rgba(201, 169, 97, 0.15);

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* 过渡 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition: 0.4s var(--ease);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 背景氛围层 */
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(201, 169, 97, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(183, 110, 121, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, #0d1813 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-bright);
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
}

.section-title .accent {
  color: var(--gold);
}

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b89548 100%);
  color: #1a1410;
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(201, 169, 97, 0.25);
  color: #1a1410;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-soft);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 20, 16, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 20, 16, 0.92);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.nav-logo:hover {
  color: var(--gold-bright);
}

.nav-logo svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--gold);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
  margin: 0 auto;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* 移动端遮罩 */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.show {
  display: block;
  opacity: 1;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    right: 0;
    width: 75%;
    max-width: 320px;
    height: calc(100vh - 64px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    padding: 1.5rem 1.75rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--divider);
  }

  .nav-menu a {
    display: block;
    padding: 1.1rem 0.25rem;
    font-size: 1.05rem;
    color: var(--text-primary);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--gold);
  }
}

/* ---------- Hero 区 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1.25rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201, 169, 97, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(183, 110, 121, 0.08) 0%, transparent 55%),
    linear-gradient(160deg, #0a1410 0%, #0d1f17 40%, #0a1410 100%);
}

/* 装饰性光斑 */
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-bg::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.3), transparent 70%);
  top: 10%;
  left: 5%;
  animation: float 12s ease-in-out infinite;
}

.hero-bg::after {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(183, 110, 121, 0.2), transparent 70%);
  bottom: 10%;
  right: 5%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-full);
  background: rgba(201, 169, 97, 0.05);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-subtitle .dot {
  color: var(--gold);
  margin: 0 0.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  z-index: 1;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ---------- 核心价值区 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- 榜单 / 避坑 / 体验 通用卡片 ---------- */
.list-wrapper {
  position: relative;
}

.rank-item,
.pitfall-item,
.review-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.rank-item:hover,
.pitfall-item:hover,
.review-item:hover {
  border-color: var(--border);
  background: var(--bg-card);
}

/* 榜单条目 */
.rank-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 97, 0.05);
}

.rank-item.top-1 .rank-number,
.rank-item.top-2 .rank-number {
  background: linear-gradient(135deg, var(--gold) 0%, #b89548 100%);
  color: #1a1410;
  border-color: var(--gold);
}

.rank-body {
  flex: 1;
  min-width: 0;
}

.rank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.rank-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 600;
}

.rank-score {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.rank-score .small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.rank-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 97, 0.08);
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  letter-spacing: 0.05em;
}

.tag.tag-warn {
  background: rgba(217, 119, 87, 0.1);
  color: var(--warm);
  border-color: rgba(217, 119, 87, 0.4);
}

.tag.tag-rose {
  background: rgba(183, 110, 121, 0.1);
  color: var(--rose);
  border-color: rgba(183, 110, 121, 0.4);
}

/* 避坑条目 */
.pitfall-item {
  align-items: flex-start;
}

.pitfall-body {
  flex: 1;
  min-width: 0;
}

.pitfall-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.pitfall-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.pitfall-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.pitfall-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 体验分享卡片 */
.review-item {
  flex-direction: column;
  gap: 0.85rem;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.review-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.review-score {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1rem;
}

/* ---------- 模糊遮罩区 ---------- */
.blur-section {
  position: relative;
}

.blur-section .blur-content {
  transition: filter 0.6s var(--ease);
}

.blur-section.locked .blur-content {
  filter: blur(6px);
  -webkit-filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.blur-section.locked .blur-content a,
.blur-section.locked .blur-content button {
  pointer-events: none;
}

.lock-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(10, 20, 16, 0.4) 0%, rgba(10, 20, 16, 0.85) 50%, rgba(10, 20, 16, 0.95) 100%);
  border-radius: var(--radius-md);
}

.blur-section.locked .lock-overlay {
  display: flex;
}

.lock-card {
  text-align: center;
  max-width: 360px;
}

.lock-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
}

.lock-icon svg {
  width: 26px;
  height: 26px;
}

.lock-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.lock-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ---------- 互动授权区 ---------- */
.interaction-block {
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.interaction-block::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.interaction-block > * {
  position: relative;
  z-index: 1;
}

.interaction-block h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 1rem;
}

.interaction-block .lead {
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
  line-height: 1.8;
}

.interaction-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: left;
}

.interaction-point {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.interaction-point .dot {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.interaction-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 联系区 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
  border-radius: 50%;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2rem;
  line-height: 1.7;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-surface);
  padding: 3rem 0 2rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold);
}

/* ---------- 登录/注册弹窗 ---------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 8, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s var(--ease);
}

.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: calc(100vh - 2rem);
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  animation: slideUp 0.4s var(--ease);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 1.75rem 1.75rem 0.5rem;
  text-align: center;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition);
  font-size: 1.4rem;
  line-height: 1;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.modal-body {
  padding: 1.25rem 1.75rem 1.75rem;
}

/* 表单 */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.form-input::placeholder {
  color: var(--text-faint);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold-dim);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-input.error {
  border-color: var(--warm);
}

.form-row {
  display: flex;
  gap: 0.6rem;
}

.form-row .form-input {
  flex: 1;
}

.code-btn {
  flex-shrink: 0;
  padding: 0 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-size: 0.82rem;
  white-space: nowrap;
  transition: all var(--transition);
  min-width: 110px;
}

.code-btn:hover:not(:disabled) {
  background: rgba(201, 169, 97, 0.08);
  border-color: var(--gold);
}

.code-btn:disabled {
  color: var(--text-muted);
  border-color: var(--border-soft);
  cursor: not-allowed;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: var(--warm);
  margin-top: 0.4rem;
}

.form-error.show {
  display: block;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  line-height: 1.5;
}

.form-message {
  display: none;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.form-message.show {
  display: block;
}

.form-message.info {
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid var(--gold-dim);
  color: var(--gold);
}

.modal-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--divider);
  margin-top: 1.25rem;
}

.modal-footer a {
  font-size: 0.85rem;
}

.modal-footer .footer-links-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 独立页面（login/register/member）通用 ---------- */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem 4rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.auth-card .modal-title {
  text-align: center;
}

.auth-card .modal-subtitle {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-card .modal-footer {
  margin-top: 1.5rem;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  transition: color var(--transition);
}

.back-home:hover {
  color: var(--gold);
}

/* member 页面 */
.member-hub {
  text-align: center;
  max-width: 560px;
}

.member-hub .hub-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.member-hub h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.member-hub .hub-sub {
  font-family: var(--font-serif);
  color: var(--text-muted);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.member-hub .hub-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}

.member-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* member-access 页面 */
.access-section {
  max-width: 760px;
  margin: 0 auto;
}

.access-section h2 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-soft);
}

.access-section h2:first-child {
  margin-top: 0;
}

.access-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.access-section ul {
  list-style: none;
  margin: 1rem 0;
}

.access-section li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.access-section li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.access-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.access-type {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.access-type:hover {
  border-color: var(--border);
  color: var(--text-primary);
}

.access-type .type-icon {
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* ---------- 淡入动画 ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 响应式微调 ---------- */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .hero {
    min-height: 90vh;
  }

  .rank-item,
  .pitfall-item,
  .review-item {
    padding: 1.25rem;
    flex-direction: column;
  }

  .rank-item {
    flex-direction: row;
  }

  .interaction-block {
    padding: 2.5rem 1.5rem;
  }

  .auth-card {
    padding: 2rem 1.5rem;
  }

  .lock-overlay {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .rank-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .interaction-actions {
    flex-direction: column;
    width: 100%;
  }

  .interaction-actions .btn {
    width: 100%;
  }

  .member-actions {
    flex-direction: column;
    width: 100%;
  }

  .member-actions .btn {
    width: 100%;
  }
}

/* ---------- 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Hero 描述文案 ---------- */
.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-align: center;
}

/* ---------- APP 下载区 ---------- */
.app-download-block {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.app-download-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.app-download-text .section-title {
  text-align: left;
  margin-bottom: 0.8rem;
}

.app-download-text .section-subtitle {
  text-align: left;
  margin-bottom: 1rem;
}

.app-download-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.app-qr-area {
  flex-shrink: 0;
}

.app-qr-box {
  text-align: center;
}

.app-qr-placeholder {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.app-qr-label {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .app-download-block {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .app-download-text .section-title,
  .app-download-text .section-subtitle {
    text-align: center;
  }
}

/* ---------- 旧页面通用文章样式 ---------- */
.article-page .auth-card {
  max-width: 760px;
}

.article-page h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.article-page .article-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article-page h2 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-page p {
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.article-page a {
  color: var(--gold);
}

/* ---------- 投稿表单 textarea ---------- */
.form-input[type="textarea"],
textarea.form-input {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-sans);
}

/* ---------- select 样式 ---------- */
select.form-input {
  appearance: none;
  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='%23c9a961' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ---------- 视觉体验区 · 视频 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.video-placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  cursor: pointer;
  transition: all var(--transition);
}

.video-placeholder:hover {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201, 169, 97, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

.video-play-icon {
  width: 56px;
  height: 56px;
  transition: transform var(--transition);
}

.video-placeholder:hover .video-play-icon {
  transform: scale(1.1);
}

.video-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
}

/* ---------- 视觉体验区 · 图片 ---------- */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.image-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.image-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 169, 97, 0.05) 0%, transparent 70%),
    linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  transition: all var(--transition);
}

.image-placeholder:hover {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 169, 97, 0.1) 0%, transparent 70%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
}

.image-placeholder span {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 投稿引导卡片 ---------- */
.submit-guide-card {
  text-align: center;
}

.submit-guide-card h1 {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.submit-guide-card .modal-subtitle {
  margin-bottom: 2rem;
}

.submit-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--divider);
  text-align: left;
}

.submit-section h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.submit-section p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.submit-email-box {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-md);
  margin: 0.5rem 0;
}

.submit-email-box svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  flex-shrink: 0;
}

.submit-email-value {
  font-size: 1.1rem;
  color: var(--gold-bright);
  font-family: var(--font-serif);
  letter-spacing: 0.03em;
  word-break: break-all;
}

.submit-member-section {
  background: rgba(201, 169, 97, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

/* ---------- 顶部横幅广告 ---------- */
.ad-banner-top {
  padding: 0.6rem 1rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--divider);
}

.ad-banner-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.ad-banner-slot {
  flex: 1;
  max-width: 728px;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.ad-banner-placeholder {
  aspect-ratio: 728 / 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background:
    linear-gradient(135deg, rgba(201,169,97,0.06) 0%, rgba(183,110,121,0.04) 100%),
    var(--bg-elevated);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.ad-banner-placeholder:hover {
  border-color: var(--gold-dim);
  background:
    linear-gradient(135deg, rgba(201,169,97,0.1) 0%, rgba(183,110,121,0.06) 100%),
    var(--bg-card);
}

.ad-banner-tag {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(0,0,0,0.3);
  padding: 1px 6px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.ad-banner-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* 移动端：第二广告位隐藏（在核心价值区后单独显示） */
.ad-banner-mobile-hide {
  display: flex;
}

/* 中部广告位（移动端显示第二张） */
.ad-banner-mid {
  display: none;
  padding: 0 1rem 1rem;
}

.ad-banner-mid .ad-banner-slot {
  max-width: 100%;
}

@media (max-width: 768px) {
  .ad-banner-grid {
    flex-direction: column;
    gap: 0.5rem;
  }

  .ad-banner-mobile-hide {
    display: none;
  }

  .ad-banner-mid {
    display: block;
  }

  .ad-banner-placeholder {
    aspect-ratio: 320 / 50;
  }

  .ad-banner-text {
    font-size: 0.75rem;
  }
}

/* ---------- 技师展示区 ---------- */
.therapist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.therapist-card {
  background: linear-gradient(160deg, var(--bg-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.therapist-card:hover {
  border-color: var(--gold-dim);
  box-shadow: var(--shadow-md);
}

.therapist-video-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  overflow: hidden;
}

.therapist-cover-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(201,169,97,0.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  transition: all var(--transition);
}

.therapist-video-cover:hover .therapist-cover-placeholder {
  background:
    radial-gradient(ellipse at 40% 40%, rgba(201,169,97,0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
}

.therapist-play-icon {
  width: 56px;
  height: 56px;
  transition: transform var(--transition);
}

.therapist-video-cover:hover .therapist-play-icon {
  transform: scale(1.12);
}

.therapist-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-size: 0.72rem;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 2;
}

.therapist-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.therapist-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.therapist-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--text-primary);
}

.therapist-score {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1rem;
}

.therapist-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

@media (max-width: 768px) {
  .therapist-grid {
    grid-template-columns: 1fr;
  }
}
