/* ==========================================================================
   吃瓜网 - 全站样式表
   主题：热点吃瓜 · 高能爆料 · 娱乐八卦
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --pink: #ff2d6f;
  --pink-deep: #d81b5b;
  --orange: #ff8a3d;
  --purple: #7c3aed;
  --gold: #ffb020;
  --ink: #141220;
  --ink-2: #3a3550;
  --muted: #6b6683;
  --paper: #fdfaf6;
  --card: #ffffff;
  --line: rgba(20, 18, 32, 0.08);
  --line-strong: rgba(20, 18, 32, 0.14);
  --grad: linear-gradient(135deg, #ff2d6f 0%, #ff8a3d 100%);
  --grad-purple: linear-gradient(135deg, #7c3aed 0%, #ff2d6f 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 45, 111, 0.10), rgba(255, 138, 61, 0.10));
  --shadow-sm: 0 4px 14px rgba(20, 18, 32, 0.06);
  --shadow-md: 0 14px 40px rgba(20, 18, 32, 0.10);
  --shadow-lg: 0 28px 70px rgba(20, 18, 32, 0.16);
  --shadow-pink: 0 14px 36px rgba(255, 45, 111, 0.32);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 74px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: var(--radius-sm);
  background-color: #efe9f0;
}

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

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.32rem); }
h4 { font-size: 1.02rem; }

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

/* ---------- 通用容器与工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.section--paper {
  background: #fff;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  background: rgba(255, 45, 111, 0.1);
  border: 1px solid rgba(255, 45, 111, 0.2);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  animation: pulse-dot 1.8s infinite;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: 1.06rem;
  color: var(--ink-2);
}

.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;
}

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

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

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(255, 45, 111, 0.4);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--dark:hover {
  transform: translateY(-3px);
  background: #241f3a;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-3px);
}

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

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--pink);
}

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

.link-more:hover::after {
  transform: translateX(5px);
}

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
}

.topbar__live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 45, 111, 0.6);
  animation: pulse-dot 1.6s infinite;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__meta a:hover {
  color: #fff;
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(253, 250, 246, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  background: rgba(253, 250, 246, 0.96);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 1.24rem;
  font-weight: 900;
  color: #fff;
  border-radius: 12px;
  background: var(--grad);
  box-shadow: 0 8px 20px rgba(255, 45, 111, 0.3);
  transform: rotate(-4deg);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(6deg) scale(1.05);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand__slogan {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 9px 15px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 999px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  width: 22px;
}

.main-nav a.is-active {
  color: var(--pink);
  background: rgba(255, 45, 111, 0.08);
}

.main-nav a.is-active::after {
  width: 22px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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

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

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

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 100px;
  color: #fff;
  background: radial-gradient(circle at 18% 20%, rgba(255, 45, 111, 0.42), transparent 46%),
    radial-gradient(circle at 82% 12%, rgba(255, 138, 61, 0.32), transparent 44%),
    radial-gradient(circle at 60% 92%, rgba(124, 58, 237, 0.4), transparent 50%),
    #141220;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 78%);
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd9c6;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  animation: fade-up 0.8s var(--ease) both;
}

.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse-dot 1.6s infinite;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  letter-spacing: -0.02em;
  animation: fade-up 0.9s 0.1s var(--ease) both;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #ff7a9c 0%, #ffb86b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  max-width: 560px;
  margin: 22px 0 34px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.76);
  animation: fade-up 1s 0.2s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
  animation: fade-up 1s 0.3s var(--ease) both;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  animation: fade-up 1s 0.4s var(--ease) both;
}

.hero__stats .num {
  font-size: 1.9rem;
  font-weight: 900;
  background: linear-gradient(120deg, #fff 30%, #ffb86b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.hero__stats .label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.hero__visual {
  position: relative;
  animation: fade-in 1.1s 0.3s var(--ease) both;
}

.hero__visual-img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  color: #fff;
  animation: float-y 5s ease-in-out infinite;
}

.hero__float strong {
  display: block;
  font-size: 0.98rem;
}

.hero__float small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
}

.hero__float--one {
  top: 26px;
  left: -28px;
}

.hero__float--two {
  bottom: 34px;
  right: -22px;
  animation-delay: 1.4s;
}

.hero__float .dot {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  font-weight: 900;
  font-size: 0.86rem;
  flex-shrink: 0;
}

/* ---------- 热点滚动条 ---------- */
.ticker {
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

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

.ticker__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  border-radius: 999px;
  background: var(--grad);
}

