/* ========================================
   番剧更新追踪网站 - 全站样式表
   独特配色方案：深紫+霓虹蓝+樱花粉
   ======================================== */

/* CSS变量定义 */
:root {
  --primary: #6a1b9a;
  --primary-light: #9c4dcc;
  --primary-dark: #38006b;
  --accent: #00e5ff;
  --accent-glow: rgba(0, 229, 255, 0.3);
  --sakura: #ff6f91;
  --sakura-light: #ffa4c4;
  --bg-dark: #0d0d1a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #232342;
  --text-main: #e8e8f0;
  --text-muted: #9898b0;
  --text-heading: #ffffff;
  --border-color: rgba(106, 27, 154, 0.3);
  --gradient-primary: linear-gradient(135deg, #6a1b9a 0%, #00e5ff 100%);
  --gradient-card: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-heading: 'Noto Serif SC', 'STSong', serif;
}

/* 全局重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 干扰标签区块样式 - 肉眼不可见 */
.jammer-block {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

/* 链接样式 */
a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--sakura);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* 图片基础 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 容器 */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== 导航栏 ========== */
.site-nav {
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  z-index: 1000;
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  display: block;
  padding: 8px 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: rgba(0, 229, 255, 0.08);
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 6px 0;
  transition: var(--transition);
}

/* ========== Banner区域 ========== */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,26,0.4) 0%, rgba(13,13,26,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* 搜索栏 */
.search-box {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.search-box input {
  flex: 1;
  padding: 14px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  padding: 14px 28px;
  background: var(--gradient-primary);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.search-box button:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-glow);
}

/* ========== 区块标题 ========== */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-heading);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-title h2 span {
  color: var(--accent);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
}

/* ========== 内容区块 ========== */
.content-section {
  padding: 60px 0;
  position: relative;
}

.content-section:nth-child(even) {
  background: rgba(26, 26, 46, 0.5);
}

/* ========== 番剧卡片网格 ========== */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.anime-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.anime-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.anime-card .card-image {
  position: relative;
  width: 100%;
  padding-top: 140%;
  overflow: hidden;
}

.anime-card .card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.anime-card .card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--sakura);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.anime-card .card-score {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffd700;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.anime-card .card-body {
  padding: 16px;
}

.anime-card .card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anime-card .card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.anime-card .card-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(106, 27, 154, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
}

.anime-card .card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.anime-card .card-update {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--accent);
}

.anime-card .card-update .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ========== 排行榜 ========== */
.ranking-list {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.ranking-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(106, 27, 154, 0.1);
  transition: var(--transition);
}

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

.ranking-item:hover {
  background: var(--bg-card-hover);
}

.ranking-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  margin-right: 16px;
  flex-shrink: 0;
}

.ranking-num.top1 { background: linear-gradient(135deg, #ffd700, #ff8c00); color: #fff; }
.ranking-num.top2 { background: linear-gradient(135deg, #c0c0c0, #808080); color: #fff; }
.ranking-num.top3 { background: linear-gradient(135deg, #cd7f32, #8b4513); color: #fff; }
.ranking-num.normal { background: var(--bg-card); color: var(--text-muted); }

.ranking-info {
  flex: 1;
  min-width: 0;
}

.ranking-info .title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-info .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.ranking-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd700;
  margin-left: 12px;
  flex-shrink: 0;
}

/* ========== 标签云 ========== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tag-cloud a {
  display: inline-block;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-main);
  font-size: 0.88rem;
  transition: var(--transition);
}

.tag-cloud a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 27, 154, 0.3);
}

.tag-cloud a.hot {
  background: var(--sakura);
  border-color: var(--sakura);
  color: #fff;
}

.tag-cloud a.trending {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ========== 即将开播预告 ========== */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.upcoming-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  gap: 16px;
}

.upcoming-card:hover {
  border-color: var(--sakura);
  box-shadow: 0 0 20px rgba(255, 111, 145, 0.15);
}

.upcoming-card .date-box {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: var(--primary);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  color: #fff;
}

.upcoming-card .date-box .month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.upcoming-card .date-box .day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.upcoming-card .info h3 {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.upcoming-card .info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.upcoming-card .info .platform {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: rgba(0, 229, 255, 0.1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.78rem;
}

/* ========== 评论区 ========== */
.comment-list {
  display: grid;
  gap: 20px;
}

.comment-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.comment-user {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 0.95rem;
}

.comment-time {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.comment-body {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.8;
}

.comment-stars {
  color: #ffd700;
  font-size: 0.85rem;
  margin-top: 8px;
}

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

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-heading);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question .icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 24px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ========== 面包屑导航 ========== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
}

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

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

.breadcrumb .separator {
  margin: 0 8px;
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--accent);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h3 {
  font-size: 1.05rem;
  color: var(--text-heading);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: var(--transition);
}

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

.footer-col p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.footer-bottom .age-badge {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--sakura);
  color: var(--sakura);
  border-radius: 4px;
  font-weight: 700;
  margin-left: 8px;
}

/* ========== 详情页 ========== */
.detail-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.detail-hero .bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) brightness(0.4);
}

.detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg-dark) 0%, transparent 100%);
}

.detail-info {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 28px;
  padding: 40px 0;
  align-items: flex-end;
}

.detail-cover {
  width: 200px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.detail-cover img {
  width: 100%;
  height: auto;
}

.detail-text h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.detail-text .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-text .meta-tag {
  padding: 4px 12px;
  background: rgba(106, 27, 154, 0.2);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--primary-light);
}

.detail-text .synopsis {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
}

/* 剧集列表 */
.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.episode-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.episode-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.episode-btn.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
  font-weight: 700;
}

/* ========== 筛选工具栏 ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
}

.filter-bar select,
.filter-bar button {
  padding: 10px 18px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-bar select:focus,
.filter-bar button:hover {
  border-color: var(--accent);
  outline: none;
}

.filter-bar button {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

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

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
}

.pagination a {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.pagination a:hover,
.pagination span.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ========== 动画效果 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(13, 13, 26, 0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-banner {
    min-height: 400px;
  }

  .anime-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .detail-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .detail-cover {
    width: 160px;
  }

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

  .section-title h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 16px;
  }

  .content-section {
    padding: 40px 0;
  }

  .filter-bar {
    flex-direction: column;
  }

  .episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }
}

@media (max-width: 480px) {
  .anime-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

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

  .upcoming-card {
    flex-direction: column;
  }
}

/* ========== 滚动条美化 ========== */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

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

/* ========== 内容文章样式 ========== */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2;
  color: var(--text-main);
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-heading);
  margin: 32px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}

.article-content h3 {
  font-size: 1.2rem;
  color: var(--text-heading);
  margin: 24px 0 12px;
}

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

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

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

/* ========== 两栏布局 ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.sidebar-widget {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.sidebar-widget h3 {
  font-size: 1rem;
  color: var(--text-heading);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

/* 加载动画 */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
