/* ═══════════════════════════════════════════════════════
   三年高清免费观看完整版 — 八戒·电影
   Design Language: 「爆米花剧场」
   暖奶油基底 × 黄油金 × 番茄珊瑚 × 薄荷苏打
   复古胶片颗粒 + 剧院幕布曲线 + 电影票撕票边
   ═══════════════════════════════════════════════════════ */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cream: #FFF9F2;
  --cream-deep: #FFF1E5;
  --cream-shadow: #F6E6D8;
  --paper: #FFFFFF;
  --cocoa: #38231A;
  --cocoa-soft: #6E5A4E;
  --tomato: #F34B2E;
  --tomato-dark: #D23A22;
  --butter: #F7B731;
  --butter-light: #FFD868;
  --mint: #3EB78C;
  --mint-soft: #CFF0E3;
  --peach: #FFD6B3;
  --film-gap: rgba(255, 255, 255, 0.65);
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--cocoa);
  line-height: 1.6;
  width: 100%;
  position: relative;
}

/* 全局胶片颗粒 / 底部噪点 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  z-index: 9999;
  pointer-events: none;
  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.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* 核心布局 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--cream-deep);
}

/* 舞台帷幕 / 剧院帘幕 — section 顶部装饰 */
.section::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 28px;
  background: radial-gradient(ellipse at 50% -20px, rgba(243, 75, 46, 0.13) 24%, transparent 70%);
  pointer-events: none;
}

/* ─── 导航区 ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 249, 242, 0.88);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(214, 181, 152, 0.25);
  box-shadow: 0 4px 32px rgba(191, 132, 78, 0.07);
}

.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: var(--cocoa);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 7px;
  background: repeating-linear-gradient(
    -45deg,
    var(--butter) 0,
    var(--butter) 5px,
    var(--tomato) 5px,
    var(--tomato) 10px
  );
  opacity: 0.7;
  border-radius: 3px;
  z-index: -1;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--butter-light), var(--butter));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--cocoa);
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,0.1),
    0 4px 12px rgba(247,183,49,0.4);
  transform: rotate(-8deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cocoa-soft);
  transition: 0.22s;
  position: relative;
  padding: 4px 0;
}

.main-nav a:not(.nav-cta)::after {
  content: "·";
  position: absolute;
  bottom: -5px;
  left: 50%;
  font-size: 1rem;
  color: var(--tomato);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s;
}

.main-nav a:not(.nav-cta):hover {
  color: var(--tomato);
}
.main-nav a:not(.nav-cta):hover::after {
  opacity: 1;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--tomato) 0%, var(--tomato-dark) 100%);
  box-shadow: 0 6px 18px rgba(243, 75, 46, 0.35);
  transition: all 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 10px 24px rgba(243, 75, 46, 0.45);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: white;
  border: 1px solid rgba(214, 181, 152, 0.3);
  border-radius: 12px;
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* ─── HERO 爆米花主场 ─── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 72px;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 216, 104, 0.45), transparent 70%),
    radial-gradient(400px 250px at 10% 90%, rgba(62, 183, 140, 0.18), transparent 60%),
    linear-gradient(160deg, #FFFDF8 0%, var(--cream) 60%, var(--cream-deep) 100%);
  overflow: hidden;
}

/* 影院上映眉题 */
.hero::before {
  content: "★ ★ ★ 三年高清免费 ★ ★ ★";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  max-width: 90%;
  height: 44px;
  background: var(--cocoa);
  color: var(--butter-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 22px 22px;
  z-index: 2;
}

/* 撒落的爆米花斑点 */
.hero::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 5%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--butter);
  box-shadow:
    45px 28px 0 -8px var(--butter),
    -20px 55px 0 -12px var(--tomato),
    80px 90px 0 -10px var(--mint),
    -55px 130px 0 -7px var(--peach),
    100px 170px 0 -14px var(--butter);
  opacity: 0.5;
  animation: popcornFloat 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes popcornFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-18px) rotate(8deg); }
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 3;
  padding: 60px 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 20px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #1A7A5A;
  box-shadow: 0 4px 16px rgba(62, 183, 140, 0.14);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--cocoa);
  position: relative;
}

