@charset "utf-8";

/* =========================================================
   AGE动漫 · 全站样式表
   作者：AGE动漫前端团队
   说明：深色二次元主题 / 霓虹渐变 / 全响应式
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg: #070812;
  --bg-soft: #0c0e1d;
  --panel: #12152a;
  --panel-2: #191c34;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #edeffb;
  --muted: #9aa2c4;
  --primary: #ff4d8d;
  --primary-soft: #ff85ad;
  --secondary: #7c5cff;
  --accent: #22d3ee;
  --grad: linear-gradient(135deg, #ff4d8d 0%, #a855f7 52%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(255, 77, 141, 0.16), rgba(124, 92, 255, 0.16));
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.32);
  --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;
}

/* ---------- 2. 重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 520px at 12% -8%, rgba(255, 77, 141, 0.18), transparent 62%),
    radial-gradient(880px 560px at 88% 2%, rgba(124, 92, 255, 0.20), transparent 64%),
    radial-gradient(760px 520px at 50% 100%, rgba(34, 211, 238, 0.10), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: #fff;
}

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

h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.35rem); font-weight: 800; }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.35rem); }

p { margin: 0 0 1.1em; color: var(--muted); }

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

::selection {
  background: rgba(255, 77, 141, 0.4);
  color: #fff;
}

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

/* ---------- 3. 通用布局 ---------- */
.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 8vw, 104px) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--tight {
  padding: clamp(36px, 5vw, 64px) 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 4vw, 56px);
  text-align: center;
}

.section-head p {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 999px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

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

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

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

.btn-primary {
  background: var(--grad);
  background-size: 180% 180%;
  box-shadow: 0 12px 30px rgba(255, 77, 141, 0.28), 0 4px 14px rgba(124, 92, 255, 0.24);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow: 0 18px 42px rgba(255, 77, 141, 0.4), 0 6px 18px rgba(124, 92, 255, 0.3);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.88rem;
}

.btn-block { width: 100%; }

/* ---------- 5. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(8, 9, 19, 0.72);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  background: var(--grad);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 77, 141, 0.34);
  transform: rotate(-6deg);
  transition: transform 0.35s var(--ease);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.main-nav a {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

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

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

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 2px;
  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); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  background:
    radial-gradient(50% 50% at 20% 30%, rgba(255, 77, 141, 0.22), transparent 70%),
    radial-gradient(45% 45% at 80% 20%, rgba(124, 92, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(32px, 5vw, 68px);
}

.hero h1 {
  margin-bottom: 20px;
  text-wrap: balance;
}

.hero-lead {
  max-width: 560px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: #b9c0dc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 40px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 46px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stats dt {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 380px;
}

.hero-visual .poster {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--panel);
  animation: float 7s var(--ease) infinite;
}

.hero-visual .poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual .poster-a {
  top: 0;
  right: 4%;
  width: 60%;
  aspect-ratio: 3 / 4;
  z-index: 3;
}

.hero-visual .poster-b {
  bottom: 2%;
  left: 2%;
  width: 50%;
  aspect-ratio: 3 / 4;
  z-index: 2;
  animation-delay: -2.4s;
}

.hero-visual .poster-b img { filter: saturate(1.1); }

.hero-visual .poster-c {
  bottom: 12%;
  right: 0;
  width: 34%;
  aspect-ratio: 1 / 1;
  z-index: 1;
  animation-delay: -4.2s;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 12% 8% 8% 10%;
  background: var(--grad);
  filter: blur(56px);
  opacity: 0.3;
  z-index: 0;
}

.hero-chip {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(18, 21, 42, 0.86);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}

.hero-chip--top {
  top: 8%;
  left: 0;
  animation: float 6s var(--ease) infinite;
}

.hero-chip--bottom {
  bottom: 4%;
  right: 16%;
  animation: float 6s var(--ease) -3s infinite;
}

.hero-chip b { color: var(--accent); }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(-0.6deg); }
}

/* ---------- 7. 分类滚动条 ---------- */
.ticker {
  position: relative;
  padding: 16px 0;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: ticker 34s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-item::before {
  content: "◆";
  font-size: 0.7rem;
  color: var(--primary);
}

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

/* ---------- 8. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(24px, 3vw, 34px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 141, 0.36);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.46);
}

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

.card p:last-child { margin-bottom: 0; }

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  font-size: 1.35rem;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.card-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
}

.feature-card .card-desc { min-height: 76px; }

/* ---------- 9. 服务介绍 ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  overflow: hidden;
}

.service-card .service-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.service-card .service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .service-thumb img { transform: scale(1.07); }

.service-card .service-body {
  padding: 24px 26px 28px;
}

.service-card .service-body p { margin-bottom: 18px; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-soft);
}

.service-link span {
  transition: transform 0.3s var(--ease);
}

.service-link:hover span { transform: translateX(6px); }

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
}

.badge--pink {
  color: var(--primary-soft);
  background: rgba(255, 77, 141, 0.12);
  border-color: rgba(255, 77, 141, 0.3);
}

/* ---------- 10. 番剧卡片 ---------- */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.anime-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.anime-card:hover {
  color: var(--text);
  transform: translateY(-8px);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.52);
}

.anime-card .poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.anime-card .poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.anime-card:hover .poster-wrap img { transform: scale(1.09); }

.anime-card .poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 8, 18, 0.92) 100%);
}

