/* =========================================================
   蜜桃漫画 style.css — 蜜桃粉 × 淡紫 × 蜜糖金
   ========================================================= */
:root {
  --cream: #FFF7F9;
  --cream-2: #FFF0F4;
  --peach: #FF8FA3;
  --peach-deep: #F26A8C;
  --grape: #D9C2F2;
  --grape-deep: #9B7BC6;
  --honey: #FFC97E;
  --ink: #5A3B4E;
  --ink-soft: #8A6B7E;
  --line: #F5D9E2;
  --white: #FFFFFF;
  --shadow: 0 14px 34px rgba(242, 106, 140, .15);
  --shadow-sm: 0 6px 16px rgba(242, 106, 140, .10);
  --radius: 18px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, 92%); margin: 0 auto; }
::selection { background: var(--peach); color: #fff; }

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 249, .96);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: .5px; color: var(--peach-deep); }
.nav-links { display: flex; gap: 26px; margin-left: 20px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--peach-deep); }
.nav-cta {
  margin-left: auto;
  background: var(--peach-deep);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, background .2s;
}
.nav-cta:hover { background: var(--peach); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 194, 242, .5), transparent 42%),
    radial-gradient(circle at 12% 82%, rgba(255, 143, 163, .30), transparent 40%),
    linear-gradient(160deg, #FFE3EA 0%, #FFF0F4 55%, #FFF7F9 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 84px 0 88px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--peach-deep);
  background: rgba(255, 255, 255, .8);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--peach); }
.hero h1 {
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  color: var(--peach-deep);
}
.hero-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34em;
}
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 34px;
  font-size: 16px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--peach); color: #fff; box-shadow: 0 10px 24px rgba(255, 143, 163, .45); }
.btn-primary:hover { background: var(--peach-deep); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .85); color: var(--peach-deep); border: 1.5px solid var(--peach); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  list-style: none;
  flex-wrap: wrap;
}
.hero-stats strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--peach-deep);
}
.hero-stats span { font-size: 13px; color: var(--ink-soft); }
.hero-visual { position: relative; }
.hero-img {
  width: 100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}
.hero-badge {
  position: absolute;
  background: #fff;
  color: var(--peach-deep);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  animation: floaty 4s ease-in-out infinite;
}
.hero-badge-a { top: 22px; left: -18px; }
.hero-badge-b { bottom: 26px; right: -12px; animation-delay: 2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 76px 0; }
.section-tint { background: var(--cream-2); }
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}
.sec-en {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--grape-deep);
  margin-bottom: 6px;
}
.sec-head h2 {
  font-size: 32px;
  font-weight: 900;
  color: var(--peach-deep);
}
.sec-desc { margin-top: 8px; color: var(--ink-soft); font-size: 15px; }
.sec-more {
  font-size: 14px;
  font-weight: 700;
  color: var(--peach-deep);
  background: #fff;
  border: 1.5px solid var(--peach);
  border-radius: 999px;
  padding: 8px 18px;
  transition: background .2s;
}
.sec-more:hover { background: var(--peach); color: #fff; }

/* ---------- 今日甜点 ---------- */
.sweets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-cover { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; }
.tag-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--peach);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
}
.card-meta { padding: 16px 18px 20px; }
.card-meta h3 { font-size: 18px; font-weight: 800; color: var(--peach-deep); }
.card-meta p { font-size: 12.5px; color: var(--grape-deep); font-weight: 600; margin-top: 3px; }
.card-desc {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  min-height: 2.7em;
}
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--peach-deep);
  border-radius: 999px;
  padding: 7px 18px;
  transition: background .2s;
}
.card-link:hover { background: var(--peach); }

/* ---------- 心动榜 ---------- */
.rank-list { list-style: none; display: grid; gap: 14px; }
.rank-item {
  display: grid;
  grid-template-columns: 52px 52px 1fr 200px 110px;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.rank-item:hover { transform: translateX(6px); }
.rank-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--peach-deep);
  font-size: 18px;
  font-weight: 900;
}
.rank-item:nth-child(1) .rank-no { background: var(--peach); color: #fff; }
.rank-item:nth-child(2) .rank-no { background: #F7A8BC; color: #fff; }
.rank-item:nth-child(3) .rank-no { background: #F0B7CB; color: #fff; }
.rank-cover { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.rank-info h3 { font-size: 16px; font-weight: 800; color: var(--peach-deep); }
.rank-info p { font-size: 12.5px; color: var(--ink-soft); margin-top: 2px; }
.rank-heat { position: relative; }
.rank-heat i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--peach), var(--peach-deep));
}
.rank-heat span {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--peach-deep);
}
.rank-btn {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--peach-deep);
  border-radius: 999px;
  padding: 9px 16px;
  transition: background .2s;
}
.rank-btn:hover { background: var(--peach); }