/* 高亮标线 如荧光笔划重点 */
.hero h1 .highlight {
  position: relative;
  display: inline-block;
  color: var(--tomato);
}

.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: 6%;
  width: 104%;
  height: 32%;
  background: linear-gradient(100deg, var(--butter) 0%, var(--butter-light) 100%);
  z-index: -1;
  border-radius: 4px;
  opacity: 0.65;
}

.hero h1 .accent-number {
  display: inline-grid;
  place-items: center;
  width: 1.2em;
  height: 1.2em;
  border-radius: 0.25em;
  background: var(--tomato);
  color: white;
  font-size: 0.72em;
  letter-spacing: -0.02em;
  transform: rotate(-8deg);
  box-shadow: 0 8px 20px rgba(243, 75, 46, 0.35);
  animation: wiggle 4s ease-in-out infinite;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(-2deg) translateY(-3px); }
}

.hero p {
  font-size: 1.1rem;
  color: var(--cocoa-soft);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 电影票按钮 — 渐变纹理 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 0.95rem;
  position: relative;
  letter-spacing: 0.01em;
}

.btn-primary {
  color: #fff;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.08) 0,
      rgba(255,255,255,0.08) 6px,
      transparent 6px,
      transparent 12px
    ),
    linear-gradient(135deg, var(--tomato), var(--tomato-dark));
  box-shadow: 0 10px 26px rgba(243, 75, 46, 0.35);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-primary:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 16px 36px rgba(243, 75, 46, 0.45);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 4px 12px rgba(243, 75, 46, 0.3);
}

.btn-outline {
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(56, 35, 26, 0.3);
  color: var(--cocoa);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  border-color: var(--tomato);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* 票根侧栏 */
.hero-image {
  position: relative;
  margin-left: auto;
  width: 420px;
  max-width: 100%;
  border-radius: 24px 24px 24px 24px;
  overflow: visible;
  z-index: 3;
  transform: rotate(2deg);
}

/* 票根主体 */
.hero-image::before {
  content: "";
  display: block;
  height: 42px;
  background:
    radial-gradient(circle at 50%, var(--tomato) 7px, transparent 7px),
    repeating-linear-gradient(90deg, var(--paper) 0, var(--paper) 24px, rgba(214,181,152,0.25) 24px, rgba(214,181,152,0.25) 26px);
  margin: 0 0 auto;
}

.hero-image::after {
  content: "";
  height: 42px;
  background:
    radial-gradient(circle at 50%, var(--tomato) 7px, transparent 7px),
    repeating-linear-gradient(90deg, var(--paper) 0, var(--paper) 24px, rgba(214,181,152,0.25) 24px, rgba(214,181,152,0.25) 26px);
}

.hero-image img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  box-shadow:
    0 30px 60px -15px rgba(56, 35, 26, 0.25),
    0 0 0 1px rgba(56, 35, 26, 0.05);
}

/* ─── 按钮、标签 ─── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tomato);
  margin-bottom: 14px;
  background: linear-gradient(transparent 55%, var(--butter) 55%);
  padding: 0 6px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--cocoa);
}

.section-desc {
  max-width: 600px;
  color: var(--cocoa-soft);
  opacity: 0.85;
  line-height: 1.75;
  margin-bottom: 48px;
}

/* ─── 卡片组 ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px 20px 20px 6px;
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid rgba(214, 181, 152, 0.2);
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(56, 35, 26, 0.06);
}

/* 卡片底部撕票齿 */
.category-card::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 100%;
  height: 18px;
  background:
    radial-gradient(circle at 10px 9px, var(--cream-deep) 5px, transparent 6px),
    repeating-linear-gradient(90deg, transparent 0, transparent 30px, rgba(206, 158, 118, 0.4) 30px, rgba(206, 158, 118, 0.4) 32px);
  opacity: 0.35;
}