.ticker__track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker__list {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.ticker__list:hover {
  animation-play-state: paused;
}

.ticker__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

.ticker__list li::before {
  content: "●";
  color: var(--orange);
  font-size: 0.62rem;
}

/* ---------- 主内容布局 ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 44px;
  align-items: start;
}

/* ---------- 特性卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}

.feature-card {
  position: relative;
  padding: 34px 28px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 45, 111, 0.24);
}

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

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 45, 111, 0.14);
  transition: transform 0.4s var(--ease);
}

.feature-card:hover .feature-card__icon {
  transform: rotate(-8deg) scale(1.06);
}

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

.feature-card p {
  font-size: 0.94rem;
  color: var(--muted);
}

.feature-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
}

/* ---------- 文章 / 新闻卡片 ---------- */
.news-list {
  display: grid;
  gap: 24px;
}

.news-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 45, 111, 0.2);
}

.news-card__thumb {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #efe9f0;
}

.news-card__thumb img {
  width: 100%;
  height: 100%;
  min-height: 158px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.6s var(--ease);
}

.news-card:hover .news-card__thumb img {
  transform: scale(1.07);
}

.news-card__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  border-radius: 8px;
  background: rgba(20, 18, 32, 0.72);
  backdrop-filter: blur(6px);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.news-card__meta .hot {
  color: var(--pink);
}

.news-card h3 {
  font-size: 1.14rem;
  line-height: 1.5;
}

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

.news-card p {
  font-size: 0.9rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- 紧凑列表 ---------- */
.compact-list {
  display: grid;
  gap: 16px;
}

.compact-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.compact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.compact-item__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: 0.84rem;
  font-weight: 900;
  color: #fff;
  border-radius: 9px;
  background: var(--grad);
}

.compact-item__num.is-highlight {
  background: var(--grad-purple);
}

.compact-item__body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.compact-item__body h4 a:hover {
  color: var(--pink);
}

.compact-item__body span {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ---------- 侧边栏 ---------- */
.sidebar {
  display: grid;
  gap: 26px;
  position: sticky;
  top: calc(var(--header-h) + 22px);
}

.widget {
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.widget h3 {
  position: relative;
  padding-left: 14px;
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 800;
}

.widget h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 16px;
  border-radius: 3px;
  background: var(--grad);
  transform: translateY(-50%);
}

.widget--hot {
  background: linear-gradient(160deg, #1b1730, #2b1a30);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.widget--hot h3 {
  color: #fff;
}

.widget--hot .compact-item {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.widget--hot .compact-item__body h4 {
  color: rgba(255, 255, 255, 0.9);
}

.widget--hot .compact-item__body span {
  color: rgba(255, 255, 255, 0.45);
}

.widget--hot .compact-item__body h4 a:hover {
  color: #ff8fa8;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag-cloud a {
  padding: 6px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #f4f0f6;
  border: 1px solid transparent;
  border-radius: 999px;
}

.tag-cloud a:hover {
  color: #fff;
  background: var(--grad);
  transform: translateY(-2px);
}

.widget__newsletter p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.widget__form {
  display: grid;
  gap: 10px;
}

.widget__form input {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  background: #f7f4f9;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.widget__form input:focus {
  border-color: var(--pink);
  background: #fff;
}

.widget__form .btn {
  padding: 12px;
  font-size: 0.88rem;
}

/* ---------- 热门排行（首页 tab） ---------- */
.hot-rank {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.rank-col {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

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

.rank-col__head h3 {
  font-size: 1rem;
}

.rank-col__head span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- 数据带 ---------- */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 111, 0.34), transparent 68%);
}

.stats-band::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -60px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 68%);
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 34px;
  text-align: center;
}

