/* ============================================
   黑料网播客与音频爆料平台 - 主样式表
   暗紫+橙沉浸式播客风格
   ============================================ */

:root {
  --primary: #FF6D00;
  --secondary: #E040FB;
  --bg: #1C1033;
  --card: #2A1F4E;
  --accent: #FFAB00;
  --text: #E8E0F0;
  --text-muted: #A89BC2;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(255, 109, 0, 0.2);
  --shadow-purple: 0 4px 20px rgba(224, 64, 251, 0.15);
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-purple: linear-gradient(135deg, var(--secondary), #7C4DFF);
  --font-main: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", monospace;
  --max-width: 1200px;
  --header-height: 72px;
}

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

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

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

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

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

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

ul, ol {
  list-style: none;
}

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

/* ============================================
   头部导航
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(28, 16, 51, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 109, 0, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

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

.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

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

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

/* ============================================
   首屏英雄区
   ============================================ */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 20px 60px;
  overflow: hidden;
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 16, 51, 0.4) 0%, rgba(28, 16, 51, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

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

/* 波形动画 */
.waveform-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 48px;
  margin: 30px auto;
}

.waveform-animation .bar {
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
  animation: waveform 1.2s ease-in-out infinite;
}

.waveform-animation .bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.waveform-animation .bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.waveform-animation .bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.waveform-animation .bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.waveform-animation .bar:nth-child(5) { height: 30px; animation-delay: 0.4s; }
.waveform-animation .bar:nth-child(6) { height: 45px; animation-delay: 0.5s; }
.waveform-animation .bar:nth-child(7) { height: 28px; animation-delay: 0.6s; }
.waveform-animation .bar:nth-child(8) { height: 38px; animation-delay: 0.7s; }
.waveform-animation .bar:nth-child(9) { height: 22px; animation-delay: 0.8s; }
.waveform-animation .bar:nth-child(10) { height: 32px; animation-delay: 0.9s; }
.waveform-animation .bar:nth-child(11) { height: 26px; animation-delay: 1.0s; }
.waveform-animation .bar:nth-child(12) { height: 42px; animation-delay: 1.1s; }

@keyframes waveform {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   按钮样式
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 109, 0, 0.35);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(224, 64, 251, 0.5);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  background: rgba(224, 64, 251, 0.1);
  color: var(--secondary);
}

.btn-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 171, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-play:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(255, 171, 0, 0.6);
}

/* ============================================
   区块通用样式
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-alt {
  background: rgba(42, 31, 78, 0.3);
}

/* ============================================
   卡片系统
   ============================================ */
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 109, 0, 0.08);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 109, 0, 0.2);
}

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

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

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

.card-body {
  padding: 20px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 节目卡片 */
.episode-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
}

.episode-card .card-img {
  aspect-ratio: 1;
}

.episode-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.episode-duration {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
}

/* ============================================
   网格布局
   ============================================ */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ============================================
   嘉宾卡片
   ============================================ */
.guest-card {
  text-align: center;
  padding: 32px 20px;
}

.guest-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 16px rgba(255, 109, 0, 0.3);
}

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

.guest-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.guest-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   播放器组件
   ============================================ */
.audio-player {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(255, 109, 0, 0.1);
}

.player-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.player-cover {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.player-title {
  font-weight: 600;
  font-size: 1rem;
}

.player-artist {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(232, 224, 240, 0.15);
  border-radius: 2px;
  margin: 16px 0 8px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  width: 35%;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: -4px;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(255, 171, 0, 0.5);
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

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

.player-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.player-btn {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 4px;
}

.player-btn:hover {
  color: var(--primary);
}

.player-btn.play-main {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1C1033;
  font-size: 1.1rem;
}

/* ============================================
   章节时间戳
   ============================================ */
.chapters-list {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
}

.chapter-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(232, 224, 240, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.chapter-item:hover,
.chapter-item.active {
  padding-left: 12px;
  background: rgba(255, 109, 0, 0.05);
  border-radius: 8px;
}

.chapter-time {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  min-width: 50px;
}

.chapter-title {
  font-size: 0.95rem;
  color: var(--text);
}

.chapter-item.active .chapter-title {
  color: var(--primary);
  font-weight: 600;
}

/* ============================================
   订阅按钮组
   ============================================ */
.subscribe-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--card);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(232, 224, 240, 0.1);
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  border-color: var(--primary);
  background: rgba(255, 109, 0, 0.08);
  color: var(--primary);
  transform: translateY(-2px);
}

.subscribe-btn .icon {
  font-size: 1.2rem;
}

/* ============================================
   评论区
   ============================================ */
.review-card {
  padding: 24px;
}

.review-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
  font-style: italic;
}

