/* ==========================================================================
   黄果漫剧 · 2026
   黑 / 芒果黄 / 白 / 淡紫
   ========================================================================== */

:root {
  --ink: #17130b;
  --ink-2: #221b10;
  --yellow: #ffd21e;
  --yellow-2: #ffe76a;
  --paper: #ffffff;
  --bg: #f6f6f2;
  --muted: #6d685e;
  --muted-2: #9a958a;
  --line: #e7e2d8;
  --lilac: #efe8ff;
  --pink: #ffe7ee;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 3px; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 58px 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(23,19,11,.97); border-bottom: 1px solid rgba(255,255,255,.12); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.6); }
.nav a:hover { color: var(--yellow); }
.header-cta { display: inline-flex; align-items: center; justify-content: center; padding: 9px 17px; border-radius: 4px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 900; white-space: nowrap; }
.header-cta:hover { background: var(--yellow-2); }
.menu-btn { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; }
.menu-btn i { display: block; position: relative; width: 17px; height: 1.5px; background: #fff; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: #fff; transition: transform .2s ease; }
.menu-btn i::before { top: -6px; }
.menu-btn i::after { top: 6px; }
.menu-btn[aria-expanded="true"] i { background: transparent; }
.menu-btn[aria-expanded="true"] i::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; padding: 8px 20px 18px; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 600; color: #fff; }
.mobile-nav .header-cta { margin-top: 12px; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 42px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,210,30,.2) 1px, transparent 1px); background-size: 19px 19px; -webkit-mask-image: linear-gradient(90deg, transparent 28%, #000 100%); mask-image: linear-gradient(90deg, transparent 28%, #000 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 34px; align-items: center; padding-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 13px; padding: 4px 9px; border: 1px solid rgba(255,210,30,.45); border-radius: 3px; color: var(--yellow); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.hero h1 { margin: 0 0 16px; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.05; letter-spacing: -.06em; font-weight: 900; }
.hero h1 em { display: block; font-style: normal; color: var(--yellow); }
.lead { max-width: 560px; margin: 0 0 20px; color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.85; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 21px; border: 1.5px solid transparent; border-radius: 4px; font-size: 12.5px; font-weight: 800; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-2); border-color: var(--yellow-2); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.btn-dark:hover { background: #000; border-color: #000; }
.btn-line { border-color: rgba(23,19,11,.25); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.hero-points { display: flex; flex-wrap: wrap; gap: 0; margin: 25px 0 0; padding: 0; list-style: none; }
.hero-points li { padding: 0 15px; border-left: 1px solid rgba(255,255,255,.16); }
.hero-points li:first-child { padding-left: 0; border-left: 0; }
.hero-points b { display: block; font-size: 15px; color: #fff; }
.hero-points span { display: block; margin-top: 2px; font-size: 8px; color: rgba(255,255,255,.4); }
.hero-art { position: relative; }
.hero-frame { position: relative; padding: 8px; border: 2px solid rgba(255,255,255,.88); background: #0d0b06; transform: rotate(1.2deg); box-shadow: 12px 12px 0 var(--yellow); }
.hero-frame img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.sticker { position: absolute; left: -16px; bottom: 20px; padding: 8px 12px; background: var(--yellow); color: var(--ink); font-family: var(--mono); font-size: 9px; font-weight: 800; transform: rotate(-4deg); }

.thumb-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; padding-bottom: 26px; }
.thumb-strip a { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #0d0b06; }
.thumb-strip img { width: 100%; aspect-ratio: 3/4.1; object-fit: cover; transition: transform .3s ease, opacity .2s ease; opacity: .8; }
.thumb-strip a:hover img { transform: scale(1.04); opacity: 1; }
.thumb-strip span { position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 8px 7px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-size: 9px; font-weight: 600; }

/* Section head */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.kicker { margin: 0 0 5px; color: var(--muted-2); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.section-head h2 { margin: 0 0 3px; font-size: clamp(27px, 3.2vw, 39px); line-height: 1.13; letter-spacing: -.055em; font-weight: 900; }
.section-head h2 em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%); }
.section-head p:not(.kicker) { margin: 0; color: var(--muted); font-size: 11px; }
.text-link { flex: 0 0 auto; font-family: var(--mono); font-size: 10px; color: var(--ink); font-weight: 700; }
.text-link span { color: var(--muted); }

/* Catalog */
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.catalog-card { display: grid; grid-template-columns: 155px minmax(0,1fr); gap: 14px; align-items: center; padding: 10px; border: 1.5px solid var(--ink); background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.catalog-card:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--yellow); }
.cat-img { position: relative; overflow: hidden; }
.cat-img img { width: 155px; height: 138px; object-fit: cover; }
.cat-img span { position: absolute; left: 5px; top: 5px; padding: 2px 5px; background: var(--yellow); color: var(--ink); font-family: var(--mono); font-size: 7px; }
.cat-copy h3 { margin: 0 0 3px; font-size: 19px; letter-spacing: -.03em; }
.cat-copy p { margin: 0 0 7px; color: var(--muted); font-size: 10px; line-height: 1.65; }
.cat-copy b { font-family: var(--mono); font-size: 9px; color: var(--ink); }

/* App band */
.app-band { position: relative; overflow: hidden; padding: 58px 0; background: var(--ink); color: #fff; }
.app-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,210,30,.14) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 100%); mask-image: linear-gradient(90deg, transparent 35%, #000 100%); }
.app-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: center; }
.kicker.light { color: rgba(255,255,255,.38); }
.app-copy h2 { margin: 0 0 12px; font-size: clamp(29px,3.4vw,44px); line-height: 1.1; letter-spacing: -.055em; }
.app-copy h2 em { font-style: normal; color: var(--yellow); }
.app-copy > p:not(.kicker) { max-width: 580px; margin: 0 0 20px; color: rgba(255,255,255,.55); font-size: 11.5px; line-height: 1.85; }
.app-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 22px; }
.app-features > div { padding: 12px; border: 1px solid rgba(255,255,255,.16); }
.app-features b { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 8px; color: var(--yellow); }
.app-features h3 { margin: 0 0 2px; font-size: 13px; }
.app-features p { margin: 0; color: rgba(255,255,255,.4); font-size: 8.5px; line-height: 1.6; }
.phone-wrap { display: flex; justify-content: center; }
.phone { position: relative; width: 238px; padding: 8px; border: 2px solid rgba(255,255,255,.7); background: #000; transform: rotate(-2deg); box-shadow: 10px 10px 0 var(--yellow); }
.phone > img { width: 100%; aspect-ratio: 3/4.1; object-fit: cover; opacity: .9; }
.phone-ui { position: absolute; left: 17px; right: 17px; bottom: 20px; padding: 10px; background: rgba(23,19,11,.9); }
.phone-ui span { display: block; font-family: var(--mono); font-size: 7px; color: var(--yellow); }
.phone-ui b { display: block; margin: 1px 0; font-size: 14px; }
.phone-ui small { display: block; font-size: 8px; color: rgba(255,255,255,.45); }

/* Picks */
.pick-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 9px; }
.pick { display: block; min-width: 0; }
.pick > img { width: 100%; aspect-ratio: 3/4.1; object-fit: cover; border: 1.5px solid var(--ink); }
.pick > span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 7.5px; color: var(--muted-2); }
.pick h3 { margin: 1px 0 1px; font-size: 13px; }
.pick p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }

