:root { color-scheme: light; --ink: #5a323b; --muted: #80616a; --peach: #f9cdc4; --pink: #f47983; --pink-strong: #a43448; --pink-action: #ce4357; --pink-pale: #fff0ee; --line: #f2d9d5; --line-strong: #e9c7c3; --surface: #fff; --shadow: 0 10px 30px rgba(117, 58, 77, .07); --shadow-raised: 0 18px 42px rgba(117, 58, 77, .11); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
body { margin: 0; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.6; }
main { background-color: #fff; background-image: linear-gradient(rgba(164, 52, 72, .032) 1px, transparent 1px), linear-gradient(90deg, rgba(164, 52, 72, .032) 1px, transparent 1px), radial-gradient(circle at 1px 1px, rgba(164, 52, 72, .045) 1px, transparent 1.5px); background-size: 44px 44px; }
a { color: inherit; }
.container { width: min(100% - 48px, 1180px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--pink-strong); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 3px 18px rgba(89, 48, 57, .035); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex: none; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 23px; font-weight: 800; letter-spacing: .02em; }
.brand-logo { display: block; width: 48px; height: 48px; object-fit: contain; transition: transform .22s ease; }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.3vw, 32px); white-space: nowrap; }
.site-nav a { position: relative; padding: 8px 0; text-decoration: none; color: #795862; font-size: 14px; transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; border-radius: 2px; background: var(--pink-action); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--pink-strong); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 25px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; touch-action: manipulation; transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease; }
.button:active { transform: scale(.98); box-shadow: 0 4px 10px rgba(117, 58, 77, .12); }
.button-primary { border: 1px solid var(--pink-action); background: var(--pink-action); color: #fff; box-shadow: 0 10px 21px rgba(244, 121, 131, .24); }
.button-primary:hover { border-color: var(--pink-strong); background: var(--pink-strong); box-shadow: 0 13px 24px rgba(206, 67, 87, .3); }
.header-cta { flex: none; min-height: 40px; padding: 0 20px; font-size: 14px; }

h1, h2, h3, p, dl, dd { margin-top: 0; }
.hero { padding: 84px 0 72px; background: radial-gradient(circle at 76% 24%, rgba(255, 255, 255, .65), transparent 34%), linear-gradient(112deg, #fffaf9 0%, #fff1ef 55%, var(--peach) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: 5%; }
.hero-left { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 42px; min-width: 0; }
h1 { margin-bottom: 20px; font-weight: 800; line-height: 1.18; letter-spacing: -.025em; }
.hero-title-main, .hero-title-sub { display: block; }
.hero-title-main { font-size: clamp(52px, 5vw, 68px); }
.hero-title-sub { margin-top: 8px; color: var(--pink-action); font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; line-height: 1.45; letter-spacing: .005em; }
.hero-description { max-width: 530px; margin-bottom: 24px; font-size: 16px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; align-items: center; }
.hero-actions .button { min-height: 56px; padding-block: 14px; }
.hero-actions .button-primary { width: 300px; max-width: 100%; min-width: 0; font-size: 18px; }
.hero-visual { position: relative; display: grid; place-items: center; width: min(100%, 430px); justify-self: center; isolation: isolate; }
.hero-visual::before, .hero-visual::after { position: absolute; z-index: -1; line-height: 1; pointer-events: none; }
.hero-visual::before { content: "✦"; top: 10%; right: 3%; color: #f0a578; font-size: 34px; transform: rotate(12deg); }
.hero-visual::after { content: "✧"; bottom: 16%; left: 3%; color: #ec8290; font-size: 38px; transform: rotate(-14deg); }
.hero-media { display: block; width: min(100%, 320px); height: auto; aspect-ratio: 514 / 915; border: 4px solid rgba(255, 255, 255, .88); border-radius: 28px; box-shadow: 0 28px 56px rgba(117, 58, 77, .17), 0 0 0 1px rgba(190, 109, 112, .12); }

.section { padding: 86px 0; }
#trending { background: radial-gradient(ellipse 600px 420px at 4% 18%, rgba(249, 205, 196, .2), transparent 78%); }
#features { background: radial-gradient(ellipse 560px 390px at 90% 76%, rgba(255, 189, 114, .17), transparent 80%); }
.section-heading { margin-bottom: 36px; }
.section-heading h2 { display: flex; align-items: center; gap: 13px; margin-bottom: 9px; font-size: clamp(30px, 3vw, 42px); line-height: 1.25; }
.section-heading h2::before { content: ""; width: 6px; height: .72em; flex: none; border-radius: 6px; background: linear-gradient(var(--pink), var(--pink-action)); box-shadow: 0 3px 8px rgba(206, 67, 87, .17); }
.section-heading p, .subsection-heading p { margin-bottom: 0; color: var(--muted); }
.subsection-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.subsection-heading h3 { margin: 0; font-size: 22px; }

.trending-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(290px, 1fr); gap: 32px; align-items: stretch; }
.popular-column, .updates-column { min-width: 0; }
.updates-column { display: flex; flex-direction: column; }
.popular-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.comic-card { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); transition: border-color .25s ease, box-shadow .25s ease; }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 12px; object-fit: cover; }
.comic-meta { padding: 13px 4px 5px; }
.comic-meta h4 { margin: 0 0 3px; font-size: 16px; line-height: 1.4; }
.comic-meta p { margin: 0; color: var(--muted); font-size: 12px; }
.update-list { display: grid; flex: 1; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 0; padding: 6px 18px; margin: 0; list-style: none; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #fff, #fffaf9); box-shadow: var(--shadow); }
.update-list li { min-height: 0; display: flex; align-items: center; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--line); transition: background-color .22s ease; }
.update-list li:last-child { border-bottom: 0; }
.update-detail { min-width: 0; display: grid; gap: 3px; }
.update-detail strong { font-size: 16px; line-height: 1.35; }
.update-detail small { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

.genre-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 14px; }
.genre-card { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 10px 17px; border: 1px solid #f6e1dc; border-radius: 999px; background: #fff9f7; font-weight: 700; white-space: nowrap; transition: transform .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease; }
.genre-card::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: #f2a2a8; }
.genre-card span { min-width: 0; flex: 1; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card { min-height: 165px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #fff, #fffaf9); box-shadow: var(--shadow); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.feature-card::before { content: ""; display: block; width: 30px; height: 5px; margin-bottom: 17px; border-radius: 5px; background: linear-gradient(90deg, var(--pink), var(--pink-action)); }
.feature-card h3 { margin-bottom: 9px; font-size: 20px; }
.feature-card p { margin: 0; color: var(--muted); }

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; align-items: start; }
.faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(123, 65, 49, .04); transition: border-color .22s ease, box-shadow .22s ease; }
.faq-list details[open] { border-color: var(--line-strong); box-shadow: var(--shadow); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 16px 23px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 700; touch-action: manipulation; transition: background-color .22s ease; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background-color: var(--pink-pale); background-image: linear-gradient(var(--pink-strong), var(--pink-strong)), linear-gradient(var(--pink-strong), var(--pink-strong)); background-position: center; background-size: 14px 2px, 2px 14px; background-repeat: no-repeat; transition: background-color .22s ease, transform .22s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--peach); }
.faq-list summary:hover { background: #fff9f8; }
.faq-list summary:active { background: var(--pink-pale); }
.faq-list summary:focus-visible { outline: 3px solid var(--pink-strong); outline-offset: -3px; }
.faq-list details p { max-width: 700px; padding: 0 23px 20px; margin: 0; color: var(--muted); }

.download-section { width: min(100% - 80px, 1080px); margin: 18px auto 72px; padding: 72px 24px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(115deg, #fff7f4 0%, #f9cdc4 58%, #ffe7dd 100%); box-shadow: var(--shadow); text-align: center; }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download-inner h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); }
.download-actions { display: flex; justify-content: center; gap: 18px; width: 100%; margin-top: 28px; }
.download-actions .button { width: 320px; max-width: 100%; min-width: 0; }
.download-button { min-height: 58px; font-size: 18px; line-height: 1.25; }
.site-footer { padding: 30px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: 13px; }
.footer-inner span:first-child { color: var(--ink); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (hover: hover) and (pointer: fine) {
  .brand:hover .brand-logo { transform: rotate(-5deg) scale(1.05); }
  .button:hover { transform: translateY(-2px); }
  .button:hover:active { transform: scale(.98); }
  .comic-card:hover { border-color: var(--line-strong); box-shadow: 0 12px 26px rgba(117, 58, 77, .1); }
  .update-list li:hover { background-color: rgba(244, 121, 131, .055); }
  .feature-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-raised); }
  .genre-card:hover { transform: translateY(-2px); border-color: var(--peach); background: #fff1ee; box-shadow: 0 8px 18px rgba(123, 65, 49, .06); }
}
@media (max-width: 1050px) {
  .header-inner { min-height: 76px; gap: 16px; }
  .brand { font-size: 20px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 13px; }
  .hero-grid { gap: 4%; }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 84px; }
  .container { width: min(100% - 36px, 720px); }
  .header-inner { min-height: 68px; }
  .site-nav { display: none; }
  .hero { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr 300px; gap: 24px; }
  .hero-left { gap: 28px; }
  .hero-visual { width: 100%; }
  .hero-visual::before, .hero-visual::after { display: none; }
  .hero-media { width: 100%; }
  .section { padding: 70px 0; }
  .trending-layout { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .genre-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq-list { grid-template-columns: 1fr; }
  .download-section { width: min(100% - 48px, 720px); }
}
@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { width: min(100%, 380px); }
  .hero-media { width: min(100%, 300px); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 76px; }
  .container { width: min(100% - 32px, 520px); }
  .header-inner { min-height: 60px; }
  .brand { font-size: 17px; }
  .brand-logo { width: 40px; height: 40px; }
  .header-cta { min-height: 36px; padding: 0 15px; font-size: 14px; }
  .hero { padding: 48px 0 58px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-left { gap: 28px; }
  .hero-title-main { font-size: clamp(44px, 11vw, 56px); }
  .hero-title-sub { font-size: clamp(20px, 5.2vw, 25px); }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 9px; }
  .hero-actions .button { width: 100%; min-height: 54px; }
  .hero-visual::before, .hero-visual::after { display: block; }
  .hero-visual::before { top: 12%; right: 9%; font-size: 26px; }
  .hero-visual::after { bottom: 17%; left: 9%; font-size: 30px; }
  .hero-media { width: min(100%, 220px); margin-top: 4px; }
  .section { padding: 56px 0; }
  .section-heading { margin-bottom: 26px; }
  .section-heading h2 { font-size: 29px; }
  .subsection-heading { display: block; }
  .subsection-heading h3 { margin-bottom: 5px; font-size: 20px; }
  .popular-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(145px, 44vw); gap: 12px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x proximity; }
  .comic-card { scroll-snap-align: start; }
  .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .genre-card { min-height: 50px; gap: 7px; padding: 8px 11px; font-size: 12px; }
  .genre-card::before { width: 6px; height: 6px; }
  .feature-grid { grid-template-columns: 1fr; gap: 11px; }
  .feature-card { min-height: 0; padding: 21px; }
  .update-list { padding-inline: 16px; }
  .download-section { width: min(100% - 32px, 520px); margin-block: 8px 56px; padding: 52px 18px; border-radius: 24px; }
  .download-actions { flex-direction: column; gap: 10px; }
  .download-actions .button { width: 100%; min-width: 0; }
}
