/* ============================================
   影视大全官方入口 · Sunset Cream 设计系统
   复古胶片暖调 · 光影全览
   ============================================ */

:root {
  --cream: #FCF6EE;
  --cream-2: #F8EFE2;
  --ink: #26221D;
  --muted: #6E6152;
  --rust: #D94F30;
  --red: #E5402C;
  --gold: #F5B53D;
  --gold-light: #FFD98A;
  --teal: #1E7D6E;
  --line: #E9DCCD;
  --shadow: rgba(108, 77, 50, 0.14);
  --font-display: Georgia, "Songti SC", "STSong", "SimSun", serif;
  --font-body: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ============ 基础重置 ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(180, 140, 90, 0.07) 1px, transparent 0) 0 0 / 24px 24px,
    linear-gradient(180deg, #FDF8F1 0%, #FBF2E6 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--red);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream-2);
}
::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gold), var(--rust));
}

/* ============ 核心布局 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 86px 0;
  position: relative;
}

.section:nth-child(even) {
  background:
    linear-gradient(120deg, rgba(245, 181, 61, 0.06), transparent 30%),
    linear-gradient(240deg, rgba(217, 79, 48, 0.05), transparent 40%),
    #F7EFE4;
}

/* ============ 导航 Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 241, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.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.15rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50% 50% 20% 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(229, 64, 44, 0.4);
  transform: rotate(-6deg);
  transition: transform 0.25s ease;
}

.logo:hover .logo-icon {
  transform: rotate(6deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--rust);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--rust);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 20px 4px 20px 4px;
  background: linear-gradient(135deg, var(--red), var(--rust));
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(229, 64, 44, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 64, 44, 0.4);
}

.nav-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: 0.3s;
}

/* ============ Hero 首页 ============ */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(245, 181, 61, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(217, 79, 48, 0.14) 0%, transparent 45%),
    radial-gradient(ellipse at 100% 80%, rgba(30, 125, 110, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, #FDF8F2 0%, #FAF0E3 100%);
}

.hero::before {
  content: '影视大全';
  position: absolute;
  right: 30px;
  bottom: 14px;
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 8px;
  writing-mode: vertical-rl;
  color: rgba(229, 64, 44, 0.06);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -4%;
  width: 42%;
  height: 130%;
  background: repeating-linear-gradient(
    90deg,
    rgba(229, 64, 44, 0.07) 0 18px,
    transparent 18px 34px
  );
  transform: rotate(8deg);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  flex: 1 1 auto;
  max-width: 720px;
  position: relative;
  z-index: 1;
  animation: heroUp 0.8s ease both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 20px 4px 20px 4px;
  background: linear-gradient(90deg, var(--rust), var(--red));
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(217, 79, 48, 0.28);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--ink);
  display: inline-block;
  text-shadow: 4px 4px 0 rgba(245, 181, 61, 0.5);
}

.hero h1 span {
  background: linear-gradient(180deg, transparent 68%, rgba(245, 181, 61, 0.75) 68%);
  padding: 0 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 auto;
  max-width: 520px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  box-shadow:
    12px 12px 0 rgba(245, 181, 61, 0.35),
    0 18px 40px rgba(108, 77, 50, 0.18);
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 8px 8px 18px 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--rust));
  color: #fff;
  box-shadow:
    0 8px 0 rgba(217, 79, 48, 0.4),
    0 6px 18px rgba(229, 64, 44, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  background: #fff;
  border: 1.5px solid var(--rust);
  color: var(--rust);
  box-shadow: 0 8px 0 rgba(217, 79, 48, 0.1);
}

.btn-outline:hover {
  background: var(--rust);
  color: #fff;
  transform: translateY(-3px);
}

