/* 微彩圈官网 */
:root {
  --red: #e74c3c;
  --red-deep: #c0392b;
  --red-soft: #fdecea;
  --blue: #0052d9;
  --blue-soft: #e8f1ff;
  --fucai: #f95251;
  --ticai: #2196f3;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #8a8a8a;
  --surface: #f7f6f4;
  --white: #ffffff;
  --line: rgba(26, 26, 26, 0.08);
  --shadow: 0 16px 48px rgba(26, 26, 26, 0.08);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
  --header-h: 76px;
  --radius: 16px;
  --pill: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  max-width: 100%;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--red);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 300;
  background: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(247, 246, 244, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
  opacity: 0.88;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--pill);
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: var(--red);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--red);
  border-radius: 1px;
}

.nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  font-weight: 500;
}

.nav .nav-cta:hover,
.nav .nav-cta.is-active {
  background: var(--red-deep);
  color: var(--white);
}

.nav .nav-cta.is-active::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  max-width: 100%;
  padding: 0.85rem 1.55rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.btn-blue:hover {
  background: #003cab;
  color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(231, 76, 60, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 5% 85%, rgba(0, 82, 217, 0.08), transparent 50%),
    linear-gradient(165deg, #fff8f6 0%, var(--surface) 48%, #efecea 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 3.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--red);
  background: var(--red-soft);
  padding: 0.3rem 0.75rem;
  border-radius: var(--pill);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  margin-bottom: 0.4em;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.75em;
}

.hero-desc {
  color: var(--ink-soft);
  max-width: 36em;
}

.hero-shot {
  justify-self: center;
  width: 100%;
}

.device-stack {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
  min-height: 420px;
}

.device-portrait {
  background: #1c1c1c;
  border-radius: 22px;
  padding: 10px 10px 18px;
  box-shadow: 0 28px 60px rgba(26, 26, 26, 0.22);
}

.device-portrait img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  display: block;
}

.device-stack .device-back {
  position: absolute;
  width: 58%;
  right: 0;
  top: 8%;
  transform: rotate(6deg);
  opacity: 0.92;
  z-index: 1;
}

.device-stack .device-front {
  position: relative;
  width: 68%;
  z-index: 2;
  transform: rotate(-2deg);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-head {
  max-width: 38em;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.section-head p {
  color: var(--ink-muted);
  margin: 0;
}

/* Steps */
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow);
}

.step-list h3 {
  font-size: 1.08rem;
  margin-bottom: 0.3em;
}

.step-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.step-num {
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.85rem 1.5rem 1.4rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  min-height: 100%;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--red);
  border-radius: var(--pill);
  padding: 0.22rem 0.6rem;
  line-height: 1.3;
}

.product-badge-soft {
  background: var(--red-soft);
  color: var(--red-deep);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 76, 60, 0.28);
  color: var(--ink);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.product-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4em;
}

.product-card p {
  color: var(--ink-muted);
  flex: 1;
  font-size: 0.95rem;
}

.product-card .more {
  font-weight: 500;
  color: var(--red);
  font-size: 0.92rem;
}

/* Capability */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cap-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--line);
}

.cap-item .num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.cap-item h3 {
  font-size: 1.05rem;
}

.cap-item p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* Lottery */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.lottery-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.lottery-item img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.lottery-item span {
  font-weight: 600;
  font-size: 0.95rem;
}

.lottery-item small {
  display: block;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.tag-fucai small {
  color: var(--fucai);
}

.tag-ticai small {
  color: var(--ticai);
}

/* CTA / contact */
.cta-panel {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 48%, #f06a5d 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 2.75rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cta-panel h2,
.cta-panel p {
  color: var(--white);
}

.cta-panel p {
  opacity: 0.92;
  margin-bottom: 1.25rem;
}

.cta-panel .btn-primary {
  background: var(--white);
  color: var(--red);
}

.cta-panel .btn-primary:hover {
  background: var(--red-soft);
  color: var(--red-deep);
}

.cta-panel .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-panel .btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.search-card {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(8px);
  text-align: center;
}

.search-card .label {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-bottom: 0.55rem;
}

.mp-code {
  width: 160px;
  height: 160px;
  margin: 0.35rem auto 0;
  border-radius: 12px;
  background: var(--white);
  padding: 8px;
}

.search-card .mp-code {
  background: var(--white);
}

.contact-panel {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.25rem 2.25rem;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 0.35em;
}

.contact-panel-desc {
  color: var(--ink-muted);
  margin-bottom: 1.35rem;
}

.contact-qr-card {
  text-align: center;
  background: var(--surface);
  border-radius: 16px;
  padding: 1.15rem 1.25rem 1rem;
}

.contact-qr {
  width: 140px;
  height: 140px;
  margin: 0 auto 0.7rem;
  border-radius: 12px;
  background: var(--white);
  padding: 8px;
}

.contact-qr-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.mp-code-wrap {
  text-align: center;
}

.mp-code-wrap .mp-code {
  margin-inline: auto;
  box-shadow: var(--shadow);
  background: var(--white);
}

.mp-code-wrap p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--pill);
  padding: 0.7rem 1rem;
  font-weight: 600;
}

