:root {
  color-scheme: dark;
  --bg: #070707;
  --bg-soft: #111111;
  --surface: rgba(16, 16, 16, 0.86);
  --surface-strong: rgba(26, 24, 19, 0.94);
  --line: rgba(221, 176, 91, 0.24);
  --line-strong: rgba(242, 207, 139, 0.56);
  --gold: #d7a84f;
  --gold-light: #f3d08a;
  --ice: #eef4ff;
  --blue: #3a75ff;
  --violet: #7b5cff;
  --electric: #35d7ff;
  --mint: #63d6c6;
  --red: #ff5a5f;
  --text: #f7f1e6;
  --muted: #bdb5aa;
  --dark-text: #15120b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(7, 7, 7, 0.04), var(--bg) 760px),
    radial-gradient(circle at 14% 4%, rgba(58, 117, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(123, 92, 255, 0.16), transparent 26rem),
    radial-gradient(circle at 55% 0%, rgba(215, 168, 79, 0.08), transparent 24rem),
    #070707;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 74%);
  animation: circuitDrift 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  background-size: 100% 6px;
  opacity: 0.18;
  mix-blend-mode: overlay;
  animation: scanNoise 4.8s linear infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

main {
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(16px, 4vw, 64px);
  border-bottom: 1px solid rgba(215, 168, 79, 0.18);
  background: rgba(7, 7, 7, 0.8);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--electric), var(--gold-light));
  box-shadow: 0 0 18px rgba(53, 215, 255, 0.48);
  transition: width 120ms linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.brand picture {
  display: grid;
  place-items: center;
  width: 104px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: brandSignal 5.4s ease-in-out infinite;
}

.brand span {
  overflow-wrap: anywhere;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(215, 168, 79, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--gold-light);
  transform: translateY(-1px);
  border-color: rgba(243, 208, 138, 0.44);
  background: rgba(215, 168, 79, 0.08);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 9em;
  font-size: clamp(44px, 7vw, 94px);
  font-weight: 900;
  text-shadow:
    0 0 28px rgba(58, 117, 255, 0.18),
    0 12px 36px rgba(0, 0, 0, 0.54);
}

.home-page h1 {
  color: var(--ice);
  animation: titleGlow 5.2s ease-in-out infinite;
}

h2 {
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 850;
}

h3 {
  font-size: 22px;
  font-weight: 800;
}

p {
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero,
.game-hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(16px, 6vw, 96px);
  overflow: hidden;
  isolation: isolate;
}

.home-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
}

.home-hero::before,
.game-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.92), rgba(7, 7, 7, 0.48), rgba(7, 7, 7, 0.9)),
    url("assets/hero-bg.png?v=20260622-1818") center / cover;
  opacity: 0.72;
}

.home-hero::after,
.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at var(--cursor-x, 68%) var(--cursor-y, 26%), rgba(58, 117, 255, 0.2), transparent 22rem),
    repeating-linear-gradient(90deg, rgba(123, 92, 255, 0.11) 0 1px, transparent 1px 120px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  background-size: auto, 120px 100%, auto;
  animation: heroCircuitDrift 11s linear infinite;
}

.hero-surface {
  width: min(840px, 100%);
}

.hero-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 760px);
  aspect-ratio: 1280 / 420;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(53, 215, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #05060b;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.58),
    0 0 44px rgba(58, 117, 255, 0.2);
  perspective: 1100px;
  transform:
    perspective(1100px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(0);
  transform-style: preserve-3d;
  animation: logoFloat 5.6s ease-in-out infinite;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.hero-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 24% 78%, rgba(123, 92, 255, 0.38), transparent 34%),
    radial-gradient(ellipse at 44% 62%, rgba(53, 215, 255, 0.18), transparent 38%),
    linear-gradient(90deg, rgba(58, 117, 255, 0.08), transparent 34%, rgba(123, 92, 255, 0.08));
  box-shadow: inset 0 0 80px rgba(53, 215, 255, 0.08);
  animation: logoHalo 4.8s ease-in-out infinite;
}

