* { box-sizing: border-box; }
html { margin: 0; background: #0c1018; }
body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
  background: #171215;
}
.hero-backdrop {
  position: absolute;
  z-index: -1;
  inset: -20px;
  background: url("../images/kunlun/jd_bg.jpg") center top / 100% auto no-repeat;
  filter: blur(18px) brightness(.5);
}
.hero-scene {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: max(100vw, 177.7778vh);
  width: max(100vw, 177.7778svh);
  aspect-ratio: 16 / 9;
  transform: translateX(-50%);
  background: url("../images/kunlun/jd_bg.jpg") center top / 100% auto no-repeat;
}
.site-header { position: absolute; z-index: 2; top: 26px; left: 32px; }
.brand { display: block; width: 137px; }
.brand img { width: 100%; height: auto; }
.download-button {
  position: absolute;
  top: 87%;
  left: 50%;
  width: 19.4271%;
  min-width: 168px;
  transform: translateX(-50%);
  transition: filter .2s ease, transform .2s ease;
}
.download-button img { width: 100%; height: auto; }
.download-button:hover { filter: brightness(1.2); transform: translate(-50%, -2px); }
.download-button:active { transform: translate(-50%, 0); }
a:focus-visible { outline: 3px solid #fff1b5; outline-offset: 5px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-footer {
  position: relative;
  padding: 20px 24px 23px;
  background: linear-gradient(180deg, #1a202e 0%, #10151f 55%, #0c1018 100%);
  color: #b7b4b1;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}
.site-footer p { margin: 0; }
.game-copyright { padding-bottom: 10px; color: #b7b4b1; }
.provider-name { color: #d9c49d; font-size: 14px; font-weight: 700; }
.contact { display: inline-block; margin-left: 20px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #f1dcb2; }
.site-footer a:focus-visible { outline-color: #f1dcb2; }
@media (max-width: 767px), (max-aspect-ratio: 4/3) {
  .hero { height: 65vh; height: 65svh; min-height: 420px; }
  .hero-scene {
    width: min(150vw, 115.5556svh);
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    background: none;
  }
  .hero-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/kunlun/jd_bg.jpg") center top / 100% auto no-repeat;
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 88%, transparent);
    pointer-events: none;
  }
  .hero-backdrop { background-size: auto 170%; }
  .site-header { top: 16px; left: 16px; }
  .download-button { top: 87%; min-width: 176px; }
  .site-footer { padding: 18px 16px 24px; }
  .contact { display: block; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .download-button { transition: none; }
}
