/* ==========================================================================
   吃瓜网在线视频 — 全站样式表
   Author: 吃瓜网前端团队
   ========================================================================== */

/* ---------- 1. 变量与基础重置 ---------- */
:root {
  --bg: #08080c;
  --bg-soft: #0d0d14;
  --surface: #111119;
  --surface-2: #171720;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ededf4;
  --text-soft: #b9b9c9;
  --muted: #8b8b9e;
  --brand: #ff3d6e;
  --brand-2: #ff8a3d;
  --accent: #7c5cff;
  --mint: #2fd8a5;
  --grad-main: linear-gradient(120deg, #ff3d6e 0%, #ff8a3d 100%);
  --grad-soft: linear-gradient(120deg, rgba(255, 61, 110, 0.16), rgba(255, 138, 61, 0.08));
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --shadow-brand: 0 14px 40px rgba(255, 61, 110, 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 8% -10%, rgba(255, 61, 110, 0.13), transparent 62%),
    radial-gradient(820px 480px at 96% 4%, rgba(124, 92, 255, 0.12), transparent 60%),
    radial-gradient(700px 460px at 50% 108%, rgba(255, 138, 61, 0.08), transparent 66%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  background-color: var(--surface-2);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover { color: var(--brand); }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p { margin: 0; }

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 2. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section--tight { padding: 64px 0; }

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 54px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 12px rgba(255, 61, 110, 0.9);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 18px;
}

.section-title em {
  font-style: normal;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--muted);
  font-size: 16px;
  max-width: 660px;
}

.section-head--center .section-desc { margin-inline: auto; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn--primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(255, 61, 110, 0.42);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--brand);
  background: rgba(255, 61, 110, 0.1);
  color: var(--brand);
  transform: translateY(-3px);
}

.btn--block { width: 100%; }

.btn svg { width: 18px; height: 18px; flex: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.text-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.text-link:hover::after { transform: translateX(4px); }

/* ---------- 3. 页头导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 8, 12, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 8, 12, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  flex: none;
}

.brand:hover { color: var(--text); }

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-main);
  box-shadow: 0 8px 22px rgba(255, 61, 110, 0.35);
  overflow: hidden;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.5), transparent 55%);
  opacity: 0.6;
}

.brand__mark span {
  position: relative;
  z-index: 1;
  font-size: 17px;
  line-height: 1;
}

.brand__text { white-space: nowrap; }

.brand__text small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover { color: var(--text); }

.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }

.nav__link.is-active { color: #fff; font-weight: 700; }

.nav__cta { margin-left: 10px; padding: 11px 24px; font-size: 14px; }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 100px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero__glow--a {
  top: -160px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: rgba(255, 61, 110, 0.22);
  animation: drift 16s ease-in-out infinite;
}

.hero__glow--b {
  right: -140px;
  bottom: -200px;
  width: 560px;
  height: 560px;
  background: rgba(124, 92, 255, 0.2);
  animation: drift 20s ease-in-out infinite reverse;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 61, 110, 0.34);
  border-radius: 999px;
  background: rgba(255, 61, 110, 0.1);
  color: #ffb9cb;
  font-size: 13px;
  font-weight: 600;
}

.hero__tag b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--grad-main);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero__title {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero__title em {
  font-style: normal;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__desc {
  max-width: 560px;
  color: var(--text-soft);
  font-size: 16.5px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.hero__stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.hero__stat b {
  display: block;
  font-size: 24px;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
}

.hero__stat span {
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

/* Hero 视频卡片 */
.hero__visual {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  padding: 14px;
  box-shadow: var(--shadow);
  animation: riseIn 0.9s var(--ease) both 0.15s;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 61, 110, 0.5), rgba(124, 92, 255, 0.35), transparent 65%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__screen {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #000;
}

.hero__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}

.hero__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 12, 0.1), rgba(8, 8, 12, 0.85));
}

.hero__live {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.72);
  border: 1px solid rgba(255, 61, 110, 0.5);
  color: #ffd3dd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse 1.6s ease-in-out infinite;
}

.hero__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.hero__play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  animation: ripple 2.4s ease-out infinite;
}

.hero__play svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.hero__play:hover {
  background: var(--brand);
  transform: translate(-50%, -50%) scale(1.08);
}

.hero__meta {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.hero__meta-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.hero__meta-text span {
  color: #cfcfdd;
  font-size: 12.5px;
}

.hero__badge {
  flex: none;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--grad-main);
  font-size: 12px;
  font-weight: 700;
}

