/* LuckTick 介绍页 —— 浅色商业版
   白底与暖灰交替分段，近黑文字，一种强调色（鎏金）；
   间距按 8 的倍数：段落之间 128，标题到内容 56，卡片内 32/24。 */

:root {
  --bg: #FFFFFF;
  --tint: #F7F6F2;
  --panel: #F2F0EA;
  --ink: #111111;
  --ink-2: #33322F;
  --muted: #64625D;
  --faint: #9A978F;
  --line: rgba(17, 17, 17, .09);
  --line-strong: rgba(17, 17, 17, .16);
  --gold: #FFC24B;
  --gold-deep: #A86B00;
  --seal: #E2412F;
  --paper: #FBF7EC;
  --mint: #1FA971;
  --cyan: #0EA5C6;
  --violet: #7C5CFF;
  --pink: #E8458F;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  color-scheme: light;
}
:lang(ja) { --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif; --serif: "Hiragino Mincho ProN", "Yu Mincho", serif; }
:lang(ko) { --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; --serif: "AppleMyungjo", "Nanum Myeongjo", serif; }
:lang(en) { --serif: "New York", "Iowan Old Style", Georgia, serif; }
body:lang(ko) { word-break: keep-all; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 32px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.015em; }
:lang(en) h1, :lang(en) h2 { letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.14; }
.lead { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.fine { color: var(--faint); font-size: 13px; line-height: 1.5; }
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  color: var(--gold-deep); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow span:first-child:not(:only-child) { color: var(--faint); font-variant-numeric: tabular-nums; }
.eyebrow span:first-child:not(:only-child)::after { content: ""; display: inline-block; width: 20px; height: 1px; margin-left: 10px; vertical-align: middle; background: var(--line-strong); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px;
  border-radius: var(--r-sm); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .15s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 9px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A2A; }
.btn-light { background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-light:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost { padding: 0 6px; color: var(--ink); }
.btn-ghost span:last-child { transition: transform .2s; }
.btn-ghost:hover span:last-child { transform: translateX(4px); }
.apple { width: 18px; height: 18px; fill: currentColor; margin-top: -2px; }

/* ---------- 顶栏（通栏） ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .58); backdrop-filter: saturate(200%) blur(28px); -webkit-backdrop-filter: saturate(200%) blur(28px);
  transition: background .3s, box-shadow .3s;
}
.topbar.scrolled { background: rgba(255, 255, 255, .64); box-shadow: 0 6px 24px rgba(17, 17, 17, .05); }
.topbar-in { display: flex; align-items: center; gap: 40px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { position: relative; text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -23px; height: 2px; background: var(--ink); }
.lang-menu { position: relative; margin-left: auto; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 12px; border-radius: 9px;
  font-size: 14px; color: var(--ink-2); white-space: nowrap; transition: background .2s;
}
.lang-btn:hover, .lang-menu.open .lang-btn { background: rgba(17, 17, 17, .05); }
.lang-btn:focus { outline: none; }
.lang-btn:focus-visible { box-shadow: 0 0 0 2px rgba(17, 17, 17, .18); }
.lang-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn .chev { width: 14px; height: 14px; stroke-width: 2; transition: transform .25s; }
.lang-menu.open .chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 168px; margin: 0; padding: 6px; list-style: none; border-radius: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(17, 17, 17, .12);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .18s, transform .18s;
}
.lang-menu.open .lang-list { opacity: 1; transform: none; pointer-events: auto; }
.lang-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 9px;
  font-size: 14px; color: var(--ink-2); cursor: pointer; outline: none;
}
.lang-list li:hover, .lang-list li:focus { background: rgba(17, 17, 17, .05); }
.lang-list li[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.lang-list li[aria-selected="true"]::after { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23111' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- 首屏 ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--tint) 100%); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; min-height: min(calc(100vh - 68px), 820px); padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.06; margin-bottom: 24px; }
.hero .lead { max-width: 30em; margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.stats { display: flex; margin: 56px 0 0; padding: 0; }
.stats div { padding: 0 32px; border-left: 1px solid var(--line-strong); }
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats dt { font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.hero-glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 75, .38), rgba(255, 194, 75, 0) 68%); filter: blur(10px); }
.watch {
  --w: 300px; --b: calc(var(--w) * .032); --ri: calc(var(--w) * .2);
  position: relative; display: block; width: var(--w); aspect-ratio: 416 / 496; padding: var(--b); border-radius: calc(var(--ri) + var(--b));
  background: linear-gradient(145deg, #4A4A52, #18181D 45%, #34343C);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px rgba(17, 17, 17, .22), 0 6px 14px rgba(17, 17, 17, .12);
}
.watch::after { content: ""; position: absolute; right: calc(var(--w) * -.02); top: 24%; width: calc(var(--w) * .022); height: 14%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #2A2A30, #5A5A63); }
.watch-screen { display: block; width: 100%; height: 100%; border-radius: var(--ri); overflow: hidden; background: #000; }
.watch-screen img { width: 100%; height: 100%; object-fit: cover; }
.watch-xl { --w: min(340px, 72vw); transform: rotate(-4deg); animation: float 7s ease-in-out infinite; }
.watch-lg { --w: min(270px, 62vw); }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-12px); } }
.score-chip {
  position: absolute; left: 4%; bottom: 14%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  border-radius: var(--r-md); background: #fff; box-shadow: 0 18px 40px rgba(17, 17, 17, .12), 0 0 0 1px var(--line);
}
.score-ring { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), #EFECE4 0); }
.score-ring::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.score-ring b { position: relative; font-size: 16px; font-variant-numeric: tabular-nums; }
.score-chip small { display: block; color: var(--muted); font-size: 12px; }
.score-chip strong { font-size: 17px; }

/* 首屏入场 */
[data-rise] { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1[data-rise] { animation-delay: .06s; }
.hero .lead[data-rise] { animation-delay: .12s; }
.cta-row[data-rise] { animation-delay: .18s; }
.stats[data-rise] { animation-delay: .24s; }
.hero-visual[data-rise] { animation-delay: .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- 技术点 ---------- */
.strip { border-bottom: 1px solid var(--line); }
.strip-in { display: flex; align-items: center; gap: 40px; min-height: 92px; }
.strip-in p { margin: 0; flex: none; color: var(--muted); font-size: 14px; }
.tech-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }
.tech-item { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 15px; font-weight: 600; }
.tech-item svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 板块 ---------- */
.sec { padding: 128px 0; }
.sec-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 88px; }
.feature-rev .feature-copy { order: 2; }
.feature-copy h2 { margin-bottom: 20px; }
.feature-copy .lead { max-width: 30em; }
.sec-title { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; margin-bottom: 56px; }
.sec-title .lead { max-width: 30em; justify-self: end; }
.panel { background: var(--panel); border-radius: var(--r-lg); }
.checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink-2); font-size: 16px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.4' fill='none' stroke='%23FFC24B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- 01 刮刮卡 ---------- */
.demo { display: grid; justify-items: center; gap: 20px; padding: 40px 40px 28px; }
.demo-hint { margin: 0; justify-self: start; color: var(--muted); font-size: 14px; font-weight: 500; }
.demo-hint::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--gold); vertical-align: 1px; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 194, 75, .25); } }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 38px; }
#againBtn { visibility: hidden; opacity: 0; transition: opacity .3s; }
#againBtn.show { visibility: visible; opacity: 1; }
.slip-wrap { position: relative; width: 100%; max-width: 460px; aspect-ratio: 5 / 4; perspective: 900px; }
.slip {
  position: absolute; inset: 0; border-radius: 20px; overflow: hidden; background: var(--paper); color: #2A1E12;
  box-shadow: 0 24px 50px rgba(60, 40, 10, .16), 0 0 0 1px rgba(160, 110, 40, .14);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.slip.live { transition: transform .08s linear; }
.slip-head { display: flex; justify-content: space-between; align-items: center; height: 18%; padding: 0 22px; background: linear-gradient(90deg, #D9352A, #F0412F); color: #FFF4E0; font: 700 18px/1 var(--serif); }
.slip-date::before { content: "●"; font-size: 10px; margin-right: 8px; vertical-align: 2px; }
.slip-day { font-size: 15px; opacity: .9; }
.slip-body { position: absolute; inset: 18% 14px 14px; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 10px 16px; border: 1.5px solid rgba(160, 90, 40, .3); border-top: 0; border-radius: 0 0 12px 12px; text-align: center; }
.slip-level { font: 800 40px/1 var(--serif); color: #D9352A; letter-spacing: .06em; }
.slip-level::before, .slip-level::after { content: "·"; margin: 0 .3em; color: #C9A04E; }
.slip-verse { margin: 0; font: 700 22px/1.55 var(--serif); }
:lang(en) .slip-verse { font-size: 19px; font-style: italic; }
.slip-rule { width: 82%; border-top: 1.5px dashed rgba(160, 90, 40, .4); }
.slip-yiji { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font: 600 16px/1.4 var(--sans); color: #4A3A28; }
.slip-yiji > span { display: inline-flex; align-items: center; gap: 6px; }
.seal { display: inline-grid; place-items: center; flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--seal); color: #fff; font: 700 12px/1 var(--sans); }
.seal-dark { background: #6B6B73; }
.slip-holo {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .6), transparent 40%),
    linear-gradient(115deg, transparent 20%, #FF6AD5 35%, #FFE45C 45%, #3DDC97 55%, #44E5FF 65%, #9B7BFF 75%, transparent 90%);
  background-size: 100% 100%, 250% 250%; background-position: center, var(--hx, 50%) var(--hy, 50%);
  mix-blend-mode: soft-light; opacity: var(--holo, 0); transition: opacity .3s;
}
.slip-holo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, rgba(255, 194, 75, .45), transparent 60%); mix-blend-mode: multiply; opacity: var(--goldA, 0); }
.foil { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px; cursor: grab; touch-action: none; transition: opacity .7s; }
.foil:active { cursor: grabbing; }
.foil.gone { opacity: 0; pointer-events: none; }

/* ---------- 02 推演方式 ---------- */
.seg { display: inline-flex; gap: 4px; margin: 0 0 24px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 38px; padding: 0 20px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.method-copy[hidden] { display: none; }
.method-copy.lead { min-height: 5em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 6px 12px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.method-note { margin: 32px 0 0; max-width: 34em; }
.method-visual { padding: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(17, 17, 17, .06); }
.method-stage { position: relative; height: 380px; border-radius: var(--r-md); background: var(--tint); overflow: hidden; }
.wheel, .pillars { position: absolute; inset: 0; margin: auto; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.wheel { width: 320px; height: 320px; overflow: visible; }
.wheel .ring { transform-origin: 150px 150px; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: rotate(-360deg); } }
.pillars { display: grid; grid-template-columns: repeat(4, 84px); gap: 12px; height: max-content; width: max-content; opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none; }
.method-visual.is-bazi .wheel { opacity: 0; transform: rotate(-40deg) scale(.9); }
.method-visual.is-bazi .pillars { opacity: 1; transform: none; pointer-events: auto; }
.pillar { display: grid; justify-items: center; gap: 4px; padding: 18px 0 16px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 20px rgba(17, 17, 17, .05); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.pillar:hover { transform: translateY(-6px); }
.pillar.day { box-shadow: 0 0 0 2px var(--gold), 0 10px 24px rgba(168, 107, 0, .16); }
.pillar small { color: var(--muted); font-size: 12px; font-weight: 500; }
.pillar b { font: 800 40px/1.08 var(--serif); }
.pillar .py { font-size: 11px; color: var(--muted); }
.why { display: flex; align-items: center; gap: 20px; padding: 20px 8px 4px; }
.why-score { display: grid; justify-items: center; flex: none; }
.why-score span { color: var(--muted); font-size: 12px; }
.why-score b { font-size: 36px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.why-today b { color: var(--gold-deep); }
.why-factors { flex: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.factor { padding: 4px 10px; border-radius: 7px; font-size: 13px; font-weight: 500; background: rgba(31, 169, 113, .1); color: #13805A; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.factor.neg { background: rgba(226, 65, 47, .09); color: #B8321F; }
.method-visual.in .factor { opacity: 1; transform: none; }

/* ---------- 03 六维 ---------- */
.six-visual { position: relative; display: grid; justify-content: center; padding: 24px 0 56px; }
.six-visual .watch-lg { transform: rotate(3deg); margin-left: -120px; }
.energy { position: absolute; right: 0; bottom: 0; width: 340px; padding: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(17, 17, 17, .1); }
.energy-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 600; }
.energy-head b { font-size: 32px; font-weight: 700; letter-spacing: -.03em; color: var(--mint); }
.energy-row { display: grid; grid-template-columns: 6.5em 1fr auto; align-items: center; gap: 12px; margin: 10px 0 0; font-size: 14px; }
.energy-row > span:first-child { color: var(--muted); }
.segbar { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.segbar i { height: 8px; border-radius: 2px; background: #ECE9E1; transform-origin: left; }
.energy-row b { font-weight: 600; font-variant-numeric: tabular-nums; }
.six-visual.in .segbar i[style] { animation: grow .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- 04 幸运元素：一张「今日好运」单 ---------- */
.luck-sheet {
  display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(17, 17, 17, .05); overflow: hidden;
}
.luck-cell { position: relative; display: flex; flex-direction: column; padding: 28px 28px 32px; min-width: 0; }
.luck-cell + .luck-cell { border-left: 1px solid var(--line); }
.luck-idx { color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.luck-visual { display: grid; place-items: center; height: 200px; margin: 8px 0 4px; }
button.luck-visual { width: 100%; border-radius: var(--r-md); transition: background .3s; }
button.luck-visual:hover { background: var(--tint); }
.luck-value { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 8px 10px; min-height: 32px; margin-bottom: 24px; font-size: 14px; color: var(--muted); }
.luck-value b { color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.luck-cell h3 { font-size: 17px; padding-top: 20px; border-top: 1px solid var(--line); }
.luck-cell p { margin: 6px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* 幸运色：一颗有光泽的色球 */
.color-orb {
  width: 132px; height: 132px; border-radius: 50%; background: var(--lucky, #FFA25C);
  background-image: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 42%), radial-gradient(circle at 70% 80%, rgba(0, 0, 0, .14), rgba(0, 0, 0, 0) 55%);
  box-shadow: 0 22px 40px color-mix(in srgb, var(--lucky, #FFA25C) 45%, transparent), inset 0 -6px 14px rgba(0, 0, 0, .06);
  transition: background-color .6s, box-shadow .6s, transform .5s cubic-bezier(.3, 1.5, .5, 1);
}
.color-orb-btn:active .color-orb { transform: scale(.92); }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 10px; height: 10px; border-radius: 50%; transition: transform .3s; }
.swatches i.on { transform: scale(1.5); box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--ink); }

/* 幸运数：两张数字牌 */
.num-tiles { display: flex; gap: 10px; perspective: 400px; }
.num-tiles b {
  display: grid; place-items: center; width: 84px; height: 108px; border-radius: 16px; font-size: 64px; font-weight: 700; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 0 49.5%, #F4F2EC 50.5% 100%); box-shadow: 0 0 0 1px var(--line), 0 12px 24px rgba(17, 17, 17, .07);
  position: relative; font-variant-numeric: tabular-nums;
}
.num-tiles b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(17, 17, 17, .08); }
.num-tiles b:last-child { color: var(--gold-deep); }
.num-tiles b.flip { animation: flip .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes flip { 0% { transform: rotateX(-90deg); } 100% { transform: none; } }
.reroll { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--tint); color: var(--ink); font-size: 12px; }

/* 吉时：十二时辰表盘 */
.hour-dial, .compass { width: 168px; height: 168px; overflow: visible; }
.hour-dial .hand { transform-origin: 100px 100px; }
.compass .needle { transform-origin: 100px 100px; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }

/* ---------- 05 从早到晚 ---------- */
.day-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.day-item { position: relative; padding: 32px 28px 8px 0; }
.day-item + .day-item { padding-left: 28px; border-left: 1px solid var(--line); }
.day-item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.day-item + .day-item::before { left: 28px; }
.day-time { display: block; font-size: 40px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.day-item h3 { margin: 16px 0 6px; font-size: 18px; }
.day-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 屏幕一览 ---------- */
.gallery-sec { padding-bottom: 96px; background: var(--tint); border-top: 1px solid var(--line); }
.gallery-sec .sec-title { margin-bottom: 40px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; padding: 16px 0 24px; animation: slide 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.shot { flex: none; width: 210px; margin: 0; }
.shot .watch { --w: 210px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.shot:hover .watch { transform: translateY(-8px); }
.shot figcaption { margin-top: 20px; }
.shot figcaption b { display: block; font-size: 15px; }
.shot figcaption span { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ---------- 隐私（深色） ---------- */
.dark-band { background: #121212; color: #fff; padding: 120px 0; }
.dark-in { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.dark-band .eyebrow { color: var(--gold); }
.dark-band h2 { margin-bottom: 28px; }
.link-arrow { color: var(--gold); text-decoration: none; font-weight: 600; }
.link-arrow:hover { text-decoration: underline; }
.promise { list-style: none; margin: 0; padding: 0; }
.promise li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.promise li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.promise svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.promise h3 { font-size: 20px; margin-bottom: 4px; }
.promise p { margin: 0; color: rgba(255, 255, 255, .62); font-size: 15px; }

/* ---------- 常见问题 ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 88px; align-items: start; }
.faq-grid h2 { margin-bottom: 20px; }
.mail { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.mail:hover { border-bottom-color: var(--ink); }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 14px; height: 14px; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 1px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq details p { margin: 0; padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; }

/* ---------- 收尾 ---------- */
.cta-panel {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-bottom: 96px; padding: 56px 64px; border-radius: var(--r-lg); background: var(--gold);
}
.cta-panel::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 65%); }
.cta-panel > * { position: relative; }
.cta-panel h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-panel p { margin: 8px 0 0; color: rgba(17, 17, 17, .7); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h4 { margin: 0 0 4px; font-size: 14px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding-top: 64px; }
  .hero-visual { min-height: 440px; }
  .feature, .dark-in, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .feature-rev .feature-copy { order: 0; }
  .sec-title { grid-template-columns: 1fr; gap: 16px; }
  .sec-title .lead { justify-self: start; }
  .luck-sheet { grid-template-columns: 1fr 1fr; }
  .luck-cell:nth-child(3) { border-left: 0; }
  .luck-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .day-line { grid-template-columns: 1fr 1fr; }
  .day-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .day-item:nth-child(3)::before { left: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .topbar-in { gap: 12px; height: 60px; }
  .lang-btn > svg:first-child { display: none; }
  .hero-in { padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: 42px; }
  .lead { font-size: 16px; }
  .stats { margin-top: 40px; }
  .stats div { padding: 0 18px; }
  .stats dt { font-size: 28px; }
  .stats dd { font-size: 13px; }
  .hero-visual { min-height: 380px; }
  .score-chip { left: 0; bottom: 6%; }
  .strip-in { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
  .tech-row { gap: 10px 22px; }
  .sec { padding: 88px 0; }
  .demo { padding: 24px 16px 20px; }
  .demo-foot { flex-direction: column-reverse; align-items: flex-start; }
  .method-visual { padding: 12px; }
  .method-stage { height: 320px; }
  .wheel { width: 280px; height: 280px; }
  .pillars { grid-template-columns: repeat(4, 66px); gap: 8px; }
  .pillar b { font-size: 32px; }
  .why { flex-wrap: wrap; justify-content: space-between; padding: 16px 4px 4px; }
  .why-factors { order: 3; flex-basis: 100%; }
  .six-visual { padding-bottom: 150px; }
  .six-visual .watch-lg { margin-left: 0; }
  .energy { left: 0; right: 0; width: auto; }
  .luck-cell { padding: 20px 16px 24px; }
  .luck-visual { height: 150px; }
  .color-orb { width: 96px; height: 96px; }
  .num-tiles b { width: 60px; height: 78px; font-size: 44px; border-radius: 12px; }
  .hour-dial, .compass { width: 128px; height: 128px; }
  .luck-value { flex-direction: column; min-height: 52px; margin-bottom: 16px; font-size: 13px; }
  .topbar-in { gap: 8px; }
  .lang-btn { padding: 0 6px; }
  .btn-sm { padding: 0 12px; }
  .luck-value b { font-size: 16px; }
  .luck-cell h3 { padding-top: 16px; font-size: 16px; }
  .luck-cell p { font-size: 13px; }
  .day-line { grid-template-columns: 1fr; }
  .day-item, .day-item + .day-item { padding: 28px 0 24px; border-left: 0; border-bottom: 1px solid var(--line); }
  .day-item + .day-item::before { left: 0; }
  .day-time { font-size: 34px; }
  .shot { width: 170px; }
  .shot .watch { --w: 170px; }
  .marquee-track { gap: 28px; }
  .dark-band { padding: 88px 0; }
  .cta-panel { flex-direction: column; align-items: flex-start; padding: 40px 28px; margin-bottom: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
  html { scroll-behavior: auto; }
}