.hero-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background:
    linear-gradient(108deg, transparent 0 36%, rgba(255, 255, 255, 0.3), transparent 58%),
    linear-gradient(180deg, rgba(53, 215, 255, 0), rgba(53, 215, 255, 0.14), rgba(123, 92, 255, 0));
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-70%) skewX(-14deg);
  pointer-events: none;
  animation: logoSweep 5.8s ease-in-out infinite;
}

.hero-logo img {
  position: relative;
  z-index: 1;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  object-fit: cover;
  filter: drop-shadow(0 0 18px rgba(58, 117, 255, 0.25));
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin-top: 22px;
}

.hero-service-strip a {
  position: relative;
  overflow: hidden;
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 13px 14px;
  border: 1px solid rgba(123, 92, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(58, 117, 255, 0.13), rgba(215, 168, 79, 0.07)),
    rgba(9, 9, 9, 0.6);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero-service-strip a::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--card-x, 50%) var(--card-y, 30%), rgba(53, 215, 255, 0.22), transparent 8rem),
    linear-gradient(110deg, transparent 0 42%, rgba(255, 255, 255, 0.16), transparent 60%);
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.hero-service-strip a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.hero-service-strip a > * {
  position: relative;
}

.hero-service-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 215, 255, 0.48);
  background:
    linear-gradient(145deg, rgba(58, 117, 255, 0.2), rgba(215, 168, 79, 0.11)),
    rgba(9, 9, 9, 0.76);
}

.hero-service-strip span {
  color: var(--muted);
  font-size: 13px;
}

.hero-service-strip strong {
  color: var(--ice);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1;
}

.button,
.copy-button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 850;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -72%;
  width: 58%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  opacity: 0;
}

.button:hover::after {
  animation: buttonShine 760ms ease;
}

.button:hover,
.copy-button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(255, 232, 176, 0.56);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark-text);
  box-shadow: 0 12px 34px rgba(215, 168, 79, 0.23);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button.secondary:hover {
  border-color: var(--line-strong);
  background: rgba(215, 168, 79, 0.1);
}

.section,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
}

.intro-section p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.game-card {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(150deg, rgba(215, 168, 79, 0.16), rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--card-x, 82%) var(--card-y, 12%), rgba(53, 215, 255, 0.2), transparent 12rem),
    linear-gradient(120deg, transparent 0 42%, rgba(255, 255, 255, 0.09), transparent 60%);
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.game-card::after,
.service-card::after,
.config-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0 28%, rgba(53, 215, 255, 0.5), rgba(123, 92, 255, 0.28), transparent 55%);
  opacity: 0;
  transform: translateX(-120%);
}

.game-card:hover::after,
.service-card:hover::after,
.config-card:hover::after {
  animation: edgeSweep 900ms ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background:
    linear-gradient(150deg, rgba(215, 168, 79, 0.22), rgba(99, 214, 198, 0.06)),
    var(--surface-strong);
}

.game-card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.game-card > * {
  position: relative;
}

.game-index {
  color: rgba(243, 208, 138, 0.55);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.game-card strong {
  margin-top: auto;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.05;
}

.game-card small {
  min-height: 34px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
}

.card-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  border: 1px solid rgba(243, 208, 138, 0.34);
  border-radius: 6px;
  background: rgba(215, 168, 79, 0.12);
  color: var(--gold-light);
  font-size: 14px;
  font-weight: 850;
}

.other-game-card {
  grid-column: 1 / -1;
  min-height: 150px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(58, 117, 255, 0.18), rgba(123, 92, 255, 0.12), rgba(215, 168, 79, 0.1)),
    var(--surface-strong);
}

.other-game-card .game-index {
  font-size: clamp(42px, 6vw, 72px);
  color: var(--electric);
}

.other-game-card strong {
  margin-top: 0;
  font-size: clamp(30px, 4vw, 50px);
}

