:root {
  --bg: #170A1B;
  --card: #241030;
  --card-top: #2E1440;
  --pink: #FF4D9D;
  --pink-light: #FF9CCB;
  --mint: #4FE3C1;
  --white: #FFF4F8;
  --text-sub: #B99AB0;
  --line: rgba(255,155,200,.16);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gap: 18px;
  --sec-pad: clamp(80px, 8vw, 108px) clamp(24px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 装饰背景层 */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.glow-pink { width: 600px; height: 600px; background: rgba(255,77,157,.22); top: -100px; left: -100px; }
.glow-mint { width: 800px; height: 800px; background: rgba(79,227,193,.10); bottom: -200px; right: -200px; }
.glow-light { width: 700px; height: 700px; background: rgba(255,155,200,.15); bottom: 10%; left: 20%; }

/* 糖果斜纹 */
.sugar-stripe {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,77,157,.05) 0 12px, transparent 12px 24px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
}
.stripe-local { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stripe-local > div {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,77,157,.05) 0 12px, transparent 12px 24px);
  opacity: 0.9;
}

/* 分隔线 */
.sugar-line {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #FF4D9D 30%, #4FE3C1 70%, transparent);
  opacity: 0.8;
}

/* 容器 */
.container {
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 64px);
  position: relative;
  z-index: 1;
}
section {
  padding: var(--sec-pad) !important;
  position: relative;
}

