/* ============================================================
   91在线吃瓜 - 主样式表
   暗色系 + 高亮强调色（瓜橙色/亮黄）资讯站风格
   ============================================================ */

/* ---------- 全局变量 ---------- */
:root {
  --bg-dark: #0d0f1a;
  --bg-card: #161a2e;
  --bg-card-hover: #1d2340;
  --bg-elevated: #202748;
  --bg-input: #0f1224;
  --text-main: #e8eaf2;
  --text-secondary: #9aa3bf;
  --text-muted: #6b7390;
  --accent: #ff8c1a;
  --accent-2: #ffc233;
  --accent-glow: rgba(255, 140, 26, 0.35);
  --danger: #ff4757;
  --success: #2ed573;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 140, 26, 0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Noto Sans SC",
    "Helvetica Neue", Arial, sans-serif;
  --container-w: 1200px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- 基础重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

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

input,
textarea {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: #0d0f1a;
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #2a3152;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ---------- 通用容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1206;
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 140, 26, 0.5);
}

.btn-outline {
  border: 1.5px solid var(--line-strong);
  color: var(--accent-2);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-3px);
}

.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
}

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

/* ---------- 徽章 ---------- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 140, 26, 0.14);
  color: var(--accent-2);
  border: 1px solid var(--line-strong);
  letter-spacing: 1px;
}

.badge-hot {
  background: rgba(255, 71, 87, 0.16);
  color: var(--danger);
  border-color: rgba(255, 71, 87, 0.4);
}

.badge-new {
  background: rgba(46, 213, 115, 0.16);
  color: var(--success);
  border-color: rgba(46, 213, 115, 0.4);
}

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 15, 26, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text-main);
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1206;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.brand-name {
  background: linear-gradient(90deg, #fff, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav a {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

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

.nav a.active {
  color: var(--accent-2);
  background: rgba(255, 140, 26, 0.12);
}

.nav-cta {
  margin-left: 8px;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-main);
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  border-color: var(--accent);
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 140, 26, 0.2), transparent 42%),
    radial-gradient(circle at 82% 60%, rgba(255, 194, 51, 0.14), transparent 45%),
    radial-gradient(circle at 55% 110%, rgba(255, 71, 87, 0.12), transparent 55%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9), transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9), transparent 75%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 1px;
  margin: 18px 0 8px;
  background: linear-gradient(120deg, #ffffff 20%, var(--accent-2) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.hero .subtitle strong {
  color: var(--accent-2);
  font-weight: 800;
}

.hero p.lead {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

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

.stat-item .num {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent-2);
}

.stat-item .label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

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

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

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: 1px;
  margin: 14px 0 10px;
}

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

.section-head .badge {
  text-transform: none;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  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(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border-radius: 18px;
  background: rgba(255, 140, 26, 0.12);
  border: 1px solid var(--line-strong);
  color: var(--accent-2);
}

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

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

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

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

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

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

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

.service-card .cover .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(13, 15, 26, 0.78);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
}

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

.service-card .body h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-card .body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

.service-meta .link {
  color: var(--accent-2);
  font-weight: 700;
}

/* ---------- 资讯卡片 / 列表 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

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

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

.news-card .cover .date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(13, 15, 26, 0.8);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 700;
  backdrop-filter: blur(6px);
}

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

.news-card .body .tags {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.news-card .body .tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255, 140, 26, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(255, 140, 26, 0.2);
}

.news-card .body h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-card .body h3 a:hover {
  color: var(--accent-2);
}

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

.news-card .body .meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* 横向列表 */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.news-list-item {
  display: flex;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: var(--transition);
  align-items: center;
}

.news-list-item:hover {
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.news-list-item .thumb {
  width: 150px;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.news-list-item:hover .thumb img {
  transform: scale(1.06);
}

.news-list-item .info {
  flex: 1;
  min-width: 0;
}

.news-list-item .info h3 {
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-list-item .info h3 a:hover {
  color: var(--accent-2);
}

.news-list-item .info p {
  font-size: 13.5px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}

.news-list-item .meta {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: translateY(-2px);
}

.pagination .current {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1206;
  border-color: transparent;
}

/* ---------- 行动号召 CTA ---------- */
.cta {
  background: linear-gradient(135deg, rgba(255, 140, 26, 0.16), rgba(255, 71, 87, 0.12), rgba(13, 15, 26, 0.4));
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  text-align: center;
  padding: 56px 30px;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "🍉";
  position: absolute;
  right: -30px;
  bottom: -40px;
  font-size: 160px;
  opacity: 0.06;
  transform: rotate(-14deg);
}

.cta h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 15.5px;
}

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

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: #0a0c16;
  padding: 56px 0 28px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-2);
  padding-left: 6px;
}

.footer-contact p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.footer-contact p span {
  color: var(--text-muted);
  margin-right: 6px;
}

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

.footer-bottom a {
  color: var(--accent-2);
}

