/* =========================================================
   电机社 · 全站设计系统
   风格：现代 · 可爱大气 · 专业（西瓜红 × 蜜瓜绿 × 奶油底）
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand: #ff4d6d;
  --brand-deep: #d6336c;
  --brand-2: #ff9e5e;
  --melon: #2ec4a6;
  --melon-deep: #1ba98d;
  --sun: #ffc53d;
  --grape: #7c5cff;

  --ink: #241e2f;
  --ink-2: #4a4358;
  --muted: #7d7490;
  --line: #f0e4e0;
  --bg: #fff9f4;
  --bg-soft: #fdf1ea;
  --card: #ffffff;

  --grad-brand: linear-gradient(135deg, #ff4d6d 0%, #ff9e5e 100%);
  --grad-melon: linear-gradient(135deg, #2ec4a6 0%, #6bd9c3 100%);
  --grad-soft: linear-gradient(180deg, #fff9f4 0%, #fdf1ea 100%);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 999px;

  --sh-sm: 0 2px 8px rgba(214, 51, 108, 0.08);
  --sh-md: 0 8px 24px rgba(214, 51, 108, 0.12);
  --sh-lg: 0 16px 48px rgba(214, 51, 108, 0.16);
  --sh-brand: 0 10px 28px rgba(255, 77, 109, 0.35);
  --sh-melon: 0 10px 28px rgba(46, 196, 166, 0.3);

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-md: 1rem;
  --fs-lg: clamp(1.06rem, 0.98rem + 0.4vw, 1.2rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.25rem + 1.2vw, 2rem);
  --fs-hero: clamp(2.1rem, 1.4rem + 3.4vw, 3.6rem);

  --container: 1180px;
  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: "Outfit", "Noto Sans SC", -apple-system, "PingFang SC",
    "Microsoft YaHei", "Segoe UI", sans-serif;
}

/* ---------- 2. 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--brand-deep);
  text-decoration: none;
}
a:hover {
  color: var(--brand);
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid rgba(255, 77, 109, 0.45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- 3. 布局工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: clamp(56px, 4vw + 32px, 96px) 0;
}
.section-soft {
  background: var(--grad-soft);
}
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
/* 主侧栏：媒体查询中降为单列，切勿用内联 grid-template-columns */
.grid-side {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 32px;
  align-items: start;
}
.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brand-deep);
  background: rgba(255, 77, 109, 0.09);
  border: 1px solid rgba(255, 77, 109, 0.18);
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 14px;
}
.muted {
  color: var(--muted);
}
.tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--bg-soft);
  color: var(--brand-deep);
}
.tag-melon {
  background: rgba(46, 196, 166, 0.12);
  color: var(--melon-deep);
}
.tag-sun {
  background: rgba(255, 197, 61, 0.18);
  color: #a6791a;
}
.tag-grape {
  background: rgba(124, 92, 255, 0.12);
  color: var(--grape);
}

/* ---------- 4. 文字标题组件 ---------- */
h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  color: var(--ink);
  font-weight: 800;
}
h2 {
  font-size: var(--fs-2xl);
}
h3 {
  font-size: var(--fs-xl);
}
h4 {
  font-size: var(--fs-lg);
}
.section-head h2 {
  margin-bottom: 10px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}