.anime-card .rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #fff;
  background: var(--grad);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.anime-card .score {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffd166;
  background: rgba(7, 8, 18, 0.7);
  border: 1px solid rgba(255, 209, 102, 0.35);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.anime-card .anime-body {
  position: relative;
  z-index: 2;
  padding: 18px 22px 22px;
  margin-top: -46px;
}

.anime-card h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.anime-card .anime-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.anime-card .tag {
  padding: 2px 9px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-soft);
  background: rgba(255, 77, 141, 0.1);
  border-radius: 6px;
}

/* ---------- 11. 图文内容区 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.split-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.split-visual img { width: 100%; height: 100%; object-fit: cover; }

.split-visual .float-stat {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 14px 20px;
  background: rgba(10, 12, 26, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.split-visual .float-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.split-visual .float-stat span { font-size: 0.78rem; color: var(--muted); }

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

.check-list li {
  position: relative;
  padding-left: 38px;
  color: #c3cae4;
  font-size: 0.96rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
  background: var(--grad);
  border-radius: 50%;
}

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

.stats-band div {
  padding: clamp(24px, 3.4vw, 40px) 18px;
  text-align: center;
  background: rgba(12, 14, 29, 0.9);
}

.stats-band strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.15;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 13. FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin-inline: auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item[open] {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.06);
}

.faq-item summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-soft);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-body {
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-body p:last-child { margin-bottom: 0; }

/* ---------- 14. CTA ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  background:
    radial-gradient(70% 120% at 15% 0%, rgba(255, 77, 141, 0.28), transparent 62%),
    radial-gradient(70% 120% at 88% 100%, rgba(34, 211, 238, 0.24), transparent 62%),
    var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: 28px;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto -20%;
  height: 220%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.06), transparent 40%);
  animation: spin 22s linear infinite;
  pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.cta-panel h2 { position: relative; margin-bottom: 14px; }

.cta-panel p {
  position: relative;
  max-width: 620px;
  margin: 0 auto 28px;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- 15. 页脚 ---------- */
.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 30px;
  margin-top: 20px;
  background: rgba(5, 6, 13, 0.7);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand p { max-width: 300px; margin-top: 16px; font-size: 0.9rem; }

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

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

.footer-col a {
  font-size: 0.89rem;
  color: var(--muted);
}

.footer-col a:hover { color: var(--primary-soft); }

.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 0.89rem;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: #7d84a6;
}

.footer-bottom a { color: #7d84a6; }

.footer-bottom a:hover { color: var(--primary-soft); }

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

/* ---------- 16. 内页 Hero ---------- */
.page-hero {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0 clamp(36px, 5vw, 64px);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto -10%;
  height: 200%;
  background:
    radial-gradient(45% 45% at 18% 30%, rgba(255, 77, 141, 0.18), transparent 70%),
    radial-gradient(45% 45% at 82% 10%, rgba(124, 92, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; }

.page-hero h1 { margin-bottom: 14px; }

.page-hero .lead {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 1.03rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.82rem;
  color: #7d84a6;
}

.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb li + li::before {
  content: "/";
  color: #4b5173;
}

.breadcrumb a { color: #9aa2c4; }

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

/* ---------- 17. 新闻列表 ---------- */
.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.post-list { display: grid; gap: 22px; }

.post-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 77, 141, 0.35);
  background: rgba(255, 255, 255, 0.055);
}

.post-thumb {
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4 / 3;
}

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

.post-card:hover .post-thumb img { transform: scale(1.06); }

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: #8a91b3;
}

.post-card h2 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  font-weight: 700;
}

.post-card p {
  margin-bottom: 14px;
  font-size: 0.93rem;
}

.post-card .service-link { font-size: 0.85rem; }

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

