/* ============================================
   禁漫天堂 · 陶土杂志风设计系统
   暖米白 × 陶土橘 × 鼠尾草绿 × 琥珀金
   ============================================ */

*, *::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: #FBF9F3;
  color: #2C2A26;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #E5B25C; color: #2C2A26; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F1E8; }
::-webkit-scrollbar-thumb { background: #C17A5A; border-radius: 4px; }

/* ========== 核心布局 ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }

.section:nth-child(even) { background: #F5F1E8; }

.section::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 122, 90, 0.15) 30%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

/* ========== 导航 ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(251, 249, 243, 0.92);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid rgba(197, 122, 90, 0.15);
  transition: box-shadow 0.3s ease;
}

.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: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: #2C2A26;
  letter-spacing: 1px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: linear-gradient(135deg, #C17A5A 0%, #E5B25C 100%);
  color: #FBF9F3;
  box-shadow: 0 3px 8px rgba(193, 122, 90, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4A4338;
  padding: 8px 16px;
  border-radius: 30px;
  transition: background 0.25s ease, color 0.25s ease;
  position: relative;
}

.main-nav a:not(.nav-cta):hover {
  background: rgba(197, 122, 90, 0.1);
  color: #C17A5A;
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #C17A5A;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav a:not(.nav-cta):hover::after { width: 30px; }

.nav-cta {
  padding: 8px 22px !important;
  border-radius: 30px !important;
  background: linear-gradient(135deg, #C17A5A, #D48B6B);
  color: #FBF9F3 !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 10px rgba(193, 122, 90, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(193, 122, 90, 0.35) !important;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(193, 122, 90, 0.3);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #C17A5A;
}

/* ========== Hero ========== */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(229, 178, 92, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 80%, rgba(122, 158, 142, 0.1) 0%, transparent 40%);
}

.hero::after {
  content: '禁界';
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14rem;
  font-weight: 900;
  color: rgba(44, 42, 38, 0.04);
  letter-spacing: -0.06em;
  pointer-events: none;
  line-height: 1;
}

.hero-content { max-width: 680px; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  background: rgba(122, 158, 142, 0.18);
  color: #5A806E;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.18;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #2C2A26;
}

.hero h1 .text-accent {
  color: #C17A5A;
  position: relative;
  display: inline-block;
}

.hero h1 .text-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(229, 178, 92, 0.4);
  border-radius: 4px;
  z-index: -1;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.65;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(44, 42, 38, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.hero-image:hover { transform: rotate(0deg) scale(1.01); }

.hero-image img { width: 100%; height: auto; display: block; }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #C17A5A 0%, #D8906F 100%);
  color: #FBF9F3;
  box-shadow: 0 5px 18px rgba(193, 122, 90, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(193, 122, 90, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #C17A5A;
  color: #C17A5A;
}

.btn-outline:hover {
  background: rgba(193, 122, 90, 0.08);
  border-color: #B06A4C;
  transform: translateY(-2px);
}

/* ========== 标签/标题 ========== */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 14px;
  color: #7A9E8E;
  text-transform: uppercase;
  position: relative;
  padding-left: 18px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C17A5A;
  transform: translateY(-50%);
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #2C2A26;
  line-height: 1.3;
}

.section-desc {
  max-width: 600px;
  opacity: 0.65;
  margin-bottom: 48px;
  line-height: 1.8;
  color: #4A4338;
}

/* ========== 卡片网格 ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

.category-card {
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(193, 122, 90, 0.1);
  background: #FFFDF9;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #C17A5A, #E5B25C, #7A9E8E);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(193, 122, 90, 0.1);
  border-color: rgba(193, 122, 90, 0.2);
}

.category-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: rgba(122, 158, 142, 0.12);
  color: #5A806E;
  transition: background 0.3s ease;
}

.category-card:hover .card-icon {
  background: rgba(193, 122, 90, 0.15);
  color: #C17A5A;
}

.card-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  color: #C17A5A;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
  margin-top: 8px;
}

.card-link:hover { gap: 12px; }

/* ========== 特性块 ========== */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.feature-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(44, 42, 38, 0.08);
  position: relative;
}

.feature-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: rgba(229, 178, 92, 0.3);
  z-index: -1;
}

.feature-image img { width: 100%; height: auto; display: block; }

.feature-text .section-title { font-size: 2rem; }

.feature-list { list-style: none; margin-top: 28px; }

.feature-list li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  border-bottom: 1px dashed rgba(122, 158, 142, 0.3);
  transition: padding-left 0.3s ease;
}

.feature-list li:hover { padding-left: 8px; }

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #C17A5A;
  font-size: 1rem;
}