p {
  margin: 0 0 1em;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-full);
  border: 0;
  font-weight: 700;
  font-size: var(--fs-md);
  line-height: 1.4;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 34px rgba(255, 77, 109, 0.45);
}
.btn-melon {
  background: var(--grad-melon);
  color: #fff;
  box-shadow: var(--sh-melon);
}
.btn-melon:hover {
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: var(--sh-md);
}
.btn-light:hover {
  color: var(--brand);
}
.btn-sm {
  padding: 8px 18px;
  font-size: var(--fs-sm);
}
.btn-lg {
  padding: 15px 34px;
  font-size: var(--fs-lg);
}
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 6. 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 249, 244, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(214, 51, 108, 0.08);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand:hover {
  color: var(--brand);
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-brand);
  flex: none;
}
.brand-mark svg {
  width: 22px;
  height: 22px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 9px 16px;
  border-radius: var(--r-full);
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s;
}
.nav-links a:hover {
  background: rgba(255, 77, 109, 0.09);
  color: var(--brand-deep);
}
.nav-links a.is-active {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--sh-brand);
}
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 77, 109, 0.1);
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand-deep);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(36, 30, 47, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- 7. 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.card-pad {
  padding: 26px;
}
.card-link {
  color: inherit;
  display: block;
  height: 100%;
}
.card-link:hover h3 {
  color: var(--brand);
}

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 6vw, 96px);
}
.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 94, 0.22), transparent 65%);
  top: -160px;
  right: -120px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 166, 0.18), transparent 65%);
  bottom: -180px;
  left: -140px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.18;
  margin-bottom: 18px;
}
.hero h1 .hl {
  position: relative;
  z-index: 0;
  white-space: nowrap;
  color: var(--brand-deep);
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 4px;
  height: 0.34em;
  background: rgba(255, 197, 61, 0.55);
  border-radius: 6px;
  z-index: -1;
}
.hero-sub {
  font-size: var(--fs-lg);
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 34em;
}
.hero-visual {
  position: relative;
  justify-self: center;
}
.hero-visual > img {
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg);
}
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-sm);
}
.float-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}
.float-card strong {
  font-size: var(--fs-lg);
  color: var(--brand-deep);
}
.float-live {
  top: 22px;
  left: -26px;
}
.float-heat {
  bottom: 30px;
  right: -22px;
  transform: scale(0.94);
  transform-origin: right bottom;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
}
.hero-stats strong {
  display: block;
  font-size: var(--fs-xl);
  color: var(--brand-deep);
  line-height: 1.2;
}
.hero-stats span {
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- 9. 跑马灯 ---------- */
.marquee {
  overflow: hidden;
  background: var(--ink);
  padding: 13px 0;
  border-radius: 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.marquee-track span::before {
  content: "🍉";
  font-size: 0.9em;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 10. 视频卡 ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
}
.video-card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.video-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.video-card:hover .thumb img {
  transform: scale(1.06);
}
.thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(36, 30, 47, 0.55));
}
.video-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--grad-brand);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
}
.video-card .duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(36, 30, 47, 0.75);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 8px;
}
.video-card .play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) scale(0.85);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.video-card:hover .play,
.video-card:focus-within .play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.video-meta {
  padding: 16px 18px 20px;
}
.video-meta h3 {
  font-size: var(--fs-md);
  margin-bottom: 8px;
  line-height: 1.45;
}
.video-meta .row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--muted);
}

/* ---------- 11. 榜单 ---------- */
.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 8px 20px;
  border-radius: var(--r-full);
  transition: all 0.25s var(--ease);
}
.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.rank-list {
  display: grid;
  gap: 14px;
  counter-reset: rank;
}
.rank-item {
  display: grid;
  grid-template-columns: auto 96px 1fr auto;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px 20px 14px 14px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s;
}
.rank-item:hover {
  transform: translateX(6px);
  box-shadow: var(--sh-md);
  border-color: rgba(255, 77, 109, 0.35);
}
.rank-num {
  counter-increment: rank;
  width: 46px;
  text-align: center;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--muted);
}
.rank-num::before {
  content: counter(rank);
}
.rank-item:nth-child(1) .rank-num {
  color: #e8a100;
}
.rank-item:nth-child(2) .rank-num {
  color: #98a2b3;
}
.rank-item:nth-child(3) .rank-num {
  color: #c47b4a;
}
.rank-item:nth-child(-n + 3) .rank-num::after {
  content: " 🔥";
  font-size: 0.85rem;
}
.rank-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--r-md);
}
.rank-body h3 {
  font-size: var(--fs-md);
  margin-bottom: 6px;
}
.rank-body .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: var(--fs-sm);
  color: var(--muted);
  align-items: center;
}
.rank-heat {
  text-align: right;
  flex: none;
}
.rank-heat strong {
  display: block;
  font-size: var(--fs-lg);
  color: var(--brand-deep);
  line-height: 1.2;
}
.rank-heat span {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.rank-item.is-hidden {
  display: none;
}
.heat-bar {
  height: 7px;
  border-radius: var(--r-full);
  background: var(--bg-soft);
  overflow: hidden;
  max-width: 260px;
  margin-top: 8px;
}
.heat-bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-full);
  background: var(--grad-brand);
}

