/* ==========================================================
   热血漫画风 · 「鼻血」设计系统
   ACFUN · acfan.nm.cn
   ========================================================== */

:root {
  --cream: #FFF9F2;
  --peach: #FFE5DB;
  --coral: #FF4155;
  --orange: #FFA502;
  --mint: #00C4A7;
  --ink: #3D2828;
  --radius-lg: 28px;
  --radius-sm: 18px;
  --shadow-sm: 0 2px 12px rgba(61, 40, 40, 0.05);
  --shadow-md: 0 8px 30px rgba(61, 40, 40, 0.10);
  --shadow-coral: 0 6px 20px rgba(255, 65, 85, 0.30);
}

/* ---------- 基础重置 ---------- */
*, *::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: var(--cream);
  background-image: radial-gradient(rgba(255, 65, 85, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--coral);
  color: #fff;
}

/* ---------- 核心布局 ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: rgba(255, 229, 219, 0.5);
}

/* ---------- 固定导航 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 251, 248, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 65, 85, 0.12);
  transition: box-shadow 0.3s;
}

.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.35rem;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  transform: rotate(-8deg);
  box-shadow: var(--shadow-coral);
  transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: rotate(10deg) scale(1.12);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  display: inline-block;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: 0.3s;
  position: relative;
  padding: 4px 2px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--coral);
  transform: translateY(-2px);
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 24px;
  color: #fff !important;
  font-weight: 700;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  box-shadow: var(--shadow-coral);
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  transform: translateY(-3px) scale(1.04) !important;
  box-shadow: 0 8px 26px rgba(255, 65, 85, 0.45) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: 0.2s;
}

.menu-toggle:hover {
  background: rgba(255, 65, 85, 0.1);
}

/* ---------- Hero 热血篇 ---------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 60px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 165, 2, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(255, 65, 85, 0.10) 0%, transparent 40%),
    linear-gradient(160deg, var(--cream) 0%, var(--peach) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 12%;
  right: 5%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 65, 85, 0.12) 0%, rgba(255, 165, 2, 0.06) 55%, transparent 70%);
  animation: heroFloat 8s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: 10%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 196, 167, 0.12) 0%, transparent 65%);
  animation: heroFloat 6s ease-in-out infinite alternate-reverse;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--coral), #FF6B6B);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 65, 85, 0.35);
  transform: rotate(-2deg);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero h1 .text-accent {
  color: var(--coral);
}

.hero p {
  font-size: 1.12rem;
  opacity: 0.72;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(255, 65, 85, 0.18), var(--shadow-md);
  border: 4px solid #fff;
  transform: rotate(2deg);
  transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FF8787, var(--coral) 70%);
  box-shadow: 0 0 0 6px rgba(255, 65, 85, 0.18);
  z-index: 2;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--orange);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(255, 165, 2, 0.18);
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  box-shadow: var(--shadow-coral);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 65, 85, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--coral);
  color: var(--coral);
}

.btn-outline:hover {
  background: rgba(255, 65, 85, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 65, 85, 0.15);
}

/* ---------- 区块标签与标题 ---------- */
.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--coral);
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 24px;
  background: rgba(255, 65, 85, 0.08);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding-bottom: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='12' viewBox='0 0 300 12' fill='none'%3E%3Cpath d='M2 8 Q30 2 60 8 T120 8 T180 8 T240 8 T298 8' stroke='%23FFA502' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 40% 12px;
}

.section-desc {
  max-width: 600px;
  opacity: 0.68;
  margin-bottom: 48px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---------- 卡片网格 ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  background: #fff;
  border: 2px solid rgba(255, 65, 85, 0.06);
  box-shadow: var(--shadow-sm);
  transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  transition: 0.3s;
}

.category-card:nth-child(1)::before { background: var(--coral); }
.category-card:nth-child(2)::before { background: var(--orange); }
.category-card:nth-child(3)::before { background: var(--mint); }
.category-card:nth-child(4)::before { background: #FF6B35; }

.category-card:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 12px 32px rgba(255, 65, 85, 0.15);
  border-color: rgba(255, 65, 85, 0.18);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--peach), #fff);
  border: 2px solid rgba(255, 65, 85, 0.12);
}

