/* ============================================
   小马拉大车 - 原创样式表
   品牌：小马拉大车 | 域名：qd576287.cn
   定位：国内影视传媒公司 + 动漫社区
   ============================================ */

/* === 基础重置与变量 === */
:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --secondary: #1A1A2E;
  --accent: #E94560;
  --bg-dark: #0F0F23;
  --bg-card: #16162A;
  --bg-card-hover: #1E1E38;
  --text-main: #EAEAEA;
  --text-muted: #A0A0B8;
  --text-bright: #FFFFFF;
  --gold: #FFD700;
  --gradient-fire: linear-gradient(135deg, #FF6B35, #E94560);
  --gradient-ocean: linear-gradient(135deg, #1A1A2E, #0F0F23);
  --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #E94560 50%, #9B59B6 100%);
  --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === 头部导航 === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 53, 0.15);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 48px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

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

.main-nav a {
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-bright);
  background: rgba(255, 107, 53, 0.15);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* === 搜索框 === */
.search-bar-wrap {
  background: var(--secondary);
  padding: 12px 0;
  margin-top: 70px;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.search-bar {
  display: flex;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid rgba(255, 107, 53, 0.2);
  border-radius: 50px;
  overflow: hidden;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  padding: 12px 20px;
  font-size: 0.95rem;
}

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

.search-bar button {
  background: var(--gradient-fire);
  border: none;
  color: var(--text-bright);
  padding: 12px 28px;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.search-bar button:hover {
  opacity: 0.9;
}

/* === Hero Banner === */
.hero-banner {
  position: relative;
  overflow: hidden;
  height: 520px;
}

.hero-slides {
  display: flex;
  transition: transform 0.6s ease;
  height: 100%;
}

.hero-slide {
  min-width: 100%;
  position: relative;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 15, 35, 0.95) 0%, rgba(15, 15, 35, 0.3) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 60px 40px;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

.hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

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

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

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

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

.section-header h2 span {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.section-tag {
  display: inline-block;
  background: rgba(255, 107, 53, 0.12);
  color: var(--primary);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 1px;
}

/* === 动漫视频卡片 === */
.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.video-card .thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

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

.video-card .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 35, 0.5);
  opacity: 0;
  transition: var(--transition);
}

.video-card:hover .play-btn {
  opacity: 1;
}

.play-btn .play-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
  transition: var(--transition);
}

.play-btn .play-icon:hover {
  transform: scale(1.1);
}

.play-btn .play-icon::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent #fff;
  margin-left: 4px;
}

.video-card .card-info {
  padding: 16px;
}

.video-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card .card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.video-card .card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-card .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.video-card .card-tags .tag {
  background: rgba(255, 107, 53, 0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* === 影视传媒服务 === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255, 107, 53, 0.08);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-fire);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  color: #fff;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
}

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

/* === AI赋能区 === */
.ai-section {
  position: relative;
  overflow: hidden;
}

.ai-section .bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ai-section .bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.ai-section .container {
  position: relative;
  z-index: 1;
}

.ai-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.ai-feature-card {
  background: rgba(22, 22, 42, 0.85);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(233, 69, 96, 0.15);
  transition: var(--transition);
}

.ai-feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(233, 69, 96, 0.2);
}

.ai-feature-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.ai-feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === 专家团队 === */
.expert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.expert-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255, 107, 53, 0.08);
  transition: var(--transition);
}

.expert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.expert-card .avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 28px auto 16px;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.expert-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
}

.expert-card .role {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.expert-card .bio {
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0 20px;
  line-height: 1.6;
}

.expert-card .expert-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: #fff;
}

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

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

/* === 合作品牌墙 === */
.brand-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: center;
}

.brand-wall .brand-item {
  background: var(--bg-card);
  padding: 20px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  min-width: 160px;
  text-align: center;
}

.brand-wall .brand-item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* === 用户评价 === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255, 107, 53, 0.08);
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(255, 107, 53, 0.2);
}

.review-card .stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card .review-text {
  color: var(--text-main);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.review-card .reviewer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-card .reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-fire);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-card .reviewer-info .name {
  font-weight: 600;
  color: var(--text-bright);
  font-size: 0.9rem;
}

.review-card .reviewer-info .date {
  color: var(--text-muted);
  font-size: 0.8rem;
}

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

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 107, 53, 0.08);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(255, 107, 53, 0.2);
}

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

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

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

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

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

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

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

