/* ============================================================
   红桃影视.tv · 帧心好戏
   Awwwards独奖设计系统 · 电影杂志美学
   暖白基调 · 红桃主色 · 胶片质感
   ============================================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #fffdf8;
  color: #3a3030;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #f5d6d6;
  color: #b53b45;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #faf5f0;
}
::-webkit-scrollbar-thumb {
  background: #e0b4b4;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d64550;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(180deg, #faf5f0 0%, #f7f1ea 100%);
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 210, 205, 0.5);
  box-shadow: 0 2px 24px rgba(180, 120, 115, 0.06);
}

.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: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #3a3030;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #e25763, #d64550);
  color: #fff;
  box-shadow: 0 4px 14px rgba(214, 69, 80, 0.35);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: scale(1.08) rotate(-8deg);
}

.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: #5a4a4a;
  transition: color 0.25s ease;
  position: relative;
  letter-spacing: 0.3px;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d64550;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover {
  color: #d64550;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #e25763, #d64550);
  box-shadow: 0 4px 16px rgba(214, 69, 80, 0.28);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 69, 80, 0.35);
}

.menu-toggle {
  display: none;
  background: none;
  border: 2px solid #d64550;
  color: #d64550;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.menu-toggle:hover {
  background: #f5d6d6;
}

/* ---------- Hero 主视觉 ---------- */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #fffdf8 55%, #f9edea 55%);
  padding: 120px 0 80px;
}

.hero::before {
  content: '♥';
  position: absolute;
  right: -80px;
  top: -60px;
  font-size: 520px;
  line-height: 1;
  color: #d64550;
  opacity: 0.045;
  transform: rotate(-15deg);
  pointer-events: none;
  font-family: Georgia, serif;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #d64550 0px, #d64550 24px,
    transparent 24px, transparent 48px
  );
  opacity: 0.15;
}

.hero-content {
  flex: 1 1 520px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: #f5d6d6;
  color: #b53b45;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(214, 69, 80, 0.15);
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 22px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #2d2525;
}

.hero h1 .text-accent {
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '♥';
  display: inline-block;
  color: #d64550;
  font-size: 0.35em;
  vertical-align: 0.4em;
  margin-left: 4px;
  animation: heartbeat 2.4s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  3% { transform: scale(1.15); }
  6% { transform: scale(1); }
  9% { transform: scale(1.1); }
  12% { transform: scale(1); }
  30% { transform: scale(1); }
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 36px;
  color: #5a4a4a;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
}