/* ========== 数据条 ========== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: 32px 20px;
  border-radius: 24px;
  background: #FFFDF9;
  border: 1px solid rgba(193, 122, 90, 0.08);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(193, 122, 90, 0.08);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: #C17A5A;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.stat-number::after {
  content: '+';
  font-size: 1.4rem;
  color: #E5B25C;
  vertical-align: super;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ========== 内容墙 ========== */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  background: #FFFDF9;
  border: 1px solid rgba(193, 122, 90, 0.08);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:nth-child(odd) { transform: rotate(0.8deg); }
.content-wall-item:nth-child(even) { transform: rotate(-0.5deg); }

.content-wall-item:hover {
  transform: rotate(0deg) translateY(-5px) !important;
  box-shadow: 0 14px 32px rgba(44, 42, 38, 0.08);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img { transform: scale(1.03); }

.content-wall-body {
  padding: 22px 24px;
}

.content-wall-body .section-label {
  font-size: 0.7rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
  padding-left: 14px;
}

.content-wall-body .section-label::before { width: 8px; height: 8px; }

/* ========== FAQ ========== */
.faq-list { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }

.faq-item {
  border: 1px solid rgba(122, 158, 142, 0.2);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #FFFDF9;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(193, 122, 90, 0.3);
  transform: translateX(4px);
}

.faq-item.open {
  border-color: rgba(193, 122, 90, 0.3);
  box-shadow: 0 6px 16px rgba(193, 122, 90, 0.06);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2C2A26;
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.65;
  line-height: 1.8;
  font-size: 0.92rem;
  color: #4A4338;
}

.faq-item.open .faq-answer { display: block; animation: fadeInDown 0.35s ease; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== CTA横幅 ========== */
.cta-banner {
  padding: 72px 48px;
  text-align: center;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #C17A5A 0%, #D8906F 40%, #E5B25C 100%);
  box-shadow: 0 16px 40px rgba(193, 122, 90, 0.25);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #FBF9F3;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(251, 249, 243, 0.85);
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
}

.cta-banner .btn-primary {
  background: #FBF9F3;
  color: #C17A5A;
  box-shadow: 0 6px 18px rgba(44, 42, 38, 0.15);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(44, 42, 38, 0.2);
  color: #B06A4C;
}

/* ========== 页脚 ========== */
.site-footer {
  padding: 72px 0 32px;
  background: #F5F1E8;
  margin-top: 96px;
  border-top: 1px solid rgba(193, 122, 90, 0.1);
}

.site-footer .container {}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  max-width: 300px;
  opacity: 0.6;
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.8;
  color: #4A4338;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #2C2A26;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  color: #4A4338;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.footer-col ul a:hover {
  opacity: 1;
  color: #C17A5A;
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(122, 158, 142, 0.2);
  margin-top: 48px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #4A4338;
  opacity: 0.6;
}

/* ========== 工具类 ========== */
.text-accent { color: #C17A5A; }

.text-center { text-align: center; }

.seo-description {
  max-width: 600px;
  margin: 0 auto 56px;
  opacity: 0.65;
  text-align: center;
  line-height: 1.8;
  color: #4A4338;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-image { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2.2rem; }
  .section { padding: 64px 0; }
  .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;
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    background: #FFFDF9;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(44, 42, 38, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid rgba(193, 122, 90, 0.15);
  }

  .main-nav.open {
    display: flex;
    animation: navSlideDown 0.35s ease;
  }

  .main-nav a { padding: 12px 16px; border-radius: 10px; }
  .main-nav a::after { display: none; }

  .nav-cta { text-align: center; }

  .menu-toggle { display: flex; }

  .cta-banner { padding: 48px 24px; }
  .cta-banner h2 { font-size: 1.8rem; }
  .hero::after { font-size: 6rem; }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@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; align-items: stretch; }

  .hero-buttons .btn { justify-content: center; }

  .hero h1 { font-size: 1.9rem; }

  .section-title { font-size: 1.7rem; }

  .stat-number { font-size: 2rem; }

  .cta-banner h2 { font-size: 1.5rem; }
}

/* ========== 附加装饰元素 ========== */
.section-label::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #E5B25C;
  margin-left: 6px;
  vertical-align: middle;
}

.cta-banner .btn-primary {
  border-radius: 40px;
}

/* FadeIn动画 */
.fade-in {
  animation: fadeInUp 0.7s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 卡片网格 悬浮卡片阴影 */
.category-card:nth-child(1) .card-icon { background: rgba(193, 122, 90, 0.14); color: #C17A5A; }
.category-card:nth-child(2) .card-icon { background: rgba(122, 158, 142, 0.14); color: #5A806E; }
.category-card:nth-child(3) .card-icon { background: rgba(229, 178, 92, 0.16); color: #B8852F; }
.category-card:nth-child(4) .card-icon { background: rgba(165, 142, 196, 0.12); color: #7C6B9E; }

/* 统一的入场效果 */
.section .container { position: relative; z-index: 1; }