/* === 社区功能 === */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.community-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(233, 69, 96, 0.08);
  transition: var(--transition);
}

.community-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.community-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.community-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}

.community-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255, 107, 53, 0.08);
}

.contact-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.contact-card .info-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-card .info-line strong {
  color: var(--text-main);
  min-width: 70px;
}

/* === 页脚 === */
.site-footer {
  background: var(--secondary);
  border-top: 1px solid rgba(255, 107, 53, 0.1);
  padding: 50px 0 0;
}

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

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-fire);
  border-radius: 2px;
}

.footer-col p,
.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 2;
}

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

.footer-col .qr-wrap {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.footer-col .qr-wrap img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  border: 2px solid rgba(255, 107, 53, 0.2);
}

.footer-col .qr-wrap .qr-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

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

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

/* === 社交分享按钮 === */
.share-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-btn.wechat { background: #07C160; }
.share-btn.weibo { background: #E6162D; }
.share-btn.douyin { background: #161823; border: 1px solid #FE2C55; }
.share-btn.bilibili { background: #00A1D6; }

/* === 面包屑 === */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

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

.breadcrumb span {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.2);
}

/* === How-To指南 === */
.howto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.howto-step {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  border: 1px solid rgba(255, 107, 53, 0.08);
  counter-increment: step;
}

.howto-step::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: var(--gradient-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.howto-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
  margin-top: 6px;
}

.howto-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* === 内页通用 === */
.page-hero {
  padding: 120px 0 60px;
  background: var(--secondary);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

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

.page-content {
  padding: 60px 0;
}

.page-content h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  margin-top: 30px;
}

.page-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* === 动漫详情页 === */
.anime-detail-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
}

.anime-poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.anime-poster img {
  width: 100%;
}

.anime-info h1 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-bright);
  margin-bottom: 12px;
}

.anime-info .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.anime-info .meta-row .label {
  color: var(--primary);
  font-weight: 600;
}

.anime-info .description {
  color: var(--text-main);
  line-height: 1.9;
  margin-bottom: 20px;
}

.anime-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--bg-card);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(255, 107, 53, 0.08);
}

.stat-item .num {
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* === 懒加载占位 === */
.lazy-img {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.lazy-img.loaded {
  opacity: 1;
}

/* === 回到顶部 === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

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

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

/* === 响应式 === */
@media (max-width: 1024px) {
  .anime-detail-hero {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 107, 53, 0.15);
  }

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

  .mobile-menu-btn {
    display: block;
  }

  .hero-banner {
    height: 360px;
  }

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

  .hero-content p {
    font-size: 0.95rem;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .anime-detail-hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .anime-poster {
    max-width: 260px;
    margin: 0 auto;
  }

  .anime-stats {
    justify-content: center;
  }

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

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

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

@media (max-width: 480px) {
  .header-inner {
    height: 60px;
  }

  .logo img {
    height: 36px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .search-bar-wrap {
    margin-top: 60px;
  }

  .hero-banner {
    height: 280px;
  }

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

  .section-header h2 {
    font-size: 1.3rem;
  }

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

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

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

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

/* === 脉冲动画 === */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6);
  }
}

.pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* === 时间线 === */
.timeline {
  position: relative;
  padding-left: 40px;
  margin: 30px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-fire);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding-left: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.4);
}

.timeline-year {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

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

/* === 法律/政策页面 === */
.legal-page h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 107, 53, 0.1);
}

.legal-page p {
  text-align: justify;
}

/* === 专家凭证 === */
.expert-card .credentials {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 10px;
  padding: 0 16px;
  line-height: 1.6;
}

/* === Footer信任链接 === */
.footer-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 0;
}

.footer-trust a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

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

.footer-trust span {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* === 数据统计条 === */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px 0;
}

.stats-bar .stat-block {
  text-align: center;
}

.stats-bar .stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-bar .stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 4px;
}

/* === 移动端法律页面适配 === */
@media (max-width: 768px) {
  .timeline {
    padding-left: 30px;
  }
  
  .timeline-item::before {
    left: -24px;
  }
  
  .footer-trust {
    gap: 8px;
  }
  
  .stats-bar {
    gap: 20px;
  }
  
  .stats-bar .stat-num {
    font-size: 1.8rem;
  }
  
  .legal-page h2 {
    font-size: 1.2rem;
  }
}