/* ---------- 追漫蜜语 ---------- */
.honey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--peach);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
}
.note blockquote { font-size: 15px; color: var(--ink); }
.note figcaption {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--peach-deep);
}

/* ---------- 甜度分类 ---------- */
.map-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sweet {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, border-color .22s;
}
.sweet:hover { transform: translateY(-5px); border-color: var(--peach); }
.sweet-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--cream-2);
  color: var(--peach-deep);
  margin-bottom: 12px;
}
.sweet-ico svg { width: 28px; height: 28px; }
.sweet h3 { font-size: 17px; font-weight: 800; color: var(--peach-deep); }
.sweet p { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 新人蜜礼 ---------- */
.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gift-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.gift-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gift-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(140deg, #FFE3EA, #F3E8FD);
  color: var(--peach-deep);
  margin-bottom: 14px;
}
.gift-ico svg { width: 32px; height: 32px; }
.gift-card h3 { font-size: 19px; font-weight: 800; color: var(--peach-deep); }
.gift-card p { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }
.gift-btn {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--peach-deep);
  border-radius: 999px;
  padding: 10px 26px;
  transition: background .2s;
}
.gift-btn:hover { background: var(--peach); }

/* ---------- 立即下载 ---------- */
.section-cta {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 201, 126, .45), transparent 45%),
    linear-gradient(140deg, #E86A8C, #FF8FA3 60%, #F7A8BC);
  color: #fff;
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: 36px; font-weight: 900; letter-spacing: 1px; }
.cta-inner p { margin-top: 12px; font-size: 16px; color: #FFE9EF; }
.btn-download {
  margin-top: 26px;
  background: var(--honey);
  color: var(--ink);
  font-size: 18px;
  padding: 16px 46px;
  box-shadow: 0 12px 30px rgba(255, 201, 126, .5);
}
.btn-download:hover { background: #FFD99B; transform: translateY(-2px); }
.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: #FFE9EF;
}

/* ---------- FAQ ---------- */
.faq-inner { max-width: 780px; }
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 20px;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--peach-deep);
  padding: 13px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--peach);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 16px; font-size: 14px; color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.footer { background: #4A2E3E; color: #F3D8E2; margin-top: 20px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 0 40px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-logo { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 6px; }
.footer-brand strong { font-size: 19px; font-weight: 800; color: var(--peach); }
.footer-brand p { font-size: 13.5px; color: #C9A5B6; }
.footer-col h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--peach);
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: #F3D8E2; margin-bottom: 9px; }
.footer-col a:hover { color: var(--peach); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  padding: 18px 0;
  font-size: 12.5px;
  color: #A97F92;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .sweets-grid { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: repeat(2, 1fr); }
  .honey-grid, .gift-grid { grid-template-columns: 1fr; }
  .rank-item { grid-template-columns: 52px 52px 1fr 110px; }
  .rank-heat { display: none; }
}
@media (max-width: 720px) {
  .topbar-inner { height: 60px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 16px; font-size: 13px; }
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; gap: 32px; }
  .hero-badge-a { left: 8px; }
  .hero-badge-b { right: 8px; }
  .hero-stats { gap: 20px; }
  .section { padding: 56px 0; }
  .sec-head h2 { font-size: 26px; }
  .sweets-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .rank-item { grid-template-columns: 44px 44px 1fr; }
  .rank-btn { grid-column: 3; }
  .card-link, .rank-btn, .sec-more, .gift-btn, .footer-col a, .footer-col p { min-height: 44px; }
  .card-link, .rank-btn, .sec-more, .gift-btn { display: inline-flex; align-items: center; justify-content: center; }
  .footer-col a, .footer-col p { display: flex; align-items: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 44px 0 32px; }
}