.hero-image {
  flex: 1 1 400px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 24px 60px -12px rgba(180, 90, 85, 0.25);
  transform: rotate(1.5deg);
  border: 6px solid #fff;
  transition: transform 0.4s ease;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.4px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #e25763, #d64550);
  box-shadow: 0 6px 22px rgba(214, 69, 80, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(214, 69, 80, 0.38);
}

.btn-outline {
  background: transparent;
  border: 1.8px solid #d64550;
  color: #d64550;
}

.btn-outline:hover {
  background: #f5d6d6;
  border-color: #b53b45;
  color: #b53b45;
}

/* ---------- 标签/标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: #d64550;
  text-transform: uppercase;
}

.section-label::before {
  content: '♥ ';
  font-size: 0.85em;
  opacity: 0.9;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #2d2525;
  letter-spacing: -1px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: linear-gradient(90deg, #d64550, #e9b0b0);
  margin-top: 14px;
  border-radius: 4px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
  color: #5a4a4a;
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(230, 210, 205, 0.6);
  background: #fffdf8;
  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;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d64550, #e9b0b0);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 20px 50px -10px rgba(180, 90, 85, 0.18);
  border-color: #e0c4c0;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #f8e8e5, #f5d6d6);
  color: #d64550;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.6);
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #d64550;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  transition: gap 0.25s;
}

.card-link::after {
  content: '→';
  font-size: 1rem;
  transition: transform 0.25s;
}

.card-link:hover {
  gap: 10px;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid #f0e4e0;
  box-shadow: 0 8px 40px rgba(180, 120, 115, 0.06);
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(180, 100, 95, 0.15);
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.feature-image:hover img {
  transform: scale(1.04);
}

.feature-text {
  padding: 8px 0;
}

.feature-text .section-title {
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: #4a3a3a;
}

.feature-list li::before {
  content: '✓';
  font-weight: 700;
  color: #d64550;
  background: #f8e8e5;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ---------- 数据条 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid rgba(230, 210, 205, 0.6);
  background: #fff;
  box-shadow: 0 4px 24px rgba(180, 120, 115, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '♥';
  position: absolute;
  right: -10px;
  bottom: -16px;
  font-size: 72px;
  color: #d64550;
  opacity: 0.04;
  transform: rotate(12deg);
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(180, 90, 85, 0.1);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: #d64550;
  letter-spacing: -2px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.88rem;
  opacity: 0.6;
  margin-top: 10px;
  color: #5a4a4a;
  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: 20px;
  overflow: hidden;
  border: 1px solid rgba(230, 210, 205, 0.6);
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wall-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -8px rgba(180, 90, 85, 0.16);
  border-color: #e0c4c0;
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 24px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d2525;
  margin-bottom: 8px;
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.68;
  color: #5a4a4a;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(230, 210, 205, 0.6);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #e9b0b0;
  box-shadow: 0 4px 16px rgba(180, 100, 95, 0.06);
}

.faq-item.open {
  border-color: #d64550;
  box-shadow: 0 8px 30px rgba(180, 90, 85, 0.08);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2d2525;
  font-size: 0.98rem;
}

.faq-item .faq-question::after {
  content: '♥';
  color: #d64550;
  font-size: 0.75rem;
  transition: transform 0.35s ease;
  opacity: 0.6;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  opacity: 1;
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.72;
  color: #5a4a4a;
  line-height: 1.7;
  font-size: 0.92rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeInDown 0.35s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
  padding: 64px 48px;
  text-align: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, #e25763, #d64550 60%, #b53b45);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px -8px rgba(214, 69, 80, 0.4);
}

.cta-banner::before {
  content: '♥';
  position: absolute;
  left: -30px;
  bottom: -50px;
  font-size: 240px;
  opacity: 0.08;
  line-height: 1;
  transform: rotate(-20deg);
  font-family: Georgia, serif;
}

.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.25) 0px,
    rgba(255,255,255,0.25) 22px,
    transparent 22px,
    transparent 44px
  );
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.cta-banner h2::after {
  content: ' ♥';
  font-size: 0.5em;
  vertical-align: 0.3em;
  opacity: 0.5;
}

.cta-banner p {
  position: relative;
  z-index: 1;
  opacity: 0.85;
  max-width: 480px;
  margin: 0 auto 30px;
  font-size: 1rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #d64550;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 72px 0 32px;
  background: #faf5f0;
  border-top: 1px solid #efe2dc;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d64550 30%, #e9b0b0 50%, #d64550 70%, transparent);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #8a7a78;
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3a3030;
  margin-bottom: 16px;
  letter-spacing: 1px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #d64550;
  margin-top: 6px;
  border-radius: 2px;
}

.footer-col a {
  display: block;
  color: #8a7a78;
  text-decoration: none;
  padding: 5px 0;
  font-size: 0.88rem;
  transition: color 0.25s, padding-left 0.25s;
}

.footer-col a:hover {
  color: #d64550;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid #e8dcd6;
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.82rem;
  color: #a09090;
  letter-spacing: 0.5px;
}

.footer-bottom a {
  color: #d64550;
  text-decoration: none;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: #d64550;
}

.text-center {
  text-align: center;
}

.text-center .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #5a4a4a;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ---------- 响应式 768px ---------- */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fffdf8;
    padding: 24px;
    flex-direction: column;
    gap: 20px;
    border-bottom: 2px solid #f0e4e0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 24px 24px;
  }

  .main-nav.open {
    display: flex;
    animation: fadeInDown 0.3s ease;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    width: fit-content;
  }

  .hero {
    flex-direction: column;
    padding: 100px 0 60px;
    gap: 44px;
  }

  .hero::before {
    font-size: 320px;
    right: -40px;
    top: -20px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-image {
    width: 100%;
    max-width: 480px;
  }

  .cta-banner {
    padding: 44px 24px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }
}

/* ---------- 响应式 480px ---------- */
@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;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .feature-block {
    padding: 20px;
    gap: 24px;
  }

  .stat-item {
    padding: 22px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    border-radius: 20px;
    padding: 40px 20px;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }
}