:root {
  --bg-base: #f8f5f2;
  --ink: #2b2b2b;
  --ink-soft: #5a5a5a;
  --pink-acc: #e05c7a;
  --pink-soft: #fbe6ec;
  --purple-acc: #7d5ba6;
  --purple-soft: #f0eaf7;
  --teal-acc: #3c8d8d;
  --teal-soft: #e5f4f4;
  --gold-acc: #c8923d;
  --gold-soft: #fdf4e3;
  --radius: 16px;
  --max-w: 1200px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-base);
  color: var(--ink);
  line-height: 1.7;
  padding-bottom: 90px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,245,242,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 34px; width: 34px; object-fit: cover; border-radius: 10px; }
.brand-name { font-size: 19px; font-weight: 700; letter-spacing: 1px; color: var(--ink); }
.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end;
  }
  .nav-desktop a {
    padding: 6px 12px; border-radius: 20px; font-size: 14px;
    color: var(--ink-soft); transition: all 0.2s; white-space: nowrap;
  }
  .nav-desktop a:hover { color: #fff; background: var(--pink-acc); }
}
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--pink-soft); border: none; cursor: pointer; font-size: 20px; color: var(--pink-acc);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid #eee;
  padding: 12px 20px 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 12px 14px; border-radius: 10px;
  font-size: 15px; color: var(--ink); border-bottom: 1px solid #f2f2f2;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:active { background: var(--pink-soft); color: var(--pink-acc); }

