/* ================================================
   永久免费电影 | 电影在线观看免费
   域名：yongjiumianfei.com.cn
   设计系统："胶片时光" — Sunset Cinema
   风格：暖胶片颗粒 / 阳光影厅 / 票根卡片 / 编辑排版
   ================================================ */

:root {
  --cream: #FFF9F0;
  --sand: #F5EDE3;
  --paper: #FFFFFF;
  --coral: #E85D3D;
  --coral-dark: #C42F1A;
  --teal: #1F8A70;
  --amber: #F4A261;
  --ink: #2D1B14;
  --muted: #8B7B6B;
  --line: #E8DDD0;
  --shadow-sm: 0 2px 10px rgba(232, 93, 61, 0.07);
  --shadow-md: 0 8px 30px rgba(232, 93, 61, 0.12);
  --shadow-lg: 0 18px 50px rgba(232, 93, 61, 0.16);
  --radius: 20px;
  --radius-sm: 10px;
}

/* ===== 基础重置 ===== */
*, *::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);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 90% 10%, rgba(244,162,97,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(31,138,112,0.08) 0%, transparent 50%);
}

/* 电影颗粒噪点 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== 核心布局 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--sand);
}

/* ===== 导航 ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 240, 0.86);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line);
}

.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: 800;
  font-size: 1.22rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 93, 61, 0.35);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.25s ease;
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  transform: translateX(-50%) scaleX(1);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--coral);
}

.nav-cta {
  padding: 8px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(232, 93, 61, 0.3);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(232, 93, 61, 0.4);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.3rem;
  color: var(--ink);
}

/* ===== 首页 Hero ===== */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 90px;
  background:
    radial-gradient(ellipse at 82% 18%, rgba(244, 162, 97, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 88%, rgba(31, 138, 112, 0.13) 0%, transparent 50%),
    linear-gradient(180deg, #FFF9F0 0%, #FDF3E7 100%);
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--coral) 0px, var(--coral) 24px,
    transparent 24px, transparent 32px,
    var(--teal) 32px, var(--teal) 56px,
    transparent 56px, transparent 64px);
  opacity: 0.35;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 93, 61, 0.18);
  color: var(--coral);
  margin-bottom: 20px;
}

.hero-eyebrow::before {
  content: '🎬';
  font-size: 0.9rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero h1 .text-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--coral);
  font-weight: 900;
}

.hero p {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg) translateY(8px);
  border: 4px solid #fff;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45,27,20,0.18), transparent 45%);
  pointer-events: none;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--amber));
  color: #fff;
  box-shadow: 0 6px 22px rgba(232, 93, 61, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(232, 93, 61, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
}

/* ===== 标签 / 标题 ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

.section-label::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--ink);
}

.section-desc {
  max-width: 620px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 44px;
}

/* ===== 卡片网格 ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  position: relative;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
}

/* 票根打孔效果 */
.category-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -9px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--sand);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(232, 93, 61, 0.06);
}

.category-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -9px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--sand);
  border-radius: 50%;
}

.category-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: var(--shadow-md);
}

.category-card .card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(232,93,61,0.1), rgba(244,162,97,0.12));
  color: var(--coral);
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

.card-link::after {
  content: '→';
}

/* ===== 特性块 ===== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #fff;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232,93,61,0.12), transparent 60%);
  pointer-events: none;
}

.feature-text {
  padding: 20px 0;
}

.feature-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.feature-text p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--teal);
  background: rgba(31, 138, 112, 0.1);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

/* ===== 数据条 ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 34px 20px;
  border-radius: var(--radius);
  border: none;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--amber));
  border-radius: 3px;
  opacity: 0;
  transition: opacity 0.3s, width 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-item:hover::before {
  opacity: 1;
  width: 60%;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--coral), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  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: var(--radius);
  overflow: hidden;
  border: none;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.06);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.content-wall-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--paper);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(232, 93, 61, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: rgba(232, 93, 61, 0.4);
  box-shadow: var(--shadow-sm);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--ink);
  user-select: none;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--coral);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(232, 93, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  background: var(--coral);
  color: #fff;
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== CTA 横幅 ===== */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 28px;
  background: linear-gradient(135deg, #E85D3D 0%, #F76B45 40%, #F4A261 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(232, 93, 61, 0.3);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
  line-height: 1.65;
  font-size: 1.02rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--coral);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ===== 页脚 ===== */
.site-footer {
  padding: 64px 0 28px;
  background: var(--sand);
  border-top: 1px solid var(--line);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg,
    var(--coral) 0px, var(--coral) 16px,
    transparent 16px, transparent 24px,
    var(--teal) 24px, var(--teal) 40px,
    transparent 40px, transparent 48px);
  opacity: 0.3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-brand h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--ink);
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ink);
  display: inline-block;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--coral);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(139, 123, 107, 0.2);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ===== 工具类 ===== */
.text-accent {
  color: var(--coral);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 620px;
  margin: 0 auto 48px;
  color: var(--muted);
  line-height: 1.75;
  text-align: center;
  font-size: 0.98rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .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;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    gap: 6px;
  }

  .main-nav.open li {
    width: 100%;
  }

  .main-nav.open a {
    display: block;
    padding: 12px 16px;
    text-align: center;
  }

  .main-nav.open a::after {
    display: none;
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-image {
    margin-top: 40px;
    transform: none;
  }

  .cta-banner {
    padding: 48px 20px;
  }

  .cta-banner h2 {
    font-size: 1.7rem;
  }
}

@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 {
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stat-number {
    font-size: 1.9rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner {
    padding: 40px 16px;
    border-radius: 20px;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }

  .content-wall-item img {
    height: 180px;
  }
}