/* =========================================
   免费美剧 · 复古波普电视杂志风设计系统
   Awwwards-grade Creative CSS
   ========================================= */

:root {
  --bg: #FAF7F2;
  --bg-deep: #F0E7D8;
  --coral: #FF4B4E;
  --blue: #3557FF;
  --yellow: #FFC400;
  --mint: #39E6C8;
  --ink: #161616;
  --line: #E8DED2;
  --white: #FFFFFF;
}

*,
*::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(--bg);
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* ============ 核心布局 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-deep);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

/* ============ 导航 ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 2px dashed 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: 900;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px 10px 10px 2px;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transform: rotate(-5deg);
  box-shadow: 2px 2px 0 var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 2px;
  color: var(--ink);
  transition: color 0.2s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--coral);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.68, -0.2, 0.27, 1.2);
}

.main-nav a:hover {
  color: var(--coral);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav .nav-cta {
  padding: 9px 22px;
  border-radius: 40px;
  color: #fff !important;
  background: var(--blue);
  box-shadow: 3px 3px 0 var(--ink);
  transition: all 0.2s;
}

.main-nav .nav-cta::after {
  display: none;
}

.main-nav .nav-cta:hover {
  background: var(--coral);
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============ Hero ============ */
.hero {
  min-height: 84vh;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px;
  padding: 120px 0 80px;
  position: relative;
  background:
    radial-gradient(circle at 12% 82%, rgba(255, 196, 0, 0.35) 0%, transparent 26%),
    radial-gradient(circle at 90% 15%, rgba(53, 87, 255, 0.12) 0%, transparent 32%),
    radial-gradient(circle at 50% 50%, rgba(57, 230, 200, 0.08) 0%, transparent 40%),
    var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 22, 22, 0.055) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
}

.hero::after {
  content: ''; 
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border: 28px solid rgba(255, 75, 78, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  padding: 7px 18px;
  border-radius: 3px 12px 12px 3px;
  margin-bottom: 20px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.06;
  margin-bottom: 20px;
  letter-spacing: -2px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 400px;
  max-width: 520px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue), var(--mint));
  border: 6px solid var(--ink);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 14px 14px 0 rgba(53, 87, 255, 0.28), 0 0 0 3px var(--white) inset;
  transform: rotate(1.2deg);
  z-index: 1;
}

.hero-image::before {
  content: '▶';
  font-size: 3rem;
  color: var(--ink);
  background: var(--yellow);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 8px;
  border: 4px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-image:hover::before {
  transform: scale(1.06);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 2px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

.hero-image img {
  display: none;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s;
  font-family: inherit;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  box-shadow: 4px 4px 0 rgba(53, 87, 255, 0.25);
}

.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 1px 1px 0 rgba(53, 87, 255, 0.25);
  transform: translate(2px, 2px);
}

/* ============ 标签/标题 ============ */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--yellow);
  color: var(--ink);
  margin-bottom: 14px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}

.section-label--pure {
  background: transparent;
  box-shadow: none;
  color: var(--blue);
  padding-left: 0;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.section-desc {
  max-width: 620px;
  opacity: 0.7;
  margin-bottom: 42px;
  line-height: 1.7;
}

/* ============ 卡片网格 ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.category-card {
  background: var(--white);
  border-radius: 18px;
  padding: 30px 26px;
  border: 2px solid var(--ink);
  position: relative;
  box-shadow: 6px 6px 0 rgba(22, 22, 22, 1);
  transition: all 0.25s cubic-bezier(0.68, -0.2, 0.27, 1.2);
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.8;
  transition: transform 0.3s;
}

.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-image: linear-gradient(90deg, var(--coral) 0 33%, var(--yellow) 33% 66%, var(--blue) 66% 100%);
  opacity: 0;
  transition: opacity 0.25s;
}

.category-card:hover {
  transform: translate(-3px, -3px) rotate(-0.6deg);
  box-shadow: 10px 10px 0 var(--yellow);
}

.category-card:hover::after {
  opacity: 1;
}

.category-card:nth-child(odd) {
  transform: rotate(0.4deg);
}

.category-card:nth-child(even) {
  transform: rotate(-0.4deg);
}

.category-card:nth-child(even):hover {
  transform: translate(-3px, -3px) rotate(0.6deg);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  background: var(--blue);
  color: #fff;
  box-shadow: 3px 3px 0 var(--ink);
}

.category-card:nth-child(3n) .card-icon {
  background: var(--coral);
}

.card-link {
  font-weight: 800;
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--blue);
  border-bottom: 2px dotted currentColor;
  padding-bottom: 2px;
  transition: all 0.2s;
}

.card-link:hover {
  border-bottom: 2px solid var(--coral);
  color: var(--coral);
}

/* ============ 特性块 ============ */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(130deg, var(--yellow), var(--coral));
  border: 4px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(53, 87, 255, 0.3);
  transform: rotate(-1deg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.feature-text {
  padding: 8px 0;
}

.feature-text h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.feature-list {
  list-style: none;
  margin-top: 8px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '★';
  font-weight: 900;
  color: var(--coral);
  background: none;
}

/* ============ 数据条 ============ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  background: var(--white);
  padding: 32px 16px;
  border-radius: 18px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--mint);
  position: relative;
  transition: transform 0.2s;
}

.stat-item:nth-child(even) {
  box-shadow: 5px 5px 0 var(--yellow);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.65;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============ 内容墙 ============ */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--white);
  transition: all 0.3s cubic-bezier(0.68, -0.2, 0.27, 1.2);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 var(--yellow);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h3 {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.content-wall-body p {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-top: 4px;
}

.content-wall-body .tag {
  display: inline-block;
  background: var(--mint);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  margin-top: 10px;
  letter-spacing: 1px;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item.open {
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--yellow);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--coral);
  transition: transform 0.25s;
  line-height: 1;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.72;
  font-size: 0.88rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ CTA横幅 ============ */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 26px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--coral), var(--blue));
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(53, 87, 255, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 20px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  left: -40px;
  bottom: -40px;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

/* ============ 页脚 ============ */
.site-footer {
  background: var(--bg-deep);
  padding: 60px 0 28px;
  border-top: 2px dashed var(--line);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 24px solid rgba(255, 75, 78, 0.1);
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  opacity: 0.7;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  font-size: 0.88rem;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s, padding-left 0.2s;
}

.footer-col ul a:hover {
  opacity: 1;
  padding-left: 6px;
  color: var(--coral);
}

.footer-bottom {
  border-top: 2px solid var(--line);
  margin-top: 44px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ============ 工具类 ============ */
.text-accent {
  color: var(--blue);
  position: relative;
  background: linear-gradient(transparent 64%, rgba(255, 196, 0, 0.6) 64%);
  padding: 0 2px;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  line-height: 1.7;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .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(--bg);
    padding: 24px;
    padding-bottom: 30px;
    border-bottom: 2px dashed var(--line);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    gap: 20px;
  }

  .main-nav.open .nav-cta {
    align-self: flex-start;
  }

  .hero {
    padding-top: 160px;
    padding-bottom: 60px;
    gap: 56px;
  }

  .hero-image {
    max-width: 100%;
  }
}

@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;
    width: 100%;
  }

  .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .cta-banner {
    padding: 40px 24px;
  }
}