:root {
  color-scheme: dark;
  --bg: #071014;
  --panel: rgba(13, 25, 31, 0.78);
  --panel-strong: #10222a;
  --line: rgba(186, 255, 232, 0.18);
  --text: #f4fbf8;
  --muted: #9eb4b0;
  --cyan: #33e0c4;
  --lime: #b8f25f;
  --rose: #ff5f8f;
  --amber: #ffc04d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 20% 12%, rgba(51, 224, 196, 0.17), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(255, 95, 143, 0.16), transparent 26%),
    linear-gradient(180deg, #071014 0%, #09161b 46%, #05090c 100%);
  color: var(--text);
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
code {
  color: var(--lime);
  background: rgba(184, 242, 95, 0.08);
  border: 1px solid rgba(184, 242, 95, 0.16);
  border-radius: 6px;
  padding: 2px 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(7, 16, 20, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand, .top-nav, .hero-actions, .site-footer, .header-actions {
  display: flex;
  align-items: center;
}
.brand { gap: 10px; font-weight: 800; }
.brand img { width: 34px; height: 34px; }
.top-nav { gap: 8px; color: var(--muted); }
.top-nav a {
  border-radius: 8px;
  padding: 9px 12px;
}
.top-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.header-actions { justify-self: end; gap: 10px; }
.nav-cta { color: #06100e; background: var(--cyan); border-radius: 8px; padding: 10px 16px; font-weight: 800; }
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(184, 242, 95, 0.38);
  border-radius: 8px;
  padding: 10px 16px;
  color: var(--lime);
  background: rgba(184, 242, 95, 0.08);
  font-weight: 850;
}
.download-button:hover {
  border-color: rgba(184, 242, 95, 0.72);
  background: rgba(184, 242, 95, 0.14);
}

.section-band, .pricing, .feature-strip {
  padding-inline: clamp(18px, 5vw, 72px);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 68px);
  padding-top: 46px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51, 224, 196, 0.5), transparent);
}
.eyebrow, .section-heading span, .modal-heading span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
}
.hero p {
  max-width: 700px;
  color: #c4d5d1;
  font-size: 18px;
  line-height: 1.75;
}
.hero-actions { gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.primary-button, .ghost-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 850;
}
.primary-button {
  color: #06100e;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  box-shadow: 0 16px 40px rgba(51, 224, 196, 0.22);
}
.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
}
.hero-download { min-height: 44px; }
.full { width: 100%; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
  max-width: 620px;
}
.hero-metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}
.hero-metrics strong { display: block; font-size: 24px; color: var(--lime); }
.hero-metrics span { color: var(--muted); font-size: 13px; }

.hero-visual { position: relative; }
.screen-shell {
  position: relative;
  border: 1px solid rgba(51, 224, 196, 0.3);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 29, 35, 0.98), rgba(5, 12, 15, 0.96));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.screen-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.screen-topbar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.screen-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}
