/* ==========================================================
   88影视网 · 电影杂志编辑风设计系统
   A Cinematic Editorial Design System
   ========================================================== */

:root {
  --cream: #FAF6EF;
  --cream-deep: #F1E8DA;
  --cream-dark: #E9DCC8;
  --coral: #FF5A3C;
  --coral-dark: #E84A2E;
  --teal: #127A73;
  --teal-dark: #0D5E58;
  --ink: #1B2A3E;
  --warm-brown: #9B8B75;
  --gold: #D9A441;
  --border-soft: #EADDCB;
  --shadow-soft: 0 12px 32px rgba(27, 42, 62, 0.08);
  --shadow-float: 0 20px 48px rgba(255, 90, 60, 0.12);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-serif: Georgia, 'Songti SC', 'SimSun', 'Noto Serif SC', serif;
  --font-sans: system-ui, 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
}

/* ==========================================================
   基础重置
   ========================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--coral);
  color: #fff;
}

/* ==========================================================
   核心布局
   ========================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, var(--cream) 0%, #FDFBF7 100%);
}

/* ==========================================================
   导航 — 电影场记板风格
   ========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0px,
    var(--coral) 18px,
    transparent 18px,
    transparent 32px
  );
  opacity: 0.7;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
  font-family: var(--font-serif);
  position: relative;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px 8px 8px 2px;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-family: var(--font-sans);
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(255, 90, 60, 0.3);
  transform: rotate(-3deg);
  transition: transform 0.3s;
}

.logo:hover .logo-icon {
  transform: rotate(0deg) scale(1.05);
}

.logo span:nth-last-child(1) {
  background: linear-gradient(90deg, var(--coral) 0%, #B93A20 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: 0.25s;
  position: relative;
  padding: 4px 0;
  letter-spacing: 0.3px;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--coral);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 9px 22px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: var(--ink);
  border: 2px solid var(--ink);
  transition: all 0.3s !important;
  letter-spacing: 0.5px;
}

.nav-cta:hover {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 90, 60, 0.25);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ==========================================================
   Hero — 主视觉 · 老电影海报区
   ========================================================== */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(217, 164, 65, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(18, 122, 115, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 24px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 90, 60, 0.6) 0px,
    rgba(255, 90, 60, 0.6) 12px,
    transparent 12px,
    transparent 24px
  );
  opacity: 0.5;
  animation: filmStripSlide 18s linear infinite;
}

@keyframes filmStripSlide {
  0% { background-position-x: 0; }
  100% { background-position-x: 240px; }
}

.hero::after {
  content: '🎬';
  position: absolute;
  right: -20px;
  bottom: 20px;
  font-size: 180px;
  opacity: 0.06;
  transform: rotate(-15deg);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(255, 90, 60, 0.08);
  border: 1.5px solid rgba(255, 90, 60, 0.2);
  color: var(--coral);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: '▶';
  font-size: 0.65rem;
  color: var(--gold);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--ink);
}

.hero h1 .text-accent-tilt {
  display: inline-block;
  background: linear-gradient(135deg, var(--coral) 0%, #FFB347 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.65;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
  color: var(--ink);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero 右侧装饰 — 电影票根卡片 */
.hero-visual {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-ticket {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-soft);
  position: relative;
  transform: rotate(3deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-ticket:hover {
  transform: rotate(0deg) scale(1.03);
}

.hero-ticket::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  width: 80%;
  height: 16px;
  background: radial-gradient(circle at 4px -4px, transparent 8px, #fff 8px);
  background-size: 20px 20px;
  filter: drop-shadow(0 4px 4px rgba(27, 42, 62, 0.05));
}

.hero-ticket-cover {
  width: 100%;
  height: 160px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, #FF6B4A 0%, #FF8E63 50%, #FFB884 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.hero-ticket-cover::before {
  content: '88';
  position: absolute;
  font-size: 4rem;
  font-weight: 900;
  opacity: 0.15;
  font-family: var(--font-serif);
}

.hero-ticket-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--warm-brown);
}

.hero-ticket-info span:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* 隐藏移动端视觉装饰 */
.hero-visual-mobile {
  display: none;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-sans);
  letter-spacing: 0.3px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 90, 60, 0.28);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 90, 60, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--teal);
  color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 122, 115, 0.25);
}

