:root {
  color-scheme: light;
  --ink: #16211b;
  --muted: #66736c;
  --panel: #ffffff;
  --line: #e3e8e1;
  --green: #0f7d4f;
  --green-dark: #075636;
  --mint: #dff4e7;
  --gold: #d49a21;
  --sky: #dfeffd;
  --wechat: #07c160;
  --wechat-dark: #06a552;
  --bg: #f8faf4;
  --shadow: 0 20px 50px rgba(22, 33, 27, 0.12);
  --radius: 8px;
  --max: 1160px;
  --header: 70px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 84px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 250, 244, 0.88);
  border-bottom: 1px solid rgba(227, 232, 225, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 125, 79, 0.24);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 20px;
  color: var(--ink);
}

.brand-copy span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 999px;
  color: #2c3a32;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--green-dark);
  background: var(--mint);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #cfe3d6;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 760;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.btn--wechat {
  color: #fff;
  background: var(--wechat);
  box-shadow: 0 12px 24px rgba(7, 193, 96, 0.28);
}

.btn--wechat:hover {
  background: var(--wechat-dark);
}

.btn--ghost {
  color: var(--green-dark);
  background: #fff;
  border-color: #cfe3d6;
}

.btn--tg {
  color: #fff;
  background: #229ed9;
  box-shadow: 0 12px 24px rgba(34, 158, 217, 0.28);
}

.btn--tg:hover {
  background: #1b8dc4;
}

.btn--primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(15, 125, 79, 0.22);
}

.btn--primary:hover {
  background: var(--green-dark);
}

.btn--lg {
  min-height: 48px;
  padding: 0 20px;
}

.drawer {
  position: fixed;
  inset: var(--header) 0 0;
  z-index: 35;
  background: rgba(248, 250, 244, 0.98);
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.drawer[hidden] {
  display: none !important;
}

.drawer a {
  font-size: 20px;
  font-weight: 700;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}

.drawer a.is-active {
  color: var(--green-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 58px;
  background:
    linear-gradient(120deg, rgba(248, 250, 244, 0.93) 0%, rgba(248, 250, 244, 0.78) 42%, rgba(223, 244, 231, 0.85) 100%),
    radial-gradient(circle at 76% 26%, rgba(212, 154, 33, 0.28), transparent 34%),
    radial-gradient(circle at 14% 92%, rgba(15, 125, 79, 0.22), transparent 30%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 125, 79, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 125, 79, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: var(--green-dark);
  background: rgba(223, 244, 231, 0.9);
  border: 1px solid #c5e6d1;
  font-size: 13px;
  font-weight: 760;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212, 154, 33, 0.18);
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-modes {
  margin: -6px 0 16px;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.2;
}

.hero-modes em {
  font-style: normal;
  color: var(--gold);
}

.lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #39463e;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.75;
}

.hl {
  color: var(--green-dark);
  font-weight: 800;
  background: linear-gradient(transparent 62%, #ffe08a 62%);
  padding: 0 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
}

.trust-item {
  min-height: 82px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(207, 227, 214, 0.8);
}

.trust-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  color: var(--green-dark);
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #cfe3d6;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
}

.hero-shots {
  position: relative;
  display: grid;
}

.shot-card {
  position: relative;
  width: min(82%, 380px);
  margin: 0;
  grid-area: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #dfe7dd;
  box-shadow: var(--shadow);
  background: #fff;
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.shot-card figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12px;
  background: #fff;
  color: var(--muted);
}

.shot-card--hall {
  justify-self: end;
  align-self: start;
  z-index: 1;
}

.shot-card--club {
  justify-self: start;
  align-self: start;
  margin-top: 26%;
  z-index: 2;
}

.shot-card b {
  color: var(--ink);
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

.section--panel {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-kicker {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 830;
  letter-spacing: 0.04em;
}

.section h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
}

.section-head p,
.section-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mode-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(22, 33, 27, 0.06);
  min-height: 100%;
}

.mode-card--alliance {
  border-color: #ead7a4;
}

.mode-card--hall {
  border-color: #c5e6d1;
}

.mode-card .cover {
  background: #eef6f0;
}

.mode-card .cover img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.mode-body {
  padding: 22px 22px 24px;
}

.mode-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 760;
  background: var(--mint);
  color: var(--green-dark);
}

.mode-card--alliance .mode-tag {
  background: #f8edcc;
  color: #8a6208;
}

.mode-body h3 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.3;
}

