/* ==================================================================
   JMCOMIC — 禁漫天堂 · 漫展万象，笔触生辉
   Domain: jmcomic11.net.cn
   Design System: "Editorial Manga Pop" — Awwwards-level
   Palette: Warm Ivory / Ink Brown / Vermilion / Deep Teal / Mustard
   ================================================================== */

/* ---------- 基础重置 ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background-color: #FBF6EC;
  background-image: radial-gradient(circle, rgba(43,40,37,0.022) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #2B2825;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #E8552E;
  color: #FBF6EC;
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #FBF6EC; }
::-webkit-scrollbar-thumb { background: #2B2825; border-radius: 20px; border: 3px solid #FBF6EC; }
::-webkit-scrollbar-thumb:hover { background: #E8552E; }

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: #F0E9DC;
}

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(251,246,236,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid #2B2825;
}

.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: 12px;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #2B2825;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px 5px 14px 5px;
  background: #E8552E;
  border: 2.5px solid #2B2825;
  box-shadow: 3px 3px 0 #2B2825;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #FBF6EC;
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
  transform: rotate(6deg) scale(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2B2825;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
  letter-spacing: 0.02em;
}

.main-nav a:hover {
  color: #E8552E;
  border-bottom-color: #E8552E;
}

.nav-cta {
  padding: 10px 24px !important;
  background: #1F8A80 !important;
  color: #FBF6EC !important;
  border: 2.5px solid #2B2825 !important;
  border-radius: 10px 4px 10px 4px !important;
  box-shadow: 4px 4px 0 #2B2825;
  font-weight: 700 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #2B2825;
  color: #FBF6EC !important;
  border-bottom-color: #2B2825 !important;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 2.5px solid #2B2825;
  border-radius: 10px 4px 10px 4px;
  box-shadow: 3px 3px 0 #2B2825;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  color: #2B2825;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 90px;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 2.5px solid #2B2825;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #DFA726;
  margin-bottom: 24px;
  transform: rotate(-2deg);
}

.hero-eyebrow::before {
  content: '✦';
  color: #E8552E;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .text-accent {
  color: #E8552E;
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6%;
  width: 100%;
  height: 0.18em;
  background: rgba(232,85,46,0.22);
  border-radius: 4px;
  z-index: -1;
}

.hero p {
  font-size: 1.08rem;
  opacity: 0.72;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.9;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: 32px 8px 32px 8px;
  border: 4px solid #2B2825;
  box-shadow: 16px 16px 0 #2B2825;
  background: #FFFFFF;
  transform: rotate(1deg);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  background: #DFA726;
  border-radius: 50%;
  border: 4px solid #2B2825;
  z-index: 0;
}

.hero-image::after {
  content: '✦ 每日更新';
  position: absolute;
  bottom: -16px;
  left: -14px;
  background: #FBF6EC;
  border: 3px solid #2B2825;
  border-radius: 14px 4px 14px 4px;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #2B2825;
  box-shadow: 5px 5px 0 #1F8A80;
  z-index: 2;
  transform: rotate(-3deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 28px 5px 28px 5px;
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 10px 4px 10px 4px;
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #E8552E;
  color: #FBF6EC;
  border: 3px solid #2B2825;
  box-shadow: 6px 6px 0 #2B2825;
}

.btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #2B2825;
  background: #D94A24;
}

.btn-outline {
  background: #FFFFFF;
  color: #2B2825;
  border: 3px solid #2B2825;
  box-shadow: 6px 6px 0 #2B2825;
}

.btn-outline:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 #2B2825;
  background: #FBF6EC;
}

/* ---------- 标签 / 标题 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 8px 20px;
  background: #2B2825;
  color: #FBF6EC;
  border-radius: 0 12px 0 12px;
}

.section-label::before {
  content: '✦';
  color: #DFA726;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 620px;
  opacity: 0.68;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
}

.category-card {
  background: #FFFFFF;
  border: 3px solid #2B2825;
  border-radius: 24px 6px 24px 6px;
  padding: 30px 28px;
  position: relative;
  box-shadow: 7px 7px 0 #2B2825;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:nth-child(1) { background: #F9E3D8; transform: rotate(-0.8deg); }
.category-card:nth-child(2) { background: #D9EAE7; transform: rotate(0.7deg); }
.category-card:nth-child(3) { background: #F4E9C8; transform: rotate(-0.3deg); }
.category-card:nth-child(4) { background: #E8E2F2; transform: rotate(0.6deg); }
.category-card:nth-child(5) { background: #FCE1E4; transform: rotate(-0.5deg); }
.category-card:nth-child(6) { background: #E5E8E1; transform: rotate(0.4deg); }

.category-card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 14px 14px 0 #2B2825;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.category-card p {
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.65;
  margin-bottom: 18px;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px 4px 16px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: #FFFFFF;
  border: 2.5px solid #2B2825;
  box-shadow: 3px 3px 0 rgba(43,40,37,0.12);
  transform: rotate(-4deg);
}

.card-link {
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
  color: #E8552E;
  border-bottom: 2px dashed rgba(232,85,46,0.4);
  padding-bottom: 2px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.card-link:hover {
  border-bottom-style: solid;
  border-bottom-color: #E8552E;
  color: #D94A24;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 28px 6px 28px 6px;
  border: 3px solid #2B2825;
  overflow: hidden;
  position: relative;
  box-shadow: 10px 10px 0 #1F8A80;
}

.feature-image::before {
  content: '';
  position: absolute;
  top: -14px;
  left: -14px;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(43,40,37,0.12) 1.2px, transparent 1.2px);
  background-size: 9px 9px;
  pointer-events: none;
  z-index: 2;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.feature-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.feature-list li::before {
  content: '✓';
  font-weight: 900;
  color: #1F8A80;
  background: #FFFFFF;
  width: 26px;
  height: 26px;
  border: 2px solid #2B2825;
  border-radius: 8px 2px 8px 2px;
  display: 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: 32px;
  text-align: center;
}

.stat-item {
  background: #FFFFFF;
  border: 3px solid #2B2825;
  border-radius: 50%;
  padding: 28px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  box-shadow: 8px 8px 0 #2B2825;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-item:nth-child(1) { transform: rotate(-3deg); background: #F9E3D8; }
.stat-item:nth-child(2) { transform: rotate(2deg); background: #D9EAE7; }
.stat-item:nth-child(3) { transform: rotate(-1deg); background: #F4E9C8; }
.stat-item:nth-child(4) { transform: rotate(2.5deg); background: #E8E2F2; }

.stat-item:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 12px 12px 0 #E8552E;
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 4px;
  font-weight: 600;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.content-wall-item {
  border-radius: 18px 4px 18px 4px;
  border: 3px solid #2B2825;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 6px 6px 0 #2B2825;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.content-wall-item:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.content-wall-item:nth-child(even) {
  transform: rotate(0.7deg);
}

.content-wall-item:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 12px 12px 0 #E8552E;
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid #2B2825;
  transition: transform 0.4s ease;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 22px;
}

.content-wall-body h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.content-wall-body p {
  font-size: 0.86rem;
  opacity: 0.68;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 3px solid #2B2825;
  border-radius: 18px 4px 18px 4px;
  margin-bottom: 18px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 4px 4px 0 rgba(43,40,37,0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.faq-item:hover {
  box-shadow: 6px 6px 0 rgba(43,40,37,0.18);
  transform: translateY(-1px);
}

.faq-item.open {
  background: #FFFDF6;
  box-shadow: 6px 6px 0 #DFA726;
}

.faq-question {
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.faq-question::after {
  content: '＋';
  font-size: 1.3rem;
  font-weight: 400;
  color: #E8552E;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-question::after {
  content: '－';
}

.faq-answer {
  padding: 0 24px 22px;
  display: none;
  opacity: 0.72;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  display: block;
  animation: faqIn 0.3s ease forwards;
}

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.72; transform: translateY(0); }
}

/* ---------- CTA横幅 ---------- */
.cta-banner {
  padding: 72px 32px;
  text-align: center;
  border-radius: 40px 8px 40px 8px;
  color: #FBF6EC;
  background: #1F8A80;
  border: 4px solid #2B2825;
  box-shadow: 14px 14px 0 #2B2825;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: #DFA726;
  border-radius: 50%;
  border: 4px solid #2B2825;
  opacity: 0.35;
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 14px,
    rgba(255,255,255,0.06) 14px,
    rgba(255,255,255,0.06) 28px
  );
  pointer-events: none;
}

