/* ============================================================
   吃瓜网站51 - 全局样式
   深色 + 亮色点缀的现代娱乐风格
   ============================================================ */

:root {
  --bg-dark: #0d0a1a;
  --bg-deep: #151022;
  --bg-card: #1c1530;
  --bg-card-hover: #241b3d;
  --border: rgba(255, 255, 255, 0.08);
  --text-main: #f5f1ff;
  --text-sub: #b9aee0;
  --text-mute: #7d729f;
  --accent-pink: #ff3d8b;
  --accent-orange: #ff9a3d;
  --accent-purple: #8b5cf6;
  --accent-cyan: #22d3ee;
  --gradient-main: linear-gradient(135deg, #ff3d8b 0%, #ff9a3d 100%);
  --gradient-text: linear-gradient(90deg, #ff3d8b, #ff9a3d, #8b5cf6);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(255, 61, 139, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --font-main: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ 背景装饰 ============ */
.bg-decoration {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(139, 92, 246, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 35% at 85% 20%, rgba(255, 61, 139, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(34, 211, 238, 0.08) 0%, transparent 60%),
    var(--bg-dark);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ============ 导航栏 ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 10, 26, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 61, 139, 0.4);
  flex-shrink: 0;
}

.brand-name {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  display: block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-sub);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 61, 139, 0.14);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--gradient-main);
}

.nav-cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 18px rgba(255, 61, 139, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 61, 139, 0.5);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 6px 24px rgba(255, 61, 139, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255, 61, 139, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  transform: translateY(-3px);
}

/* ============ Hero 主视觉区 ============ */
.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 139, 0.18) 0%, transparent 70%);
  filter: blur(20px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 61, 139, 0.12);
  border: 1px solid rgba(255, 61, 139, 0.35);
  color: var(--accent-pink);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-pink);
  animation: pulse-dot 1.6s infinite;
}

.hero h1 {
  font-size: clamp(40px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 .gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat span {
  font-size: 14px;
  color: var(--text-mute);
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  display: grid;
  gap: 18px;
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
}

.flash-card {
  background: linear-gradient(145deg, rgba(28, 21, 48, 0.9), rgba(20, 14, 36, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-card);
  animation: float-card 5s ease-in-out infinite;
}

.flash-card:nth-child(2) {
  animation-delay: 0.8s;
}

.flash-card:nth-child(3) {
  animation-delay: 1.6s;
}

.flash-tag {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.flash-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.flash-card p {
  font-size: 13px;
  color: var(--text-mute);
}

.flash-hot {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 154, 61, 0.16);
  color: var(--accent-orange);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============ Section 通用 ============ */
.section {
  padding: 88px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: var(--accent-purple);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-sub);
  font-size: 16px;
}

/* ============ 特性区 ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: rgba(255, 61, 139, 0.12);
  color: var(--accent-pink);
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(139, 92, 246, 0.12);
  color: var(--accent-purple);
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent-cyan);
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(255, 154, 61, 0.12);
  color: var(--accent-orange);
}

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

.feature-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* ============ 新闻列表 ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

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

.news-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.news-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.news-category.cat-purple {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.news-category.cat-cyan {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
}

.news-category.cat-orange {
  background: linear-gradient(135deg, #ff9a3d, #ff3d8b);
}

.news-card-body {
  padding: 22px;
}

.news-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-mute);
}

.news-meta .hot {
  margin-left: auto;
  color: var(--accent-orange);
  font-weight: 700;
}

/* ============ 服务区 ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-panel {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-deep));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 61, 139, 0.4);
}

.service-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  opacity: 0.7;
}

.service-panel:nth-child(2)::before {
  background: linear-gradient(90deg, #8b5cf6, #22d3ee);
}

.service-panel:nth-child(3)::before {
  background: linear-gradient(90deg, #22d3ee, #ff9a3d);
}

.service-panel h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-panel p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
  padding: 6px 0;
}

.service-list li::before {
  content: "✓";
  color: var(--accent-pink);
  font-weight: 700;
}

/* ============ CTA ============ */
.cta-panel {
  background: linear-gradient(135deg, rgba(255, 61, 139, 0.18), rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(255, 61, 139, 0.3);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-panel::after {
  content: "吃瓜";
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-size: 160px;
  font-weight: 900;
  opacity: 0.05;
  pointer-events: none;
}

.cta-panel h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-panel p {
  color: var(--text-sub);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 30px;
}

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

/* ============ 页脚 ============ */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand .brand-logo {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 61, 139, 0.2);
  transform: translateY(-3px);
}

.footer-col h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}

.footer-col li {
  padding: 5px 0;
}

.footer-col li a {
  font-size: 14px;
  color: var(--text-sub);
}

.footer-col li a:hover {
  color: var(--accent-pink);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
}

.footer-bottom .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ============ 面包屑 ============ */
.breadcrumb {
  padding: 24px 0 8px;
  font-size: 14px;
  color: var(--text-mute);
}

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

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

.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ============ 页面标题区 ============ */
.page-hero {
  padding: 64px 0 40px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--text-sub);
  font-size: 17px;
  max-width: 640px;
}

/* ============ 新闻列表页 ============ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding-bottom: 40px;
}

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-chip {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-chip:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

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

.news-list {
  display: grid;
  gap: 24px;
}

.news-list-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.news-list-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.news-list-body {
  padding: 22px 22px 22px 0;
}

.news-list-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.news-list-body p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 14px;
}

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

.read-more:hover {
  gap: 10px;
}

/* 侧边栏 */
.sidebar {
  display: grid;
  gap: 28px;
  align-content: start;
}

.side-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.side-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.hot-rank li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

.hot-rank li:last-child {
  border-bottom: none;
}

.rank-num {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-sub);
  flex-shrink: 0;
}

.hot-rank li:nth-child(1) .rank-num {
  background: var(--gradient-main);
  color: #fff;
}

.hot-rank li:nth-child(2) .rank-num {
  background: linear-gradient(135deg, #ff9a3d, #ff3d8b);
  color: #fff;
}

.hot-rank li:nth-child(3) .rank-num {
  background: linear-gradient(135deg, #22d3ee, #3b82f6);
  color: #fff;
}

.hot-rank li a {
  font-size: 14px;
  color: var(--text-main);
  flex: 1;
}

.hot-rank li a:hover {
  color: var(--accent-pink);
}

.hot-rank .rank-heat {
  font-size: 12px;
  color: var(--text-mute);
  flex-shrink: 0;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-cloud a {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-sub);
}

.tags-cloud a:hover {
  background: rgba(255, 61, 139, 0.16);
  color: var(--accent-pink);
}

.side-subscribe input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text-main);
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
}

.side-subscribe input:focus {
  border-color: var(--accent-pink);
}

.side-subscribe .btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
}

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