/* 导航 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  background: rgba(23, 10, 27, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: clamp(24px, 4vw, 64px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.logo-area img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 15px rgba(255,77,157,.4); }
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.logo-text span { color: var(--pink); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 1px;
  background: var(--pink); transition: width 0.2s;
}
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.search-box {
  width: 220px; height: 36px; background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 0 16px; color: var(--white); font-size: 13px; outline: none;
}
.search-box::placeholder { color: var(--text-sub); }
.btn-download-nav {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  color: var(--bg); padding: 8px 20px; border-radius: 999px; font-weight: 800;
  text-decoration: none; font-size: 14px; box-shadow: 0 0 15px rgba(255,77,157,.4);
  transition: transform 0.2s;
}
.btn-download-nav:hover { transform: scale(1.04); }
.mobile-menu-btn { display: none; width: 38px; height: 38px; background: var(--card); border-radius: 8px; border: 1px solid var(--line); color: var(--white); font-size: 20px; line-height: 1; cursor: pointer; }

/* 首屏 */
.hero { padding-top: 134px !important; }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.role-tag { font-size: 11px; letter-spacing: .22em; color: var(--pink); margin-bottom: 14px; text-transform: uppercase; }
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.14; letter-spacing: -.01em; margin-bottom: 24px; }
.h1-line1 { color: var(--white); display: block; }
.h1-line1::after { content: ' ✦'; color: var(--pink); font-size: 0.7em; vertical-align: middle; }
.h1-line2 {
  color: var(--pink-light); display: block; font-size: 0.82em;
  text-shadow: 0 0 18px rgba(255,77,157,.55), 0 0 44px rgba(255,77,157,.30);
}
.h1-line3 { color: var(--white); display: inline-block; position: relative; }
.h1-line3::after {
  content: ''; position: absolute; bottom: 2px; left: 0; width: 100%; height: 6px;
  background: var(--mint); opacity: 0.7; z-index: -1;
}
.hero-desc { font-size: 17px; line-height: 1.9; max-width: 520px; color: var(--white); margin-bottom: 32px; }
.hero-stats { display: flex; gap: 24px; margin-bottom: 32px; }
.stat-item { position: relative; display: flex; flex-direction: column; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: -12px; top: 10%; height: 80%; width: 1px; background: var(--line);
}
.stat-num { font-size: 26px; font-weight: 800; color: var(--pink); line-height: 1.2; }
.stat-label { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.hero-actions { display: flex; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 32px; border-radius: 999px; font-size: 16px; font-weight: 800;
  text-decoration: none; transition: all 0.22s; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  color: var(--bg); box-shadow: 0 0 20px rgba(255,77,157,.4); border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(255,77,157,.6); }
.btn-outline {
  background: transparent; color: var(--pink); border: 1px solid var(--pink);
}
.btn-outline:hover { background: rgba(255,77,157,.1); }

/* 展示罐 */
.showcase-can {
  background: var(--card); border: 1.5px solid rgba(255,155,200,.22); border-radius: 24px;
  padding: 20px; box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07);
  position: relative; overflow: hidden;
}
.showcase-can::before {
  content: ''; position: absolute; top: 0; left: 0; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 70%);
  transform: rotate(20deg); pointer-events: none;
}
.main-cover-wrap { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; margin-bottom: 16px; }
.main-cover-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s; }
.can-info { display: flex; justify-content: space-between; align-items: flex-end; }
.can-title { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.can-meta { font-size: 12px; color: var(--text-sub); }
.badge-sent {
  background: var(--mint); color: var(--bg); font-size: 11px; font-weight: 800;
  padding: 2px 8px; border-radius: 4px; display: inline-block;
}
.thumb-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.thumb-item {
  width: 100%; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; transition: all 0.2s; position: relative;
}
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.thumb-item.active { border-color: var(--pink); }
.thumb-item:hover { transform: scale(1.04); }

/* 标题组 */
.sec-head { margin-bottom: 44px; }
.sec-role { font-size: 11px; letter-spacing: .22em; color: var(--pink); margin-bottom: 14px; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; line-height: 1.28; letter-spacing: -.01em; }
h2 em { font-style: normal; color: var(--pink); display: block; }
h2 br { display: none; }

/* 头茬新品 - 横滑 */
.h-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 220px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.novel-card { scroll-snap-align: start; position: relative; transition: transform 0.22s; }
.novel-card:hover { transform: translateY(-5px); }
.cover-box {
  position: relative; aspect-ratio: 3/4; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); margin-bottom: 12px;
}
.cover-box img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.cover-box::after {
  content: ''; position: absolute; inset: 0; background: rgba(23,10,27,.18); z-index: 2; transition: opacity 0.22s;
}
.novel-card:hover .cover-box::after { opacity: 0.5; }
.sweet-tag {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  background: var(--pink); color: var(--bg); font-size: 11px; font-weight: 800;
  padding: 2px 6px; border-radius: 4px;
}
.novel-title { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; }
.novel-genre { font-size: 11.5px; color: var(--text-sub); }

/* 时段上新 */
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.time-col {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px;
  transition: background 0.2s;
}
.time-col:hover { background: var(--card-top); }
.time-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.time-val { font-size: 20px; font-weight: 800; color: var(--pink); }
.time-name { font-size: 14px; color: var(--white); }
.status-badge { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 700; }
.status-sent { background: rgba(79,227,193,.15); color: var(--mint); border: 1px solid var(--mint); }
.status-pending { background: rgba(255,255,255,.05); color: var(--text-sub); border: 1px solid var(--text-sub); }
.mini-card-list { display: flex; flex-direction: column; gap: 12px; }
.mini-card { display: flex; gap: 12px; align-items: center; }
.mini-cover { width: 64px; height: 80px; border-radius: 6px; overflow: hidden; flex-shrink: 0; border: 1px solid var(--line); }
.mini-cover img { width: 100%; height: 100%; object-fit: cover; }
.mini-info { flex: 1; }
.mini-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-desc { font-size: 11.5px; color: var(--text-sub); }