.screen-topbar span:nth-child(2) { background: var(--amber); }
.screen-topbar span:nth-child(3) { background: var(--cyan); }
.screen-topbar em { margin-left: 8px; color: var(--muted); font-style: normal; font-size: 13px; }
.custom-hero-frame {
  position: relative;
  padding: 16px;
}
.custom-hero-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}
.image-caption {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(3, 10, 13, 0.72);
  backdrop-filter: blur(14px);
}
.image-caption strong { color: var(--text); }
.image-caption span { color: var(--muted); font-size: 13px; }
.live-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 14px;
  padding: 16px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  padding: 16px;
  min-height: 190px;
}
.panel-label { color: var(--cyan); font-size: 13px; font-weight: 800; margin-bottom: 14px; }
.stat-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 0;
  color: var(--muted);
}
.stat-row strong { color: var(--text); }
.pulse-chart { display: flex; align-items: end; gap: 7px; height: 68px; margin-top: 18px; }
.pulse-chart i {
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--cyan), rgba(51, 224, 196, 0.12));
}
.pulse-chart i:nth-child(1) { height: 40%; }
.pulse-chart i:nth-child(2) { height: 68%; }
.pulse-chart i:nth-child(3) { height: 52%; }
.pulse-chart i:nth-child(4) { height: 86%; }
.pulse-chart i:nth-child(5) { height: 60%; }
.pulse-chart i:nth-child(6) { height: 76%; }
.pulse-chart i:nth-child(7) { height: 48%; }
.pk-panel { min-height: 250px; }
.pk-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; color: var(--muted); }
.pk-teams strong { color: var(--lime); font-size: 28px; }
.pk-teams span:last-child { text-align: right; }
.pk-bar {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: contain;
  margin: 8px 0;
  filter: drop-shadow(0 18px 32px rgba(255, 95, 143, 0.2));
}
.multipk {
  display: block;
  image-rendering: auto;
  width: 90px;
  height: 32px;
  margin: -10px auto 12px;
}
.round-card {
  border-radius: 8px;
  background: rgba(184, 242, 95, 0.1);
  border: 1px solid rgba(184, 242, 95, 0.22);
  padding: 12px;
}
.round-card span { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.boss-panel { grid-column: 1 / -1; min-height: auto; }
.boss-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.boss-list div {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  padding: 12px;
}
.boss-list b { color: var(--amber); }
.boss-list span, .boss-list em { display: block; }
.boss-list em { color: var(--muted); font-size: 12px; font-style: normal; margin-top: 5px; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
  background: var(--line);
}
.feature-strip article {
  background: rgba(6, 14, 18, 0.96);
  padding: clamp(22px, 3vw, 34px);
  min-height: 236px;
}
.feature-strip span { color: var(--cyan); font-weight: 850; }
.feature-strip h2 { margin: 44px 0 12px; font-size: 22px; }
.feature-strip p, .mini-preview p { color: var(--muted); line-height: 1.7; margin: 0; }

.showcase, .pricing {
  padding-top: 86px;
  padding-bottom: 86px;
}
.section-heading { max-width: 720px; margin-bottom: 28px; }
.section-heading h2 { margin: 10px 0 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.activity-note {
  margin: 14px 0 0;
  color: var(--lime);
  font-weight: 850;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
}
.wide-preview, .mini-preview, .plan-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.wide-preview { grid-row: span 2; padding: 18px; }
.preview-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  margin-bottom: 18px;
}
.preview-header strong { color: var(--text); }
.custom-showcase-frame {
  border: 1px solid rgba(51, 224, 196, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.24);
}
.custom-showcase-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}
.image-preview {
  display: grid;
  gap: 16px;
}
.image-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
}
.battle-board {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  min-height: 330px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(51, 224, 196, 0.14), rgba(255, 255, 255, 0.04), rgba(255, 95, 143, 0.15));
}
.team {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
}
.team strong { font-size: clamp(28px, 4vw, 54px); }
.team-right { text-align: right; }
.battle-core {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.battle-core img {
  position: absolute;
  width: 135%;
  max-width: none;
  opacity: 0.76;
}
.battle-core span {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px 18px;
  background: rgba(0,0,0,0.35);
  font-weight: 900;
}
.mini-preview { padding: 26px; min-height: 157px; }
.mini-preview strong { display: block; font-size: 22px; margin-bottom: 14px; }
.mini-preview.accent { background: linear-gradient(135deg, rgba(184, 242, 95, 0.13), rgba(51, 224, 196, 0.08)); }

.plans {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.plan-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}
.plan-card.recommended { border-color: rgba(184, 242, 95, 0.55); }
.plan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 27px;
  margin-bottom: 16px;
}
.badge, .activity-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
}
.badge {
  background: rgba(184, 242, 95, 0.12);
  color: var(--lime);
}
.activity-badge {
  color: #06100e;
  background: linear-gradient(135deg, var(--amber), var(--lime));
}
.plan-card h3 { margin: 0 0 8px; font-size: 24px; }
.plan-card p { min-height: 48px; color: var(--muted); line-height: 1.6; }
.price-box { margin: 22px 0; }
.original-price {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
}
.original-price del {
  color: #839894;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
}
.price { font-size: 40px; font-weight: 900; }
.price small { color: var(--muted); font-size: 15px; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; color: #cfe1dc; }
.plan-card li::before { content: "✓"; color: var(--cyan); font-weight: 900; margin-right: 8px; }

.hidden { display: none !important; }

.site-footer {
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
}
.site-footer span { color: var(--text); font-weight: 900; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
}
.modal.active { display: grid; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
}
.modal-panel {
  position: relative;
  width: min(430px, 100%);
  border: 1px solid rgba(51, 224, 196, 0.28);
  border-radius: 8px;
  background: #0d1b21;
  box-shadow: var(--shadow);
  padding: 28px;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  font-size: 22px;
  line-height: 1;
}
.modal-heading h2 { margin: 8px 0; }
.modal-heading p, .pay-status { color: var(--muted); }
.qr-wrap {
  display: none;
  place-items: center;
  margin: 22px auto;
  width: 232px;
  height: 232px;
  border-radius: 8px;
  background: #fff;
}
.qr-wrap.active { display: grid; }
.qr-wrap img { width: 204px; height: 204px; }
.license-result {
  display: none;
  gap: 12px;
  border: 1px solid rgba(184, 242, 95, 0.25);
  border-radius: 8px;
  background: rgba(184, 242, 95, 0.08);
  padding: 14px;
}
.license-result.active { display: grid; }
.license-result span { color: var(--lime); font-weight: 850; }
.license-result strong {
  word-break: break-all;
  user-select: all;
  color: var(--text);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.license-hint {
  color: #cfe1dc;
  font-size: 13px;
  line-height: 1.65;
}
.license-hint p {
  margin: 0 0 8px;
}
.license-hint ul {
  margin: 0;
  padding-left: 18px;
}
.license-hint li + li {
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .hero h1 { font-size: clamp(36px, 5vw, 64px); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }
  .hero, .showcase-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: 12px 16px; }
  .nav-cta { display: none; }
  .header-actions { display: none; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 16px; }
  .hero-metrics, .feature-strip, .boss-list, .battle-board { grid-template-columns: 1fr; }
  .image-caption { position: static; margin-top: 12px; align-items: flex-start; flex-direction: column; }
  .live-grid { grid-template-columns: 1fr; padding: 12px; }
  .boss-panel { grid-column: auto; }
  .preview-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .team-right { text-align: left; }
  .ghost-button, .primary-button, .download-button { width: 100%; text-align: center; }
}