.hero__floating {
  position: absolute;
  right: -26px;
  top: 22%;
  width: 190px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(18, 18, 26, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: floaty 6s ease-in-out infinite;
}

.hero__floating h3 {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hero__floating li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-soft);
}

.hero__floating li i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.hero__floating li:nth-child(2) i { background: var(--brand-2); }
.hero__floating li:nth-child(3) i { background: var(--accent); }

/* ---------- 5. 跑马灯 ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
}

.ticker__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 52px;
}

.ticker__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--grad-main);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.ticker__track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
}

.ticker__item span {
  color: var(--brand-2);
  font-weight: 700;
  font-size: 12px;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- 6. 特性卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  position: relative;
  padding: 30px 26px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 61, 110, 0.36);
  box-shadow: var(--shadow);
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 61, 110, 0.24);
  color: var(--brand);
}

.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- 7. 服务 ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card h3 { font-size: 19px; }

.service-card__no {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-2);
  opacity: 0.85;
}

.service-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.service-card li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 14px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 61, 110, 0.7);
}

/* ---------- 8. 内容 / 瓜料卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 61, 110, 0.36);
  box-shadow: var(--shadow);
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card__media img { transform: scale(1.06); }

.news-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 12, 0.85));
}

.news-card__tag {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(8, 8, 12, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffd0dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-card__duration {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(8, 8, 12, 0.8);
  color: #dcdce8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.news-card__meta span:first-child { color: var(--brand-2); }

.news-card__meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.news-card h3 {
  font-size: 18px;
  line-height: 1.5;
}

.news-card h3 a:hover { color: var(--brand); }

.news-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.news-card__views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card__views svg {
  width: 15px;
  height: 15px;
  fill: var(--muted);
}

/* 侧栏排行 */
.rank-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.rank-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.rank-panel__head h3 { font-size: 17px; }

.rank-panel__head span {
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rank-list {
  display: grid;
  gap: 2px;
  counter-reset: rank;
}

.rank-list li {
  counter-increment: rank;
}

.rank-list li a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.6;
}

.rank-list li:last-child a { border-bottom: 0; }

.rank-list li a::before {
  content: counter(rank, decimal-leading-zero);
  flex: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.rank-list li:nth-child(-n+3) a::before { color: var(--brand); }

.rank-list li a:hover { color: var(--brand); }

/* 标签 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 13px;
  transition: all 0.25s var(--ease);
}

.tag:hover {
  border-color: var(--brand);
  background: rgba(255, 61, 110, 0.12);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ---------- 9. 数据横条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}

.stats__item {
  padding: 30px 24px;
  background: var(--surface);
  text-align: center;
}

.stats__item b {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats__item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- 10. CTA ---------- */
.cta {
  position: relative;
  padding: 0;
}

.cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: 40px;
  padding: 56px 54px;
  border: 1px solid rgba(255, 61, 110, 0.32);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 260px at 85% 10%, rgba(255, 138, 61, 0.18), transparent 70%),
    linear-gradient(120deg, rgba(255, 61, 110, 0.14), rgba(124, 92, 255, 0.1));
  overflow: hidden;
}

.cta__panel::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 61, 110, 0.18);
  filter: blur(70px);
  pointer-events: none;
}

.cta__panel h2 {
  position: relative;
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 14px;
}

.cta__panel p {
  position: relative;
  max-width: 520px;
  color: var(--text-soft);
  font-size: 15.5px;
}

.cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.cta__note {
  position: relative;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- 11. FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: start;
}

.faq__aside h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 16px;
}

.faq__aside p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 26px;
}

.faq__aside-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq__aside-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.faq__aside-card p {
  font-size: 13.5px;
  margin-bottom: 14px;
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.faq__item.is-open { border-color: rgba(255, 61, 110, 0.4); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq__q:hover { color: var(--brand); }

.faq__q i {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.faq__q i::before,
.faq__q i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text-soft);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__item.is-open .faq__q i {
  background: var(--grad-main);
  border-color: transparent;
}

.faq__item.is-open .faq__q i::after { opacity: 0; }

.faq__item.is-open .faq__q i::before { background: #fff; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq__a > div { overflow: hidden; }

.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a p {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.85;
}

/* ---------- 12. 订阅 ---------- */
.subscribe {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.subscribe__text { flex: 1; min-width: 0; }

.subscribe__text h3 { font-size: 17px; margin-bottom: 6px; }

.subscribe__text p { color: var(--muted); font-size: 13.5px; }

.subscribe__form {
  display: flex;
  gap: 10px;
  flex: 0 1 420px;
}

.subscribe__form input {
  flex: 1;
  min-width: 0;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.6);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.subscribe__form input::placeholder { color: var(--muted); }

.subscribe__form input:focus { border-color: var(--brand); }

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  padding: 64px 0 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  width: 700px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 61, 110, 0.1);
  filter: blur(90px);
  transform: translateX(-50%);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr));
  gap: 40px;
  padding-bottom: 48px;
}

