/* ============================================
   红桃影视 · 光影胶片美学设计系统
   风格关键词：红桃灼灼 / 光影生辉 / 胶片质感 / 杂志风
   色彩：暖米白 FDF6EF / 红桃红 E62B4C / 光金 F7B955
   ============================================ */

:root {
  --primary: #E62B4C;
  --primary-dark: #B81E3A;
  --primary-light: #FFE3E8;
  --gold: #F7B955;
  --gold-light: #FCE3B0;
  --bg: #FDF6EF;
  --bg-alt: #FFF0EB;
  --text: #2A1B1A;
  --card: #FFFFFF;
  --shadow: rgba(230, 43, 76, 0.12);
  --shadow-gold: rgba(247, 185, 85, 0.25);
  --radius: 16px;
}

/* 基础重置 */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(230,43,76,0.025) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
  z-index: 10000;
  pointer-events: none;
}

/* 核心布局 — 必须居中 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; position: relative; }

.section:nth-child(even) { background: var(--bg-alt); }

/* 通用装饰：胶片孔洞线 */
.section::after {
  content: '';
  display: block;
  width: 120px;
  height: 6px;
  margin: 24px auto 0;
  background: repeating-linear-gradient(90deg, var(--primary) 0px, var(--primary) 4px, transparent 4px, transparent 8px);
  border-radius: 3px;
  opacity: 0.3;
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed; top: 0; left: 0;
  width: 100%; z-index: 1000;
  background: rgba(253, 246, 239, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(230, 43, 76, 0.12);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

.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: 900;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.85; }

.logo-icon {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(230, 43, 76, 0.3);
  position: relative;
}
.logo-icon::after {
  content: '';
  position: absolute;
  top: -3px; right: -3px;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--bg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: 0.2s;
  position: relative;
  letter-spacing: 0.02em;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }

.nav-cta {
  padding: 8px 22px;
  border-radius: 20px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  box-shadow: 0 3px 12px rgba(230, 43, 76, 0.25);
  transition: 0.3s !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(230, 43, 76, 0.35);
}
.nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  width: 40px; height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
}
.menu-toggle:hover { background: rgba(230, 43, 76, 0.06); }

/* 首页Hero */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 50%; right: 3%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(247,185,85,0.18), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 5%; left: 5%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(230,43,76,0.08), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 720px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(230,43,76,0.08), rgba(247,185,85,0.14));
  color: var(--primary);
  border: 1px solid rgba(230, 43, 76, 0.15);
  position: relative;
}
.hero-eyebrow::before {
  content: '◉ ';
  color: var(--gold);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.12;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.025em;
  position: relative;
}
.hero h1::before {
  content: '「';
  color: var(--primary);
  font-size: 2.2rem;
  vertical-align: super;
  opacity: 0.6;
}
.hero h1::after {
  content: '」';
  color: var(--gold);
  font-size: 2.2rem;
  vertical-align: sub;
  opacity: 0.6;
}

.hero p {
  font-size: 1.05rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
  font-weight: 400;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 48px rgba(230, 43, 76, 0.14), 0 2px 8px rgba(0,0,0,0.04);
  transform: rotate(1.5deg);
  transition: transform 0.4s ease;
}
.hero-image:hover { transform: rotate(0.5deg) scale(1.01); }
.hero-image img { width: 100%; height: auto; display: block; }
.hero-image::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: 10px; bottom: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  z-index: 1;
  pointer-events: none;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(230,43,76,0.08), transparent 45%, rgba(247,185,85,0.1));
  z-index: 1;
  pointer-events: none;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}
.btn:hover::before { left: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #fff;
  box-shadow: 0 4px 18px rgba(230, 43, 76, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(230, 43, 76, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: rgba(230, 43, 76, 0.05);
  transform: translateY(-2px);
  border-color: var(--primary-dark);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--primary);
  position: relative;
  padding-bottom: 8px;
}
.section-label::before {
  content: '▸ ';
  color: var(--gold);
  font-size: 0.9rem;
}
.section-label::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 3px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-desc {
  max-width: 640px;
  opacity: 0.72;
  margin-bottom: 44px;
  line-height: 1.8;
  font-size: 0.98rem;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 20px;
  padding: 30px 28px;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  opacity: 0;
  transition: opacity 0.35s;
}
.category-card::after {
  content: '◆';
  position: absolute;
  bottom: 16px; right: 18px;
  color: rgba(230, 43, 76, 0.08);
  font-size: 1.5rem;
  transition: all 0.3s;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(230, 43, 76, 0.1);
  border-color: rgba(230, 43, 76, 0.12);
}
.category-card:hover::before { opacity: 1; }
.category-card:hover::after {
  color: rgba(230, 43, 76, 0.25);
  transform: scale(1.3) rotate(90deg);
}

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230,43,76,0.08), rgba(247,185,85,0.12));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  transition: 0.3s;
}
.category-card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #fff;
  transform: scale(1.05);
}