.other-game-card small {
  min-height: 0;
}

.other-game-card .card-action {
  min-width: min(220px, 100%);
  margin-top: 0;
  border-color: rgba(53, 215, 255, 0.4);
  color: var(--ice);
  background: rgba(58, 117, 255, 0.16);
}

.setup-section {
  border-top: 1px solid rgba(215, 168, 79, 0.14);
}

.services-section {
  border-top: 1px solid rgba(215, 168, 79, 0.14);
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.014)),
    var(--surface);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service-card::before,
.config-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 22%), rgba(53, 215, 255, 0.16), transparent 12rem);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover::before,
.config-card:hover::before {
  opacity: 1;
}

.service-card > *,
.config-card > * {
  position: relative;
}

.service-card.featured {
  grid-row: span 2;
  border-color: rgba(53, 215, 255, 0.32);
  background:
    linear-gradient(145deg, rgba(58, 117, 255, 0.15), rgba(215, 168, 79, 0.05)),
    var(--surface-strong);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 215, 255, 0.48);
  background:
    linear-gradient(145deg, rgba(58, 117, 255, 0.16), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.service-index {
  color: rgba(238, 244, 255, 0.54);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
}

.service-tag {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(53, 215, 255, 0.28);
  border-radius: 999px;
  color: var(--ice);
  font-size: 13px;
}

.service-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.spec-list li {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 32px;
  border: 1px solid rgba(58, 117, 255, 0.2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
}

.spec-list li::before {
  content: "";
  position: absolute;
  left: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 16px rgba(53, 215, 255, 0.75);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-grid article,
.menu-note,
.config-card,
.contact-section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.014)),
    var(--surface);
}

.info-grid article {
  min-height: 210px;
  padding: 24px;
}

.info-grid span,
.menu-note span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--gold-light);
  font-weight: 900;
}

.info-grid p,
.menu-note p,
.config-card p,
.contact-content p:not(.eyebrow),
.game-switcher p {
  color: var(--muted);
}

.game-hero {
  min-height: 560px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.game-hero-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.36);
  box-shadow: var(--shadow);
}

.game-hero-panel a {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(215, 168, 79, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.game-hero-panel a:hover,
.game-hero-panel a.is-current {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(215, 168, 79, 0.13);
  color: var(--text);
}

.game-hero-panel a.home-link,
.switcher-grid a.home-link {
  border-color: rgba(53, 215, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(58, 117, 255, 0.2), rgba(123, 92, 255, 0.12)),
    rgba(255, 255, 255, 0.04);
  color: var(--ice);
}

.game-hero-panel a.home-link:hover,
.switcher-grid a.home-link:hover {
  border-color: rgba(53, 215, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(58, 117, 255, 0.28), rgba(123, 92, 255, 0.18)),
    rgba(255, 255, 255, 0.05);
}

.game-hero-panel span {
  color: var(--gold-light);
  font-weight: 900;
}

.menu-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
}

.menu-note p {
  margin: 6px 0 0;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.config-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: clamp(22px, 3vw, 32px);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.config-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(215, 168, 79, 0.14), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.config-card.featured {
  border-color: rgba(243, 208, 138, 0.5);
  background:
    linear-gradient(145deg, rgba(215, 168, 79, 0.2), rgba(99, 214, 198, 0.045)),
    var(--surface-strong);
}

.config-card.wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.config-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.config-head span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid rgba(215, 168, 79, 0.22);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 13px;
}

.config-head strong {
  color: var(--gold-light);
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 0.95;
}

.config-head strong::before {
  content: "¥";
  margin-right: 3px;
  font-size: 0.42em;
  vertical-align: super;
}

.config-card ul {
  display: grid;
  gap: 11px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.config-card li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
  line-height: 1.55;
}

.config-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(215, 168, 79, 0.72);
}

.config-card li:first-child::before {
  background: var(--mint);
  box-shadow: 0 0 14px rgba(99, 214, 198, 0.56);
}