/* ---------- 12. 话题/文章列表 ---------- */
.post-list {
  display: grid;
  gap: 22px;
}
.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}
.post-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 170px;
}
.post-body {
  padding: 22px 26px;
}
.post-body h3 {
  font-size: var(--fs-lg);
}
.post-body .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 12px;
}
.post-card.featured {
  grid-template-columns: 1fr;
}
.post-card.featured img {
  aspect-ratio: 16 / 7;
  min-height: 0;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: var(--sh-sm);
}
.side-card h3 {
  font-size: var(--fs-md);
  margin-bottom: 14px;
}
.mini-rank li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-sm);
}
.mini-rank li:last-child {
  border-bottom: 0;
}
.mini-rank .no {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: var(--fs-xs);
  display: grid;
  place-items: center;
  flex: none;
}
.mini-rank li:first-child .no {
  background: var(--grad-brand);
  color: #fff;
}

/* ---------- 13. 数据/特性 ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: 30px 18px;
  box-shadow: var(--sh-sm);
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.6rem);
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}
.stat span {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.feature {
  display: flex;
  gap: 16px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  flex: none;
}
.feature h3 {
  font-size: var(--fs-md);
  margin-bottom: 6px;
}
.feature p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.bg-brand {
  background: rgba(255, 77, 109, 0.12);
}
.bg-melon {
  background: rgba(46, 196, 166, 0.14);
}
.bg-sun {
  background: rgba(255, 197, 61, 0.2);
}
.bg-grape {
  background: rgba(124, 92, 255, 0.13);
}

/* ---------- 14. 评价 ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-sm);
  position: relative;
}
.quote-card::before {
  content: "”";
  position: absolute;
  top: 6px;
  right: 22px;
  font-size: 4.4rem;
  line-height: 1;
  font-weight: 800;
  color: rgba(255, 77, 109, 0.14);
}
.quote-card p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
  margin-bottom: 18px;
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-who img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 77, 109, 0.25);
}
.quote-who strong {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.3;
}
.quote-who span {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.stars {
  color: var(--sun);
  letter-spacing: 2px;
  font-size: var(--fs-sm);
  margin-bottom: 10px;
}

/* ---------- 15. CTA / 下载 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ff4d6d 0%, #d6336c 55%, #7c5cff 120%);
  border-radius: var(--r-2xl);
  padding: clamp(36px, 4vw, 64px);
  color: #fff;
  box-shadow: var(--sh-lg);
}
.cta-band h2,
.cta-band h3,
.cta-band h4 {
  color: #fff;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
}
.cta-band .btn-light {
  color: var(--brand-deep);
}
.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.cta-band .btn-ghost:hover {
  background: #fff;
  color: var(--brand-deep);
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: 10px 22px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.store-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: var(--sh-md);
}
.store-btn .ic {
  font-size: 1.6rem;
  line-height: 1;
}
.store-btn small {
  display: block;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.2;
}
.store-btn strong {
  font-size: var(--fs-md);
  line-height: 1.3;
}
.qr-box {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px;
  box-shadow: var(--sh-md);
  text-align: center;
  color: var(--ink-2);
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* ---------- 16. FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: 0;
  text-align: left;
  padding: 20px 24px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--ink);
}
.faq-q .ico {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 77, 109, 0.1);
  color: var(--brand-deep);
  font-weight: 800;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}
.faq-item.is-open .faq-q .ico {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.faq-a > div {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.faq-item.is-open .faq-a {
  max-height: 420px;
}

/* ---------- 17. 提示条/弹层 ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--sh-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  z-index: 120;
}
.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(36, 30, 47, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  position: relative;
  width: min(860px, 100%);
  background: #fff;
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--sh-lg);
  transform: scale(0.94);
  transition: transform 0.3s var(--ease);
}
.video-modal.is-open .modal-box {
  transform: scale(1);
}
.modal-box .stage {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #241e2f, #4a3b63);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}
.modal-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--sh-brand);
}
.notice-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(46, 196, 166, 0.12);
  border: 1px dashed rgba(46, 196, 166, 0.5);
  color: var(--melon-deep);
  border-radius: var(--r-md);
  padding: 12px 18px;
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* ---------- 18. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
  margin-top: clamp(56px, 6vw, 96px);
}
.site-footer h4,
.site-footer h3 {
  color: #fff;
  font-size: var(--fs-md);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--fs-sm);
}
.site-footer a:hover {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand p {
  font-size: var(--fs-sm);
  margin-top: 12px;
}
.footer-brand .brand {
  color: #fff;
}
.footer-col li {
  margin-bottom: 10px;
}
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.tag-cloud a {
  font-size: var(--fs-xs);
  padding: 4px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 19. 内页页头 ---------- */
