/* ============ 弹幕纸 · Bullet Paper Design System ============ */

:root {
  --cream:        #FFF8EF;
  --cream-deep:   #F7E9D6;
  --ink:          #3D3154;
  --coral:        #FF4D6D;
  --coral-deep:   #E33C5C;
  --teal:         #00C2A8;
  --teal-deep:    #0B9C8E;
  --gold:         #FFC845;
  --blue:         #4D96FF;
  --header-h:     72px;
  --shadow:       4px 4px 0 var(--ink);
  --shadow-sm:    3px 3px 0 var(--ink);
}

html {
  scroll-behavior: smooth;
}

*, *::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: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* ============ 核心布局 ============ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: var(--cream-deep);
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 14px,
    rgba(255, 77, 109, 0.035) 14px,
    rgba(255, 77, 109, 0.035) 28px
  );
}

/* ============ 导航 ============ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 248, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 6px 0 var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform 0.2s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.06);
}

.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);
  padding: 6px 10px;
  border-radius: 30px;
  transition: 0.2s ease;
  position: relative;
}

.main-nav a:hover {
  background: rgba(255, 77, 109, 0.1);
}

.nav-cta {
  padding: 10px 22px !important;
  border-radius: 30px !important;
  background: var(--coral);
  color: #fff !important;
  font-weight: 700 !important;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 5px 5px 0 var(--ink);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--ink);
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}

/* ============ Hero ============ */

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 80px;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Crect x='16' y='24' width='110' height='22' rx='11' fill='%23FF4D6D' opacity='0.15'/%3E%3Crect x='84' y='72' width='82' height='18' rx='9' fill='%2300C2A8' opacity='0.15'/%3E%3Crect x='30' y='128' width='120' height='22' rx='11' fill='%23FFC845' opacity='0.15'/%3E%3Crect x='66' y='176' width='64' height='18' rx='9' fill='%234D96FF' opacity='0.12'/%3E%3C/svg%3E"),
    radial-gradient(circle at 85% 15%, rgba(255, 77, 109, 0.12), transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(0, 194, 168, 0.1), transparent 40%);
}

.hero::before {
  content: '🔥 前方高能预警';
  position: absolute;
  top: 16%;
  right: 4%;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  z-index: 2;
  animation: floatRt 4.5s ease-in-out infinite;
}

.hero::after {
  content: '💦 鼻血已就位';
  position: absolute;
  top: 32%;
  right: 14%;
  background: var(--gold);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  z-index: 2;
  animation: floatLt 5.2s ease-in-out infinite 0.8s;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  flex: 1 1 auto;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 0.13em;
  text-underline-offset: 0.1em;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0 1 360px;
  min-width: 280px;
  position: relative;
  border-radius: 16px;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--coral);
  background: linear-gradient(135deg, var(--gold), var(--coral));
  transform: rotate(2deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 10px 10px 0 var(--teal);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 13px;
}

.hero-image::before {
  content: '★ 9免费版';
  position: absolute;
  top: -14px;
  right: -8px;
  background: var(--coral);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 30px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: 2px 2px 0 var(--ink);
  z-index: 2;
}

.hero-image::after {
  content: '· 弹幕服务中 ·';
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--ink);
  border-radius: 30px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ============ 按钮 ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  color: #fff;
  background: var(--coral);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px) rotate(-1deg);
  box-shadow: 6px 6px 0 var(--ink);
  background: var(--coral-deep);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--teal);
  color: #fff;
  transform: translateY(-2px) rotate(1deg);
  box-shadow: 5px 5px 0 var(--ink);
}

/* ============ 标签 / 标题 ============ */

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--coral);
  background: #fff;
  border: 2px dashed var(--coral);
  padding: 6px 14px;
  border-radius: 30px;
  transform: rotate(-1.5deg);
}

.section:nth-child(even) .section-label {
  transform: rotate(1.5deg);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  display: inline-block;
  background: linear-gradient(transparent 65%, rgba(255, 201, 69, 0.55) 65%);
  padding: 0 8px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.75;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* ============ 卡片 ============ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 12px;
  padding: 28px;
  background: #fff;
  border: 2.5px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: 0.2s ease;
  position: relative;
}

