/* =========================================================
   玩美×玩媚动漫 · 设计系统
   风格关键词：纸感手帐 · 糖系粉彩 · 现代杂志
   ========================================================= */

/* ——— 基础重置 ——— */
*, *::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-color: #faf7f4;
  color: #383d3f;
  line-height: 1.7;
  position: relative;
}

/* 全站纸感圆点纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle, rgba(255, 107, 157, 0.09) 1px, transparent 1px),
    radial-gradient(circle, rgba(52, 203, 166, 0.09) 1px, transparent 1px);
  background-size: 44px 44px, 44px 44px;
  background-position: 0 0, 22px 22px;
  pointer-events: none;
}

::selection {
  background: #ff6b9d;
  color: #ffffff;
}

/* ——— 核心布局 ——— */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #fdf6f1;
}

/* ——— 导航 ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 247, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ece4dd;
}

.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: 700;
  font-size: 1.35rem;
  text-decoration: none;
  color: inherit;
  font-family: 'Songti SC', 'Noto Serif SC', 'STSong', serif;
  letter-spacing: 1px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d, #ffd166);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.35);
  transition: transform 0.25s ease;
}

.logo:hover .logo-icon {
  transform: rotate(-10deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  color: #383d3f;
}

.main-nav a:not(.nav-cta) {
  position: relative;
  padding: 4px 2px;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #ff6b9d;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 50px;
  background: #ff6b9d;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 3px 3px 0 rgba(184, 67, 107, 0.4);
}

.nav-cta:hover {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(184, 67, 107, 0.4);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #383d3f;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #383d3f;
}

/* ——— 首页 Hero ——— */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  top: 5%;
  left: -120px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.35) 0%, transparent 65%);
  z-index: 0;
}

.hero::after {
  content: "アニメ";
  position: absolute;
  right: 2%;
  bottom: 8%;
  font-family: 'Songti SC', 'Noto Serif SC', serif;
  font-size: clamp(7rem, 18vw, 16rem);
  writing-mode: vertical-rl;
  color: rgba(255, 107, 157, 0.06);
  pointer-events: none;
  line-height: 1;
  letter-spacing: 8px;
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 50px;
  background: #ffd166;
  color: #383d3f;
  box-shadow: 3px 3px 0 rgba(184, 67, 107, 0.25);
  transform: rotate(-2deg);
  margin-bottom: 16px;
}

.hero h1 {
  font-family: 'Songti SC', 'Noto Serif SC', 'STSong', serif;
  font-size: clamp(2.8rem, 5.6vw, 4.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #2f3437;
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  transform: rotate(3deg);
  border: 6px solid #fff;
  box-shadow: 12px 12px 0 #ff6b9d, 0 20px 48px rgba(58, 61, 63, 0.14);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.hero-image:hover {
  transform: rotate(1deg) translateY(-4px);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— 按钮 ——— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary {
  background: #ff6b9d;
  color: #fff !important;
  box-shadow: 5px 5px 0 #b8436b;
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 #b8436b;
}

.btn-outline {
  background: transparent;
  border: 2px dashed #ff6b9d;
  color: #ff6b9d;
}

.btn-outline:hover {
  background: #fff0f6;
  transform: translateY(-2px);
}

/* ——— 标签 / 标题 ——— */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ff6b9d;
  background: #fff;
  border: 1px solid #ffe1ec;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Songti SC', 'Noto Serif SC', 'STSong', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
  letter-spacing: 1px;
  color: #2f3437;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
}

/* ——— 卡片网格 ——— */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.category-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #eee5de;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff6b9d, #ffd166);
}

.category-card:nth-child(2)::before {
  background: linear-gradient(90deg, #34cba6, #8b5cf6);
}

.category-card:nth-child(3)::before {
  background: linear-gradient(90deg, #8b5cf6, #ffd166);
}

.category-card:nth-child(4)::before {
  background: linear-gradient(90deg, #ffb347, #ff6b9d);
}

.category-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 8px 8px 0 rgba(255, 107, 157, 0.15);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  background: #fff0f6;
}

.category-card:nth-child(2) .card-icon {
  background: #e6f9f4;
}

.category-card:nth-child(3) .card-icon {
  background: #f4f0ff;
}

.category-card:nth-child(4) .card-icon {
  background: #fff7e0;
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #ff6b9d;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.card-link:hover {
  gap: 8px;
}

/* ——— 特性块 ——— */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 3px solid #383d3f;
  box-shadow: 8px 8px 0 #ffd166;
  transform: rotate(-1deg);
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255, 107, 157, 0.55);
  border-radius: 18px;
  pointer-events: none;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list li::before {
  content: "✦";
  font-weight: 700;
  color: #ff6b9d;
}

/* ——— 数据条 ——— */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 18px;
  border: 2px solid #383d3f;
  background: #fff;
  box-shadow: 5px 5px 0 #383d3f;
  transform: rotate(-1deg);
  transition: transform 0.2s;
}

.stat-item:nth-child(even) {
  transform: rotate(1.2deg);
}

.stat-item:hover {
  transform: rotate(0) translateY(-4px);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(120deg, #ff6b9d, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ff6b9d;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 6px;
}

/* ——— 内容墙 ——— */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eee5de;
  background: #fff;
  box-shadow: 0 4px 12px rgba(58, 61, 63, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.content-wall-item:hover {
  transform: translateY(-5px) rotate(0.4deg);
  box-shadow: 0 12px 24px rgba(58, 61, 63, 0.1);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 20px;
}

.content-wall-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #2f3437;
}

.content-wall-body p {
  font-size: 0.85rem;
  opacity: 0.65;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #eee5de;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: #ffd1e2;
  box-shadow: 0 4px 12px rgba(255, 107, 157, 0.08);
}

.faq-item.open {
  border-color: #ff6b9d;
}

.faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: #ff6b9d;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ——— CTA 横幅 ——— */
.cta-banner {
  padding: 60px 32px;
  text-align: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(120deg, #ff6b9d, #ffb347 60%, #ffd166);
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(255, 107, 157, 0.3);
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  top: -80px;
  left: -80px;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  bottom: -50px;
  right: -40px;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
  font-family: 'Songti SC', 'Noto Serif SC', 'STSong', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.cta-banner p {
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #383d3f !important;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.12);
}

.cta-banner .btn-primary:hover {
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.12);
  transform: translate(3px, 3px);
}

/* ——— 页脚 ——— */
.site-footer {
  padding: 56px 0 28px;
  background: #f6efe5;
  border-top: 2px dashed rgba(255, 107, 157, 0.25);
  color: #454b4e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  opacity: 0.65;
  margin-top: 8px;
  font-size: 0.92rem;
  max-width: 280px;
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #383d3f;
}

.footer-col a {
  display: block;
  padding: 5px 0;
  color: #454b4e;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.75;
  transition: all 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  color: #ff6b9d;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(58, 61, 63, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7275;
}

/* ——— 工具类 ——— */
.text-accent {
  background: linear-gradient(120deg, #ff6b9d, #ffd166);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ff6b9d;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.75;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

/* ——— 响应式 ——— */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 56px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    margin-top: 20px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .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: 68px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    padding: 24px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    gap: 6px;
  }

  .main-nav.open a:not(.nav-cta) {
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid #f0e8e0;
  }

  .main-nav.open .nav-cta {
    margin-top: 12px;
    text-align: center;
    display: block;
  }

  .section {
    padding: 64px 0;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero h1 {
    letter-spacing: 1px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .feature-block {
    gap: 32px;
  }

  .stat-item {
    padding: 20px 12px;
  }
}