/* 甜度榜 */
.rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; transition: all 0.22s;
}
.rank-row:hover { transform: translateX(3px); border-color: var(--pink); }
.rank-num { font-size: 32px; font-weight: 800; width: 40px; text-align: center; flex-shrink: 0; }
.rank-num.top1 { color: var(--pink); }
.rank-num.top2 { color: var(--pink-light); }
.rank-num.top3 { color: var(--mint); }
.rank-num.other { color: var(--text-sub); font-size: 24px; }
.rank-cover { width: 52px; height: 64px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.rank-cover img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; }
.rank-title { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.rank-genre { font-size: 12px; color: var(--text-sub); }
.rank-score { font-size: 18px; font-weight: 800; color: var(--pink); font-family: monospace; margin-right: 16px; }
.rank-trend { font-size: 14px; font-weight: 700; width: 20px; text-align: center; }
.trend-up { color: var(--mint); }
.trend-down { color: var(--pink); }

/* 口味分类 */
.flavor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flavor-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  transition: all 0.2s;
}
.flavor-card:hover { transform: translateY(-4px); }
.flavor-head { margin-bottom: 12px; }
.flavor-name { font-size: 17px; font-weight: 800; margin-bottom: 2px; }
.flavor-sub { font-size: 11px; color: var(--pink); }
.flavor-covers { display: flex; gap: 8px; margin-bottom: 12px; }
.flavor-covers .cover-half { flex: 1; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); transition: opacity 0.2s; }
.flavor-card:hover .cover-half img { opacity: 0.85; }
.flavor-covers img { width: 100%; height: 100%; object-fit: cover; }
.flavor-foot { font-size: 11.5px; color: var(--text-sub); }

/* 独播留样 */
.exclusive-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; }
.ex-main-card {
  background: var(--card); border: 1.5px solid rgba(255,155,200,.22); border-radius: 24px;
  overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07);
  position: relative;
}
.ex-main-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 70%);
  transform: rotate(20deg); pointer-events: none; z-index: 1;
}
.ex-cover { aspect-ratio: 16/10; position: relative; }
.ex-cover img { width: 100%; height: 100%; object-fit: cover; }
.ex-info { padding: 24px; }
.ex-title { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.ex-desc { font-size: 14px; color: var(--text-sub); line-height: 1.7; margin-bottom: 20px; }
.ex-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ex-code { font-size: 13px; color: var(--pink-light); font-family: monospace; }
.countdown { display: flex; gap: 6px; }
.cd-block { background: var(--card-top); padding: 4px 8px; border-radius: 4px; font-family: monospace; font-size: 16px; font-weight: 800; color: var(--pink); text-shadow: 0 0 18px rgba(255,77,157,.55); }
.ex-list { display: flex; flex-direction: column; }
.ex-row {
  display: flex; align-items: center; gap: 16px; padding: 12px 0;
  border-bottom: 1px dashed var(--line); transition: transform 0.2s;
}
.ex-row:last-child { border-bottom: none; }
.ex-row:hover { transform: translateX(4px); }
.ex-row-cover { width: 56px; height: 72px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.ex-row-cover img { width: 100%; height: 100%; object-fit: cover; }
.ex-row-info { flex: 1; }
.ex-row-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.ex-row-date { font-size: 11.5px; color: var(--text-sub); }

/* 免费试吃 */
.try-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.try-card {
  position: relative; transition: transform 0.22s; border-radius: 10px; overflow: hidden;
}
.try-card:hover { transform: translateY(-5px); }
.try-tag {
  position: absolute; top: 8px; left: 8px; z-index: 3; font-size: 11px; font-weight: 800;
  padding: 2px 8px; border-radius: 4px; transition: transform 0.2s;
}
.try-card:hover .try-tag { transform: scale(1.05); }
.tag-free { background: var(--pink); color: var(--bg); }
.tag-limit { background: var(--mint); color: var(--bg); }
.try-info { padding: 12px 4px 0; }
.try-title { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.try-status { font-size: 11.5px; color: var(--text-sub); }

/* 用户留言 */
.review-stats { display: flex; gap: 40px; margin-bottom: 20px; }
.r-stat { display: flex; flex-direction: column; }
.r-num { font-size: 30px; font-weight: 800; color: var(--pink); line-height: 1.2; }
.r-label { font-size: 12px; color: var(--text-sub); }
.review-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.review-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
  position: relative; transition: transform 0.22s;
}
.review-card:hover { transform: translateY(-3px); }
.review-card::before {
  content: ''; position: absolute; top: 12px; left: 12px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--pink); opacity: 0.5;
}
.r-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; padding-left: 12px; }
.r-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--card-top); flex-shrink: 0; }
.r-name { font-size: 13px; font-weight: 700; }
.r-stars { font-size: 11px; color: var(--pink); letter-spacing: 1px; margin-left: auto; }
.r-text { font-size: 13px; line-height: 1.75; color: var(--text-sub); }