/* Common */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.sec-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.sec-sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 28px; }
@media (max-width: 767px) {
  .section { padding: 40px 0; }
  .sec-title { font-size: 22px; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #fdf0f4 0%, #f4eef9 50%, #f8f5f2 100%);
  padding: 44px 0 0; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 36px; }
}
.hero-tag {
  display: inline-block; background: var(--pink-acc); color: #fff;
  font-size: 12px; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero h1 { font-size: 30px; line-height: 1.35; font-weight: 900; margin-bottom: 16px; }
@media (min-width: 1024px) { .hero h1 { font-size: 38px; } }
.hero h1 em { font-style: normal; color: var(--pink-acc); }
.hero-desc { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.hero-desc p { margin-bottom: 8px; }
.download-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.btn-download {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-size: 14px; font-weight: 600;
  color: #fff; transition: transform 0.2s, box-shadow 0.2s;
  background: linear-gradient(135deg, var(--pink-acc), #c94a6a);
  box-shadow: 0 4px 12px rgba(224,92,122,0.3);
}
.btn-download:hover { transform: translateY(-2px); }
.btn-download.alt { background: linear-gradient(135deg, var(--purple-acc), #5f4487); box-shadow: 0 4px 12px rgba(125,91,166,0.3); }
.btn-download.alt2 { background: linear-gradient(135deg, var(--teal-acc), #2a6f6f); box-shadow: 0 4px 12px rgba(60,141,141,0.3); }
.btn-download.alt3 { background: linear-gradient(135deg, var(--gold-acc), #a87426); box-shadow: 0 4px 12px rgba(200,146,61,0.3); }
.btn-icon { font-size: 16px; }
.hero-note { font-size: 12px; color: #999; margin-top: 10px; }

/* Hero carousel */
.hero-carousel {
  position: relative; display: flex; gap: 12px; justify-content: center; align-items: flex-end;
  padding-bottom: 10px;
}
.carousel-card {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #fff;
  flex-shrink: 0;
}
.carousel-card img { width: 100%; height: 100%; object-fit: cover; }
.carousel-card.main { width: 58%; aspect-ratio: 3 / 4; }
.carousel-card.side { width: 32%; aspect-ratio: 3 / 4; margin-bottom: 24px; }
@media (max-width: 767px) {
  .carousel-card.main { width: 56%; }
  .carousel-card.side { width: 30%; margin-bottom: 16px; }
}

/* Marquee */
.marquee-wrap {
  overflow: hidden; white-space: nowrap; padding: 14px 0;
  margin-top: 36px;
  background: #fff;
  border-top: 1px solid #f0e6ea;
  border-bottom: 1px solid #f0e6ea;
}
.marquee {
  display: inline-block; animation: scroll 26s linear infinite;
}
.marquee span {
  display: inline-block; font-size: 15px; font-weight: 700; margin-right: 42px;
  background: linear-gradient(90deg, #e05c7a, #7d5ba6, #3c8d8d, #c8923d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Section backgrounds */
.bg-pink { background: var(--pink-soft); }
.bg-purple { background: var(--purple-soft); }
.bg-teal { background: var(--teal-soft); }
.bg-gold { background: var(--gold-soft); }
.bg-white { background: #fff; }

/* Domestic comics grid */
.comic-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
@media (min-width: 768px) { .comic-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.comic-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.25s;
}
.comic-card:hover { transform: translateY(-4px); }
.comic-poster { aspect-ratio: 2 / 3; overflow: hidden; background: #f0e6ea; }
.comic-poster img { width: 100%; height: 100%; object-fit: cover; }
.comic-info { padding: 12px 12px 16px; }
.comic-info h3 { font-size: 15px; margin-bottom: 4px; }
.comic-meta { font-size: 12px; color: #999; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: var(--pink-soft); color: var(--pink-acc);
}
.tag.purple { background: var(--purple-soft); color: var(--purple-acc); }
.tag.teal { background: var(--teal-soft); color: var(--teal-acc); }

/* Two column mixed */
.mix-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) {
  .mix-layout { grid-template-columns: 0.9fr 1.1fr; }
  .mix-layout.rev { grid-template-columns: 1.1fr 0.9fr; }
}
.poster-frame {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 3 / 4; max-width: 420px; margin: 0 auto;
}
.poster-frame img { width: 100%; height: 100%; object-fit: cover; }
.list-block { display: flex; flex-direction: column; gap: 10px; }
.list-item {
  background: #fff; border-radius: 12px; padding: 13px 16px;
  box-shadow: var(--shadow); border-left: 3px solid var(--purple-acc);
}
.list-item h3 { font-size: 15px; margin-bottom: 4px; }
.list-item p { font-size: 13px; color: var(--ink-soft); }

/* Schedule timeline */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: linear-gradient(var(--teal-acc), var(--purple-acc));
}
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -26px; top: 5px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal-acc);
}
.tl-time { font-weight: 800; color: var(--teal-acc); font-size: 14px; margin-bottom: 2px; }
.tl-item h3 { font-size: 15px; margin-bottom: 3px; }
.tl-item p { font-size: 13px; color: var(--ink-soft); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .faq-grid { grid-template-columns: 1fr 1fr; } }
.faq-item {
  background: #fff; border-radius: 12px; padding: 16px 18px;
  box-shadow: var(--shadow);
}
.faq-q { font-weight: 700; color: var(--teal-acc); font-size: 15px; margin-bottom: 6px; }
.faq-a { font-size: 13px; color: var(--ink-soft); }

/* VIP list */
.vip-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .vip-grid { grid-template-columns: repeat(2, 1fr); } }
.vip-card {
  background: #fff; border-radius: 12px; padding: 16px 18px;
  box-shadow: var(--shadow); display: flex; gap: 12px; align-items: flex-start;
}
.vip-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-acc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.vip-card h3 { font-size: 15px; margin-bottom: 3px; }
.vip-card p { font-size: 13px; color: var(--ink-soft); }

/* Comments */
.comment-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .comment-grid { grid-template-columns: repeat(2, 1fr); } }
.comment {
  background: #fff; border-radius: 14px; padding: 16px;
  box-shadow: var(--shadow); display: flex; gap: 12px;
}
.avatar {
  width: 42px; height: 42px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 2px solid var(--pink-soft);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body h3 { font-size: 14px; margin-bottom: 4px; }
.comment-body p { font-size: 13px; color: var(--ink-soft); }

/* Feedback form */
.feedback-box {
  background: #fff; border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow); max-width: 720px; margin: 0 auto;
}
.fb-row { margin-bottom: 16px; }
.fb-row label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.fb-row input, .fb-row textarea {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  border: 1px solid #e5dde0; font-size: 14px; font-family: inherit;
  background: #fdfcfc; outline: none; transition: border-color 0.2s;
}
.fb-row input:focus, .fb-row textarea:focus { border-color: var(--pink-acc); }
.fb-row textarea { min-height: 100px; resize: vertical; }
.fb-btn {
  display: inline-block; padding: 11px 28px; border-radius: 10px;
  background: var(--pink-acc); color: #fff; font-weight: 600;
  border: none; cursor: pointer; font-size: 15px;
}

/* Privacy */
.privacy-list { display: flex; flex-direction: column; gap: 12px; }
.privacy-item {
  background: #fff; border-radius: 12px; padding: 16px 18px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--purple-acc);
}
.privacy-item h3 { font-size: 15px; margin-bottom: 4px; color: var(--purple-acc); }
.privacy-item p { font-size: 13px; color: var(--ink-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: #fff; border-radius: var(--radius); padding: 22px 18px;
  box-shadow: var(--shadow); text-align: center;
}
.step-num {
  width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--pink-acc), var(--purple-acc));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.step-card h3 { font-size: 15px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--ink-soft); }

/* Bottom download */
.bottom-download {
  background: linear-gradient(135deg, #fdf0f4, #f0eaf7);
  border-radius: 20px; padding: 36px 24px; text-align: center;
  box-shadow: var(--shadow);
}
.bottom-download h2 { font-size: 24px; margin-bottom: 8px; }
.bottom-download p { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.center-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Floating download */
.float-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 200; width: calc(100% - 32px); max-width: 420px;
  background: #fff; border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  display: flex; align-items: center; gap: 12px;
  border: 1px solid #f0e6ea;
}
.float-bar img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.float-info { flex: 1; min-width: 0; }
.float-info strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float-info span { display: block; font-size: 11px; color: #999; }
.float-btn {
  flex-shrink: 0; padding: 9px 18px; border-radius: 10px;
  background: var(--pink-acc); color: #fff; font-size: 13px; font-weight: 600;
}

/* Footer */
footer {
  background: #2b2b2b; color: #bbb; padding: 40px 0 28px; font-size: 13px;
  margin-top: 56px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 26px; margin-bottom: 26px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand strong { color: #fff; font-size: 16px; }
.footer-col h3 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-col a { display: block; color: #999; margin-bottom: 7px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #3a3a3a; padding-top: 18px; text-align: center;
  font-size: 12px; color: #888;
}
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: #fff; }
.footer-time { margin-top: 6px; font-size: 11px; color: #777; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: #fff; border-radius: 16px; padding: 26px 22px; max-width: 360px; width: 100%;
  text-align: center;
}
.modal-box p { font-size: 15px; margin-bottom: 16px; color: var(--ink); }
.modal-box input {
  width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ddd;
  font-size: 13px; margin-bottom: 14px; text-align: center; color: #666;
}
.modal-close {
  padding: 9px 26px; border-radius: 8px; background: var(--pink-acc);
  color: #fff; border: none; cursor: pointer; font-size: 14px;
}