.review-author {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   分类入口
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-item {
  text-align: center;
  padding: 32px 16px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 109, 0, 0.08);
  transition: all 0.3s ease;
}

.category-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.category-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.category-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   排行榜
   ============================================ */
.rank-list {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(232, 224, 240, 0.06);
}

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

.rank-number {
  font-size: 1.4rem;
  font-weight: 800;
  min-width: 32px;
  color: var(--text-muted);
}

.rank-item:nth-child(1) .rank-number { color: var(--accent); }
.rank-item:nth-child(2) .rank-number { color: var(--primary); }
.rank-item:nth-child(3) .rank-number { color: var(--secondary); }

.rank-cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

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

.rank-info {
  flex: 1;
}

.rank-title {
  font-size: 0.95rem;
  font-weight: 600;
}

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

/* ============================================
   页脚
   ============================================ */
.site-footer {
  background: rgba(20, 12, 40, 0.8);
  border-top: 1px solid rgba(255, 109, 0, 0.1);
  padding: 60px 0 30px;
}

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

.footer-brand {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 5px 0;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(232, 224, 240, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   面包屑
   ============================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--header-height);
}

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

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

.breadcrumb .separator {
  color: rgba(232, 224, 240, 0.3);
}

/* ============================================
   内页通用
   ============================================ */
.page-header {
  padding: calc(var(--header-height) + 40px) 0 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(42, 31, 78, 0.5) 0%, transparent 100%);
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.page-header .page-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.page-content {
  padding: 40px 0 80px;
}

/* FAQ */
.faq-section {
  margin-top: 60px;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 109, 0, 0.06);
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(255, 109, 0, 0.05);
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 500px;
}

.faq-answer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   搜索页
   ============================================ */
.search-box {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 24px;
  padding-right: 56px;
  background: var(--card);
  border: 2px solid rgba(255, 109, 0, 0.2);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--primary);
}

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

.search-submit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ============================================
   转录文字面板
   ============================================ */
.transcript-panel {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.transcript-header {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(232, 224, 240, 0.08);
  cursor: pointer;
}

.transcript-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.transcript-toggle {
  color: var(--primary);
  font-size: 0.85rem;
}

.transcript-body {
  padding: 24px;
  max-height: 400px;
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 2;
  color: var(--text-muted);
}

.transcript-body::-webkit-scrollbar {
  width: 4px;
}

.transcript-body::-webkit-scrollbar-track {
  background: transparent;
}

.transcript-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

/* ============================================
   倍速选择
   ============================================ */
.speed-selector {
  display: flex;
  gap: 4px;
}

.speed-btn {
  padding: 4px 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(232, 224, 240, 0.08);
  border: none;
  border-radius: 4px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s ease;
}

.speed-btn.active,
.speed-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* ============================================
   合作区域
   ============================================ */
.cta-section {
  text-align: center;
  padding: 60px 40px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 109, 0, 0.1);
}

.cta-section h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(28, 16, 51, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

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

  .hero-content .subtitle {
    font-size: 1rem;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .episode-card {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section {
    padding: 50px 0;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .hero-section {
    min-height: 70vh;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

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

  .subscribe-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}

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

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

/* 流光进度条 */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.progress-fill {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

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

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
