@charset "UTF-8";

:root {
  --ink: #141820;
  --felt: #0f3d2e;
  --heart: #e11d48;
  --cream: #f6efe6;
  --gold: #d4b45a;
  --mute: #6b6258;
  --nav-shadow: 2px 2px 0 rgba(225, 29, 72, 0.35);
  --felt-shadow: 10px 14px 0 rgba(15, 61, 46, 0.22);
  --heart-shadow: 8px 12px 0 rgba(225, 29, 72, 0.16);
  --header-h: 76px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  min-width: 320px;
  padding-top: var(--header-h);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(225,29,72,.12), transparent 55%),
    var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.7;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
p, h1, h2, h3, figure, ol { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.frame { width: min(calc(100% - 40px), var(--content)); margin: 0 auto; }

.grain {
  pointer-events: none; position: fixed; inset: 0; z-index: 90; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.topbar {
  position: fixed; z-index: 1000; top: 0; right: 0; left: 0; height: var(--header-h);
  background: rgba(246,239,230,.94); border-bottom: 2px solid var(--heart); backdrop-filter: blur(12px);
}
.topbar-frame { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 48px; height: 48px; border-radius: 14px; box-shadow: var(--nav-shadow); background: #fff; }
.brand strong { display: block; font-size: 16px; }
.brand small { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--heart); font-weight: 800; }
.main-menu { margin-left: auto; }
.main-menu ul { display: flex; gap: 14px; }
.main-menu a { font-size: 13px; font-weight: 700; }
.main-menu a.current, .main-menu a:hover { color: var(--heart); }
.get-btn, .header-get, .mobile-get {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--heart); color: #fff; font-weight: 800; box-shadow: var(--nav-shadow);
}
.mobile-controls { display: none; margin-left: auto; align-items: center; gap: 10px; }
.nav-switch { width: 40px; height: 40px; }
.nav-switch i { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); }