/* 常见问题 */
.faq-list { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 10px; }
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
summary {
  list-style: none; padding: 16px; display: flex; align-items: center; gap: 12px;
  cursor: pointer; font-size: 15.5px; font-weight: 700; outline: none;
}
summary::-webkit-details-marker { display: none; }
.sum-icon {
  width: 32px; height: 32px; background: var(--pink); color: var(--bg); border-radius: 6px;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.sum-text { flex: 1; }
.sum-toggle { color: var(--pink); font-size: 20px; font-weight: 400; }
details[open] .sum-toggle::after { content: '−'; }
details:not([open]) .sum-toggle::after { content: '+'; }
.faq-content { padding: 0 16px 16px 60px; font-size: 14px; line-height: 1.9; color: var(--text-sub); }

/* 下载区 */
.dl-center { max-width: 900px; margin-inline: auto; text-align: center; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; margin-bottom: 26px; }
.step-item { padding: 20px; background: var(--card); border-radius: 16px; border: 1px solid var(--line); }
.step-num { font-size: 32px; font-weight: 800; color: var(--pink); margin-bottom: 8px; line-height: 1; }
.step-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.dl-btns { display: flex; justify-content: center; gap: 16px; margin-bottom: 16px; }
.dl-btns .btn { width: 260px; }
.version-info { font-size: 12px; color: var(--text-sub); font-family: monospace; line-height: 1.8; text-align: center; }

/* 页脚 */
footer {
  background: #120716; border-top: 1px solid var(--line); padding: 64px 24px 32px;
}
.footer-inner { max-width: 1560px; margin-inline: auto; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.f-brand h3 { font-size: 20px; margin-bottom: 12px; }
.f-brand h3 span { color: var(--pink); }
.f-brand p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }
.f-col h4 { font-size: 14px; font-weight: 800; margin-bottom: 14px; color: var(--white); }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 8px; }
.f-col a { font-size: 13px; color: var(--text-sub); text-decoration: none; transition: color 0.2s; }
.f-col a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12px; color: var(--text-sub); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.about-details { margin: 16px 0; }
.about-details summary { display: inline-block; font-size: 12px; color: var(--text-sub); cursor: pointer; background: none; padding: 0; border: none; list-style: none; }
.about-details summary::-webkit-details-marker { display: none; }
.about-content { font-size: 12px; color: var(--text-sub); margin-top: 10px; padding-left: 0; display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .try-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .exclusive-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 62px 20px !important; }
  .nav-links, .search-box { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .hero { padding-top: 100px !important; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-inner { display: flex; flex-direction: column-reverse; }
  .timeline-grid { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .dl-btns { flex-direction: column; align-items: center; }
  .dl-btns .btn { width: 100%; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .rank-cover { display: none; }
  .rank-num { font-size: 22px; width: 30px; }
  .rank-num.other { font-size: 18px; }
  h1 { font-size: 36px; }
  h2 { font-size: 26px; }
  .thumb-item img { height: 64px; }
}

@media (max-width: 480px) {
  .flavor-grid { grid-template-columns: 1fr; }
  .try-grid { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .h-scroll { grid-auto-columns: 180px; }
}