.game-switcher {
  border-top: 1px solid rgba(215, 168, 79, 0.14);
}

.vtd-jump-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 132px;
  margin: 0 0 14px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(243, 208, 138, 0.5);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(215, 168, 79, 0.18), rgba(99, 214, 198, 0.06)),
    var(--surface-strong);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.vtd-jump-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.2) 50%, transparent 62%);
  transform: translateX(-42%) rotate(8deg);
  opacity: 0.36;
  transition: transform 420ms ease;
}

.vtd-jump-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(215, 168, 79, 0.24), rgba(99, 214, 198, 0.08)),
    var(--surface-strong);
}

.vtd-jump-card:hover::before {
  transform: translateX(42%) rotate(8deg);
}

.vtd-jump-card span,
.vtd-jump-card strong,
.vtd-jump-card small {
  position: relative;
}

.vtd-jump-card span {
  color: rgba(238, 244, 255, 0.48);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.vtd-jump-card strong {
  color: var(--text);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
}

.vtd-jump-card small {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.switcher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.switcher-grid a {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 850;
  text-align: center;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.switcher-grid a:hover,
.switcher-grid a.is-current {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(215, 168, 79, 0.13);
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(58px, 8vw, 96px);
  padding: clamp(24px, 5vw, 54px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(243, 208, 138, 0.13), transparent);
  transform: translateX(-120%);
  animation: contactSweep 5.8s ease-in-out infinite;
}

.contact-section > * {
  position: relative;
}

.contact-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  font-size: 17px;
}

.contact-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.32);
}

.qr-box {
  aspect-ratio: 1;
  padding: 8px;
  border: 1px solid rgba(215, 168, 79, 0.28);
  border-radius: 6px;
  background: #fff;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.contact-details p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid rgba(215, 168, 79, 0.12);
  color: var(--muted);
  line-height: 1.5;
}

.contact-details .wechat-row {
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: center;
}

.contact-details p:last-child {
  border-bottom: 0;
}

.contact-details strong {
  color: var(--text);
}

.contact-details span {
  overflow-wrap: anywhere;
}

.copy-button {
  min-height: 36px;
  padding: 0 12px;
  background: rgba(215, 168, 79, 0.14);
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.copy-button:hover {
  border-color: rgba(243, 208, 138, 0.72);
  background: rgba(215, 168, 79, 0.24);
  color: var(--text);
}

.copy-button.is-copied {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--dark-text);
}

.mobile-dock {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(16px, 4vw, 64px);
  border-top: 1px solid rgba(215, 168, 79, 0.16);
  background: #050505;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  line-height: 1.6;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes buttonShine {
  0% {
    left: -72%;
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

@keyframes circuitDrift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 48px 48px, -48px 48px;
  }
}

@keyframes scanNoise {
  0%,
  100% {
    background-position: 0 0;
    opacity: 0.12;
  }

  50% {
    background-position: 0 18px;
    opacity: 0.22;
  }
}

@keyframes heroCircuitDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 0 0, 120px 0, 0 0;
  }
}

@keyframes brandSignal {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(53, 215, 255, 0));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(53, 215, 255, 0.35));
  }
}

@keyframes titleGlow {
  0%,
  100% {
    text-shadow:
      0 0 22px rgba(58, 117, 255, 0.16),
      0 12px 36px rgba(0, 0, 0, 0.54);
  }

  50% {
    text-shadow:
      0 0 36px rgba(53, 215, 255, 0.28),
      0 0 58px rgba(123, 92, 255, 0.2),
      0 12px 36px rgba(0, 0, 0, 0.54);
  }
}

@keyframes logoHalo {
  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform:
      perspective(1100px)
      rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg))
      translateY(0);
  }

  50% {
    transform:
      perspective(1100px)
      rotateX(var(--tilt-x, 0deg))
      rotateY(var(--tilt-y, 0deg))
      translateY(-10px);
  }
}