.sidebar-box {
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sidebar-box h3 {
  margin-bottom: 18px;
  padding-bottom: 14px;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}

.sidebar-list { display: grid; gap: 14px; }

.sidebar-list a {
  display: flex;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.sidebar-list a:hover { color: var(--primary-soft); }

.sidebar-list .idx {
  flex: 0 0 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.sidebar-list li:nth-child(-n + 3) .idx { background: var(--grad); }

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

.tag-cloud a {
  padding: 6px 14px;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.tag-cloud a:hover {
  color: #fff;
  background: rgba(255, 77, 141, 0.16);
  border-color: rgba(255, 77, 141, 0.4);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  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: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: all 0.25s var(--ease);
}

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

/* ---------- 18. 文章详情 ---------- */
.article-body {
  padding: clamp(24px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-body > p { color: #c2c9e2; }

.article-body h2 {
  margin-top: 40px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.article-body h2:first-of-type { margin-top: 0; }

.article-body h3 { margin-top: 28px; font-size: 1.1rem; }

.article-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 0;
}

.article-body ul li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.article-cover {
  overflow: hidden;
  margin: 0 0 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.article-cover img { width: 100%; }

.article-cover figcaption {
  padding: 12px 18px;
  font-size: 0.8rem;
  color: #7d84a6;
  background: rgba(255, 255, 255, 0.03);
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 30px;
  font-size: 0.84rem;
  color: #8a91b3;
  border-bottom: 1px solid var(--line);
}

.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }

.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 26px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

.chip-link {
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.chip-link:hover {
  color: #fff;
  background: rgba(124, 92, 255, 0.22);
  border-color: rgba(124, 92, 255, 0.5);
}

/* ---------- 19. 关于页 ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 34px;
  padding-left: 30px;
}

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

.timeline-item {
  position: relative;
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 30px;
  width: 14px;
  height: 14px;
  background: var(--grad);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 77, 141, 0.18);
}

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

.timeline-item h3 { margin-bottom: 6px; }

.timeline-item p { margin-bottom: 0; font-size: 0.93rem; }

.value-card .card-icon { border-radius: 50%; }

.team-card {
  padding: 0;
  overflow: hidden;
  text-align: center;
}

.team-card .avatar {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }

.team-card .team-body { padding: 22px 20px 26px; }

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

.team-card span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- 20. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.contact-item:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateX(4px);
}

.contact-item .card-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 0;
  font-size: 1.1rem;
}

.contact-item h3 { margin-bottom: 4px; font-size: 0.98rem; }

.contact-item p { margin-bottom: 0; font-size: 0.88rem; }

.contact-item strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.form-panel {
  padding: clamp(26px, 3.4vw, 40px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-panel h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

.form-grid { display: grid; gap: 18px; }

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

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

.field label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #b9c0dc;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: rgba(8, 9, 19, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.16);
}

.field input::placeholder,
.field textarea::placeholder { color: #6b7290; }

.form-tip {
  margin: 0;
  font-size: 0.78rem;
  color: #7d84a6;
}

.form-feedback {
  display: none;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: #7ff0c4;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 10px;
}

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

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

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

.map-panel .map-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(8, 9, 19, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* ---------- 21. 作品/资源页 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 9px 22px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.28s var(--ease);
}

.filter-btn:hover { color: #fff; border-color: var(--line-strong); }

.filter-btn.is-active {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(255, 77, 141, 0.26);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

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

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 77, 141, 0.35);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.46);
}

.product-card .product-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-card .product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-thumb img { transform: scale(1.07); }

.product-card .product-thumb .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.product-body h3 { margin-bottom: 8px; font-size: 1.05rem; }

.product-body p { margin-bottom: 14px; font-size: 0.88rem; }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.product-foot .score-star { font-weight: 800; color: #ffd166; }

.load-more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ---------- 22. 面包屑信息条 / 公告 ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 22px;
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: #c3cae4;
  background: rgba(34, 211, 238, 0.07);
  border: 1px solid rgba(34, 211, 238, 0.24);
  border-radius: var(--radius-sm);
}

.notice .notice-tag {
  flex: 0 0 auto;
  padding: 2px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #041016;
  background: var(--accent);
  border-radius: 6px;
}

/* ---------- 23. 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

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

  .reveal { opacity: 1; transform: none; }
}

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.1rem;
  color: #fff;
  background: var(--grad);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  box-shadow: 0 12px 30px rgba(255, 77, 141, 0.32);
  transition: all 0.35s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

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

/* ---------- 24. 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; max-width: 560px; width: 100%; margin-inline: auto; }
  .layout-main { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 26px;
    background: rgba(8, 9, 19, 0.97);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  }

  .main-nav.is-open { display: block; animation: navIn 0.32s var(--ease); }

  @keyframes navIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
  }

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

  .main-nav a { padding: 13px 16px; font-size: 0.98rem; }

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

  .nav-toggle { display: block; }

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

  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split-visual { order: -1; }
  .post-card { grid-template-columns: 180px minmax(0, 1fr); }
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  html { font-size: 15px; }

  .container { width: min(100% - 32px, var(--container)); }

  .grid-2,
  .grid-3,
  .grid-4,
  .anime-grid,
  .product-grid,
  .sidebar,
  .footer-grid,
  .form-row { grid-template-columns: 1fr; }

  .hero-visual { min-height: 330px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 26px; }

  .post-card { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .post-thumb { aspect-ratio: 16 / 9; }

  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bottom { justify-content: center; text-align: center; }

  .stats-band { grid-template-columns: 1fr 1fr; }

  .timeline { padding-left: 22px; }
  .timeline-item::before { left: -30px; }

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

  .to-top { right: 14px; bottom: 16px; width: 42px; height: 42px; }
}
