/* ============================================
   短剧免费观看 · 设计系统
   视觉概念：Sunset Stamp / 剪贴簿波普
   色彩语言：奶油纸感 + 日暮橘 + 薄荷绿
   ============================================ */

:root {
  --paper: #FAF3E7;
  --paper-deep: #F2E6D4;
  --surface: #FFFDF8;
  --ink: #3D2C23;
  --orange: #F4562D;
  --green: #1F8A70;
  --mint: #B9E3C6;
  --yellow: #FFC400;
  --coral: #FFB093;
  --line-w: 2px;
  --shadow-solid: 5px 5px 0 var(--ink);
}

/* 基础重置 */
*, *::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: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: 0.01em;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* 核心布局 — 必须居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  transform: translateX(-50%);
  opacity: 0.6;
}

.section:nth-child(even) {
  background: var(--paper-deep);
}

.section:nth-child(even)::before {
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 243, 231, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--line-w) solid var(--ink);
  box-shadow: 0 2px 0 var(--orange);
}

.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: 900;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -1px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: var(--orange);
  color: #fff;
  transform: rotate(-6deg);
  box-shadow: 3px 3px 0 var(--ink);
}

.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(--ink);
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--orange);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 22px !important;
  border-radius: 4px;
  color: #fff !important;
  font-weight: 700;
  background: var(--orange);
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.2s ease !important;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink) !important;
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: var(--line-w) solid var(--ink);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

/* 首页Hero */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 40px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.3;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 34px solid var(--yellow);
  opacity: 0.35;
  z-index: 0;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 18px;
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--ink);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--ink);
  position: relative;
}

.hero h1::after {
  content: '剧荒救星';
  position: absolute;
  left: 0;
  top: -28px;
  font-size: 4.6rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px var(--orange);
  opacity: 0.18;
  white-space: nowrap;
  z-index: -1;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 36px;
  color: var(--ink);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: var(--line-w) solid var(--ink);
  box-shadow: 10px 10px 0 var(--green);
  z-index: 2;
}

.hero-image::before {
  content: 'FREEDOM';
  position: absolute;
  top: 12px;
  left: -34px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 4px 40px;
  transform: rotate(-34deg);
  z-index: 4;
  box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  border: var(--line-w) solid var(--ink);
  text-decoration: none;
  transition: all 0.18s ease;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.btn-outline {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
}

.btn-outline:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--yellow);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--orange);
  text-transform: uppercase;
}

.section-label::before {
  content: '✦ ';
  color: var(--green);
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 44px;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 2px;
  padding: 30px 26px;
  border: var(--line-w) solid var(--ink);
  background: var(--surface);
  box-shadow: 6px 6px 0 rgba(61,44,35,0.85);
  transition: all 0.22s ease;
  position: relative;
}

.category-card:nth-child(odd) {
  transform: rotate(0.4deg);
}

.category-card:nth-child(even) {
  transform: rotate(-0.4deg);
}

.category-card:hover {
  transform: translate(3px, 3px) rotate(0deg);
  box-shadow: 2px 2px 0 var(--ink);
  background: #fff;
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 22px;
  height: 22px;
  border-bottom: 4px solid var(--yellow);
  border-left: 4px solid var(--yellow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: var(--mint);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover {
  color: var(--green);
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--green);
}

.feature-image::after {
  content: 'NEW!';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 2px;
  border: 2px solid var(--ink);
  transform: rotate(4deg);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 0 0 0 8px;
  position: relative;
}

.feature-text::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  bottom: 0;
  width: 5px;
  background: repeating-linear-gradient(180deg, var(--orange) 0 6px, transparent 6px 12px);
}

.feature-list {
  list-style: none;
  margin-top: 16px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  border-bottom: 1px dashed rgba(61,44,35,0.2);
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: var(--green);
  background: var(--mint);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 2px;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--yellow);
  position: relative;
  transition: all 0.2s ease;
}

.stat-item:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--yellow);
}

.stat-item:nth-child(2) {
  box-shadow: 5px 5px 0 var(--mint);
}

.stat-item:nth-child(3) {
  box-shadow: 5px 5px 0 var(--coral);
}

.stat-item:nth-child(4) {
  box-shadow: 5px 5px 0 var(--green);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -2px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 6px;
  font-weight: 600;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 2px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--surface);
  box-shadow: 6px 6px 0 rgba(61,44,35,0.85);
  transition: all 0.22s ease;
}

.content-wall-item:nth-child(3n+1) {
  transform: rotate(0.3deg);
}

.content-wall-item:nth-child(3n+2) {
  transform: rotate(-0.3deg);
}

.content-wall-item:nth-child(3n+3) {
  transform: rotate(0.2deg) translateY(-2px);
}

.content-wall-item:hover {
  transform: translate(3px, 3px) rotate(0deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid var(--ink);
}

.content-wall-body {
  padding: 22px 20px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  box-shadow: 3px 3px 0 rgba(61,44,35,0.4);
  transition: all 0.2s ease;
}

.faq-item.open {
  box-shadow: 5px 5px 0 var(--yellow);
  transform: translateY(-2px);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 */
.cta-banner {
  padding: 56px 32px;
  text-align: center;
  border-radius: 2px;
  background: var(--orange);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--yellow);
  position: relative;
  color: #fff;
}

.cta-banner::before {
  content: '🎬';
  position: absolute;
  top: -22px;
  left: -18px;
  font-size: 2.6rem;
  transform: rotate(-12deg);
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.2));
}

.cta-banner::after {
  content: '🔥';
  position: absolute;
  bottom: -24px;
  right: -14px;
  font-size: 2.6rem;
  transform: rotate(12deg);
  filter: drop-shadow(3px 3px 0 rgba(0,0,0,0.2));
}

.cta-banner h2 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 8px;
  text-shadow: 2px 2px 0 var(--ink);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--orange);
  box-shadow: 4px 4px 0 var(--ink);
}

.cta-banner .btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 32px;
  background: var(--paper-deep);
  border-top: 3px solid var(--ink);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 10px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 3px;
  background: var(--orange);
}

.footer-col a {
  display: block;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 4px 0;
  opacity: 0.75;
  transition: all 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--orange);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 2px solid var(--ink);
  margin-top: 48px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* 工具类 */
.text-accent {
  color: var(--orange);
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* 媒体查询 */

/* 平板 */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .feature-block {
    gap: 36px;
  }
}

/* 手机 */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .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: var(--surface);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: var(--line-w) solid var(--ink);
    box-shadow: 0 6px 0 var(--yellow);
    border-radius: 0 0 2px 2px;
    z-index: 999;
  }

  .main-nav.open a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .hero {
    padding-top: 110px;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero::before,
  .hero::after {
    width: 140px;
    height: 140px;
  }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .cta-banner {
    padding: 42px 20px;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }

  .stat-item {
    padding: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo {
    font-size: 1.05rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}