/* 拷贝漫画 APP 下载站 - 原创分镜设计（与漫蛙站视觉完全不同） */
:root {
  --ink: #0b1220;
  --panel: #101a2e;
  --line: #1e3358;
  --text: #e8eefc;
  --muted: #8fa3c7;
  --blue: #2b7fff;
  --blue-2: #5aa2ff;
  --blue-deep: #1554c8;
  --flash: #ff4d6d;
  --paper: #f4f7ff;
  --radius: 4px;
  --max: 1080px;
  --float-h: 74px;
  --font-display: "STKaiti", "KaiTi", "PingFang SC", "Microsoft YaHei", serif;
  --font-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--ink);
  background-image:
    linear-gradient(115deg, transparent 0 48%, rgba(43, 127, 255, 0.05) 48% 52%, transparent 52%),
    linear-gradient(180deg, #0b1220 0%, #0e1830 40%, #0b1220 100%);
  min-height: 100vh;
  line-height: 1.75;
  padding-bottom: calc(var(--float-h) + 20px);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { color: var(--blue-2); text-decoration: none; }
a:hover { color: #fff; }
.container { width: min(100% - 28px, var(--max)); margin: 0 auto; }

.speedlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 14px,
      rgba(43, 127, 255, 0.07) 14px 15px
    );
}

.site-header, main, .site-footer, .float-bar { position: relative; z-index: 1; }

.site-header {
  border-bottom: 3px solid #fff;
  background: #0d1730;
}
.nav {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 2px solid #fff;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.nav-links a { color: var(--muted); font-size: 0.9rem; letter-spacing: 0.02em; }
.nav-links a:hover, .nav-links a.active { color: #fff; }

/* Hero: full-bleed blue plane + brand dominant */
.hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(11, 18, 32, 0.15), rgba(11, 18, 32, 0.82)),
    radial-gradient(900px 500px at 70% 20%, rgba(43, 127, 255, 0.55), transparent 60%),
    linear-gradient(120deg, #12306a, #1a4fa8 40%, #0b1220 85%);
  border-bottom: 3px solid #fff;
}
.hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: 48vw;
  max-width: 520px;
  aspect-ratio: 1;
  border: 3px solid rgba(255, 255, 255, 0.55);
  transform: rotate(8deg);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), transparent 40%),
    url("../img/logo.jpg") center/72% no-repeat;
  box-shadow: 20px 24px 0 rgba(255, 77, 109, 0.35);
  animation: panelIn 0.9s ease both;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 56px 0 48px;
  max-width: 640px;
}
.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 1;
  color: #fff;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
  animation: slideUp 0.7s ease both;
}
.hero-title {
  margin: 14px 0 12px;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  animation: slideUp 0.8s ease 0.05s both;
}
.hero-desc {
  margin: 0 0 26px;
  color: #d5e3ff;
  max-width: 34em;
  animation: slideUp 0.85s ease 0.1s both;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: slideUp 0.9s ease 0.15s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid #fff;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); color: #fff; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 4px 4px 0 #fff;
}
.btn-primary:hover { background: var(--blue-deep); }
.btn-ios {
  background: transparent;
  color: #fff;
  box-shadow: 4px 4px 0 var(--flash);
}
.btn-ghost {
  background: rgba(0,0,0,0.25);
  color: #dbe7ff;
  border-color: rgba(255,255,255,0.5);
  box-shadow: none;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes panelIn {
  from { opacity: 0; transform: rotate(8deg) translate(24px, 18px); }
  to { opacity: 1; transform: rotate(8deg); }
}

.section { padding: 52px 0; }
.section-head { margin-bottom: 22px; }
.section-head h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--flash);
}
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 40em; }

.panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}
.shot-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shot {
  border: 3px solid #fff;
  background: #000;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(43, 127, 255, 0.35);
  transition: transform 0.2s ease;
}
.shot:hover { transform: translate(-3px, -3px); }
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  object-position: top center;
  background: #000;
}
.shot:first-child { grid-row: span 1; }