.cta-banner h2 {
  color: #FBF6EC;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(251,246,236,0.85);
  max-width: 600px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-banner .btn-primary {
  background: #FBF6EC;
  color: #2B2825;
  border: 3px solid #2B2825;
  box-shadow: 6px 6px 0 rgba(43,40,37,0.9);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 rgba(43,40,37,0.9);
  background: #FFFFFF;
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: #EFE8DB;
  border-top: 3px solid #2B2825;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  margin-top: 16px;
  opacity: 0.6;
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #E8552E;
  border-radius: 4px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  text-decoration: none;
  color: #2B2825;
  opacity: 0.6;
  font-size: 0.9rem;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-col ul a:hover {
  opacity: 1;
  color: #E8552E;
}

.footer-bottom {
  border-top: 2px solid rgba(43,40,37,0.12);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: #E8552E;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  text-align: center;
  line-height: 1.8;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ---------- 响应式 992px ---------- */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 响应式 768px ---------- */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #FBF6EC;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 20px;
    border-bottom: 3px solid #2B2825;
    box-shadow: 0 12px 24px rgba(43,40,37,0.1);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image::after {
    bottom: -12px;
    left: 0;
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .cta-banner {
    padding: 48px 24px;
  }

  .stat-item {
    max-width: 180px;
    margin: 0 auto;
  }
}

/* ---------- 响应式 480px ---------- */
@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 110px 20px 48px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .category-card:nth-child(n) {
    transform: none;
  }

  .content-wall-item:nth-child(n) {
    transform: none;
  }

  .stat-item:nth-child(n) {
    transform: none;
  }

  .hero-image {
    box-shadow: 10px 10px 0 #2B2825;
  }

  .cta-banner {
    box-shadow: 8px 8px 0 #2B2825;
  }

  .feature-image {
    box-shadow: 7px 7px 0 #1F8A80;
  }
}