.mode-body > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.mode-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.mode-body li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  font-size: 14px;
  color: #34443a;
}

.mode-body li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
}

.mode-card--alliance li::before {
  background: var(--gold);
}

.watermark {
  position: absolute;
  right: 12px;
  bottom: -18px;
  font-size: 92px;
  font-weight: 900;
  opacity: 0.08;
  pointer-events: none;
  line-height: 1;
  color: var(--green);
}

.mode-card--alliance .watermark {
  color: var(--gold);
}

.compare {
  margin-top: 28px;
  overflow: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(22, 33, 27, 0.06);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}

.compare th,
.compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare th {
  color: var(--muted);
  font-weight: 700;
  background: #f5f8f1;
}

.compare th:nth-child(2) {
  color: #8a6208;
}

.compare th:nth-child(3) {
  color: var(--green-dark);
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare td:first-child {
  color: var(--muted);
  width: 18%;
  font-weight: 700;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.game-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -10px 0 22px;
}

.game-pills span {
  padding: 8px 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #cfe3d6;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 760;
}

.game-pills span:last-child {
  background: var(--mint);
  border-color: #c5e6d1;
}

.play-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(22, 33, 27, 0.06);
}

.play-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  cursor: zoom-in;
}

.play-card div {
  padding: 16px 18px 18px;
}

.play-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.play-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.deliver-card {
  min-height: 188px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(22, 33, 27, 0.06);
}

.deliver-card .num {
  color: var(--green);
  font-size: 13px;
  font-weight: 830;
}

.deliver-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.deliver-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.side-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
}

.side-copy .lead {
  margin-top: 12px;
  font-size: 17px;
}

.side-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.side-shot img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: top;
  cursor: zoom-in;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(22, 33, 27, 0.06);
}

.process .num {
  font-size: 22px;
  color: var(--green);
  font-weight: 800;
}

.process h3 {
  margin: 8px 0 6px;
  font-size: 20px;
}

.process p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.cta {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #dce7dc;
  box-shadow: 0 16px 34px rgba(22, 33, 27, 0.08);
}

.cta h2 {
  margin: 0 0 10px;
}

.cta p {
  margin: 0 0 18px;
  color: #34443a;
  font-size: 17px;
}

.cta-meta {
  display: grid;
  gap: 10px;
  align-content: center;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  background: #f5f8f1;
  border: 1px solid #e3eadf;
}

.cta-meta strong {
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  padding: 28px 0 40px;
  color: #6c766f;
  background: #0f2018;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(22, 33, 27, 0.46);
}

.modal__panel {
  position: relative;
  width: min(360px, 100%);
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
}

.modal__panel h3 {
  margin: 0 0 6px;
}

.modal__tip {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.modal__qr {
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: #f5f8f1;
}

.modal__qr img {
  width: 196px;
  height: 196px;
  border-radius: var(--radius);
}

.modal__id {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #f5f8f1;
}

.modal__id-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.modal__copy {
  border: 0;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--wechat);
  color: #fff;
  font-size: 14px;
  font-weight: 780;
}

.modal__copy:hover {
  background: var(--wechat-dark);
}

.modal__copy.is-done {
  background: var(--green-dark);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: rgba(6, 20, 14, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1240px, 100%);
  text-align: center;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox__figure figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  gap: 10px;
}

.float-tg,
.float-wechat {
  min-height: 50px;
  padding: 0 16px;
  border-radius: var(--radius);
  color: #fff;
  border: 0;
  box-shadow: 0 16px 34px rgba(18, 37, 27, 0.22);
  font-weight: 820;
}

.float-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #229ed9;
}

.float-wechat {
  background: var(--wechat);
}

@media (max-width: 980px) {
  .hero-grid,
  .mode-grid,
  .play-grid,
  .deliver-grid,
  .side-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .nav-links,
  .nav-actions .btn--ghost,
  .nav-actions .btn--tg {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-shots {
    gap: 12px;
  }

  .shot-card {
    width: min(100%, 420px);
    grid-area: auto;
    justify-self: center;
    margin-top: 0;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding-bottom: 38px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-actions,
  .trust-strip,
  .process {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 56px 0;
  }

  .cta {
    padding: 24px;
  }
}
