/* ========== 三号动漫 官网样式 ========== */
:root {
  --primary: #f97316;
  --primary-2: #fbbf24;
  --accent: #0ea5e9;
  --dark: #0f172a;
  --dark-2: #1e3a8a;
  --text: #1b2438;
  --muted: #6b7280;
  --bg: #f8fafc;
  --bg-soft: #eff6ff;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(249, 115, 22, .15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; box-shadow: 0 8px 22px rgba(249, 115, 22, .4);
}
.btn-ghost {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px);
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-small { padding: 9px 18px; font-size: 14px; }
.ico { width: 18px; height: 18px; fill: currentColor; }

/* ========== 导航 ========== */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15, 23, 42, .85); backdrop-filter: blur(12px);
}
.site-nav.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 2px 20px rgba(0,0,0,.06); }
.nav-inner {
  width: min(1180px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand-name { color: #fff; font-weight: 700; font-size: 18px; }
.site-nav.scrolled .brand-name { color: var(--text); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 15px; font-weight: 500; }
.site-nav.scrolled .nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }
.site-nav.scrolled .nav-toggle span { background: var(--text); }

/* ========== Hero ========== */
.hero {
  position: relative; padding: 140px 0 90px;
  background: linear-gradient(150deg, #0f172a 0%, #1e3a8a 60%, #0c4a6e 100%);
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(249,115,22,.3), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(14,165,233,.35), transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-eyebrow { letter-spacing: 3px; font-size: 13px; color: #fcd34d; margin-bottom: 14px; }
.hero-title { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; font-weight: 800; }
.grad-text {
  background: linear-gradient(90deg, #fb923c, #fbbf24, #38bdf8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 20px 0; font-size: 17px; color: rgba(255,255,255,.85); max-width: 520px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero-tags span {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.65); }

/* Hero 海报卡 */
.hero-poster { position: relative; height: 460px; }
.poster-card {
  position: absolute; width: 240px; border-radius: 18px; overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,.4);
  border: 3px solid rgba(255,255,255,.15);
}
.poster-card img { width: 100%; height: 100%; object-fit: cover; }
.poster-card:first-child { top: 0; right: 60px; transform: rotate(4deg); }
.poster-float { bottom: 0; right: 0; width: 200px; transform: rotate(-6deg); opacity: .92; }

/* ========== 数据 ========== */
.stats { background: var(--bg); padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-item strong {
  display: block; font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-item span { color: var(--muted); font-size: 14px; }

/* ========== Section ========== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }
.section-eyebrow { letter-spacing: 3px; font-size: 13px; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.section-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; }
.section-sub { color: var(--muted); margin: 12px 0 40px; font-size: 16px; }

/* ========== 功能卡片 ========== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(14,165,233,.12));
  margin-bottom: 16px;
}
.feature-ico svg { width: 26px; height: 26px; fill: var(--primary); }
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* ========== 海报墙 ========== */
.poster-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.poster-item {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s ease;
}
.poster-item:hover { transform: translateY(-6px); }
.poster-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.poster-item figcaption { padding: 12px 14px; }
.poster-item figcaption span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.poster-item figcaption { font-weight: 700; font-size: 15px; }

/* ========== CTA ========== */
.cta { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; text-align: center; padding: 80px 0; }
.cta-logo { width: 84px; height: 84px; border-radius: 20px; margin: 0 auto 20px; object-fit: cover; }
.cta h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 10px; }
.cta p { color: rgba(255,255,255,.78); margin-bottom: 26px; }
.cta .btn-primary { margin-top: 6px; }
.cta-note { font-size: 13px; margin-top: 16px; color: rgba(255,255,255,.5); }

/* ========== 页脚 ========== */
.site-footer { background: #0b1120; color: rgba(255,255,255,.65); padding: 40px 0; }
.footer-inner { text-align: center; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-logo { width: 32px; height: 32px; border-radius: 8px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.45); }

/* ========== 悬浮下载 ========== */
.float-download {
  position: fixed; right: 18px; bottom: 24px; z-index: 90;
  padding: 13px 22px; border-radius: 999px; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 26px rgba(249,115,22,.45); display: none;
}

/* ========== Toast ========== */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: rgba(15,23,42,.95); color: #fff; padding: 12px 24px; border-radius: 999px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s ease; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub, .hero-tags, .hero-actions { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-poster { height: 380px; margin-top: 20px; }
  .poster-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 10px 0;
    box-shadow: 0 10px 20px rgba(0,0,0,.08); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); padding: 14px 24px; }
  .nav-toggle { display: flex; }
  .feature-grid { grid-template-columns: 1fr; }
  .poster-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 145px 0 60px; }
  .hero-poster { height: 340px; }
  .poster-card { width: 200px; }
  .poster-card:first-child { right: 50%; margin-right: -100px; }
  .poster-float { right: 10px; }
  .float-download { display: block; }
}