.search-bar .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.search-hint {
  font-size: 0.82rem;
  margin: 0.7rem 0 0;
  opacity: 0.88;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem 2rem;
}

.contact-panel .contact-list {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.contact-list dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 6px;
  background: var(--red-soft);
  color: var(--red);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 0.88rem;
  height: 0.88rem;
}

.contact-icon--wechat {
  background: #e8f8ef;
  color: #07c160;
}

.contact-list dd {
  margin: 0;
  font-weight: 600;
  padding-left: calc(1.4rem + 0.4rem);
}

.contact-list a {
  color: var(--ink);
}

/* Product page hero */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(231, 76, 60, 0.12), transparent 55%),
    var(--white);
}

.page-hero .kicker {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.page-hero p {
  color: var(--ink-muted);
  max-width: 36em;
  margin: 0;
}

.page-hero .btn-group {
  margin-top: 1.5rem;
}

.release-page .site-footer {
  padding-top: 1.5rem;
}

.release-page .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* App 应用发布页 */
.release-main {
  padding-top: var(--header-h);
}

.release-hero {
  padding: 2.5rem 0 0;
  background:
    radial-gradient(ellipse 70% 60% at 100% 0%, rgba(231, 76, 60, 0.12), transparent 55%),
    var(--white);
}

.release-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2.25rem;
}

.release-app {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.release-icon {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(26, 26, 26, 0.14);
}

.release-card h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.05rem);
  margin-bottom: 0.2rem;
}

.release-tagline {
  color: var(--ink-soft);
  margin: 0 0 0.6rem;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.release-meta li + li::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
  margin-right: 0.55rem;
  vertical-align: middle;
}

.release-meta .release-meta-tag + li::before {
  display: none;
}

.release-meta-tag {
  font-weight: 600;
  color: var(--red);
  background: var(--red-soft);
  border-radius: var(--pill);
  padding: 0.15rem 0.65rem;
}

.release-desc {
  max-width: 34em;
  margin: 1.35rem 0 1.5rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.release-desc a {
  white-space: nowrap;
  font-weight: 500;
}

.release-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.release-action[hidden] {
  display: none;
}

.release-action .btn {
  min-width: 15rem;
}

.release-download-icon {
  width: 18px;
  height: 18px;
}

.release-action-lead {
  margin: 0;
  font-weight: 600;
}

.release-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.release-agree {
  margin: 1.1rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.release-qr {
  text-align: center;
  padding: 1.1rem 1.15rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.release-qr canvas {
  display: block;
  width: 176px;
  height: 176px;
  margin: 0 auto 0.6rem;
}

.release-qr p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* 分发渠道 */
.channel-list {
  display: grid;
  gap: 0.85rem;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  transition: border-color 0.2s var(--ease);
}

.channel-item:hover {
  border-color: rgba(231, 76, 60, 0.35);
}

.channel-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
}

.channel-icon-ios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--ink-muted);
}

.channel-icon-ios svg {
  width: 26px;
  height: 26px;
}

.channel-text {
  flex: 1;
  min-width: 0;
}

.channel-text h3 {
  font-size: 1.02rem;
  margin-bottom: 0.2rem;
}

.channel-text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.channel-item .btn {
  flex-shrink: 0;
}

.channel-item.is-pending {
  background: transparent;
  border-style: dashed;
}

.channel-item.is-pending:hover {
  border-color: var(--line);
}

.channel-state {
  flex-shrink: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 0.35rem 0.85rem;
}

/* 应用信息与安装帮助 */
.release-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-table {
  margin: 0;
}

.info-table > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--line);
}

