:root {
  --ink: #111111;
  --paper: #faf9f6;
  --main: #d350ea;
  --main-light: #f4dcf8;
  --main-dark: #4a1254;
  --border: 3px solid var(--ink);
  --font-head: "Arial Black", "PingFang SC", "Heiti SC", sans-serif;
  --font-body: "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-num: "Impact", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* 网点背景 */
.bg-halftone {
  background-image: radial-gradient(var(--ink) 1px, transparent 1px);
  background-size: 8px 8px;
  background-color: var(--paper);
}
.bg-halftone-dark {
  background-image: radial-gradient(var(--paper) 1px, transparent 1px);
  background-size: 8px 8px;
  background-color: var(--ink);
}

/* 漫画框基础 */
.panel {
  border: var(--border);
  background-color: var(--paper);
  position: relative;
}
.speech-bubble {
  background: #fff;
  border: var(--border);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  position: relative;
  display: inline-block;
  box-shadow: 4px 4px 0 var(--ink);
}
.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 30px;
  border-width: 15px 15px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
  z-index: 2;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -26px;
  left: 28px;
  border-width: 18px 17px 0;
  border-style: solid;
  border-color: var(--ink) transparent transparent;
  z-index: 1;
}

.btn-download {
  background-color: var(--main);
  color: var(--ink);
  border: var(--border);
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-weight: 900;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 0.1s, box-shadow 0.1s;
  cursor: pointer;
}
.btn-download:hover {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-download::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 20px;
  border-width: 12px 12px 0;
  border-style: solid;
  border-color: var(--main) transparent transparent;
  filter: drop-shadow(2px 2px 0 var(--ink));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 4px solid var(--ink);
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-area { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; letter-spacing: -1px; }
.logo-area img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 0.5rem; overflow-x: auto; white-space: nowrap; margin: 0 1rem; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  border: 1px solid var(--ink);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
}
.nav-links a.active, .nav-links a:hover { background-color: var(--main); color: var(--ink); }

/* Hero */
.hero { padding: 2rem 1rem; border-bottom: 4px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 350px 1fr; gap: 3rem; }
}
.hero-text h1 { font-family: var(--font-head); font-size: 2.5rem; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1px; }
.hero-text p.sub { font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.hero-actions .secondary { display: flex; gap: 1rem; }
.hero-actions .secondary a { border: 2px solid var(--ink); padding: 0.4rem 1rem; border-radius: 4px; font-weight: bold; font-size: 0.9rem; }

.hero-content { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem; }
.cover-wall {
  display: grid; grid-template-columns: repeat(9, 1fr); gap: 0.5rem;
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
  opacity: 0.3; pointer-events: none;
}
.cover-wall img { aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--ink); animation: scrollUp 20s linear infinite; }
@keyframes scrollUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

.hero-main-cards { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 1rem; }
.hero-card { border: var(--border); position: relative; background: #fff; }
.hero-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.hero-card.large { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.hero-card.large img { height: 100%; }
.hero-card.large .info { padding: 1rem; display: flex; flex-direction: column; justify-content: center; }
.hero-rank { position: relative; z-index: 1; background: rgba(250, 249, 246, 0.9); border: var(--border); padding: 1rem; }
.rank-item { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px dashed var(--ink); padding: 0.5rem 0; }
.rank-item:last-child { border-bottom: none; }
.rank-item img { width: 40px; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--ink); }
.rank-num { font-family: var(--font-num); font-size: 1.5rem; color: var(--main-dark); }
.rank-info { flex: 1; font-size: 0.8rem; }
.rank-info span { font-weight: bold; display: block; }

.data-bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; border-top: 4px solid var(--ink); padding-top: 1rem; margin-top: 1rem; position: relative; z-index: 1; background: var(--paper); }
.data-item { text-align: center; }
.data-item strong { font-family: var(--font-num); font-size: 1.5rem; display: block; color: var(--main-dark); }

/* 通用 section */
section { padding: 3rem 1rem; border-bottom: 4px solid var(--ink); }
.section-title { font-family: var(--font-head); font-size: 1.8rem; margin-bottom: 2rem; display: inline-block; background: var(--main-light); padding: 0.5rem 1rem; border: var(--border); transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--ink); }