/* ============ 标签 / 标题 ============ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rust);
  background: rgba(229, 64, 44, 0.12);
  padding: 6px 14px;
  border-radius: 4px 16px 4px 16px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 14px;
  display: inline-block;
  background: linear-gradient(180deg, transparent 0, transparent 76%, rgba(245, 181, 61, 0.45) 76%);
  padding-bottom: 4px;
  padding-right: 6px;
}

.section-desc {
  max-width: 640px;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 44px;
}

/* ============ 卡片网格 ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #FFFDF9;
  border: 1.5px solid var(--line);
  border-radius: 6px 6px 24px 6px;
  padding: 30px 26px 34px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 6px 0 0 rgba(229, 64, 44, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before,
.category-card::after {
  content: '';
  position: absolute;
  bottom: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 1px var(--line);
}

.category-card::before {
  left: -8px;
}

.category-card::after {
  right: -8px;
}

.category-card:hover {
  transform: translateY(-5px) rotate(-0.3deg);
  box-shadow:
    inset 6px 0 0 rgba(229, 64, 44, 0.9),
    0 16px 30px rgba(108, 77, 50, 0.15);
}

.card-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #FBE3D0, #FFD9B0);
  color: var(--rust);
  border-radius: 45% 15% 45% 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  box-shadow: 3px 3px 0 rgba(229, 64, 44, 0.2);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--red);
  margin-top: 12px;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ============ 特性块 ============ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  box-shadow:
    10px 10px 0 rgba(245, 181, 61, 0.5),
    0 18px 34px rgba(108, 77, 50, 0.16);
}

.feature-image::after {
  content: '';
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--rust));
  border: 4px solid #fff;
  box-shadow: 0 6px 14px rgba(229, 64, 44, 0.3);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  min-width: 0;
}

.feature-list {
  list-style: none;
  margin-top: 12px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 550;
}

.feature-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 181, 61, 0.3);
  color: var(--rust);
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============ 数据条 ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 10px;
}

.stat-item {
  background: #FFFDF9;
  padding: 28px 18px;
  border-radius: 10px 10px 30px 10px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(108, 77, 50, 0.08);
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 0 0 4px 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: var(--rust);
  text-shadow: 2px 2px 0 rgba(245, 181, 61, 0.4);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: 1px;
}

/* ============ 内容墙 ============ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 10px 10px 22px 10px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.content-wall-item:hover {
  transform: translateY(-5px) rotate(0.5deg);
  box-shadow: 0 16px 32px rgba(108, 77, 50, 0.14);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 8px 20px 22px;
  border-left: 3px solid var(--gold);
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #FFFDF9;
  border: 1.5px solid var(--line);
  border-radius: 10px 10px 14px 10px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item .faq-question::after {
  content: '+';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(229, 64, 44, 0.14);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.72;
  color: #433E38;
}

.faq-item.open {
  border-color: var(--red);
  box-shadow: 4px 4px 0 rgba(245, 181, 61, 0.3);
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqFade 0.25s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
  transform: rotate(180deg);
  background: var(--red);
  color: #fff;
}

/* ============ CTA 横幅 ============ */
.cta-banner {
  padding: 64px 40px;
  text-align: center;
  border-radius: 20px 6px 20px 6px;
  background: linear-gradient(115deg, var(--red) 0%, var(--rust) 60%, #C23A2B 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 46px rgba(217, 79, 48, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(245, 181, 61, 0.18);
}

.cta-banner h2 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 0 rgba(150, 40, 30, 0.25);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
}

/* ============ 页脚 ============ */
.site-footer {
  background: #FBF5EC;
  padding: 64px 0 28px;
  border-top: 4px solid;
  border-image: linear-gradient(90deg, var(--gold), var(--red), var(--gold)) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1fr;
  gap: 44px;
}

.footer-brand {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  font-size: 0.9rem;
  transition: color 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--red);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ============ 工具类 ============ */
.text-accent {
  color: var(--red);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 48px;
  opacity: 0.75;
  color: var(--muted);
  text-align: center;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ============ 动画 ============ */
@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    flex-direction: column;
    padding: 110px 0 60px;
    gap: 40px;
  }

  .hero::before {
    font-size: 4rem;
    opacity: 0.6;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .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;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    background: rgba(253, 248, 241, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 16px 34px rgba(108, 77, 50, 0.18);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
  }

  .nav-cta {
    margin-top: 8px;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
  }
}

@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;
    align-items: stretch;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .cta-banner {
    padding: 44px 20px;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }

  .hero-image {
    max-width: 100%;
  }
}