/* ==========================================================
   标题 & 标签
   ========================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--teal);
  text-transform: uppercase;
}

.section-label::before {
  content: '●';
  font-size: 0.5rem;
  color: var(--coral);
}

.section-label::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.section-desc {
  max-width: 620px;
  opacity: 0.65;
  margin-bottom: 44px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
}

/* ==========================================================
   卡片网格 — 票根/入场券风格
   ========================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 16px;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid var(--border-soft);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--teal));
  opacity: 0;
  transition: opacity 0.35s;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-float);
  border-color: rgba(255, 90, 60, 0.2);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--cream), var(--cream-deep));
  box-shadow: inset 0 1px 2px rgba(27, 42, 62, 0.05);
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  top: 8px;
  right: 8px;
  box-shadow: 0 0 8px rgba(255, 90, 60, 0.5);
}

.category-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-serif);
}

.category-card p {
  font-size: 0.88rem;
  color: var(--warm-brown);
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.card-link:hover {
  gap: 12px;
  color: var(--coral-dark);
}

.card-link::after {
  content: '→';
  transition: transform 0.3s;
}

.card-link:hover::after {
  transform: translateX(2px);
}

/* ==========================================================
   特性块 — 左右复古典雅布局
   ========================================================== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  border: 1px solid var(--border-soft);
}

.feature-image::after {
  content: '🎬';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.feature-image:hover img {
  transform: scale(1.02);
}

.feature-text {
  position: relative;
}

.feature-text .section-label {
  margin-bottom: 10px;
}

.feature-text h2 {
  font-size: 2rem;
  font-family: var(--font-serif);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.25;
  color: var(--ink);
}

.feature-text > p {
  opacity: 0.7;
  margin-bottom: 24px;
  line-height: 1.7;
  color: var(--ink);
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px dashed var(--border-soft);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--teal);
  font-size: 1rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(18, 122, 115, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================
   数据条 — 电影榜单风格
   ========================================================== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--ink) 0%, #2D4055 100%);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--coral) 0 20px,
    var(--gold) 20px 40px,
    var(--teal) 40px 60px
  );
}

.stats-bar::after {
  content: '🎬';
  position: absolute;
  right: 8%;
  bottom: 10px;
  font-size: 120px;
  opacity: 0.04;
  pointer-events: none;
}

.stat-item {
  padding: 20px 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  transition: transform 0.3s, background 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  font-family: var(--font-serif);
  background: linear-gradient(135deg, var(--gold) 0%, #F5C96D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
  font-feature-settings: 'tnum';
}

.stat-number::after {
  content: '+';
  font-size: 1.6rem;
  opacity: 0.7;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.6;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* ==========================================================
   内容墙 — 电影剧照墙
   ========================================================== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #fff;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: rgba(255, 90, 60, 0.2);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-item::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--coral);
  box-shadow: 0 8px 24px rgba(255, 90, 60, 0.3);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-wall-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  font-family: var(--font-serif);
}

.content-wall-body .meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--warm-brown);
}

.content-wall-body .meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rating {
  color: var(--gold) !important;
  font-weight: 700;
}

/* ==========================================================
   FAQ — 手风琴面板
   ========================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 90, 60, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.faq-item.open {
  border-color: rgba(255, 90, 60, 0.3);
  box-shadow: 0 8px 24px rgba(255, 90, 60, 0.08);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
  font-size: 0.98rem;
  background: #fff;
  position: relative;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.3s, color 0.3s;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(18, 122, 115, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  color: var(--coral);
  background: rgba(255, 90, 60, 0.08);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.72;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink);
  border-top: 1px dashed var(--border-soft);
  padding-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeSlideDown 0.3s ease;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 0.72;
    transform: translateY(0);
  }
}

/* ==========================================================
   CTA横幅 — 电影海报风
   ========================================================== */
.cta-banner {
  padding: 70px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--coral) 0%, #FF7A5F 45%, var(--gold) 120%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 90, 60, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
  animation: ctaGlow 6s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.1); }
}

.cta-banner::after {
  content: '88';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12rem;
  font-weight: 900;
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(27, 42, 62, 0.3);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  background: #fff;
  color: var(--ink);
  transform: translateY(-3px);
}

/* ==========================================================
   页脚 — 深青绿电影档案室
   ========================================================== */
.site-footer {
  padding: 64px 0 28px;
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 20px,
    var(--coral) 20px 40px,
    var(--teal-dark) 40px 60px
  );
  opacity: 0.5;
}

.site-footer::after {
  content: '🎬';
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 6rem;
  opacity: 0.05;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 20px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 18px;
}

.footer-brand .logo-icon {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(217, 164, 65, 0.3);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--gold);
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--coral);
  margin-top: 6px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul a::before {
  content: '›';
  color: var(--coral);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}

.footer-col ul a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 48px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.5px;
}

/* ==========================================================
   工具类
   ========================================================== */
.text-accent {
  color: var(--coral);
  font-weight: 700;
}

.text-accent-teal {
  color: var(--teal);
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 48px;
  opacity: 0.65;
  text-align: center;
  line-height: 1.8;
  color: var(--ink);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ==========================================================
   响应式适配
   ========================================================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-visual {
    right: 2%;
    width: 260px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-visual-mobile {
    display: block;
    margin-top: 32px;
    width: 100%;
    max-width: 360px;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-image {
    max-height: 240px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 32px 16px;
  }

  .stat-item:nth-child(n+3) {
    margin-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    z-index: 1200;
    position: relative;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 69px);
    background: rgba(250, 246, 239, 0.98);
    backdrop-filter: blur(20px);
    padding: 28px 24px;
    gap: 20px;
    overflow-y: auto;
    box-shadow: 0 16px 40px rgba(27, 42, 62, 0.12);
    border-radius: 0 0 20px 20px;
    border-bottom: 1px solid var(--border-soft);
    list-style: none;
    align-items: center;
  }

  .main-nav.open a {
    font-size: 1.05rem;
    padding: 8px 12px;
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    margin-top: 8px;
    width: auto;
    padding: 12px 36px;
  }

  .cta-banner {
    padding: 50px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .cta-banner::after {
    font-size: 6rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .feature-text h2 {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner h2 {
    font-size: 1.35rem;
  }

  .cta-banner p {
    font-size: 0.9rem;
  }
}

/* ==========================================================
   微交互 & 动画
   ========================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out both;
}

.category-card:nth-child(1) { animation-delay: 0.05s; }
.category-card:nth-child(2) { animation-delay: 0.1s; }
.category-card:nth-child(3) { animation-delay: 0.15s; }
.category-card:nth-child(4) { animation-delay: 0.2s; }

/* 滚动条定制 */
::-webkit-scrollbar {
  width: 10px;
  background: var(--cream);
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--coral), var(--gold), var(--teal));
  border-radius: 8px;
  border: 2px solid var(--cream);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--coral-dark), var(--gold), var(--teal-dark));
}

/* 打印优化 */
@media print {
  .site-header {
    position: static;
    background: none;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .btn,
  .nav-cta,
  .menu-toggle {
    display: none !important;
  }

  .category-card,
  .content-wall-item {
    break-inside: avoid;
  }
}