/* 榜单 */
.billboard-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .billboard-grid { grid-template-columns: repeat(3, 1fr); } }
.board-col { border: var(--border); padding: 1rem; background: #fff; }
.board-col h3 { font-family: var(--font-head); margin-bottom: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: 0.5rem; }
.top-three { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.top-three .card { flex: 1; position: relative; text-align: center; }
.top-three .card img { border: 2px solid var(--ink); aspect-ratio: 3/4; object-fit: cover; }
.top-three .card .num { position: absolute; top: -10px; left: -10px; background: var(--main); border: 2px solid var(--ink); border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-family: var(--font-num); font-weight: bold; }
.compact-list li { display: flex; justify-content: space-between; font-size: 0.85rem; border-bottom: 1px dashed #ccc; padding: 0.3rem 0; }
.compact-list li span:last-child { color: var(--main-dark); font-family: var(--font-num); }

/* 题材 */
.genre-wall { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.genre-btn { border: var(--border); padding: 0.5rem 1rem; font-weight: 900; font-size: 1.2rem; border-radius: 4px; background: #fff; cursor: pointer; position: relative; }
.genre-btn:hover { background: var(--main-light); }
.genre-btn:hover::after { content: '砰!'; position: absolute; top: -20px; right: -10px; font-family: var(--font-head); color: var(--main); text-shadow: 1px 1px 0 var(--ink); }
.comic-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .comic-cards { grid-template-columns: repeat(4, 1fr); } }

.comic-card { border: var(--border); background: #fff; position: relative; transition: transform 0.2s; }
.comic-card:hover { transform: translateY(-5px); }
.comic-card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-bottom: 2px solid var(--ink); }
.comic-card .info { padding: 0.5rem; font-size: 0.8rem; }
.comic-card .info h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.comic-card .tag { display: inline-block; background: var(--main-light); padding: 0 0.3rem; border: 1px solid var(--ink); font-size: 0.7rem; border-radius: 2px; margin-bottom: 0.2rem; }
.comic-card .status { position: absolute; top: 5px; right: 5px; background: var(--main); border: 2px solid var(--ink); font-size: 0.7rem; padding: 0.1rem 0.3rem; font-weight: bold; }

/* 追更 */
.schedule-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.5rem; overflow-x: auto; }
.schedule-col { border: 2px solid var(--ink); padding: 0.5rem; background: #fff; min-width: 120px; }
.schedule-col.today { background: var(--main-light); border-width: 4px; }
.schedule-col h4 { font-size: 1rem; text-align: center; margin-bottom: 0.5rem; border-bottom: 2px solid var(--ink); }
.schedule-col .card { margin-bottom: 0.5rem; text-align: center; }
.schedule-col .card img { border: 1px solid var(--ink); aspect-ratio: 3/4; object-fit: cover; }
.schedule-col .card .btns { display: flex; gap: 0.2rem; justify-content: center; margin-top: 0.2rem; }
.schedule-col .card button { font-size: 0.7rem; border: 1px solid var(--ink); background: #fff; border-radius: 2px; cursor: pointer; }
.schedule-col .card button:hover { background: var(--main); }

/* 阅读体验 */
.reader-box { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; align-items: flex-start; }
.phone-mockup { width: 250px; border: 8px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--paper); position: relative; }
.phone-screen { padding: 1rem; }
.phone-screen img { border: 2px solid var(--ink); aspect-ratio: 3/4; object-fit: cover; margin-bottom: 1rem; }
.phone-screen .mock-text { border: 2px solid var(--ink); padding: 0.5rem; background: #fff; font-size: 0.8rem; margin-bottom: 0.5rem; }
.phone-screen .mock-bubble { border: 2px solid var(--ink); border-radius: 10px; padding: 0.5rem; background: var(--main-light); font-size: 0.8rem; width: 80%; margin-left: auto; }
.reader-notes { display: flex; flex-direction: column; gap: 1rem; }
.reader-notes .note { background: #fff; border: 2px solid var(--ink); padding: 0.5rem 1rem; border-radius: 20px; font-weight: bold; }

/* 名场面 */
.dark-section { background-color: var(--ink); color: var(--paper); padding: 3rem 1rem; border-bottom: 4px solid var(--ink); }
.dark-section .section-title { background: var(--main); color: var(--ink); border-color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.fame-wall { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; }
.fame-card { flex: 0 0 200px; }
.fame-card img { border: 3px solid var(--paper); aspect-ratio: 3/4; object-fit: cover; }
.fame-card .narration { background: rgba(17,17,17,0.8); border: 1px solid var(--paper); padding: 0.5rem; font-size: 0.8rem; margin-top: 0.5rem; }

/* 作者 */
.author-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .author-grid { grid-template-columns: repeat(3, 1fr); } }
.author-card { border: var(--border); padding: 1rem; background: #fff; text-align: center; }
.author-card img { width: 120px; margin: 0 auto 1rem; border: 2px solid var(--ink); aspect-ratio: 3/4; object-fit: cover; }
.author-card .author-name { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 0.5rem; }
.author-card .bubble { background: var(--main-light); border: 2px solid var(--ink); border-radius: 10px; padding: 0.8rem; font-size: 0.9rem; position: relative; margin-top: 1rem; text-align: left; }
.author-card .bubble::after { content: ''; position: absolute; top: -10px; left: 20px; border-width: 0 10px 10px; border-style: solid; border-color: transparent transparent var(--ink); }
.author-card .bubble::before { content: ''; position: absolute; top: -7px; left: 20px; border-width: 0 10px 10px; border-style: solid; border-color: transparent transparent var(--main-light); z-index: 1; }

/* 互动 */
.interactive-section { background-color: var(--main); padding: 3rem 1rem; border-bottom: 4px solid var(--ink); text-align: center; }
.interactive-section .section-title { background: var(--paper); }
.flip-card { width: 250px; margin: 0 auto; perspective: 1000px; cursor: pointer; }
.flip-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; }
.flip-card.flipped .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border: var(--border); background: var(--paper); }
.flip-front img { width: 100%; height: 100%; object-fit: cover; }
.flip-back { transform: rotateY(180deg); padding: 1rem; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.flip-corner { position: absolute; bottom: 0; right: 0; width: 40px; height: 40px; background: linear-gradient(135deg, transparent 50%, var(--main) 50%); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }

/* 口碑 */
.testimonial-wall { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.testimonial { background: #fff; border: 2px solid var(--ink); border-radius: 20px; padding: 1rem; max-width: 300px; position: relative; }
.testimonial .nick { font-weight: bold; font-size: 0.8rem; color: var(--main-dark); text-align: right; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: 200px 1fr; } }
.faq-side h2 { writing-mode: vertical-rl; font-family: var(--font-head); font-size: 2rem; letter-spacing: 5px; }
.faq-item { border: 2px solid var(--ink); margin-bottom: 1rem; background: #fff; }
.faq-item summary { padding: 1rem; font-weight: bold; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::after { content: '▼'; position: absolute; right: 1rem; font-size: 0.8rem; }
.faq-item[open] summary::after { content: '▲'; }
.faq-item p { padding: 0 1rem 1rem; }

/* 收尾 */
.final-section { background-color: var(--main); padding: 4rem 1rem; text-align: center; border-bottom: 4px solid var(--ink); position: relative; }
.final-section .huge-btn { font-size: 1.5rem; padding: 1rem 3rem; background: #fff; color: var(--ink); border: 4px solid var(--ink); display: inline-block; margin-bottom: 2rem; box-shadow: 8px 8px 0 var(--ink); }
.final-section .qr-placeholder { width: 150px; height: 150px; background: #fff; border: 4px solid var(--ink); margin: 0 auto; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.page-corner { position: absolute; bottom: 0; right: 0; width: 80px; height: 80px; background: linear-gradient(135deg, transparent 50%, var(--paper) 50%); border-top: 3px solid var(--ink); border-left: 3px solid var(--ink); }

/* 页脚 */
.site-footer { background-color: var(--ink); color: #ccc; padding: 2rem 1rem; font-size: 0.8rem; text-align: center; }
.site-footer a { color: #ccc; text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 1rem 0; }
details.about-us { margin-top: 1rem; text-align: left; display: inline-block; }
details.about-us summary { cursor: pointer; list-style: none; color: #aaa; }
details.about-us summary::-webkit-details-marker { display: none; }
.about-content { margin-top: 0.5rem; line-height: 1.8; }
.about-content a { color: #fff; display: block; margin-bottom: 0.2rem; }