@keyframes logoSweep {
  0%,
  58% {
    opacity: 0;
    transform: translateX(-78%) skewX(-14deg);
  }

  70% {
    opacity: 0.62;
  }

  88%,
  100% {
    opacity: 0;
    transform: translateX(78%) skewX(-14deg);
  }
}

@keyframes edgeSweep {
  0% {
    opacity: 0;
    transform: translateX(-120%);
  }

  22% {
    opacity: 0.55;
  }

  100% {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes contactSweep {
  0%,
  62% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-logo {
    width: min(100%, 680px);
    justify-items: start;
  }

  .hero-logo img {
    width: 100%;
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .other-game-card {
    grid-column: 1 / -1;
  }

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

  .game-hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .info-grid,
  .intro-section,
  .service-grid,
  .config-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-row: auto;
  }

  .config-card.wide {
    grid-column: auto;
  }

  .switcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 78px;
  }

  body::after {
    opacity: 0.1;
  }

  .site-header {
    padding: 10px 14px 9px;
    gap: 9px;
  }

  .brand picture {
    width: 90px;
    height: 30px;
  }

  .brand span {
    font-size: 15px;
  }

  .nav-links {
    gap: 8px;
    font-size: 13px;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0 10px;
  }

  .home-hero,
  .game-hero {
    min-height: auto;
    padding: 42px 14px 38px;
  }

  .hero-logo {
    width: 100%;
    margin-top: 8px;
  }

  .hero-logo img {
    width: 100%;
  }

  .home-hero::before,
  .game-hero::before {
    opacity: 0.48;
  }

  h1 {
    max-width: 6.8em;
    font-size: clamp(39px, 13vw, 58px);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  h3 {
    font-size: 21px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow),
  .contact-content p:not(.eyebrow),
  .config-card p,
  .menu-note p {
    font-size: 15px;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-service-strip {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 16px;
  }

  .hero-service-strip a {
    min-height: 58px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    align-content: center;
    padding: 11px 12px;
  }

  .intro-section {
    gap: 18px;
  }

  .section,
  .contact-section {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 44px 0;
  }

  .game-grid,
  .game-hero-panel,
  .switcher-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-height: 210px;
    padding: 22px;
  }

  .other-game-card {
    min-height: 210px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .game-index {
    font-size: 34px;
  }

  .game-card strong {
    font-size: 34px;
  }

  .other-game-card .game-index {
    font-size: 34px;
  }

  .other-game-card strong {
    margin-top: auto;
    font-size: 34px;
  }

  .other-game-card small {
    min-height: 34px;
  }

  .other-game-card .card-action {
    width: 100%;
    margin-top: 26px;
  }

  .info-grid article,
  .config-card {
    min-height: 0;
    padding: 22px;
  }

  .menu-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .menu-note span {
    margin-bottom: 0;
  }

  .config-head {
    gap: 12px;
  }

  .config-head span {
    max-width: 54%;
    height: auto;
    min-height: 34px;
    white-space: normal;
    line-height: 1.25;
  }

  .config-head strong {
    margin-left: auto;
    font-size: 40px;
  }

  .contact-section {
    padding: 22px;
    gap: 22px;
  }

  .contact-panel {
    padding: 14px;
  }

  .qr-box {
    padding: 6px;
  }

  .contact-details p,
  .contact-details .wechat-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .copy-button {
    width: 100%;
    min-height: 42px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 40;
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(243, 208, 138, 0.32);
    border-radius: 14px;
    background: rgba(7, 7, 7, 0.88);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(18px);
  }

  .mobile-dock a,
  .mobile-dock button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(215, 168, 79, 0.26);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
  }

  .mobile-dock a:nth-child(2) {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--dark-text);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  body::before,
  body::after,
  .home-hero::after,
  .game-hero::after,
  .brand img,
  .home-page h1,
  .hero-logo::before,
  .hero-logo::after,
  .hero-logo img {
    animation: none !important;
  }
}
