/* ============================================
   星空视频 - 全站公共样式表
   主题：深空宇宙 · 璀璨星河
   ============================================ */

:root {
  --color-bg-deep: #050816;
  --color-bg: #0a0e27;
  --color-bg-light: #141833;
  --color-card: rgba(255, 255, 255, 0.05);
  --color-card-hover: rgba(255, 255, 255, 0.09);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-primary: #6366f1;
  --color-primary-dark: #4338ca;
  --color-accent: #ffd700;
  --color-accent-warm: #f5a623;
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --gradient-hero: linear-gradient(135deg, #0a0e27 0%, #1a1040 50%, #2d1b69 100%);
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #f5a623 100%);
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--color-bg-deep);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* 星空背景装饰 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 40px 70px, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 90px 40px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 130px 80px, rgba(255, 215, 0, 0.6), transparent),
    radial-gradient(1px 1px at 160px 120px, #fff, transparent),
    radial-gradient(1px 1px at 200px 50px, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 250px 100px, #fff, transparent),
    radial-gradient(1px 1px at 300px 30px, rgba(255, 255, 255, 0.6), transparent);
  background-repeat: repeat;
  background-size: 350px 150px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

body > * {
  position: relative;
  z-index: 1;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #1a1040;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

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

.btn-secondary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

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

.btn-ghost:hover {
  background: var(--color-card-hover);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ========== 头部导航 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(5, 8, 22, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.brand-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

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

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-accent);
  background: var(--color-card);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

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

.search-box {
  display: flex;
  align-items: center;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 8px 16px;
  transition: var(--transition);
}

.search-box:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 14px;
  width: 160px;
}

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

.search-box button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 16px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 28px;
  cursor: pointer;
}

/* ========== Hero 主视觉 ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  font-size: 14px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

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

.hero p.lead {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  animation: fadeIn 1.2s ease both;
}

.hero-poster {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  aspect-ratio: 3 / 4;
}

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

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

.hero-poster .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #1a1040;
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6); }
  50% { box-shadow: 0 0 60px rgba(255, 215, 0, 0.9); }
}

.floating-card {
  position: absolute;
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  animation: float 5s ease-in-out infinite;
}

.floating-card.top-right {
  top: -20px;
  right: -20px;
}

.floating-card.bottom-left {
  bottom: 30px;
  left: -30px;
}

.floating-card .title {
  font-size: 12px;
  color: var(--color-text-dim);
}

.floating-card .value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
}

/* ========== 区域通用 ========== */
.section {
  padding: 100px 0;
}

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

.section-header .eyebrow {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

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

/* ========== 核心特性 ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--color-card-hover);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: var(--shadow-card), 0 0 30px rgba(99, 102, 241, 0.15);
}

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

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

.feature-card p {
  color: var(--color-text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ========== 影视库网格 ========== */
.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.movie-card {
  background: var(--color-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  cursor: pointer;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(255, 215, 0, 0.3);
}

.movie-poster {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}

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

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

.movie-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: var(--gradient-gold);
  color: #1a1040;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.movie-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.movie-info {
  padding: 16px;
}

.movie-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-meta {
  font-size: 13px;
  color: var(--color-text-dim);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========== 服务介绍 ========== */
.services-list {
  display: grid;
  gap: 24px;
}

.service-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.service-item:hover {
  background: var(--color-card-hover);
  border-color: rgba(255, 215, 0, 0.3);
}

.service-thumb {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

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

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

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

.service-tag {
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 50px;
  font-size: 12px;
  color: var(--color-primary);
}

/* ========== CTA ========== */
.cta-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-accent);
}

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

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

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--color-text-dim);
  font-size: 13px;
}

.footer-bottom .copyright {
  text-align: center;
  flex: 1;
}

/* ========== 面包屑 ========== */
.breadcrumb {
  background: rgba(10, 14, 39, 0.6);
  border-bottom: 1px solid var(--color-border);
  padding: 90px 0 24px;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 14px;
}

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

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

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

/* ========== 页面标题区 ========== */
.page-hero {
  background: var(--gradient-hero);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 640px;
}

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

.about-story img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  transition: var(--transition);
}

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

.stat-card .num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.team-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 3px solid var(--color-accent);
}

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

.team-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

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

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

/* ========== 联系页 ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--color-accent);
}

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

.contact-form {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

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

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

.faq-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

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

.faq-question .icon {
  font-size: 20px;
  color: var(--color-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  color: var(--color-text-muted);
  padding: 0 28px;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

/* ========== 新闻列表 ========== */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.news-list {
  display: grid;
  gap: 24px;
}

.news-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

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

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

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

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

.news-cat {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  font-size: 12px;
  color: var(--color-accent);
  align-self: flex-start;
  margin-bottom: 12px;
}

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

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

.news-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--color-text-dim);
}

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

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

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-muted);
}

.pagination a:hover,
.pagination .current {
  background: var(--gradient-gold);
  color: #1a1040;
  border-color: transparent;
}

/* ========== 侧边栏 ========== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-widget h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.cat-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.cat-list li:last-child {
  border-bottom: none;
}

.cat-list li:hover {
  color: var(--color-accent);
  padding-left: 6px;
}

.cat-list .count {
  color: var(--color-text-dim);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud a {
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50px;
  font-size: 13px;
  color: var(--color-text-muted);
  border: 1px solid transparent;
}

.tag-cloud a:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--color-accent);
  border-color: rgba(255, 215, 0, 0.3);
}

.hot-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--color-border);
  cursor: pointer;
}

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

.hot-list .num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.hot-list .title {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.hot-list li:hover .title {
  color: var(--color-accent);
}

/* ========== 新闻详情 ========== */
.article-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 32px;
}

.article-header h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--color-text-dim);
  font-size: 14px;
  flex-wrap: wrap;
}

.article-cover {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16 / 9;
}

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

.article-content {
  font-size: 17px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

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

.article-content h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-text);
  margin: 36px 0 16px;
}

.article-content h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text);
  margin: 28px 0 12px;
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  background: rgba(255, 215, 0, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--color-text);
}

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

/* ========== 影视库筛选 ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-group .label {
  font-size: 14px;
  color: var(--color-text-dim);
  font-weight: 600;
  min-width: 60px;
}

.filter-chip {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--gradient-gold);
  color: #1a1040;
  border-color: transparent;
}

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

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .hero-content,
  .about-story,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 200px 1fr;
  }

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

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

  .nav-menu,
  .search-box {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu.mobile-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 8, 22, 0.98);
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    gap: 4px;
  }

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

  .news-body {
    padding: 0 20px 20px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .service-thumb {
    margin: 0 auto;
  }

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

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

  .hero-stats {
    gap: 24px;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .btn {
    width: 100%;
  }

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