.stat-item .num {
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(120deg, #fff 25%, #ff9d7a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-item .label {
  margin-top: 6px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- 服务卡片 ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.service-card--featured {
  background: linear-gradient(165deg, #1d1832, #2d1a35);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
}

.service-card--featured h3,
.service-card--featured .price {
  color: #fff;
}

.service-card--featured p,
.service-card--featured li {
  color: rgba(255, 255, 255, 0.7);
}

.service-card__badge {
  align-self: flex-start;
  padding: 4px 12px;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  border-radius: 999px;
  background: var(--grad);
}

.service-card h3 {
  margin-bottom: 10px;
}

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

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0 18px;
}

.price strong {
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.service-card--featured .price strong {
  background: linear-gradient(120deg, #fff, #ffb86b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price small {
  font-size: 0.82rem;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.service-card li::before {
  content: "✓";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  background: var(--grad);
}

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

/* ---------- 流程 / 时间线 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  border-radius: 14px;
  background: var(--grad);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.04rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- 双栏图文 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.split__media .float-card {
  position: absolute;
  bottom: -22px;
  left: -18px;
  padding: 16px 22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.split__media .float-card strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split__media .float-card small {
  font-size: 0.78rem;
  color: var(--muted);
}

.split__text h2 {
  margin-bottom: 16px;
}

.split__text p {
  margin-bottom: 14px;
  color: var(--muted);
}

.split__list {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
}

.split__list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  color: var(--ink-2);
}

.split__list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.is-open {
  border-color: rgba(255, 45, 111, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.faq-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--pink);
  border-radius: 50%;
  background: rgba(255, 45, 111, 0.1);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--grad);
  color: #fff;
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}

.faq-item__a p {
  padding: 0 24px 22px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.85;
}

.faq-item.is-open .faq-item__a {
  max-height: 320px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background: linear-gradient(125deg, #ff2d6f 0%, #ff6b3d 46%, #ffa63d 100%);
  color: #fff;
  text-align: center;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.24), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.18), transparent 36%);
  pointer-events: none;
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  max-width: 560px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.88);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.cta .btn--primary {
  background: #fff;
  color: var(--pink-deep);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.cta .btn--primary:hover {
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
}

.cta .btn--light {
  border-color: rgba(255, 255, 255, 0.5);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #12101d;
  color: rgba(255, 255, 255, 0.62);
  padding: 66px 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}

.footer-brand .brand__name,
.footer-brand .brand__slogan {
  color: #fff;
}

.footer-brand .brand__slogan {
  color: rgba(255, 255, 255, 0.45);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 340px;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.55);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-badges span {
  padding: 4px 11px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
}

.footer-col a:hover {
  color: #ff8fa8;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 12px;
}

.footer-contact li span {
  color: #ff8fa8;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.44);
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
}

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

.breadcrumb .sep {
  color: var(--line-strong);
}

/* ---------- 页面头部 banner ---------- */
.page-hero {
  position: relative;
  padding: 68px 0 62px;
  color: #fff;
  background: radial-gradient(circle at 12% 20%, rgba(255, 45, 111, 0.45), transparent 46%),
    radial-gradient(circle at 88% 30%, rgba(124, 58, 237, 0.4), transparent 44%),
    #141220;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  margin: 16px 0 14px;
}

.page-hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero--compact {
  padding: 54px 0 48px;
}

/* ---------- 详情页 ---------- */
.article {
  padding: 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article__head h1 {
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  margin-bottom: 18px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.article__meta .tag {
  padding: 4px 11px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--pink);
  background: rgba(255, 45, 111, 0.1);
  border-radius: 7px;
}

.article__cover {
  margin: 26px 0 30px;
}

.article__cover img {
  width: 100%;
  aspect-ratio: 16 / 8.6;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.article__cover figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.article__body {
  font-size: 1rem;
  line-height: 2;
  color: var(--ink-2);
}

.article__body>p {
  margin-bottom: 20px;
}

.article__body h2 {
  font-size: 1.28rem;
  margin: 34px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--pink);
}

.article__body h3 {
  font-size: 1.08rem;
  margin: 26px 0 12px;
}

.article__body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
  padding-left: 4px;
}

.article__body li {
  display: flex;
  gap: 10px;
}

.article__body li::before {
  content: "◆";
  color: var(--orange);
  font-size: 0.78rem;
  line-height: 2.2;
}

.article__quote {
  margin: 26px 0;
  padding: 22px 26px;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--grad-soft);
  border-left: 4px solid var(--pink);
  border-radius: 0 12px 12px 0;
}

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

.article__tags a {
  padding: 6px 13px;
  font-size: 0.8rem;
  color: var(--ink-2);
  background: #f5f1f7;
  border-radius: 999px;
}

.article__tags a:hover {
  color: #fff;
  background: var(--grad);
}

.article__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 0.84rem;
  color: var(--muted);
}

.share-btn {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.share-btn:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
}

/* ---------- 筛选标签 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 20px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: rgba(255, 45, 111, 0.34);
  color: var(--pink);
}

.filter-btn.is-active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: var(--shadow-pink);
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.3s var(--ease);
}

.pagination a:hover,
.pagination .is-current {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: var(--shadow-pink);
}

.pagination .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- 表单 ---------- */
.form-card {
  padding: 36px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-2);
}

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

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.94rem;
  background: #f8f5fa;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  background: #fff;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 45, 111, 0.1);
}

.form-tip {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.form-msg {
  margin-top: 16px;
  padding: 12px 16px;
  font-size: 0.88rem;
  border-radius: 10px;
  display: none;
}

.form-msg.is-success {
  display: block;
  color: #0f7a4d;
  background: rgba(16, 185, 129, 0.12);
}

.form-msg.is-error {
  display: block;
  color: #b4193c;
  background: rgba(255, 45, 111, 0.12);
}

/* ---------- 联系信息卡片 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.info-card {
  padding: 28px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.info-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  font-size: 1.34rem;
  border-radius: 50%;
  background: var(--grad-soft);
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 关于页时间线 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 30px;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--pink), var(--orange), transparent);
}

.timeline-item {
  position: relative;
  padding: 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.timeline-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 5px rgba(255, 45, 111, 0.12);
}

.timeline-item time {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--pink);
}

.timeline-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- 团队卡片 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}

.team-card {
  padding: 28px 24px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.team-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.team-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-sm);
}

.team-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.team-card span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
}

.team-card p {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- 价值主张 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  padding: 30px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid transparent;
  transition: all 0.4s var(--ease);
}

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

.value-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

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

.value-card__index {
  display: block;
  margin-bottom: 14px;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 对比表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.compare-table thead th {
  font-weight: 800;
  color: var(--ink);
  background: #faf6fb;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: rgba(255, 45, 111, 0.03);
}

.compare-table td:first-child {
  font-weight: 700;
  color: var(--ink-2);
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
  box-shadow: var(--shadow-pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s var(--ease);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
}

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  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; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* ---------- 关键帧 ---------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(255, 45, 111, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(255, 45, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 111, 0); }
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero__visual {
    max-width: 560px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + 0px);
    left: 0;
    right: 0;
    z-index: 88;
    display: none;
    padding: 16px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: block;
    animation: fade-in 0.3s var(--ease);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .main-nav a {
    padding: 13px 16px;
    border-radius: 10px;
  }

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

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .hero__float--one { left: 8px; }
  .hero__float--two { right: 8px; }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card__thumb img {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 0;
  }

  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .hero__stats {
    gap: 24px;
  }

  .hero__stats .num {
    font-size: 1.55rem;
  }

  .hero__float {
    display: none;
  }

  .topbar__meta {
    display: none;
  }

  .article {
    padding: 24px 18px;
  }

  .form-card {
    padding: 26px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta__actions .btn {
    width: 100%;
  }

  .pagination a,
  .pagination span {
    min-width: 38px;
    height: 38px;
    font-size: 0.82rem;
  }
}

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