.footer__brand p {
  max-width: 340px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer__col h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer__col li { margin-bottom: 10px; }

.footer__col a,
.footer__col span {
  color: var(--muted);
  font-size: 13.5px;
}

.footer__col a:hover { color: var(--brand); }

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.footer__bottom strong { color: var(--text-soft); font-weight: 600; }

.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 14. 子页面通用 ---------- */
.page-hero {
  position: relative;
  padding: 68px 0 84px;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -100px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.14);
  filter: blur(100px);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -260px;
  left: -120px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(255, 61, 110, 0.14);
  filter: blur(100px);
  pointer-events: none;
}

.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  margin-bottom: 18px;
}

.page-hero h1 em {
  font-style: normal;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 16px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a { color: var(--text-soft); }

.breadcrumb a:hover { color: var(--brand); }

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 9px;
  color: var(--line-strong);
}

/* 工具栏 / 筛选 */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.chip:hover { border-color: var(--brand); color: var(--brand); }

.chip.is-active {
  border-color: transparent;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
}

.search-box {
  position: relative;
  flex: 0 1 280px;
  min-width: 200px;
}

.search-box input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 8, 12, 0.6);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.search-box input:focus { border-color: var(--brand); }

.empty-state {
  display: none;
  padding: 48px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-size: 15px;
}

.empty-state.is-visible { display: block; }

/* 布局：内容 + 侧栏 */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: start;
}

.sidebar {
  display: grid;
  gap: 22px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

[data-hidden-card] { display: none !important; }

/* ---------- 15. 文章详情 ---------- */
.article {
  padding: 34px 38px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.article__head { margin-bottom: 26px; }

.article__head h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.35;
  margin-bottom: 18px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article__meta .article__kind {
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(255, 61, 110, 0.14);
  color: var(--brand);
  font-weight: 700;
}

.article__cover {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.article__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article__cover figcaption {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.article__body p {
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 15.5px;
  line-height: 1.95;
}

.article__body h2 {
  font-size: 22px;
  margin: 34px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--brand);
}

.article__body h3 {
  font-size: 17.5px;
  margin: 26px 0 10px;
  color: var(--text);
}

.article__body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.article__body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: 15px;
}

.article__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-main);
}

.article__quote {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 3px solid var(--brand-2);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 138, 61, 0.08);
  color: #ffdcc6;
  font-size: 15px;
}

.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.article__nav a { color: var(--muted); }

.article__nav a:hover { color: var(--brand); }

.notice-box {
  padding: 18px 22px;
  margin-top: 26px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ---------- 16. 专题 / 产品 ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.plan-card--featured {
  border-color: rgba(255, 61, 110, 0.42);
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 138, 61, 0.12), transparent 70%),
    var(--surface-2);
}

.plan-card__flag {
  position: absolute;
  top: -1px;
  right: 24px;
  padding: 5px 14px;
  border-radius: 0 0 8px 8px;
  background: var(--grad-main);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.plan-card__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand-2);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.plan-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.plan-card > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.plan-card__list {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.plan-card__list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 14px;
}

.plan-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  font-weight: 800;
}

.plan-card__list li.is-off { color: var(--muted); opacity: 0.65; }

.plan-card__list li.is-off::before { content: "—"; color: var(--muted); }