.category-card:nth-child(2) .card-icon {
  background: linear-gradient(135deg, #FFF3E0, #fff);
  border-color: rgba(255, 165, 2, 0.2);
}

.category-card:nth-child(3) .card-icon {
  background: linear-gradient(135deg, #E0F7F2, #fff);
  border-color: rgba(0, 196, 167, 0.2);
}

.category-card:nth-child(4) .card-icon {
  background: linear-gradient(135deg, #FFE8DB, #fff);
  border-color: rgba(255, 107, 53, 0.2);
}

.card-link {
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--coral);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: 0.25s;
}

.card-link:hover {
  gap: 10px;
  color: #E6303F;
}

/* ---------- 特性块 ---------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(255, 65, 85, 0.12), var(--shadow-md);
  border: 4px solid #fff;
  transform: rotate(-2deg);
  transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.feature-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 20px 0;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  border-bottom: 1px dashed rgba(61, 40, 40, 0.1);
  font-size: 0.98rem;
}

.feature-list li::before {
  content: '♥';
  font-weight: 700;
  color: var(--coral);
}

/* ---------- 数据统计 ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 34px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 2px solid rgba(255, 65, 85, 0.07);
  box-shadow: var(--shadow-sm);
  transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--coral), var(--orange));
  opacity: 0;
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 65, 85, 0.12);
  border-color: rgba(255, 65, 85, 0.22);
}

.stat-item:hover::after {
  opacity: 1;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--coral);
  line-height: 1.15;
}

.stat-label {
  font-size: 0.92rem;
  opacity: 0.58;
  margin-top: 8px;
  font-weight: 500;
}

/* ---------- 内容墙 ---------- */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.content-wall-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 2px solid rgba(255, 65, 85, 0.06);
  box-shadow: var(--shadow-sm);
  transition: 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-wall-item:hover {
  transform: translateY(-6px) rotate(1deg);
  box-shadow: 0 12px 30px rgba(255, 65, 85, 0.14);
  border-color: rgba(255, 65, 85, 0.15);
}

.content-wall-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  border-bottom: 5px solid var(--coral);
  transition: 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body {
  padding: 22px 24px 24px;
}

.content-wall-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.content-wall-body p {
  font-size: 0.88rem;
  opacity: 0.65;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid rgba(255, 65, 85, 0.12);
  border-radius: 20px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 65, 85, 0.3);
}

.faq-item.open {
  border-color: var(--coral);
  box-shadow: 0 6px 20px rgba(255, 65, 85, 0.1);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: var(--ink);
  gap: 20px;
}

.faq-item .faq-question::after {
  content: '⌄';
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--coral);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  display: none;
  padding: 0 24px 20px;
  opacity: 0.68;
  line-height: 1.75;
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeSlideIn 0.3s ease forwards;
}

/* ---------- CTA 热血横幅 ---------- */
.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--coral) 0%, #FF6B35 60%, var(--orange) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(255, 65, 85, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: repeating-radial-gradient(circle at 50% 50%,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 4px,
    transparent 4px,
    transparent 14px);
  animation: rotateSlow 30s linear infinite;
}

.cta-banner h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 12px;
}

.cta-banner .btn-primary {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--coral);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  margin-top: 12px;
}

.cta-banner .btn-primary:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: #FFF0E8;
  border-top: 2px solid rgba(255, 65, 85, 0.1);
  color: var(--ink);
  margin-top: 40px;
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.62;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  color: var(--coral);
  font-weight: 800;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.68;
  font-size: 0.92rem;
  padding: 4px 0;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
}

.footer-col a:hover {
  color: var(--coral);
  opacity: 1;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(61, 40, 40, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.55;
}

/* ---------- 工具类 ---------- */
.text-accent {
  color: var(--coral);
  background: linear-gradient(0deg, rgba(255, 165, 2, 0.18) 0%, rgba(255, 165, 2, 0.18) 25%, transparent 25%);
  padding: 0 3px;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.68;
  font-size: 1.02rem;
  line-height: 1.75;
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 动画关键帧 ---------- */
@keyframes heroFloat {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(24px, 30px) scale(1.08);
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 响应式 768px ---------- */
@media (max-width: 768px) {
  .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: 72px;
    left: 0;
    width: 100%;
    background: rgba(255, 249, 242, 0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 4px solid var(--coral);
    box-shadow: 0 24px 48px rgba(61, 40, 40, 0.1);
    animation: slideDown 0.3s ease;
  }

  .hero {
    min-height: 60vh;
    padding: 110px 0 40px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero br {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    background-size: 55% 10px;
  }

  .hero-image {
    margin-top: 32px;
    max-width: 100%;
  }
}

/* ---------- 响应式 480px ---------- */
@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-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .stats-bar {
    gap: 14px;
  }

  .stat-item {
    padding: 24px 16px;
  }

  .cta-banner {
    padding: 44px 18px;
    border-radius: 24px;
  }

  .section-title {
    font-size: 1.6rem;
    background-size: 70% 8px;
  }

  .feature-block {
    gap: 24px;
  }

  .footer-grid {
    gap: 24px;
  }
}