:root { --ink: #f6f2ff; --purple: #21105e; --footer: #18074d; --focus: #70ebff; }
* { box-sizing: border-box; }
html { background: var(--footer); scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink); font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif; background: #221265; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
.landing-page { position: relative; overflow: hidden; min-height: 1000px; background: #241267 url("/下载导图gowin/素材导图/背景大图.webp") center top / cover no-repeat; }
.landing-page::after { display: block; height: clamp(110px, 8vw, 158px); content: ""; }
.hero { position: relative; min-height: clamp(720px, 66.45vw, 1276px); overflow: visible; }
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; pointer-events: none; }
.hero-art--mobile { display: none; }
.hero-content { position: relative; z-index: 1; width: 100%; height: 100%; margin: 0; padding: clamp(14px, 1.5vw, 29px) clamp(26px, 4.5vw, 85px); }
.brand { display: block; width: clamp(90px, 7vw, 134px); transition: filter .2s ease, transform .2s ease; }
.brand:hover { filter: brightness(1.22); transform: translateY(-2px); }
.hero-actions { position: absolute; top: clamp(14px, 1.5vw, 29px); right: clamp(26px, 4.5vw, 85px); display: flex; gap: 10px; }
.hero-actions a { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid #d4d8ff8c; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-decoration: none; background: #17104aa6; box-shadow: inset 0 1px 0 #ffffff38, 0 5px 14px #12054073; backdrop-filter: blur(5px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.hero-actions a:hover { border-color: #fff; background: #4d3ca7cf; transform: translateY(-2px); }.hero-actions a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero-title { width: clamp(330px, 33.5vw, 640px); margin-top: clamp(42px, 3.5vw, 67px); }
.hero-tagline { width: clamp(310px, 30vw, 575px); margin-top: 2px; }
.download-panel { width: clamp(600px, 38vw, 740px); margin-top: clamp(20px, 2vw, 38px); }
.download-primary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.play-button, .store-button, .download-option { display: flex; align-items: center; justify-content: center; border: 0; color: inherit; font: inherit; text-align: center; text-decoration: none; cursor: pointer; transition: filter .2s ease, transform .2s ease, box-shadow .2s ease; }
.play-button:hover, .store-button:hover, .download-option:hover { filter: brightness(1.18); transform: translateY(-3px); }
.play-button:focus-visible, .store-button:focus-visible, .download-option:focus-visible, .site-footer a:focus-visible, .brand:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.play-button { grid-column: 1 / -1; min-height: 118px; flex-direction: column; gap: 8px; border-radius: 22px; background: linear-gradient(112deg, #a14cef, #3197f4); box-shadow: 0 12px 19px #16094caa; }
.button-main { font-size: clamp(20px, 1.55vw, 30px); font-weight: 700; line-height: 1.08; }.button-sub { font-size: clamp(12px, .82vw, 16px); font-weight: 500; line-height: 1.25; }
.store-buttons { display: contents; }
.store-button, .download-option { position: relative; min-height: 130px; padding: 0 clamp(42px, 3.7vw, 68px); border-radius: 22px; background: linear-gradient(135deg, #1d2044, #0a1132); box-shadow: 0 9px 15px #150948aa; }
.platform-icon { position: absolute; top: clamp(18px, 2vw, 28px); left: clamp(18px, 2vw, 28px); width: clamp(32px, 3vw, 47px); height: auto; opacity: .66; }
.store-copy { display: flex; flex-direction: column; align-items: center; gap: 8px; transform: translateY(-14px); }.download-option > span { transform: translateY(-18px); }.download-icon { position: absolute; bottom: clamp(10px, .9vw, 16px); left: 50%; width: clamp(17px, 1.5vw, 29px); height: auto; opacity: .65; transform: translateX(-50%); }
.download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.download-option { font-size: clamp(17px, 1.3vw, 25px); font-weight: 600; line-height: 1.15; }
.pwa-tip { margin: 10px 0 0; color: #fff; font-size: 14px; line-height: 1.45; text-align: center; text-shadow: 0 2px 5px #130642; }
.content-section { position: relative; z-index: 1; width: min(93vw, 1792px); margin: 0 auto; text-align: center; }
.image-heading { display: flex; justify-content: center; margin: 0; }
.image-heading img { width: auto; max-width: min(82vw, 700px); height: auto; }
.how-section { padding-top: clamp(82px, 6.3vw, 121px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(30px, 5vw, 95px); width: min(100%, 1710px); margin: clamp(35px, 4.3vw, 82px) auto 0; }
.steps img { width: 100%; filter: drop-shadow(0 13px 10px #13074799); }
.games-section { padding-top: clamp(95px, 7vw, 134px); }
.game-grid { width: min(100%, 1743px); margin: clamp(35px, 4vw, 78px) auto 0; }
.rewards-section { padding-top: clamp(95px, 7vw, 134px); }
.reward-art { width: min(100%, 1792px); margin: clamp(35px, 4vw, 75px) auto 0; }
.feature-section { position: relative; z-index: 1; width: min(89vw, 1710px); margin: clamp(95px, 8vw, 155px) auto 0; }
.feature-section img { width: 100%; }
.site-footer { min-height: 230px; padding: 31px 20px 26px; border-top: 2px solid #89711e; color: #a8a0c4; text-align: center; letter-spacing: .07em; background: var(--footer); font-size: 14px; }
.site-footer > img { width: 85px; margin: 0 auto 14px; }
.site-footer nav { display: flex; justify-content: center; gap: 42px; margin-bottom: 14px; }
.site-footer a { text-underline-offset: 4px; transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.site-footer p { max-width: 770px; margin: 5px auto; line-height: 1.35; }
.language-link { display: inline-block; margin-top: 13px; font-size: 12px; opacity: .8; }
.back-to-top {
  position: fixed;
  z-index: 20;
  right: clamp(16px, 2.5vw, 42px);
  bottom: clamp(18px, 3vw, 44px);
  display: grid;
  width: 58px;
  height: 58px;
  padding: 0;
  place-items: center;
  border: 1px solid #a9edff99;
  border-radius: 18px;
  color: #f9fbff;
  background:
    linear-gradient(135deg, #9ceeff26, transparent 48%),
    linear-gradient(145deg, #5c4dd4f5, #24155df7 72%);
  box-shadow:
    inset 0 1px 0 #ffffff4d,
    inset 0 -1px 0 #16043a80,
    0 10px 25px #09032380,
    0 0 22px #7654ee59;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.94);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.back-to-top::before {
  position: absolute;
  inset: 6px;
  border: 1px solid #d5f8ff40;
  border-radius: 13px;
  content: "";
  pointer-events: none;
}
.back-to-top__icon { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; }
.back-to-top__icon svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; filter: drop-shadow(0 2px 3px #16064f99); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.back-to-top:hover { border-color: #d9fbff; background: linear-gradient(135deg, #c3f5ff40, transparent 50%), linear-gradient(145deg, #7064e5, #312176 74%); box-shadow: inset 0 1px 0 #ffffff80, inset 0 -1px 0 #16043a80, 0 13px 28px #09032399, 0 0 28px #8b6dff80; transform: translateY(-3px) scale(1.03); }
.back-to-top:active { transform: translateY(0) scale(.97); }
.back-to-top:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
@media (max-width: 700px) {
  .landing-page { background-color: #241267; background-size: auto 3500px; background-position: center -800px; }
  .hero { min-height: 475px; padding-bottom: 0; overflow: hidden; }
  .hero-art--desktop { display: none; }
  .hero-art--mobile { display: block; inset: 0 auto auto 0; width: 100%; min-width: 0; height: auto; max-width: none; transform: none; }
  .hero-content { width: 100%; padding: 12px 17px 0; }
  .brand { display: none; }
  .hero-actions { top: 12px; right: 12px; gap: 6px; }.hero-actions a { min-height: 30px; padding: 0 10px; font-size: 11px; }
  .hero-title { position: absolute; z-index: 1; top: clamp(112px, 28vw, 170px); left: 50%; width: min(92vw, 500px); margin: 0; transform: translateX(-50%); }
  .hero-tagline { position: absolute; z-index: 1; top: clamp(207px, 51vw, 304px); left: 50%; width: min(76vw, 410px); margin: 0; transform: translateX(-50%); }
  .download-panel { position: absolute; z-index: 2; top: clamp(282px, 70vw, 416px); left: 50%; width: min(75vw, 410px); margin: 0; transform: translateX(-50%); }
  .download-primary { gap: 10px; }.play-button { min-height: 61px; gap: 3px; border-radius: 12px; }.button-main { font-size: 16px; }.store-button .button-main { font-size: 13px; }.button-sub { font-size: 10px; }
  .store-button, .download-option { min-height: 70px; padding: 0 24px; border-radius: 9px; }.platform-icon { top: 10px; left: 12px; width: 18px; }.store-copy { gap: 3px; transform: translateY(-8px); }.download-option > span { transform: translateY(-8px); }.download-icon { bottom: 6px; width: 13px; }.download-options { gap: 8px; }.download-option { font-size: 13px; }
  .content-section { width: min(93vw, 600px); }
  .how-section { padding-top: 40px; }
  .image-heading img { max-width: min(68vw, 440px); }
  .steps { gap: 12px; width: 100%; margin-top: 37px; }
  .games-section { padding-top: 63px; }
  .game-grid { width: min(93vw, 560px); margin-top: 35px; }
  .rewards-section { padding-top: 68px; }
  .reward-art { width: min(100%, 590px); margin-top: 35px; }
  .feature-section { width: min(92vw, 560px); margin: 67px auto 0; }
  .landing-page::after { height: 76px; }
  .site-footer { min-height: 190px; padding: 22px 18px; font-size: 11px; }
  .site-footer > img { width: 62px; margin-bottom: 10px; }
  .site-footer nav { gap: 28px; margin-bottom: 10px; }
  .back-to-top { width: 48px; height: 48px; right: 15px; bottom: 18px; border-radius: 15px; }.back-to-top::before { inset: 5px; border-radius: 11px; }.back-to-top__icon { width: 26px; height: 26px; }
}
@media (max-width: 390px) { .hero { min-height: 450px; } .download-panel { top: 280px; } .play-button { min-height: 58px; } .store-button, .download-option { min-height: 62px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