.page-hero {
  background: var(--grad-soft);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 4vw, 64px) 0;
}
.crumbs {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: 14px;
}
.crumbs a {
  color: var(--muted);
}
.crumbs a:hover {
  color: var(--brand-deep);
}
.page-hero h1 {
  font-size: var(--fs-2xl);
}
.page-hero .lead {
  color: var(--muted);
  max-width: 46em;
  margin: 0;
}

/* ---------- 20. 分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  padding: 0 12px;
}
.pagination .is-current {
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--sh-brand);
}
.pagination a:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

/* ---------- 21. 滚动动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1080px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    width: min(320px, 82vw);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 96px 24px 32px;
    background: #fff;
    box-shadow: var(--sh-lg);
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
  }
  .nav-links.is-open {
    transform: none;
  }
  .nav-links a {
    font-size: var(--fs-lg);
    padding: 13px 18px;
  }
  .nav-cta {
    margin: 12px 0 0;
  }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-side {
    grid-template-columns: 1fr;
  }
  .quote-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .video-grid,
  .stat-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .btn-group .btn {
    flex: 1 1 100%;
  }
  .rank-item {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "num img"
      "num body"
      "num heat";
  }
  .rank-item .rank-num {
    grid-area: num;
    align-self: start;
  }
  .rank-item img {
    grid-area: img;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .rank-item .rank-body {
    grid-area: body;
  }
  .rank-item .rank-heat {
    grid-area: heat;
    text-align: left;
  }
  .post-card {
    grid-template-columns: 1fr;
  }
  .post-card img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
  .float-live {
    left: 0;
    top: 14px;
  }
  .float-heat {
    right: 0;
    bottom: 14px;
  }
}
@media (max-width: 420px) {
  .hero-visual > img {
    border-radius: var(--r-xl);
  }
  .float-card {
    padding: 9px 12px;
    font-size: var(--fs-xs);
  }
  .float-heat {
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 23. 附加组件（内页专用） ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}
.step {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 26px;
  box-shadow: var(--sh-sm);
}
.step-no {
  counter-increment: step;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-lg);
  display: grid;
  place-items: center;
  box-shadow: var(--sh-brand);
}
.step-no::before {
  content: counter(step);
}
.step h3 {
  font-size: var(--fs-md);
  margin-bottom: 4px;
}
.step p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--muted);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  font-size: var(--fs-sm);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.spec-table tr:last-child td {
  border-bottom: 0;
}
.sub-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.sub-form input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--r-full);
  padding: 12px 20px;
  font-size: var(--fs-sm);
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.sub-form input:focus {
  outline: none;
  border-color: var(--brand);
}
.sub-form .form-msg {
  width: 100%;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--melon-deep);
  min-height: 1.4em;
  margin-top: 10px;
}
.phone-mock {
  position: relative;
  width: min(300px, 78vw);
  margin: 0 auto;
  border-radius: 38px;
  border: 10px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.phone-mock img {
  width: 100%;
  aspect-ratio: 9 / 17;
  object-fit: cover;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 20px;
  background: var(--ink);
  border-radius: var(--r-full);
  z-index: 2;
}
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.check-list li::before {
  content: "✔";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46, 196, 166, 0.15);
  color: var(--melon-deep);
  font-size: 0.72rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 2px;
}
@media (max-width: 680px) {
  .sub-form {
    flex-direction: column;
  }
  .sub-form .btn {
    width: 100%;
  }
}