.info-table > div:last-child {
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.info-table dd {
  margin: 0;
  font-size: 0.92rem;
}

.release-disclaimer {
  margin: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1.15rem;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  transition: color 0.2s var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--red);
}

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-muted);
  border-bottom: 2px solid var(--ink-muted);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-list details p {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* 微信内打开引导 */
.wechat-tip {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
  padding: 1.25rem;
}

body.is-wechat .wechat-tip {
  display: block;
}

body.is-wechat .wechat-tip.is-hidden {
  display: none;
}

.wechat-tip-arrow {
  position: absolute;
  top: 0.75rem;
  right: 1.15rem;
  text-align: right;
  font-weight: 700;
  font-size: 1.05rem;
}

.wechat-tip-arrow::after {
  content: "↗";
  display: block;
  font-size: 2rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.wechat-tip-inner {
  max-width: 22em;
  margin: 5.5rem auto 0;
  padding: 1.5rem 1.35rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
}

.wechat-tip-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wechat-tip-inner p {
  line-height: 1.75;
}

.wechat-tip-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.wechat-tip-close {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.wechat-tip-close:hover {
  border-color: var(--white);
  color: var(--white);
}

@media (max-width: 960px) {
  .release-card,
  .release-detail {
    grid-template-columns: 1fr;
  }

  .release-detail {
    gap: 2.5rem;
  }

  .release-qr {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .release-hero {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .release-card {
    padding: 1.5rem 1.25rem;
    gap: 1.75rem;
  }

  .release-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .release-app {
    gap: 0.9rem;
  }

  .release-action {
    align-items: stretch;
  }

  .release-action .btn {
    min-width: 0;
    width: 100%;
  }

  .release-qr {
    display: none !important;
  }

  .channel-item {
    flex-wrap: wrap;
  }

  .channel-text {
    flex-basis: calc(100% - 3.5rem);
  }

  .channel-item .btn,
  .channel-state {
    flex: 1 1 100%;
    text-align: center;
  }

  .info-table > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* Feature list */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
}

.section-alt .feature-item {
  background: var(--surface);
}

.feature-item h3 {
  font-size: 1.05rem;
}

.feature-item p {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-reverse {
  grid-template-columns: 1fr 1.15fr;
}

.split-reverse .split-copy {
  order: 2;
}

/* TV frame */
.tv-frame {
  background: #1a1a1c;
  border-radius: 18px;
  padding: 12px 12px 22px;
  box-shadow: 0 24px 56px rgba(26, 26, 26, 0.2);
}

.tv-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
  background: #111;
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  max-width: 100%;
}

.gallery-tabs button {
  font-family: var(--font);
  font-size: 0.88rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  flex-shrink: 0;
}

.gallery-tabs button.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* WeChat search block on subpages */
.wx-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--red-soft);
  border-radius: 20px;
  padding: 1.75rem 1.75rem;
}

.wx-block .search-bar {
  box-shadow: var(--shadow);
}

.wx-block h2 {
  font-size: 1.45rem;
}

.wx-block p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: #1a1413;
  color: rgba(255, 255, 255, 0.65);
  padding: 3.25rem 0 1.75rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2.25rem;
}

.footer-grid-oa {
  grid-template-columns: 1.3fr 0.9fr 0.9fr auto;
  align-items: start;
}

.footer-oa img {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  background: var(--white);
  padding: 6px;
}

.download-qr {
  background: var(--white) !important;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #ffb4ac;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  display: grid;
  gap: 0.45rem;
}

.footer-note {
  font-size: 0.82rem;
  line-height: 1.65;
  opacity: 0.8;
  margin-top: 0.75rem;
}

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  line-height: 1.55;
  text-align: right;
  margin-left: auto;
}

.footer-legal p {
  margin: 0;
}

.footer-legal .footer-sep {
  margin: 0 0.45rem;
  opacity: 0.45;
}

.footer-zinfo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
  line-height: 0;
}

.footer-zinfo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-zinfo:hover {
  color: inherit;
  opacity: 0.92;
}

.copy-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.copy-link:hover {
  color: var(--red);
}

.site-footer .copy-link:hover {
  color: #ffb4ac;
}

/* Reveal */
.reveal {
  transform: translateY(16px);
  transition: transform 0.55s var(--ease);
}

.reveal.is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    transition: none;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.35rem;
  border-radius: var(--pill);
  font-size: 0.9rem;
  z-index: 320;
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow);
  max-width: min(90vw, 360px);
  text-align: center;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .cap-grid,
  .lottery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid-oa {
    grid-template-columns: 1fr 1fr;
  }

  .cta-panel,
  .contact-panel,
  .split,
  .split-reverse,
  .wx-block {
    grid-template-columns: 1fr;
  }

  .contact-qr-card {
    justify-self: start;
  }

  .split-reverse .split-copy {
    order: 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav a.is-active::after {
    display: none;
  }

  .nav .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
    border-radius: var(--pill);
  }

  .hero {
    min-height: auto;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    max-width: 320px;
    margin-inline: auto;
  }

  .device-stack {
    min-height: 360px;
  }

  .product-grid,
  .cap-grid,
  .lottery-grid,
  .feature-grid,
  .step-list,
  .contact-list,
  .footer-grid,
  .footer-grid-oa {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 1.5rem 1.25rem;
  }

  .footer-legal {
    text-align: left;
    margin-left: 0;
    width: 100%;
  }

  .cta-panel,
  .wx-block {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .cta-panel {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* 隐私政策等法律文本 */
.legal-page {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  background: var(--white);
}

.legal-article {
  max-width: 40em;
}

.legal-article .kicker {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.legal-article h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.legal-article h2 {
  font-size: 1.15rem;
  margin: 1.85rem 0 0.7rem;
}

.legal-article h3 {
  font-size: 1rem;
  margin: 1.15rem 0 0.45rem;
}

.legal-article p,
.legal-article li {
  color: var(--ink-soft);
  line-height: 1.8;
}

.legal-article ul {
  margin: 0 0 1em;
  padding-left: 1.25em;
  list-style: disc;
}

.legal-article li {
  margin-bottom: 0.4rem;
}

.release-agree a {
  color: inherit;
  text-decoration: underline;
}
