/* ============================================================
   吃瓜网站 - 全站样式
   深夜吃瓜氛围：暗夜底色 + 瓜红主色 + 暖橙点缀
   ============================================================ */

:root {
  --bg: #0d0d17;
  --bg-soft: #14142a;
  --bg-card: #1b1b32;
  --bg-card-hover: #222242;
  --primary: #ff4d6d;
  --primary-dark: #e63a5c;
  --accent: #ffb03a;
  --green: #2ee6a8;
  --text: #eeeaf6;
  --text-muted: #a5a0bd;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 14px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
  --shadow-hover: 0 18px 44px rgba(255, 77, 109, 0.18);
  --header-h: 72px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 77, 109, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255, 77, 109, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}

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

.btn-lg {
  padding: 16px 42px;
  font-size: 17px;
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(13, 13, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

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

.brand {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--accent), var(--primary));
  display: inline-block;
  animation: pulse 2s infinite;
}

.brand small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0;
}

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

.nav-menu a {
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-menu a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 6px 16px rgba(255, 77, 109, 0.35);
}

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

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 77, 109, 0.22), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 176, 58, 0.14), transparent 50%),
    linear-gradient(180deg, rgba(13, 13, 23, 0.6), var(--bg) 92%);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 77, 109, 0.12);
  border: 1px solid rgba(255, 77, 109, 0.35);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 26px;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.6s infinite;
}

.hero-title {
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.15s ease both;
}

.hero-title .hl {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease both;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- 实时瓜情滚动条 ---------- */
.ticker {
  background: linear-gradient(90deg, rgba(255, 77, 109, 0.14), rgba(255, 176, 58, 0.1));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 13px 0;
  position: relative;
}

.ticker-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  width: max-content;
}

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

.ticker-item {
  font-size: 14px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-item strong {
  color: var(--accent);
  font-weight: 700;
}

.ticker-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-soft);
}

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

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.3);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}

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

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

.feature-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.18), rgba(255, 176, 58, 0.12));
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-6deg);
}

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

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

/* ---------- 新闻卡片 ---------- */
.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: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 77, 109, 0.35);
}

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

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

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

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.badge-hot { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.badge-new { background: linear-gradient(135deg, var(--green), #16b384); }
.badge-top { background: linear-gradient(135deg, var(--accent), #f08c00); color: #2b1a00; }

.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.news-body h3 a:hover {
  color: var(--primary);
}

.news-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.news-meta .more {
  color: var(--primary);
  font-weight: 600;
}

/* ---------- 热瓜榜单 ---------- */
.rank-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  transition: var(--transition);
}

.rank-list li:hover {
  transform: translateX(8px);
  border-color: rgba(255, 77, 109, 0.35);
}

.rank-num {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.rank-list li:nth-child(1) .rank-num { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.rank-list li:nth-child(2) .rank-num { background: linear-gradient(135deg, var(--accent), #f08c00); color: #2b1a00; }
.rank-list li:nth-child(3) .rank-num { background: linear-gradient(135deg, var(--green), #16b384); color: #fff; }

.rank-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.rank-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.rank-heat {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

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

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

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

.service-card .service-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

.service-body {
  padding: 28px;
}

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

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

.service-body ul li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

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

/* ---------- 价格/套餐 ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 42px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(255, 77, 109, 0.1), var(--bg-card) 40%);
  transform: scale(1.04);
}

.price-card.featured:hover {
  transform: scale(1.04) translateY(-8px);
}

.price-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 77, 109, 0.4);
}

.price-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 10px;
}

.price {
  font-size: 46px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
  line-height: 1.2;
}

.price small {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
}

.price-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.price-features {
  text-align: left;
  margin-bottom: 32px;
  flex: 1;
}

.price-features li {
  padding: 10px 0 10px 28px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
  position: relative;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(255, 77, 109, 0.4);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-q .arrow {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 77, 109, 0.14);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.faq-item.open .arrow {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 40px 0 96px;
}

.cta-box {
  position: relative;
  border-radius: 24px;
  padding: clamp(48px, 8vw, 88px) clamp(24px, 6vw, 80px);
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.2), rgba(255, 176, 58, 0.12)), var(--bg-card);
  border: 1px solid rgba(255, 77, 109, 0.35);
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.3), transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.cta-box h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 18px;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  position: relative;
}

.cta-box .btn {
  position: relative;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0a0a12;
  border-top: 1px solid var(--border);
  padding-top: 72px;
}

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

.footer-col h3,
.footer-col h4 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}

.footer-col p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

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

.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 6px;
}

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

.footer-tags span {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

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

/* ---------- 内页 Banner ---------- */
.page-banner {
  padding: calc(var(--header-h) + 76px) 0 70px;
  text-align: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 77, 109, 0.16), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(255, 176, 58, 0.1), transparent 50%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-banner h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  margin-bottom: 14px;
}

.page-banner p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
}

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

.breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: var(--border);
}

/* ---------- 筛选 & 分页 ---------- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 52px;
}

.chip {
  padding: 9px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.chip:hover,
.chip.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 60px;
}

.pagination a {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--text-muted);
}

.pagination a:hover,
.pagination a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

/* ---------- 文章详情页 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 48px);
}

.article-main h1 {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.article-hero-img {
  border-radius: var(--radius);
  margin-bottom: 32px;
  overflow: hidden;
}

.article-content h2 {
  font-size: 23px;
  font-weight: 800;
  margin: 38px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.article-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 28px 0 12px;
}

.article-content p {
  color: #c9c4da;
  margin-bottom: 18px;
  font-size: 16px;
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(255, 176, 58, 0.07);
  padding: 18px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 26px 0;
  color: var(--text-muted);
  font-style: italic;
}

.article-content img {
  border-radius: var(--radius);
  margin: 24px 0;
}

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

.article-tags a {
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 50px;
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.3);
  color: var(--primary);
}

.article-tags a:hover {
  background: var(--primary);
  color: #fff;
}

.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 28px;
}

.widget h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.widget ol li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 14px;
}

.widget ol li a:hover {
  color: var(--primary);
}

.widget ol li:last-child {
  border-bottom: none;
}

.widget .w-meta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---------- 时间线（关于我们） ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--primary);
}

.timeline-item .t-year {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 6px;
}

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

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

/* ---------- 团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  transition: var(--transition);
}

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

.team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 77, 109, 0.4);
}

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

.team-card .role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

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

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 70px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 109, 0.35);
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 16px 0 8px;
}

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

.contact-card .big {
  font-size: 17px;
  color: var(--primary);
  font-weight: 700;
}

.contact-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.15);
}

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

.form-msg {
  display: none;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(46, 230, 168, 0.12);
  border: 1px solid rgba(46, 230, 168, 0.4);
  color: var(--green);
  font-size: 14px;
}

.notice-list li {
  padding: 14px 0 14px 26px;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  color: var(--text-muted);
  position: relative;
}

.notice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 8px 20px rgba(255, 77, 109, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

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

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

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

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .features-grid,
  .news-grid,
  .services-grid,
  .price-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rank-wrap,
  .contact-form-wrap,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-8px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(13, 13, 23, 0.97);
    backdrop-filter: blur(16px);
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: transform 0.35s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu a {
    display: block;
    text-align: center;
    padding: 14px;
  }
  .features-grid,
  .news-grid,
  .services-grid,
  .price-grid,
  .team-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: auto;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .article-main {
    padding: 24px 18px;
  }
}