/* ---------- 页面内部通用：文章/内容区 ---------- */
.page-hero {
  padding: 80px 0 46px;
  position: relative;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 140, 26, 0.16), transparent 60%);
}

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

.page-hero h1 {
  font-size: clamp(28px, 4.6vw, 44px);
  font-weight: 900;
  letter-spacing: 1px;
  margin: 14px 0 10px;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
}

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

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

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

/* ---------- 文章详情 ---------- */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.article-main h1 {
  font-size: clamp(24px, 3.2vw, 32px);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 14px;
}

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

.article-meta .author {
  color: var(--accent-2);
  font-weight: 700;
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
  aspect-ratio: 16 / 9;
}

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

.article-content {
  font-size: 16px;
  line-height: 1.9;
  color: #d5d9ea;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 30px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 22px 0 10px;
  color: var(--accent-2);
}

.article-content p {
  margin-bottom: 16px;
}

.article-content ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: rgba(255, 140, 26, 0.08);
  padding: 14px 20px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: var(--text-secondary);
  font-style: italic;
}

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

.article-tags .tag {
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 30px;
  background: rgba(255, 140, 26, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(255, 140, 26, 0.25);
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
}

.article-share span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.share-btn {
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  color: var(--text-secondary);
  transition: var(--transition);
}

.share-btn:hover {
  color: var(--accent-2);
  border-color: var(--accent);
}

/* 侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 92px;
}

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

.sidebar-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-card h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.sidebar-hot li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

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

.sidebar-hot .rank {
  font-size: 13px;
  font-weight: 900;
  color: var(--accent);
  min-width: 20px;
  text-align: center;
}

.sidebar-hot .rank.top {
  color: var(--danger);
}

.sidebar-hot a {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}

.sidebar-hot a:hover {
  color: var(--accent-2);
}

.sidebar-cta {
  text-align: center;
  padding: 26px 20px;
}

.sidebar-cta h3 {
  justify-content: center;
  border: none;
  margin-bottom: 6px;
}

.sidebar-cta p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.table-wrap th {
  background: var(--bg-elevated);
  color: var(--accent-2);
  font-weight: 800;
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  white-space: nowrap;
}

.table-wrap td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-secondary);
}

.table-wrap tr:hover td {
  background: rgba(255, 140, 26, 0.04);
}

/* ---------- FAQ 手风琴 ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  color: var(--text-main);
  transition: var(--transition);
}

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

.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item[open] summary {
  color: var(--accent-2);
}

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

.faq-item .faq-answer {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- 产品/会员套餐 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 28px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.price-card.hot {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 140, 26, 0.1), var(--bg-card) 40%);
}

.price-card.hot .price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a1206;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 18px;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 6px 18px var(--accent-glow);
}

.price-card .plan {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.price-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}

.price-card .desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.price-card .price {
  font-size: 40px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

.price-card .price-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price-card ul {
  flex: 1;
  margin-bottom: 24px;
}

.price-card li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 7px 0;
  padding-left: 28px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 900;
}

.price-card .btn {
  width: 100%;
}

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

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

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

.contact-form-card .sub {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--bg-input);
  border: 1px solid var(--line);
  color: var(--text-main);
  font-size: 14.5px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

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

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-info-card h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 18px;
}

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

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item .icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 140, 26, 0.12);
  border: 1px solid var(--line-strong);
}

.contact-info-item h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-placeholder {
  margin-top: 22px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line-strong);
  background: rgba(255, 140, 26, 0.04);
  padding: 34px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
}

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

.about-grid .media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-grid .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 14px;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.85;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.value-item {
  text-align: center;
  padding: 26px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

.value-item .v-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.value-item h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

/* ---------- 通知条 ---------- */
.notice-bar {
  background: linear-gradient(90deg, rgba(255, 140, 26, 0.16), rgba(255, 71, 87, 0.12));
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.notice-bar strong {
  color: var(--accent-2);
}

.notice-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

/* ---------- 滚动返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--accent-2);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 999;
}

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

.back-top:hover {
  background: var(--accent);
  color: #1a1206;
  box-shadow: 0 8px 24px var(--accent-glow);
}

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 71, 87, 0);
  }
}

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

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

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

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

.hero-inner {
  animation: fadeInUp 0.9s ease both;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

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

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

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

  .sidebar {
    position: static;
  }

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

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

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(13, 15, 26, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

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

  .nav a {
    padding: 13px 16px;
    text-align: center;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 6px;
  }

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

  .hero-stats {
    gap: 28px;
  }

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

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

  .news-list-item {
    flex-direction: column;
    align-items: stretch;
  }

  .news-list-item .thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 520px) {
  .features-grid,
  .services-grid,
  .news-grid,
  .pricing-grid,
  .footer-grid,
  .about-values {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .article-main {
    padding: 22px;
  }

  .brand-name {
    font-size: 18px;
  }
}