.plan-card .btn { margin-top: auto; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.topic-card {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.topic-card:hover {
  border-color: rgba(255, 61, 110, 0.36);
  transform: translateY(-4px);
}

.topic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.topic-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
}

.topic-card__body h3 { font-size: 17px; }

.topic-card__body p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.topic-card__body span {
  margin-top: auto;
  color: var(--brand-2);
  font-size: 12.5px;
  font-weight: 700;
}

/* ---------- 17. 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.about-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.about-figure figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.78);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
  font-size: 13px;
}

.about-grid h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 16px;
}

.about-grid p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 16px;
}

.about-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.about-list li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.about-list b {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--grad-soft);
  color: var(--brand);
  font-size: 14px;
}

.about-list h3 { font-size: 15px; margin-bottom: 3px; }

.about-list p { margin: 0; font-size: 13.5px; }

.timeline {
  position: relative;
  display: grid;
  gap: 26px;
  padding-left: 34px;
  margin-top: 10px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand), rgba(124, 92, 255, 0.4), transparent);
}

.timeline li { position: relative; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 10px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(255, 61, 110, 0.13);
}

.timeline time {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-2);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.timeline h3 { font-size: 16px; margin-bottom: 4px; }

.timeline p { color: var(--muted); font-size: 14px; margin: 0; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.value-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  margin-bottom: 10px;
}

.value-card h3 i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--grad-soft);
  color: var(--brand);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.value-card p { color: var(--muted); font-size: 14px; }

/* ---------- 18. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}

.contact-form {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contact-form h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-form > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field { display: grid; gap: 8px; margin-bottom: 16px; }

.field label {
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.field label span { color: var(--brand); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(8, 8, 12, 0.55);
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea { min-height: 132px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 61, 110, 0.12);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.form-hint {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
}

.form-feedback {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border: 1px solid rgba(47, 216, 165, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(47, 216, 165, 0.1);
  color: var(--mint);
  font-size: 13.5px;
}

.form-feedback.is-visible { display: block; }

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-card:hover {
  border-color: rgba(255, 61, 110, 0.32);
  transform: translateY(-3px);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--grad-soft);
  color: var(--brand);
}

.contact-card__icon svg { width: 20px; height: 20px; }

.contact-card h3 { font-size: 15px; margin-bottom: 4px; }

.contact-card p { color: var(--muted); font-size: 13.5px; }

.contact-card b {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 600;
}

.map-card {
  position: relative;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-card img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; opacity: 0.72; }

.map-card figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  background: rgba(8, 8, 12, 0.8);
  color: var(--text-soft);
  font-size: 12.5px;
}

/* ---------- 19. 返回顶部 ---------- */
.to-top {
  position: fixed;
  z-index: 90;
  right: 24px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(17, 17, 25, 0.9);
  backdrop-filter: blur(8px);
  color: var(--text-soft);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-3px);
}

.to-top svg { width: 18px; height: 18px; }

/* ---------- 20. 动画 ---------- */
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(30px, 24px, 0) scale(1.08); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

@keyframes ripple {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 640px; }
  .hero__floating { display: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 14px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(9, 9, 14, 0.98);
    backdrop-filter: blur(18px);
    transform-origin: top;
    transform: scaleY(0.96);
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s var(--ease);
  }
  .nav__menu.is-open {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
  }
  .nav__link { padding: 13px 14px; border-radius: 10px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: rgba(255, 61, 110, 0.12); }
  .nav__cta { margin: 8px 0 0; justify-content: center; }
  .nav { position: relative; }
  .section { padding: 72px 0; }
  .hero { padding: 52px 0 76px; }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta__panel { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta__actions { justify-content: flex-start; }
  .topic-grid { grid-template-columns: 1fr; }
  .article { padding: 26px 22px 32px; }
  .subscribe { flex-direction: column; align-items: stretch; gap: 16px; }
  .subscribe__form { flex: 1 1 auto; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding-inline: 18px; }
  .brand { font-size: 15.5px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
  .brand__text small { display: none; }
  .hero__title { font-size: clamp(28px, 8vw, 40px); }
  .hero__desc { font-size: 15px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__screen { aspect-ratio: 4 / 3; }
  .hero__meta-text strong { font-size: 14px; }
  .hero__play { width: 62px; height: 62px; }
  .section-title { font-size: 26px; }
  .section-head { margin-bottom: 34px; }
  .feature-grid,
  .news-grid,
  .service-list,
  .plan-grid,
  .values-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search-box { flex: 1 1 auto; }
  .topic-card { grid-template-columns: 110px minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .cta__panel { padding: 32px 22px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .article__head h1 { font-size: 24px; }
  .article__body p { font-size: 15px; }
  .faq__q { padding: 16px 18px; font-size: 14.5px; }
  .faq__a p { padding: 0 18px 20px; font-size: 14px; }
  .to-top { right: 16px; bottom: 18px; width: 42px; height: 42px; }
  .ticker__inner { gap: 12px; }
}
