/* 娱乐六点半官网 · Candy Soft UI Design System */
/* ---------------------------------------------------------------
   1. Tokens
   --------------------------------------------------------------- */
:root {
  --bg: #fff8f6;
  --bg-2: #fff2f4;
  --surface: #ffffff;
  --surface-2: #fffafb;
  --ink: #47384f;
  --ink-2: #6c5c74;
  --muted: #9a8ba1;
  --pink: #ff7fa6;
  --pink-deep: #ef5f8e;
  --pink-soft: #ffe4ec;
  --mint: #6fd8bd;
  --mint-deep: #37b899;
  --mint-soft: #ddf7ef;
  --lav: #b6a1f5;
  --lav-deep: #8a70dc;
  --lav-soft: #eee8ff;
  --butter: #ffd37a;
  --butter-soft: #fff3d8;
  --peach: #ffad8c;
  --peach-soft: #ffe7db;
  --line: rgba(113, 84, 120, 0.1);
  --shadow-xs: 0 4px 12px rgba(151, 104, 135, 0.08);
  --shadow-sm: 0 10px 24px rgba(151, 104, 135, 0.11);
  --shadow: 0 20px 46px rgba(151, 104, 135, 0.15), 0 4px 12px rgba(151, 104, 135, 0.06);
  --shadow-lg: 0 34px 80px rgba(151, 104, 135, 0.2);
  --inset: inset 0 2px 0 rgba(255, 255, 255, 0.85);
  --r-xl: 44px;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --max: 1180px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Arial Rounded MT Bold", "Segoe UI", sans-serif;
}