.category-card:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow:
    0 18px 44px rgba(56, 35, 26, 0.14),
    0 0 0 2px rgba(62, 183, 140, 0.2);
  border-color: rgba(62, 183, 140, 0.2);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--cream-deep), var(--paper));
  box-shadow: inset 0 0 0 1px rgba(214, 181, 152, 0.25), 0 4px 12px rgba(56,35,26,0.05);
}

.card-icon i, .card-icon span {
  font-style: normal;
}

.card-link {
  display: inline-flex;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--tomato);
  text-decoration: none;
  position: relative;
  margin-top: 6px;
}

.card-link::after {
  content: "→";
  margin-left: 6px;
  transition: transform 0.2s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ─── 特性区块 ─── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transform: rotate(-2deg);
  box-shadow: 0 28px 60px rgba(56, 35, 26, 0.18);
}

/* 相框风格 */
.feature-image::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 16px;
  z-index: 2;
  backdrop-filter: blur(2px);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-text .section-title {
  margin-bottom: 20px;
}

.feature-text p {
  color: var(--cocoa-soft);
  line-height: 1.75;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--cocoa);
  background: rgba(255,255,255,0.4);
  border-radius: 10px;
  padding-left: 10px;
  transition: 0.2s;
}

.feature-list li:hover {
  background: var(--paper);
  box-shadow: 0 4px 14px rgba(56,35,26,0.06);
}

.feature-list li::before {
  content: "🍿";
  font-weight: 900;
  margin-right: 4px;
}

/* ─── 数据条 —— 爆米花计量器 ─── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid rgba(214, 181, 152, 0.15);
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 8px 28px rgba(56,35,26,0.06);
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--butter), var(--tomato), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(56,35,26,0.12);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(130deg, var(--tomato), var(--butter));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--cocoa-soft);
  margin-top: 10px;
  font-weight: 500;
}

/* ─── 内容墙 / 海报墙 ─── */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(214, 181, 152, 0.15);
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 6px 24px rgba(56,35,26,0.06);
}

/* 胶片孔上边缘 */
.content-wall-item::before {
  content: "";
  display: block;
  height: 22px;
  background:
    radial-gradient(circle at 50%, var(--film-gap) 4px, transparent 5px),
    repeating-linear-gradient(90deg, var(--cream-deep) 0, var(--cream-deep) 32px, rgba(255,255,255,0.5) 32px, rgba(255,255,255,0.5) 36px);
  opacity: 0.6;
}

.content-wall-item:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 50px rgba(56,35,26,0.16);
  border-color: rgba(62, 183, 140, 0.3);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.content-wall-item:hover img {
  transform: scale(1.06);
}

.content-wall-body {
  padding: 22px 24px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--cocoa);
}

.content-wall-body p {
  color: var(--cocoa-soft);
  font-size: 0.9rem;
}

/* 小标签 */
.content-wall-body .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #1A7A5A;
  margin-top: 12px;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(214, 181, 152, 0.25);
  background: var(--paper);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(243, 75, 46, 0.3);
  box-shadow: 0 6px 18px rgba(56,35,26,0.06);
}

.faq-item .faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--cocoa);
  background: linear-gradient(90deg, rgba(255,249,242,0.5), var(--paper));
}

.faq-item .faq-question::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--tomato);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item.open .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 24px 20px;
  display: none;
  opacity: 0.75;
  line-height: 1.75;
  color: var(--cocoa-soft);
  border-top: 1px dashed rgba(214, 181, 152, 0.3);
  padding-top: 14px;
  margin-top: 0;
  animation: fadeSlide 0.25s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.75; transform: translateY(0); }
}

.faq-item.open .faq-answer {
  display: block;
}

/* ─── CTA 横幅大招募 ─── */
.cta-banner {
  padding: 68px 40px;
  text-align: center;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(600px 200px at 20% 20%, rgba(255,216,104,0.25) 0%, transparent 60%),
    radial-gradient(600px 200px at 80% 80%, rgba(62,183,140,0.25) 0%, transparent 60%),
    linear-gradient(130deg, var(--tomato) 0%, var(--tomato-dark) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(210, 58, 34, 0.28);
}

/* 灯光洒落 */
.cta-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 180%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0,
    rgba(255,255,255,0.04) 8px,
    transparent 8px,
    transparent 24px
  );
  transform: rotate(12deg);
  pointer-events: none;
}