/* Interest */
.interest-band { background: var(--lilac); border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.interest-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(23,19,11,.18); }
.interest-grid a { position: relative; padding: 16px 16px 16px 42px; border-bottom: 1px solid rgba(23,19,11,.18); border-right: 1px solid rgba(23,19,11,.18); }
.interest-grid a:nth-child(3n) { border-right: 0; }
.interest-grid b { position: absolute; left: 14px; top: 18px; font-family: var(--mono); font-size: 9px; color: var(--muted-2); }
.interest-grid h3 { margin: 0 0 2px; font-size: 17px; }
.interest-grid p { margin: 0; color: var(--muted); font-size: 10px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.about-art img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border: 1.5px solid var(--ink); box-shadow: 9px 9px 0 var(--yellow); }
.about-copy h2 { margin: 0 0 10px; font-size: clamp(27px,3.2vw,39px); line-height: 1.13; letter-spacing: -.055em; }
.about-copy h2 em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%); }
.about-copy p { max-width: 560px; margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.85; }
.about-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.about-tags span { padding: 4px 8px; border: 1px solid var(--line); background: #fff; font-family: var(--mono); font-size: 8px; }

/* Guide */
.guide-band { background: var(--yellow); padding: 52px 0; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); }
.guide-band .kicker { color: rgba(23,19,11,.5); }
.guide-band .section-head h2 em { background: none; color: #fff; }
.guide-band .section-head p:not(.kicker) { color: rgba(23,19,11,.58); }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.guide-grid > div { padding: 17px; border: 1.5px solid var(--ink); background: rgba(255,255,255,.3); }
.guide-grid b { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; }
.guide-grid h3 { margin: 0 0 3px; font-size: 19px; }
.guide-grid p { margin: 0; color: rgba(23,19,11,.62); font-size: 11px; line-height: 1.7; }

/* FAQ */
.faq-section { padding: 56px 0; background: #fff; }
.faq-wrap { max-width: 980px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 2px; text-align: left; font-size: 13.5px; font-weight: 700; }
.faq-q span { font-family: var(--mono); font-size: 15px; color: var(--muted); transition: transform .2s ease; }
.faq-item.is-open .faq-q span { transform: rotate(45deg); color: var(--ink); }
.faq-a { display: none; }
.faq-item.is-open .faq-a { display: block; }
.faq-a p { margin: 0; padding: 0 20px 13px 0; color: var(--muted); font-size: 11px; line-height: 1.8; }

/* Download */
.download-band { padding: 50px 0; background: var(--yellow); border-top: 1.5px solid var(--ink); }
.download-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.download-band .kicker { color: rgba(23,19,11,.5); }
.download-band h2 { margin: 0 0 9px; font-size: clamp(30px,3.5vw,45px); line-height: 1.08; letter-spacing: -.06em; }
.download-band h2 em { font-style: normal; color: #fff; }
.download-band p:not(.kicker) { max-width: 500px; margin: 0 0 18px; color: rgba(23,19,11,.62); font-size: 11px; line-height: 1.8; }
.qr-box { display: flex; align-items: center; gap: 16px; padding: 13px; border: 1.5px solid var(--ink); background: #fff; }
.qr-box img { width: 140px; height: 140px; }
.qr-box b { display: block; font-size: 16px; }
.qr-box span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.7; }

/* Footer */
.footer { padding: 36px 0 18px; background: var(--ink); color: rgba(255,255,255,.45); }
.footer-top { display: grid; grid-template-columns: 1.4fr .7fr .7fr .7fr; gap: 26px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { width: 150px; height: auto; margin-bottom: 9px; }
.footer-brand p { max-width: 340px; margin: 0; color: rgba(255,255,255,.36); font-size: 9.5px; line-height: 1.75; }
.footer-col b { display: block; margin-bottom: 9px; color: #fff; font-size: 10px; }
.footer-col a { display: block; padding: 2px 0; color: rgba(255,255,255,.42); font-size: 9.5px; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 13px; font-family: var(--mono); font-size: 8px; color: rgba(255,255,255,.28); }

/* Mobile CTA */
.mobile-download { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: 560px; margin-inline: auto; width: 100%; }
  .thumb-strip { overflow-x: auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; gap: 24px; }
  .phone-wrap { justify-content: flex-start; }
  .pick-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .interest-grid { grid-template-columns: 1fr 1fr; }
  .interest-grid a:nth-child(3n) { border-right: 1px solid rgba(23,19,11,.18); }
  .interest-grid a:nth-child(2n) { border-right: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .download-grid { grid-template-columns: 1fr; }
  .qr-box { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; }
  .header-cta { display: none; }
  .section { padding: 38px 0; }
  .section-head { display: block; }
  .text-link { display: inline-block; margin-top: 7px; }
  .pick-grid { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }
  .header-inner { height: 60px; }
  .brand img { width: 126px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 2.55rem; }
  .lead { font-size: 12.5px; }
  .hero-points { display: grid; grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .hero-points li { padding: 0 8px; }
  .hero-frame { box-shadow: 7px 7px 0 var(--yellow); }
  .sticker { left: -6px; font-size: 8px; }
  .catalog-card { grid-template-columns: 112px minmax(0,1fr); gap: 10px; }
  .cat-img img { width: 112px; height: 116px; }
  .cat-copy h3 { font-size: 17px; }
  .app-features { grid-template-columns: 1fr; }
  .pick-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .interest-grid { grid-template-columns: 1fr; }
  .interest-grid a, .interest-grid a:nth-child(2n), .interest-grid a:nth-child(3n) { border-right: 0; }
  .qr-box { flex-direction: column; align-items: flex-start; }
  .qr-box img { width: 120px; height: 120px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 4px; }
  body { padding-bottom: 68px; }
  .mobile-download { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; align-items: center; justify-content: center; gap: 7px; padding: 13px 16px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-size: 15px; font-weight: 900; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35); }
  .mobile-download span { font-size: 9px; font-weight: 500; opacity: .65; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 2.24rem; }
  .pick-grid { grid-template-columns: 1fr; }
  .pick > img { aspect-ratio: 16/9; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}


/* 首屏收紧 */
.hero { padding: 30px 0 0; }
.hero-grid { padding-bottom: 18px; gap: 26px; }
.hero h1 { font-size: clamp(40px, 4.5vw, 58px); line-height: 1.03; }
.hero-lead { font-size: 13px; margin-bottom: 16px; }
.hero-frame img { height: 330px; aspect-ratio: auto; object-fit: cover; object-position: 50% 30%; }
.thumb-strip { padding-bottom: 18px; gap: 7px; }
.thumb-strip img { height: 178px; aspect-ratio: auto; object-fit: cover; object-position: 50% 28%; }
@media (max-width: 820px) {
  .hero { padding-top: 24px; }
  .hero h1 { font-size: 2.25rem; }
  .hero-frame img { height: 270px; }
  .thumb-strip { grid-auto-columns: 130px; }
  .thumb-strip img { height: 165px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 2.05rem; }
  .hero-frame img { height: 238px; }
  .thumb-strip img { height: 158px; }
}


/* 本周推荐：强制所有封面同一尺寸 */
.pick > img {
  width: 100%;
  height: 300px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 28%;
}
@media (max-width: 1000px) {
  .pick > img { height: 280px; }
}
@media (max-width: 820px) {
  .pick > img { height: 260px; }
}
@media (max-width: 560px) {
  .pick > img { height: 230px; }
}
@media (max-width: 390px) {
  .pick > img { height: 300px; }
}
