/* ==========================================================
   555电影网 · Cinematic Warmth
   复古电影暖光设计系统
   ========================================================== */

/* ---------- 基础重置 ---------- */
*, *::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: #FDF8F2;
  background-image:
    radial-gradient(rgba(214, 96, 58, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #2B2118;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #E8A846;
  color: #2B2118;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F6EFE7;
}
::-webkit-scrollbar-thumb {
  background: #D6C4AE;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C4AE94;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(214, 96, 58, 0.03) 0%, transparent 100%),
    #F7F0E7;
}

/* ---------- 导航 · 固定顶部 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 248, 242, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 222, 206, 0.8);
  box-shadow: 0 4px 30px rgba(138, 94, 48, 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: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #2B2118;
  letter-spacing: -0.02em;
  transition: opacity 0.2s;
}
.logo:hover {
  opacity: 0.8;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px 4px 10px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #D6603A 0%, #C25634 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(214, 96, 58, 0.35);
  position: relative;
  overflow: hidden;
}
.logo-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0px,
    rgba(255, 255, 255, 0.9) 5px,
    transparent 5px,
    transparent 8px
  );
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #7A6A5A;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #D6603A, #E8A846);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.65, 0.05, 0.36, 1);
}
.main-nav a:hover {
  color: #2B2118;
}
.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 9px 22px !important;
  border-radius: 40px;
  color: #fff !important;
  font-weight: 600 !important;
  background: linear-gradient(135deg, #D6603A, #C25634);
  box-shadow: 0 4px 16px rgba(214, 96, 58, 0.3);
  transition: all 0.3s ease !important;
}
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(214, 96, 58, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #2B2118;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ---------- 首页Hero ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 70, 0.22) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: 18%;
  width: 200px;
  height: 200px;
  border: 2px dashed rgba(214, 96, 58, 0.25);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: heroSpin 40s linear infinite;
}

@keyframes heroSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  background: #E8A846;
  color: #2B2118;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(232, 168, 70, 0.3);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.14;
  margin-bottom: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #2B2118;
}

.hero h1 .text-accent {
  color: #D6603A;
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(232, 168, 70, 0.3);
  z-index: -1;
  border-radius: 2px;
}

.hero p {
  font-size: 1.1rem;
  color: #7A6A5A;
  max-width: 540px;
  margin-bottom: 34px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 24px 8px 24px 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #F6EFE7 0%, #FBF7F0 100%);
  border: 1px solid #E8DECE;
  box-shadow: 0 24px 60px rgba(138, 94, 48, 0.14);
}

.hero-image::before {
  content: '555';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 6rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(214, 96, 58, 0.14);
  z-index: 0;
  font-family: system-ui, sans-serif;
}

.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #D6603A 0%, #C25634 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(214, 96, 58, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(214, 96, 58, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #D6C4AE;
  color: #2B2118;
}

.btn-outline:hover {
  border-color: #D6603A;
  color: #D6603A;
  background: rgba(214, 96, 58, 0.04);
  transform: translateY(-2px);
}

/* ---------- 标签 / 标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #D6603A;
  padding: 4px 0;
  position: relative;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #E8A846;
  margin-right: 10px;
  vertical-align: middle;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #2B2118;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: #8A7A6A;
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.8;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  background: #FFFFFF;
  border-radius: 20px 6px 20px 6px;
  padding: 32px 28px;
  border: 1px solid #EAE0D0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E8A846, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.category-card:hover {
  transform: translateY(-6px) rotate(0.3deg);
  box-shadow: 0 16px 40px rgba(138, 94, 48, 0.12);
  border-color: #E0CFB8;
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px 4px 14px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, rgba(214, 96, 58, 0.12), rgba(232, 168, 70, 0.12));
  color: #D6603A;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2B2118;
}

.category-card p {
  font-size: 0.9rem;
  color: #8A7A6A;
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: #D6603A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}
.card-link:hover {
  gap: 8px;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 20px 6px 20px 6px;
  overflow: hidden;
  background: linear-gradient(145deg, #EEE3D5, #FBF7F0);
  border: 1px solid #E8DECE;
  box-shadow: 0 20px 48px rgba(138, 94, 48, 0.12);
}

.feature-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.feature-text {
  padding: 8px 0;
}

.feature-text .section-title {
  font-size: 2rem;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4A3F35;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #D6603A;
  background: rgba(214, 96, 58, 0.1);
  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: 28px;
  text-align: center;
}

.stat-item {
  background: #FFFFFF;
  padding: 34px 24px;
  border-radius: 16px 6px 16px 6px;
  border: 1px solid #EAE0D0;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(138, 94, 48, 0.1);
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, #D6603A, #E8A846);
  border-radius: 0 0 3px 3px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: #D6603A;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.88rem;
  color: #8A7A6A;
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 18px 6px 18px 6px;
  overflow: hidden;
  border: 1px solid #EAE0D0;
  background: #FFFFFF;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(138, 94, 48, 0.12);
  border-color: #E0CFB8;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2B2118;
}

.content-wall-body p {
  font-size: 0.9rem;
  color: #8A7A6A;
  line-height: 1.6;
  margin-bottom: 12px;
}

.content-wall-body .card-link {
  font-size: 0.8rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #EAE0D0;
  border-radius: 14px 4px 14px 4px;
  margin-bottom: 10px;
  overflow: hidden;
  background: #FFFFFF;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: #E0CFB8;
}

.faq-item.open {
  border-color: rgba(214, 96, 58, 0.4);
  box-shadow: 0 6px 20px rgba(138, 94, 48, 0.08);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2B2118;
  cursor: pointer;
  transition: color 0.3s;
  user-select: none;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: #D6603A;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  color: #8A7A6A;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqFade 0.3s ease;
}

@keyframes faqFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 24px 8px 24px 8px;
  color: #fff;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 12px,
      transparent 12px,
      transparent 24px
    ),
    linear-gradient(135deg, #D6603A 0%, #C25634 55%, #B14E2D 100%);
  box-shadow: 0 20px 50px rgba(214, 96, 58, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(232, 168, 70, 0.25);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60%;
  left: -5%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.15);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #C25634;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 64px 0 32px;
  background: #F0E8DF;
  border-top: 1px solid #E0D0BC;
}

.site-footer .container {
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: #8A7A6A;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2B2118;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: #D6603A;
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #7A6A5A;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul li a:hover {
  color: #D6603A;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(43, 33, 24, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #8A7A6A;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: #D6603A;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: #8A7A6A;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-image img {
    height: 240px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .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: rgba(253, 248, 242, 0.98);
    backdrop-filter: blur(18px);
    padding: 24px;
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(232, 222, 206, 0.8);
    box-shadow: 0 20px 40px rgba(138, 94, 48, 0.1);
    animation: navFade 0.3s ease;
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .main-nav.open a::after {
    display: none;
  }

  .main-nav.open .nav-cta {
    margin-top: 8px;
  }

  @keyframes navFade {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image img {
    height: 240px;
  }

  .section {
    padding: 64px 0;
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}