.category-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 16px;
  background: rgba(255, 200, 69, 0.8);
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.category-card:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 var(--coral);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-4deg);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--coral);
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  padding-bottom: 2px;
  transition: 0.2s ease;
}

.card-link:hover {
  background: var(--gold);
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ============ 特性块 ============ */

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
  transform: rotate(1deg);
  background: #fff;
}

.feature-image img {
  width: 100%;
  height: auto;
}

.feature-text {
  border-left: 5px solid var(--coral);
  padding-left: 24px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  font-weight: 800;
  color: #fff;
  background: var(--teal);
  border: 2px solid var(--ink);
  width: 22px;
  height: 22px;
  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: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px 24px;
  border-radius: 12px;
  border: 2.5px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  position: relative;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.stat-item:nth-child(2)::before {
  background: var(--coral);
}

.stat-item:nth-child(3)::before {
  background: var(--teal);
}

.stat-item:nth-child(4)::before {
  background: var(--blue);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--coral);
}

.stat-item:nth-child(2) .stat-number {
  color: var(--teal-deep);
}

.stat-item:nth-child(3) .stat-number {
  color: var(--blue);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 8px;
}

/* ============ 内容墙 ============ */

.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 14px;
  overflow: hidden;
  border: 2.5px solid var(--ink);
  background: #fff;
  box-shadow: 5px 5px 0 var(--ink);
  transition: 0.2s ease;
  position: relative;
}

.content-wall-item:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 7px 7px 0 var(--teal);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--ink);
}

.content-wall-body {
  padding: 20px;
  position: relative;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  padding-right: 24px;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.content-wall-body::after {
  content: '↗';
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--coral);
}

/* ============ FAQ ============ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  transition: 0.2s ease;
}

.faq-item.open {
  box-shadow: 5px 5px 0 var(--teal);
  transform: translateY(-2px);
}

.faq-item .faq-question {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--coral);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 12px 20px 18px;
  display: none;
  opacity: 0.75;
  border-top: 1px dashed rgba(61, 49, 84, 0.3);
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ CTA ============ */

.cta-banner {
  padding: 56px 24px;
  text-align: center;
  border-radius: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(135deg, var(--coral), var(--coral-deep));
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--gold);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-banner .btn-primary {
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.cta-banner .btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translateY(-2px);
}

/* ============ 页脚 ============ */

.site-footer {
  padding: 60px 0 28px;
  background: var(--gold);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  margin-top: 80px;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 900;
}

.footer-brand p {
  opacity: 0.75;
  font-weight: 400;
  margin-top: 8px;
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  background: var(--cream);
  padding: 0 4px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 2px solid rgba(61, 49, 84, 0.2);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ============ 工具类 ============ */

.text-accent {
  color: var(--coral);
  font-weight: 800;
  background: linear-gradient(transparent 70%, rgba(255, 201, 69, 0.5) 70%);
  padding: 0 4px;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.75;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ============ 动画 ============ */

@keyframes floatRt {
  0%, 100% {
    transform: rotate(6deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-12px);
  }
}

@keyframes floatLt {
  0%, 100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-8px);
  }
}

/* ============ 响应式 ============ */

@media (max-width: 1024px) {
  .hero {
    gap: 32px;
  }

  .hero-image {
    flex: 0 1 300px;
    min-width: 240px;
  }
}

@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: var(--header-h);
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 20px;
    gap: 8px;
    border-bottom: 3px solid var(--ink);
    box-shadow: 0 6px 0 var(--gold);
  }

  .main-nav.open a {
    padding: 12px 16px;
  }

  .hero {
    flex-direction: column;
    padding: calc(var(--header-h) + 32px) 0 60px;
    gap: 40px;
  }

  .hero .container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-image {
    flex: none;
    width: 100%;
    max-width: 420px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}

@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;
  }

  .hero {
    padding-top: calc(var(--header-h) + 24px);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}