.cta-banner::after {
  content: "🍿";
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 4rem;
  opacity: 0.25;
  transform: rotate(18deg);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 14px;
  text-shadow: 0 4px 18px rgba(0,0,0,0.18);
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--tomato);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.2);
}

/* ─── 页脚 ─── */
.site-footer {
  padding: 70px 0 30px;
  background: var(--cocoa);
  color: rgba(255,249,242,0.9);
  position: relative;
}

/* 顶部胶片条 */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background:
    radial-gradient(circle at 50%, var(--tomato) 5px, transparent 6px),
    repeating-linear-gradient(90deg, var(--cocoa) 0, var(--cocoa) 28px, rgba(255,255,255,0.15) 28px, rgba(255,255,255,0.19) 32px);
  opacity: 0.6;
}

.site-footer .container {
  padding-top: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  padding-right: 30px;
}

.footer-brand .logo {
  color: var(--butter-light);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.footer-brand .logo::after {
  opacity: 0.5;
}

.footer-brand p {
  color: rgba(255,249,242,0.65);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--butter-light);
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  color: rgba(255,249,242,0.7);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.9rem;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-col a:hover {
  color: var(--butter);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,249,242,0.12);
  margin-top: 50px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,249,242,0.5);
}

.footer-bottom .heart {
  color: var(--tomato);
  display: inline-block;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ─── 工具类 ─── */
.text-accent {
  color: var(--tomato);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--cocoa-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 滚动条 — 奶油爆米花风格 */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
  border-left: 1px solid rgba(214,181,152,0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    var(--butter) 0%,
    var(--tomato) 50%,
    var(--mint) 100%
  );
  border-radius: 6px;
  border: 3px solid var(--cream);
}

/* 选中高亮 */
::selection {
  background: var(--butter);
  color: var(--cocoa);
}

/* ═══════════════════════════════════════════════════════
   响应式
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero-image {
    width: 360px;
  }
  .feature-block {
    gap: 44px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 120px 20px 40px;
  }

  .hero-content {
    max-width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-image {
    margin: 0 auto;
    width: 320px;
    transform: none;
  }

  .feature-block {
    grid-template-columns: 1fr;
  }

  .feature-text {
    text-align: center;
  }

  .feature-list {
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    background: rgba(255, 249, 242, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 28px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(56,35,26,0.2);
    border: 1px solid rgba(214,181,152,0.2);
    gap: 16px;
  }

  .main-nav.open a {
    padding: 12px 0;
    font-size: 1rem;
  }

  /* 折叠汉堡按钮调整 */
  .menu-toggle span {
    display: inline-block;
    width: 18px;
    height: 2px;
    background: var(--cocoa);
    box-shadow: 0 -6px 0 var(--cocoa), 0 6px 0 var(--cocoa);
    border-radius: 2px;
    transition: all 0.3s;
  }

  .menu-toggle.active span {
    box-shadow: none;
    background: transparent;
    transform: rotate(45deg);
    position: relative;
  }

  .menu-toggle.active span::before,
  .menu-toggle.active span::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--tomato);
    top: 0;
    left: 0;
    border-radius: 2px;
  }

  .menu-toggle.active span::before {
    transform: rotate(90deg);
  }

  .cta-banner {
    padding: 50px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 50px 0;
  }

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image {
    width: 100%;
  }

  .feature-image {
    transform: none;
  }

  .feature-list li {
    font-size: 0.9rem;
  }

  .stat-item {
    padding: 22px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h4 {
    margin-bottom: 12px;
  }

  .footer-col a {
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .cta-banner {
    padding: 42px 20px;
    border-radius: 20px;
  }

  .cta-banner h2 {
    font-size: 1.3rem;
  }
}

/* 无障碍 — 减少动画 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}