.ink-card {
  border: 3px solid #fff;
  background: var(--panel);
  padding: 22px;
  box-shadow: 8px 8px 0 rgba(255, 77, 109, 0.28);
}
.ink-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
}
.ink-card p, .ink-card li { color: var(--muted); margin: 0 0 8px; }
.ink-card ul { padding-left: 1.1em; margin: 0; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.feature {
  border: 2px solid var(--line);
  background: rgba(16, 26, 46, 0.9);
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
}
.feature h3 { margin: 0 0 8px; color: var(--blue-2); font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.steps { display: grid; gap: 10px; }
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  border: 2px solid #fff;
  background: #121c33;
  padding: 14px;
}
.step-num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  border: 2px solid #fff;
}
.step h3 { margin: 0 0 4px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.seo-links { display: flex; flex-wrap: wrap; gap: 8px; }
.seo-links a {
  border: 2px solid var(--line);
  padding: 7px 12px;
  color: var(--text);
  background: rgba(43, 127, 255, 0.08);
  font-size: 0.9rem;
}
.seo-links a:hover {
  border-color: #fff;
  background: var(--blue);
  color: #fff;
}

.page-hero {
  padding: 36px 0 8px;
  border-bottom: 3px solid #fff;
  background: linear-gradient(90deg, rgba(43,127,255,0.2), transparent 60%);
}
.page-hero h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.page-hero p { margin: 0; color: var(--muted); max-width: 42em; }
.content-block { padding: 22px 0 40px; }
.content-block h2 {
  margin: 26px 0 8px;
  font-size: 1.2rem;
  color: var(--blue-2);
  border-left: 4px solid var(--flash);
  padding-left: 10px;
}
.content-block p, .content-block li { color: var(--muted); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  opacity: 0.5;
}
.meta-line { margin: 8px 0 0; font-size: 0.85rem; color: #6d7fa3; }
.seo-article p { margin: 0 0 12px; }
.seo-article strong { color: #fff; font-weight: 700; }
.map-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.map-list a {
  display: block;
  padding: 12px 14px;
  border: 2px solid var(--line);
  color: var(--text);
  background: rgba(43,127,255,0.06);
}
.map-list a:hover { border-color: #fff; background: var(--blue); color: #fff; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  margin: 0 0 14px;
  font-size: 0.88rem;
}

.site-footer {
  border-top: 3px solid #fff;
  background: #080e1a;
  padding: 30px 0 24px;
  margin-top: 10px;
}
.disclaimer {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 3px solid var(--flash);
  background: rgba(255, 77, 109, 0.12);
  color: #ffd0d9;
  font-weight: 800;
  text-align: center;
}
.stats-line {
  text-align: center;
  color: var(--muted);
  margin: 0 0 10px;
}
.stats-line strong { color: var(--blue-2); }
.footer-meta { text-align: center; color: #6d7fa3; font-size: 0.85rem; }

.float-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 100;
  transform: translateY(110%);
  transition: transform 0.25s ease;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 14, 26, 0.94);
  border-top: 3px solid #fff;
  backdrop-filter: blur(12px);
}
.float-bar.show { transform: translateY(0); }
.float-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.float-bar .btn { width: 100%; min-height: 46px; }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero::after {
    position: relative;
    right: auto;
    top: auto;
    width: min(48vw, 200px);
    max-width: 200px;
    margin: 28px auto 0;
    display: block;
    aspect-ratio: 1;
    background-size: contain;
    box-shadow: 12px 12px 0 rgba(255, 77, 109, 0.35);
  }
  .hero-content { padding: 28px 0 32px; }
  .panel-grid, .feature-strip { grid-template-columns: 1fr; }
  .shot-stack {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
  .shot img {
    aspect-ratio: auto;
    object-fit: contain;
  }
  .nav-links { display: none; }
}

@media (min-width: 561px) and (max-width: 860px) {
  .shot-stack {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}