.felt { padding: 28px 0 56px; }
.felt-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 36px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.16em; color: var(--felt); font-weight: 800; }
.eyebrow i { width: 26px; height: 2px; background: var(--heart); }
h1 { font-size: clamp(38px, 6vw, 58px); line-height: 1.05; }
.kicker { margin: 12px 0; font-size: 22px; color: var(--heart); font-weight: 800; }
.lead { color: var(--mute); max-width: 38em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 20px 0 14px; }
.hero-actions .get-btn { height: 46px; padding: 0 24px; }
.ghost { font-weight: 800; color: var(--felt); border-bottom: 2px solid var(--gold); }
.suits { display: flex; gap: 8px; flex-wrap: wrap; }
.suits li { padding: 8px 12px; background: #fff; border-radius: 12px; box-shadow: var(--heart-shadow); font-size: 13px; font-weight: 800; }
.suits b { color: var(--heart); margin-right: 4px; }
.stamp { margin-top: 12px; font-size: 12px; color: var(--mute); }

.projector {
  position: relative; min-height: 520px; display: grid; place-items: center;
  background: var(--felt); border-radius: 28px; padding: 28px 20px;
  box-shadow: var(--felt-shadow);
}
.card-back {
  position: absolute; left: 18px; bottom: 24px; width: 92px; height: 128px;
  border-radius: 10px; background: repeating-linear-gradient(45deg, #fff 0 6px, #f3d5dc 6px 12px);
  box-shadow: var(--heart-shadow); display: grid; place-items: center;
  color: var(--heart); font-size: 36px; transform: rotate(-12deg);
}
.device {
  position: relative; z-index: 2; width: min(250px, 70vw);
  background: #0c1016; border-radius: 32px; padding: 12px 10px 16px;
  box-shadow: var(--heart-shadow); animation: rise 5s ease-in-out infinite;
}
.notch { display: block; width: 72px; height: 8px; margin: 0 auto 8px; border-radius: 8px; background: #2a3140; }
.status { display: flex; justify-content: space-between; color: #f7dce3; font-size: 10px; padding: 0 8px 6px; }
.status em { color: var(--heart); font-style: normal; font-weight: 800; }
.device img { width: 100%; height: auto; max-height: 400px; object-fit: contain; background: #000; border-radius: 18px; }
.transport { display: flex; justify-content: center; gap: 18px; align-items: center; margin-top: 10px; }
.transport span { width: 10px; height: 10px; border-radius: 2px; background: #9aa; }
.transport .go { width: 0; height: 0; border-radius: 0; background: none; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.float {
  position: absolute; z-index: 4; background: #fff; padding: 12px 14px; border-radius: 16px;
  box-shadow: var(--heart-shadow);
}
.float.a { left: 16px; top: 28px; }
.float.a .pip { color: var(--heart); margin-right: 6px; font-weight: 900; }
.float.b { right: 12px; top: 88px; width: 168px; }
.float.b .bar { height: 6px; margin: 8px 0 6px; background: #f3d5dc; border-radius: 99px; overflow: hidden; }
.float.b .bar i { display: block; width: var(--w); height: 100%; background: var(--heart); }
.float.c { right: 28px; bottom: 36px; background: var(--ink); color: #fff; }
.float.c span { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--gold); }

.block-head { margin-bottom: 22px; }
.block-head p { font-size: 12px; letter-spacing: 0.18em; color: var(--heart); font-weight: 800; }
.block-head h2 { font-size: 30px; }
.block-head small { display: block; margin-top: 6px; color: var(--mute); }
.block-head.invert p, .block-head.invert h2 { color: #f6efe6; }
.block-head.invert small { color: #c9b8a8; }

.pips-wrap { padding: 72px 0; }
.pips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pips article {
  position: relative;
  min-height: 210px;
  padding: 28px 20px 18px;
  background: #fff;
  border-radius: 8px 22px 8px 22px;
  box-shadow: var(--felt-shadow);
}
.pips .wide { grid-column: span 2; background: var(--felt); color: #f6efe6; }
.pips .ace { background: #fff5f6; border: 2px solid var(--heart); }
.corner { position: absolute; top: 10px; left: 12px; color: var(--heart); font-weight: 900; font-size: 14px; }
.pips .wide .corner { color: var(--gold); }
.pips h3 { margin: 18px 0 8px; font-size: 22px; }
.mini { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mini li { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12px; font-weight: 700; }

.remote-wrap { padding: 72px 0; background: var(--ink); color: #f6efe6; }
.remote { background: #1c2430; border-radius: 28px; padding: 20px; box-shadow: var(--heart-shadow); }
.keys { display: flex; gap: 8px; margin-bottom: 16px; }
.keys button { padding: 10px 18px; border-radius: 999px; background: #141820; color: #f6efe6; font-weight: 800; }
.keys button.is-on { background: var(--heart); }
.remote-body { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: center; }
.rk { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); }
.remote-body h3 { font-size: 26px; margin: 8px 0; }
.remote-body p { color: #d8cfc4; }
.chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.chips li { padding: 6px 12px; border-radius: 999px; background: #141820; font-size: 12px; font-weight: 700; }
.remote-body figure { background: #0c1016; padding: 12px; border-radius: 22px; transform: rotate(2deg); }
.remote-body img { width: 100%; height: auto; max-height: 340px; object-fit: contain; background: #000; border-radius: 14px; }
.remote-body figcaption { margin-top: 8px; text-align: center; font-size: 12px; letter-spacing: 0.16em; color: var(--gold); }

.fan-wrap { padding: 72px 0; }
.fan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; }
.fan figure { background: #fff; padding: 12px; border-radius: 18px; box-shadow: var(--felt-shadow); }
.f1 { transform: rotate(-4deg) translateY(12px); }
.f2 { transform: rotate(-1deg) translateY(-10px); }
.f3 { transform: rotate(1.5deg) translateY(-6px); }
.f4 { transform: rotate(4deg) translateY(10px); }
.bezel { background: #0c1016; padding: 8px; border-radius: 16px; }
.fan img { width: 100%; height: auto; max-height: 300px; object-fit: contain; background: #000; border-radius: 10px; }
.fan figcaption { margin-top: 10px; font-weight: 800; display: flex; gap: 8px; }
.fan b { color: var(--heart); }

.tricks-wrap { padding: 0 0 72px; }
.tricks-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; }
.tricks-intro p:first-child { font-size: 12px; letter-spacing: 0.18em; color: var(--heart); font-weight: 800; }
.tricks-intro h2 { margin: 8px 0; }
.tricks-intro p { color: var(--mute); }
.deal { list-style: none; padding: 0; display: grid; gap: 12px; }
.deal li {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center;
  background: #fff; padding: 14px 16px; border-radius: 16px; box-shadow: var(--heart-shadow);
}
.deal b {
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--heart); color: #fff; border-radius: 12px; font-size: 16px;
}

.faq { padding: 0 0 72px; }
.book-body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 16px; }
.toc { display: grid; gap: 8px; }
.toc button {
  text-align: left; padding: 14px 16px; border-radius: 14px;
  background: #fff; font-weight: 800; box-shadow: 4px 6px 0 rgba(15,61,46,.12);
}
.toc button.is-on { background: var(--heart); color: #fff; }
.pages { display: grid; gap: 10px; }
.page { display: none; }
.page.is-on { display: block; }
.page {
  background: linear-gradient(180deg, #fff, #f3e6d8);
  border: 1px solid rgba(212,180,90,.45);
  border-radius: 18px; padding: 26px 24px; box-shadow: var(--felt-shadow);
}
.page.is-on { display: block; }
.page span { color: var(--heart); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; }
.page h3 { margin: 10px 0 12px; font-size: 22px; }
.page p { color: var(--mute); }

.reviews { padding: 0 0 72px; }
.stubs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stubs article {
  position: relative;
  background: #fff;
  padding: 18px 18px 14px 22px;
  border-left: 8px solid var(--heart);
  box-shadow: var(--felt-shadow);
}
.stubs article::after {
  content: "";
  position: absolute; right: -1px; top: 18px; bottom: 18px; width: 14px;
  background: radial-gradient(circle at 0 10px, transparent 7px, #fff 8px);
  background-size: 14px 20px;
}
.stubs time { display: block; font-size: 12px; color: var(--heart); font-weight: 800; }
.stubs p { margin: 8px 0; }
.stubs span { font-size: 12px; color: var(--mute); font-weight: 800; }

.download { padding: 0 0 72px; }
.chip {
  position: relative; text-align: center;
  background: radial-gradient(circle at 50% 20%, #fff, #f3d5dc);
  border: 3px solid var(--heart); border-radius: 50% 50% 28px 28px / 42% 42% 28px 28px;
  padding: 56px 24px 32px; box-shadow: var(--felt-shadow);
}
.big-pip { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); color: var(--heart); font-size: 28px; }
.chip-stats { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 12px 0 8px; }
.chip-stats li { background: #fff; padding: 8px 12px; border-radius: 999px; box-shadow: var(--nav-shadow); font-size: 13px; }
.chip-stats b { color: var(--heart); margin-right: 4px; }
.chip small { letter-spacing: 0.2em; color: var(--felt); font-weight: 800; }
.chip h2 { margin: 8px 0; }
.chip p { color: var(--mute); margin-bottom: 16px; }

.site-footer { background: #0a1210; color: #f6efe6; padding: 28px 0 20px; }
.footer-shell { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: var(--gold); }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer nav a { color: var(--gold); font-weight: 700; }
.copy { text-align: center; margin-top: 14px; color: #9aa; font-size: 13px; }

.back-top {
  position: fixed; z-index: 40; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%;
  visibility: hidden; opacity: 0; display: grid; place-items: center;
  background: var(--heart); box-shadow: var(--nav-shadow);
}
.back-top::before {
  content: ""; width: 12px; height: 12px;
  border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: translateY(3px) rotate(45deg);
}
.back-top.is-visible { visibility: visible; opacity: 1; }

@keyframes rise { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

@media (max-width: 980px) {
  .header-get { display: none; }
  .mobile-controls { display: flex; }
  .main-menu { position: fixed; top: var(--header-h); right: 0; left: 0; display: none; background: #f6efe6; }
  .main-menu.is-open { display: block; }
  .main-menu ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .main-menu a { display: block; padding: 12px 0; }
  .felt-grid, .remote-body, .tricks-grid, .book-body, .stubs { display: flex; flex-direction: column; }
  .felt-copy { text-align: center; }
  .eyebrow, .hero-actions, .suits { justify-content: center; }
  .hero-actions .get-btn { width: 100%; }
  .float { position: static; display: inline-block; margin: 6px; }
  .projector { min-height: 0; }
  .card-back { position: static; transform: none; margin: 12px auto 0; }
  .pips { grid-template-columns: 1fr; }
  .pips .wide { grid-column: auto; }
  .fan {
    display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; padding-bottom: 10px; align-items: stretch;
  }
  .fan figure { flex: 0 0 min(72vw, 260px); scroll-snap-align: start; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .device { animation: none; }
}
