/* ==========================================================
   红桃影视官网 · 设计系统
   视觉概念：红桃剧场 / 胶片光影
   主色：#E8495C（红桃红）
   辅色：#1B2A41（墨蓝）
   点缀：#F2B84B（琥珀金）
   底色：#FAF6F1（暖白）
   ========================================================== */

:root {
  --red: #e8495c;
  --red-dark: #c93045;
  --red-light: #ff6b7a;
  --ink: #1b2a41;
  --ink-soft: #6b7a8a;
  --gold: #f2b84b;
  --cream: #faf6f1;
  --cream-deep: #f1e7dc;
  --white: #ffffff;
  --shadow-card: 0 4px 24px rgba(27, 42, 65, 0.06);
  --shadow-hover: 0 12px 36px rgba(232, 73, 92, 0.18);
}

/* ========== 基础重置 ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 4px;
}

/* ========== 核心布局 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--white);
}

/* ========== 导航栏 ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 73, 92, 0.15);
  transition: box-shadow 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(232, 73, 92, 0.35);
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.25s;
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 0.3s;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--red);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 6px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 4px 16px rgba(232, 73, 92, 0.3);
  font-weight: 700 !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 73, 92, 0.4) !important;
  color: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(27, 42, 65, 0.15);
}

/* ========== 首页 Hero ========== */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--cream) 0%, var(--cream) 55%, #fce4e1 100%);
  padding-top: 72px;
}

.hero::before {
  content: '♥';
  position: absolute;
  right: 2%;
  top: 10%;
  font-family: Georgia, serif;
  font-size: 420px;
  line-height: 1;
  color: rgba(232, 73, 92, 0.06);
  pointer-events: none;
  transform: rotate(12deg);
  z-index: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 640px;
  flex: 1.1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 4px;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 18px;
  background: rgba(232, 73, 92, 0.1);
  color: var(--red);
  border: 1px solid rgba(232, 73, 92, 0.25);
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -2px;
  margin-bottom: 22px;
  position: relative;
}

.hero h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 3px;
  margin-top: 24px;
}

.hero p {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-image {
  flex: 1;
  position: relative;
  background: var(--white);
  padding: 12px;
  box-shadow: var(--shadow-card), 16px 16px 0 rgba(232, 73, 92, 0.12);
  border: 1px solid rgba(232, 73, 92, 0.15);
  animation: float 6s ease-in-out infinite;
  border-radius: 4px;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  background: var(--gold);
  z-index: 2;
  border-radius: 0 0 0 4px;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 36px;
  height: 36px;
  background: var(--red);
  z-index: 2;
  border-radius: 0 4px 0 0;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95) contrast(1.02);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 73, 92, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232, 73, 92, 0.42);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27, 42, 65, 0.2);
}

/* ========== 标签 / 标题 ========== */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  position: relative;
  padding-left: 14px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 2px;
  rotate: 45deg;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 18px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 32px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  border-radius: 3px;
}

.section-desc {
  max-width: 600px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 48px;
  padding-left: 18px;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 0;
  padding: 30px 28px;
  border: none;
  border-top: 4px solid var(--red);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 28px;
  width: 36px;
  height: 3px;
  background: var(--gold);
  transition: width 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--gold);
}

.category-card:hover::after {
  width: 60px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: rgba(232, 73, 92, 0.1);
  border: 1px solid rgba(232, 73, 92, 0.18);
  transition: background 0.3s, color 0.3s;
}

.category-card:hover .card-icon {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.card-link {
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s;
}

.card-link:hover {
  gap: 12px;
}

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
  padding: 10px;
  border: 1px solid rgba(232, 73, 92, 0.18);
  box-shadow: var(--shadow-card);
}

.feature-image::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 24px;
  height: 24px;
  border: 3px solid var(--gold);
  border-top-color: transparent;
  border-right-color: transparent;
  z-index: 2;
  transition: transform 0.4s;
}

.feature-block:hover .feature-image::before {
  transform: rotate(180deg);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92);
}

.feature-text {
  padding: 20px 0;
}

.feature-text .section-label {
  margin-bottom: 10px;
}

.feature-text .section-title {
  padding-left: 0;
}

.feature-text .section-title::before {
  display: none;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px dashed rgba(27, 42, 65, 0.08);
}

.feature-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 2px 2px 0 rgba(242, 184, 75, 0.5);
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 36px 24px;
  border-radius: 0;
  border: 1px solid rgba(232, 73, 92, 0.12);
  background: var(--white);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 2px;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 0;
  overflow: hidden;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.content-wall-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.content-wall-item:hover::after {
  opacity: 1;
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.85) brightness(0.98);
  transition: filter 0.4s, transform 0.6s;
}

.content-wall-item:hover img {
  filter: saturate(1) brightness(1);
  transform: scale(1.03);
}

.content-wall-body {
  padding: 22px 24px 26px;
}

.content-wall-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.content-wall-body p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(27, 42, 65, 0.12);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: rgba(232, 73, 92, 0.4);
}

.faq-item.open {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(232, 73, 92, 0.1);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--red);
  transition: transform 0.35s;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 20px;
  display: none;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== CTA 横幅 ========== */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 55%, var(--red-light) 120%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(232, 73, 92, 0.3);
}

.cta-banner::before {
  content: '♥';
  position: absolute;
  right: -10px;
  top: -30px;
  font-family: Georgia, serif;
  font-size: 180px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  transform: rotate(15deg);
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 72px 0 28px;
  background: var(--cream-deep);
  color: var(--ink);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--red));
  background-size: 200% 100%;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  padding-right: 20px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.8;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s, padding-left 0.25s;
}

.footer-col a:hover {
  color: var(--red);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(27, 42, 65, 0.12);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ========== 工具类 ========== */
.text-accent {
  color: var(--red);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--ink-soft);
  line-height: 1.9;
  text-align: center;
  font-size: 1.05rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero .container {
    gap: 40px;
  }
  .cta-banner {
    padding: 48px 28px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 24px 24px 32px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(27, 42, 65, 0.1);
    border-bottom: 3px solid var(--red);
  }

  .main-nav.open a {
    font-size: 1.05rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(27, 42, 65, 0.08);
  }

  .main-nav.open .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero .container {
    flex-direction: column;
  }

  .hero-content {
    text-align: left;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-image {
    width: 100%;
    animation: none;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }

  .header-inner {
    height: 64px;
  }

  .main-nav.open {
    top: 64px;
  }
}