.card-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.25s;
}
.card-link:hover { gap: 10px; }
.card-link::after { content: '→'; transition: transform 0.25s; }

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}
.feature-image img { width: 100%; height: auto; display: block; }
.feature-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 35%;
  background: linear-gradient(to top, rgba(230, 43, 76, 0.06), transparent);
  pointer-events: none;
}

.feature-text { position: relative; }
.feature-text::before {
  content: '●';
  position: absolute;
  top: -18px; left: 0;
  color: var(--gold);
  font-size: 1.2rem;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}
.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}
.feature-list li::before {
  content: '✦';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 0 8px rgba(247, 185, 85, 0.5);
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(247,185,85,0.2), transparent 70%);
  border-radius: 50%;
}
.stat-item:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 30px rgba(230, 43, 76, 0.08);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat-number::after {
  content: '+';
  color: var(--gold);
  font-size: 1.6rem;
  vertical-align: super;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 10px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: 0.35s;
}
.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(230, 43, 76, 0.1);
  border-color: rgba(230, 43, 76, 0.1);
}
.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.content-wall-item:hover img { transform: scale(1.04); }
.content-wall-body { padding: 22px 20px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card);
  transition: 0.3s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}
.faq-item:hover {
  border-color: rgba(230, 43, 76, 0.2);
  box-shadow: 0 4px 16px rgba(230, 43, 76, 0.05);
}
.faq-item.open { border-color: rgba(230, 43, 76, 0.25); }

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  transition: 0.3s;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after {
  content: '−';
  color: var(--gold);
}

.faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.92rem;
}
.faq-item.open .faq-answer {
  display: block;
  animation: faqFadeIn 0.3s ease;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #E04A60 30%, var(--gold) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(230, 43, 76, 0.25);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: 0.4s;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50px; left: -30px;
  width: 160px; height: 160px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}
.cta-banner:hover::before {
  transform: scale(1.1);
}
.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}
.cta-banner .btn-primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 32px;
  background: var(--bg);
  border-top: 1px solid rgba(230, 43, 76, 0.12);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand { padding-right: 40px; }
.footer-brand .logo { margin-bottom: 16px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-col a {
  padding: 4px 0;
  color: rgba(42, 27, 26, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 48px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text);
  opacity: 0.55;
  letter-spacing: 0.02em;
}

/* 工具类 */
.text-accent {
  color: var(--primary);
  font-style: italic;
  font-weight: 800;
}
.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.8;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============================================
   额外细节 & 交互增强
   ============================================ */

/* 卡片通用悬停光晕 */
.category-card, .content-wall-item, .stat-item {
  position: relative;
}
.category-card:active,
.content-wall-item:active,
.stat-item:active {
  transform: scale(0.98);
}

/* 链接选中效果 */
::selection {
  background: var(--primary);
  color: #fff;
}

/* 滚动条 - 红桃主题 */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--gold));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* 导入元素平滑显示 */
img { max-width: 100%; }

/* 电影胶片背景细线 */
.section:nth-child(even)::after {
  background: linear-gradient(90deg, var(--gold), var(--primary), var(--gold));
}

/* Hero 标题光影闪烁 */
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.hero-eyebrow { animation: shimmer 3s ease-in-out infinite; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 60px 0; }

  .hero { min-height: 60vh; padding: 90px 0 40px; }
  .hero .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 2.2rem; }
  .hero-image { max-width: 480px; margin: 0 auto; }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0;
    width: 100%;
    background: rgba(253, 246, 239, 0.98);
    padding: 24px;
    gap: 4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(230, 43, 76, 0.1);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    display: block;
    padding: 14px 8px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .menu-toggle { display: flex; }

  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 1.9rem; }
  .section-title { font-size: 1.7rem; }
  .stat-number { font-size: 2rem; }
  .footer-grid { gap: 28px; }
  .footer-brand { padding-right: 0; }
}

/* 打印模式支持 */
@media print {
  .site-header, .menu-toggle, .hero-buttons, .cta-banner { display: none; }
  body { background: #fff; }
  .section { padding: 20px 0; }
  .hero { padding: 20px 0; }
}