.pagination a {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-sub);
  transition: all 0.3s ease;
}

.pagination a:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.pagination a.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
}

/* ============ 新闻详情页 ============ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding-bottom: 40px;
}

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

.article-cover {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.article-body {
  padding: 40px;
}

.article-body h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
}

.article-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-mute);
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-meta-line .cat-badge {
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.article-content {
  font-size: 16px;
  color: var(--text-sub);
}

.article-content p {
  margin-bottom: 20px;
  line-height: 1.9;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin: 34px 0 16px;
}

.article-content blockquote {
  border-left: 4px solid var(--accent-pink);
  background: rgba(255, 61, 139, 0.08);
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-main);
}

.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.article-tags a {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
  color: var(--text-sub);
}

.article-tags a:hover {
  background: rgba(255, 61, 139, 0.16);
  color: var(--accent-pink);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.article-nav a {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-deep);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-sub);
  transition: all 0.3s ease;
}

.article-nav a:hover {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
}

.article-nav .next {
  text-align: right;
}

/* 相关推荐 */
.related-section {
  margin-top: 48px;
}

.related-section h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============ 关于页 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

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

.about-image img {
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.timeline {
  max-width: 760px;
  margin: 60px auto 0;
  position: relative;
  padding-left: 30px;
}

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

.timeline-item {
  position: relative;
  padding: 18px 0 18px 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gradient-main);
  box-shadow: 0 0 16px rgba(255, 61, 139, 0.5);
}

.timeline-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-item .time {
  font-size: 13px;
  color: var(--accent-pink);
  font-weight: 600;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 8px;
}

/* ============ 联系页 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 61, 139, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-sub);
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.contact-form-wrap h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text-main);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-pink);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

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

/* ============ 产品/服务专题页 ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

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

.product-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

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

.product-card-body h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 18px;
}

.product-price {
  font-size: 24px;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.product-price .unit {
  font-size: 13px;
  color: var(--text-mute);
  -webkit-text-fill-color: var(--text-mute);
}

.product-features {
  margin-bottom: 22px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sub);
  padding: 5px 0;
}

.product-features li::before {
  content: "✓";
  color: var(--accent-pink);
  font-weight: 700;
}

.product-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ============ 动效 ============ */
@keyframes float-card {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

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

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

.stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(13, 10, 26, 0.97);
    backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    gap: 6px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    text-align: center;
    padding: 12px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

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

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

  .hero h1 {
    font-size: 36px;
  }

  .hero-visual {
    display: none;
  }

  .features-grid,
  .news-grid,
  .services-grid,
  .product-grid,
  .about-grid,
  .value-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .news-list-item img {
    height: 200px;
  }

  .news-list-body {
    padding: 18px;
  }

  .article-cover {
    height: 240px;
  }

  .article-body {
    padding: 24px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

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

  .cta-panel {
    padding: 44px 24px;
  }

  .section {
    padding: 64px 0;
  }

  .hero-stats {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .features-grid,
  .news-grid,
  .services-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 14px;
  }
}

/* 打印与无障碍 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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