/* ---------------------------------------------------------------
   2. Base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(460px 460px at 8% 4%, rgba(255, 211, 122, 0.28), transparent 68%),
    radial-gradient(520px 520px at 96% 12%, rgba(182, 161, 245, 0.24), transparent 68%),
    radial-gradient(600px 600px at 50% 100%, rgba(111, 216, 189, 0.18), transparent 70%);
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 14px; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 750; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pink-soft); color: var(--pink-deep); }
:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 14px 14px;
}
.skip-link:focus { top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 92px 0; position: relative; }
.section-tint { background: rgba(255, 255, 255, 0.58); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------------------------------------------------------------
   3. Header / navigation
   --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 250, 250, 0.86);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}
.header-inner {
  min-height: 78px; display: flex; align-items: center; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 17px;
  background: linear-gradient(145deg, var(--pink), #ffa6c3);
  box-shadow: var(--shadow-sm), var(--inset);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 1.05rem;
  transform: rotate(-7deg);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.06rem; font-weight: 850; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.16em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 10px 17px; border-radius: 999px; font-size: 0.94rem; font-weight: 650;
  color: var(--ink-2); transition: 0.22s ease;
}
.nav-link:hover { background: var(--pink-soft); color: var(--pink-deep); }
.nav-link.active { background: var(--ink); color: #fff; box-shadow: var(--shadow-xs); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 15px;
  background: #fff; box-shadow: var(--shadow-xs); place-items: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ---------------------------------------------------------------
   4. Buttons, badges, chips
   --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 750; font-size: 0.96rem; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  box-shadow: 0 12px 26px rgba(239, 95, 142, 0.32), var(--inset);
}
.btn-primary:hover { box-shadow: 0 18px 32px rgba(239, 95, 142, 0.4), var(--inset); }
.btn-mint {
  color: #135e50; background: linear-gradient(135deg, #a9efdd, var(--mint));
  box-shadow: 0 12px 26px rgba(55, 184, 153, 0.24), var(--inset);
}
.btn-lav {
  color: #4a3690; background: linear-gradient(135deg, #ded4ff, var(--lav));
  box-shadow: 0 12px 26px rgba(138, 112, 220, 0.22), var(--inset);
}
.btn-ghost {
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm), var(--inset);
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 15px; border-radius: 999px; font-size: 0.8rem; font-weight: 750;
  background: #fff; color: var(--pink-deep); box-shadow: var(--shadow-xs);
}
.badge-mint { color: var(--mint-deep); }
.badge-lav { color: var(--lav-deep); }
.badge-butter { color: #a87616; background: var(--butter-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em;
  color: var(--pink-deep); text-transform: uppercase; margin-bottom: 14px;
}
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 620px; }
.section-head { max-width: 720px; margin: 0 auto 46px; }
.section-head .lead { margin-inline: auto; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 700;
  background: #fff; color: var(--ink-2); box-shadow: var(--shadow-xs);
  transition: 0.2s ease; white-space: nowrap;
}
.chip:hover { transform: translateY(-2px); color: var(--pink-deep); }
.chip.active { background: var(--ink); color: #fff; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------
   5. Cards & grids
   --------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-lg); box-shadow: var(--shadow), var(--inset);
  padding: 30px; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--inset); }
.card-icon {
  width: 62px; height: 62px; border-radius: 21px; display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 18px; box-shadow: var(--shadow-xs), var(--inset);
}
.icon-pink { background: var(--pink-soft); }
.icon-mint { background: var(--mint-soft); }
.icon-lav { background: var(--lav-soft); }
.icon-butter { background: var(--butter-soft); }
.icon-peach { background: var(--peach-soft); }
.card p:last-child { margin-bottom: 0; }

/* Hero */
.hero { padding: 74px 0 96px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 60px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .sweet { color: var(--pink-deep); position: relative; white-space: nowrap; }
.hero h1 .sweet::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: 2px; height: 14px;
  background: var(--butter); border-radius: 999px; z-index: -1; opacity: 0.65;
}
.hero .lead { margin-bottom: 30px; }
.hero-note { margin-top: 22px; font-size: 0.84rem; color: var(--muted); }
.hero-art { position: relative; min-height: 460px; display: grid; place-items: center; }
.blob {
  position: absolute; border-radius: 46% 54% 58% 42% / 44% 42% 58% 56%;
  filter: blur(2px); opacity: 0.75;
}
.blob-a { width: 430px; height: 430px; background: linear-gradient(140deg, #ffd9e6, #ffe9d2); top: 10px; right: -10px; animation: float 8s ease-in-out infinite; }
.blob-b { width: 250px; height: 250px; background: linear-gradient(140deg, #d6f4ea, #e5dcff); bottom: 0; left: 0; animation: float 10s ease-in-out infinite reverse; }
.phone {
  position: relative; z-index: 2; width: 268px; padding: 12px;
  border-radius: 46px; background: #fff; box-shadow: var(--shadow-lg), var(--inset);
  transform: rotate(4deg); animation: tilt 7s ease-in-out infinite;
}
.phone-notch { width: 78px; height: 9px; border-radius: 99px; background: var(--pink-soft); margin: 2px auto 14px; }
.phone-screen { background: linear-gradient(180deg, #fff6f8, #f7f2ff); border-radius: 34px; padding: 18px 14px; }
.phone-top { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; font-weight: 800; margin-bottom: 14px; }
.phone-item {
  display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px;
  padding: 10px 12px; margin-bottom: 9px; box-shadow: var(--shadow-xs);
}
.phone-rank { width: 24px; height: 24px; flex: none; border-radius: 9px; display: grid; place-items: center; font-size: 0.72rem; font-weight: 850; background: var(--pink-soft); color: var(--pink-deep); }
.phone-item:nth-child(3) .phone-rank { background: var(--butter-soft); color: #a87616; }
.phone-item:nth-child(4) .phone-rank { background: var(--mint-soft); color: var(--mint-deep); }
.phone-lines { flex: 1; }
.phone-lines i { display: block; height: 6px; border-radius: 99px; background: #eee7ef; margin-bottom: 5px; }
.phone-lines i:last-child { width: 62%; margin-bottom: 0; background: #f5f0f6; }
.sticker {
  position: absolute; z-index: 3; background: #fff; border-radius: 20px;
  padding: 10px 16px; box-shadow: var(--shadow); font-weight: 800; font-size: 0.85rem;
  display: inline-flex; align-items: center; gap: 7px; animation: float 6s ease-in-out infinite;
}
.sticker-1 { top: 46px; left: 0; transform: rotate(-8deg); color: var(--pink-deep); }
.sticker-2 { bottom: 66px; right: -6px; transform: rotate(7deg); color: var(--mint-deep); animation-delay: -2s; }
.sticker-3 { top: 4px; right: 34px; transform: rotate(9deg); color: var(--lav-deep); animation-delay: -4s; }

/* Ticker */
.ticker {
  overflow: hidden; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm), var(--inset);
  border: 1px solid rgba(255,255,255,.9); padding: 12px 0; margin-bottom: 20px;
}
.ticker-label {
  display: inline-block; padding: 5px 18px; margin-left: 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff;
  font-size: 0.8rem; font-weight: 800; vertical-align: middle;
}
.ticker-track { display: inline-flex; gap: 34px; white-space: nowrap; animation: marquee 34s linear infinite; vertical-align: middle; padding-left: 22px; }
.ticker-track span { font-size: 0.9rem; color: var(--ink-2); font-weight: 600; }
.ticker-track b { color: var(--pink-deep); margin-right: 6px; }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* Topic list */
.topic-card { display: grid; grid-template-columns: 62px 1fr auto; gap: 18px; align-items: center; }
.rank-badge {
  width: 58px; height: 58px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 900; background: var(--pink-soft); color: var(--pink-deep);
  box-shadow: var(--inset), var(--shadow-xs);
}
.rank-badge.rank-2 { background: var(--butter-soft); color: #b07d12; }
.rank-badge.rank-3 { background: var(--mint-soft); color: var(--mint-deep); }
.topic-title { font-size: 1.08rem; font-weight: 780; margin-bottom: 6px; }
.topic-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.82rem; color: var(--muted); }
.tag { padding: 3px 10px; border-radius: 99px; background: var(--lav-soft); color: var(--lav-deep); font-size: 0.74rem; font-weight: 700; }
.tag-mint { background: var(--mint-soft); color: var(--mint-deep); }
.tag-pink { background: var(--pink-soft); color: var(--pink-deep); }
.heat { min-width: 130px; text-align: right; }
.heat strong { color: var(--pink-deep); font-size: 0.98rem; }
.heat-bar { height: 8px; border-radius: 99px; background: var(--pink-soft); overflow: hidden; margin-top: 8px; }
.heat-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--butter), var(--pink)); }
.icon-actions { display: flex; gap: 8px; margin-top: 12px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface-2); box-shadow: var(--shadow-xs); font-size: 0.95rem;
  transition: 0.2s ease;
}
.icon-btn:hover { transform: translateY(-2px); }
.icon-btn.saved { background: var(--pink); color: #fff; }
.list-stack { display: grid; gap: 14px; }
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 26px;
}
.search-box {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px;
  padding: 6px 6px 6px 20px; box-shadow: var(--shadow-sm), var(--inset); min-width: 290px; flex: 1; max-width: 400px;
}
.search-box input { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 0.92rem; }
.search-box input::placeholder { color: var(--muted); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.side-card { position: sticky; top: 104px; }
.side-card .card { padding: 26px; }
.side-list li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 0.9rem; }
.side-list li:last-child { border-bottom: 0; }
.side-list b { color: var(--pink-deep); }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-card { padding: 14px 14px 20px; overflow: hidden; }
.poster {
  position: relative; height: 178px; border-radius: var(--r-md); overflow: hidden;
  display: grid; place-items: center; margin-bottom: 16px;
}
.poster::after {
  content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.28); right: -50px; top: -60px;
}
.poster-1 { background: linear-gradient(135deg, #ffc9da, #ffdfc4); }
.poster-2 { background: linear-gradient(135deg, #cdf2e7, #dcd4ff); }
.poster-3 { background: linear-gradient(135deg, #ffe6ad, #ffc5d8); }
.poster-4 { background: linear-gradient(135deg, #dcd4ff, #c9ecff); }
.poster-5 { background: linear-gradient(135deg, #ffd9c4, #d7f2cf); }
.poster-6 { background: linear-gradient(135deg, #f9d5f2, #ffe7bd); }
.poster-emoji { font-size: 3.4rem; filter: drop-shadow(0 10px 12px rgba(90,50,80,.16)); z-index: 1; }
.play-btn {
  position: absolute; z-index: 2; bottom: 12px; right: 12px; width: 46px; height: 46px;
  border-radius: 50%; background: #fff; color: var(--pink-deep); display: grid; place-items: center;
  box-shadow: var(--shadow-sm); font-size: 1rem; transition: 0.2s ease;
}
.play-btn:hover { transform: scale(1.1); }
.video-body { padding: 0 8px; }
.video-body h3 { font-size: 1rem; margin-bottom: 8px; }
.video-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--lav-soft); color: var(--lav-deep); font-size: 0.75rem; font-weight: 800; margin-right: 6px;
}
.author { display: inline-flex; align-items: center; }

/* Steps & stats */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 34px 28px 28px; counter-increment: step; }
.step::before {
  content: "0" counter(step); position: absolute; top: -18px; left: 26px;
  width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lav), var(--lav-deep)); color: #fff;
  font-weight: 850; box-shadow: var(--shadow-sm);
}
.step h3 { margin-top: 12px; }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 28px 16px; }
.stat b { display: block; font-size: 2.1rem; font-weight: 850; color: var(--pink-deep); line-height: 1.2; }
.stat span { font-size: 0.87rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-sm), var(--inset); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; text-align: left; font-weight: 750;
}
.faq-q span:last-child { color: var(--pink-deep); font-size: 1.2rem; transition: transform 0.2s ease; }
.faq-item.open .faq-q span:last-child { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 26px 22px; color: var(--ink-2); font-size: 0.94rem; }
.faq-item.open .faq-a { display: block; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 62px 48px;
  background: linear-gradient(120deg, #ffe3eb 0%, #fff2d9 48%, #e3f7f0 100%);
  box-shadow: var(--shadow), var(--inset); text-align: center;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.5);
}
.cta-band::before { width: 220px; height: 220px; top: -110px; left: -50px; }
.cta-band::after { width: 280px; height: 280px; bottom: -160px; right: -60px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }

/* Download / form */
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.platform-card { text-align: center; padding: 36px 26px; }
.platform-emoji { font-size: 2.6rem; display: block; margin-bottom: 12px; }
.platform-card h3 { font-size: 1.2rem; }
.platform-card p { font-size: 0.9rem; color: var(--ink-2); min-height: 52px; }
.qr-box {
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow), var(--inset);
  padding: 26px; text-align: center;
}
.qr-pattern {
  width: 168px; height: 168px; margin: 0 auto 16px; padding: 12px; border-radius: 22px;
  background: #fff; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px;
}
.qr-pattern i { background: #3b3042; border-radius: 2px; }
.qr-pattern i.off { background: transparent; }
.form-card { max-width: 760px; margin-inline: auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 750; }
.field input, .field select, .field textarea {
  border: 2px solid transparent; background: var(--surface-2); border-radius: 16px;
  padding: 13px 16px; outline: none; box-shadow: var(--inset), var(--shadow-xs); width: 100%;
  transition: 0.2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lav); background: #fff; }
.field .error { color: var(--pink-deep); font-size: 0.78rem; min-height: 18px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; }

/* Breadcrumb / disclaimer */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--pink-deep); }
.disclaimer {
  border-radius: var(--r-md); padding: 18px 22px; font-size: 0.84rem; line-height: 1.7;
  background: var(--butter-soft); color: #7a5b20;
}
.page-hero { padding: 54px 0 34px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin-bottom: 14px; }
.page-hero .lead { margin-bottom: 0; }
.keyword-cloud { display: flex; flex-wrap: wrap; gap: 10px; }

/* Modal & toast */
.modal {
  position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px;
  background: rgba(59, 42, 68, 0.42); backdrop-filter: blur(6px);
}
.modal.open { display: grid; }
.modal-panel {
  width: min(100%, 520px); max-height: min(88vh, 760px); overflow-y: auto;
  background: #fff; border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-lg);
  position: relative; animation: pop 0.24s ease;
}
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 38px; height: 38px;
  border-radius: 13px; background: var(--surface-2); font-size: 1.1rem; display: grid; place-items: center;
}
.modal-player {
  height: 220px; border-radius: var(--r-md); display: grid; place-items: center;
  background: linear-gradient(135deg, #ffd9e6, #e4dcff); font-size: 4rem; margin-bottom: 20px;
}
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 120%);
  background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 999px;
  font-size: 0.9rem; font-weight: 650; z-index: 400; box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }
.back-to-top {
  position: fixed; right: 22px; bottom: 26px; z-index: 90; width: 48px; height: 48px;
  border-radius: 17px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: 0.25s ease; font-size: 1.1rem;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* Footer */
.site-footer { background: rgba(255, 255, 255, 0.78); padding: 66px 0 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 0.98rem; margin-bottom: 16px; }
.footer-grid li { margin-bottom: 9px; font-size: 0.88rem; color: var(--ink-2); }
.footer-grid a:hover { color: var(--pink-deep); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 20px; font-size: 0.8rem;
  color: var(--muted); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* ---------------------------------------------------------------
   6. Animations
   --------------------------------------------------------------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes tilt { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(1.5deg) translateY(-6px); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.75); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------
   7. Responsive
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 32px; }
  .hero-art { min-height: 400px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 280px; }
  .stat-strip, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav {
    display: none; position: absolute; top: 78px; left: 20px; right: 20px;
    flex-direction: column; align-items: stretch; gap: 6px; padding: 16px;
    background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 420px; margin-top: 8px; }
  .hero .lead { max-width: none; }
  .content-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .grid-3, .platform-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .container { width: min(calc(100% - 32px), var(--max)); }
  .section { padding: 66px 0; }
  .hero { padding: 48px 0 70px; }
  .header-inner { min-height: 68px; }
  .main-nav { top: 68px; left: 16px; right: 16px; }
  .brand-mark { width: 40px; height: 40px; border-radius: 14px; }
  .grid-2, .grid-3, .grid-4, .video-grid, .steps, .platform-grid, .stat-strip, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .card { padding: 24px; border-radius: var(--r-md); }
  .hero-art { min-height: 360px; }
  .phone { width: 224px; }
  .blob-a { width: 320px; height: 320px; }
  .sticker { font-size: 0.75rem; padding: 8px 12px; }
  .sticker-1 { left: -4px; top: 24px; }
  .sticker-2 { right: -4px; bottom: 40px; }
  .topic-card { grid-template-columns: 48px 1fr; gap: 12px; }
  .rank-badge { width: 46px; height: 46px; border-radius: 16px; font-size: 1.05rem; }
  .heat { grid-column: 2; text-align: left; min-width: 0; }
  .search-box { min-width: 100%; max-width: none; }
  .cta-band { padding: 42px 22px; border-radius: var(--r-lg); }
  .cta-band .btn, .hero .btn { width: 100%; }
  .ticker-label { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .modal-panel { padding: 26px 20px; border-radius: var(--r-md); }
  .back-to-top { right: 14px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
