: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-width: 0; text-align: left; }
.download-primary .store-button { display: grid; grid-template-columns: 48px minmax(0, 1fr) 16px; gap: 14px; min-height: 108px; padding: 20px; border: 1px solid #8461df99; border-radius: 20px; background: linear-gradient(125deg, #2c1e61, #121033); box-shadow: inset 0 1px 0 #ffffff0d, 0 8px 20px #08041d40; }
.download-primary .store-button[data-download-platform="android"] { border-color: #4c8dd399; background: linear-gradient(125deg, #173762, #0d1635); }
.download-tile-icon { display: grid; flex: none; width: 48px; height: 48px; place-items: center; border: 1px solid #a185f140; border-radius: 14px; color: #fff; background: linear-gradient(140deg, #5735a9, #2b205e); box-shadow: inset 0 1px 0 #ffffff12; }
[data-download-platform="android"] .download-tile-icon { border-color: #85b7f340; background: linear-gradient(140deg, #315a94, #1b3158); }
.download-tile-icon .platform-icon { position: static; width: 27px; height: 30px; object-fit: contain; opacity: 1; filter: brightness(0) invert(1); }
.download-tile-icon svg { width: 28px; height: 28px; }
.store-copy { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 7px; }
.store-copy .button-main { font-size: clamp(16px, 1.25vw, 22px); font-weight: 600; line-height: 1.25; }
.store-copy .button-sub { color: #b8b7e8; font-size: 12px; line-height: 1.4; }
.download-chevron { display: flex; color: #e4e7ff; }.download-chevron svg { width: 16px; height: 20px; }
.download-options { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.download-dialog { width: min(92vw, 760px); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; color: #f7f6ff; background: #0d1030; overflow: auto; }
.download-dialog::backdrop { background: #08041fbc; backdrop-filter: blur(7px); }
.download-dialog-surface { padding: 32px; border: 1px solid #8589d477; border-radius: 26px; background: linear-gradient(145deg, #191b43, #0b102a 78%); box-shadow: inset 0 1px 0 #ffffff12; }
.download-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; text-align: left; }
.download-dialog-header h2 { margin: 10px 0 0; font-size: clamp(23px, 2.2vw, 30px); font-weight: 600; line-height: 1.3; }
.download-dialog-kicker { color: #a99ce7; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.download-dialog-description { margin: 10px 0 0; color: #adaed4; font-size: 14px; line-height: 1.5; }
.download-dialog-close { display: inline-grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid #aaa9d766; border-radius: 50%; color: #eeedff; font: 400 28px/1 Arial, sans-serif; cursor: pointer; background: transparent; transition: background .2s ease; }
.download-dialog-close:hover { background: #ffffff12; }.download-dialog-close:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.download-dialog .download-option { --option-accent: #57e0e8; display: flex; justify-content: flex-start; gap: 18px; min-height: 106px; padding: 20px; border: 1px solid #7778a440; border-radius: 18px; background: linear-gradient(115deg, #1b214a80, #0b102780); box-shadow: inset 0 1px 0 #ffffff05; }
.download-dialog .download-option:hover { border-color: var(--option-accent); filter: none; transform: translateY(-2px); background: #20274a90; }
.download-option .download-tile-icon { width: 54px; height: 54px; border-color: #51dee94d; background: linear-gradient(140deg, #177b8c, #114451); }
.download-option[data-download-choice="android_samsung"] { --option-accent: #c595ff; }
[data-download-choice="android_samsung"] .download-tile-icon { border-color: #c17de94d; background: linear-gradient(140deg, #712c94, #3c205d); }
.download-row-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 7px; }
.download-row-title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.download-row-subtitle { color: #b0b1d6; font-size: 13px; line-height: 1.5; }
.download-row-action { display: flex; flex: none; align-items: center; justify-content: center; gap: 8px; min-width: 86px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--option-accent); border-radius: 999px; color: var(--option-accent); font-size: 13px; font-weight: 600; }
.download-row-action svg { width: 19px; height: 19px; }
.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; display: grid; gap: clamp(30px, 3.5vw, 64px); width: min(89vw, 1710px); margin: clamp(95px, 8vw, 155px) auto 0; }
.feature-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border: 1px solid #a9a4ff55; border-radius: clamp(24px, 2vw, 38px); background: linear-gradient(135deg, #171052e8, #33227ce8); box-shadow: inset 0 1px 0 #ffffff1f, 0 24px 52px #10063b66; }
.feature-card--reverse .feature-art { order: 2; }
.feature-card--reverse .feature-copy { order: 1; }
.feature-art { min-height: clamp(390px, 33vw, 640px); margin: 0; overflow: hidden; background: #150a4b; }
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; padding: clamp(42px, 5vw, 94px); text-align: center; }
.feature-copy h2 { width: 100%; margin: 0; overflow-wrap: anywhere; color: #fff; font-size: clamp(32px, 3vw, 58px); line-height: 1.18; letter-spacing: .02em; text-shadow: 0 4px 15px #0d053c99; }
.feature-copy p { width: 100%; max-width: 660px; margin: clamp(24px, 2.3vw, 44px) auto 0; overflow-wrap: anywhere; color: #eeeaff; font-size: clamp(19px, 1.65vw, 31px); line-height: 1.55; letter-spacing: .015em; }
.feature-cta { display: inline-flex; min-width: clamp(190px, 15vw, 270px); min-height: clamp(54px, 4.2vw, 72px); align-items: center; justify-content: center; margin-top: clamp(30px, 3vw, 54px); padding: 12px 30px; border: 1px solid #e3dcff99; border-radius: 999px; color: #fff; font-size: clamp(18px, 1.35vw, 26px); font-weight: 700; letter-spacing: .08em; text-decoration: none; background: linear-gradient(112deg, #a14cef, #3197f4); box-shadow: inset 0 1px 0 #ffffff5c, 0 12px 24px #10054099, 0 0 26px #8d5eff4d; transition: filter .2s ease, transform .2s ease, box-shadow .2s ease; }
.feature-cta:hover { filter: brightness(1.16); box-shadow: inset 0 1px 0 #ffffff80, 0 15px 30px #100540aa, 0 0 34px #8d5eff73; transform: translateY(-3px); }
.feature-cta:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.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(92vw, 440px); 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; }
  .download-primary .store-button { grid-template-columns: 32px minmax(0, 1fr); gap: 9px; min-height: 84px; padding: 12px 10px; border-radius: 15px; }
  .download-primary .download-tile-icon { width: 32px; height: 38px; border-radius: 10px; }.download-tile-icon .platform-icon { width: 21px; height: 24px; }
  .store-copy { gap: 5px; }.store-copy .button-main { font-size: 13px; line-height: 1.3; }.store-copy .button-sub { font-size: 10px; line-height: 1.35; }.download-chevron { display: none; }
  .download-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 24px); margin: auto auto 10px; border-radius: 22px; }
  .download-dialog-surface { padding: 22px 16px calc(20px + env(safe-area-inset-bottom)); border-radius: 22px; }
  .download-dialog-header { gap: 12px; margin-bottom: 22px; }.download-dialog-header h2 { font-size: 23px; }.download-dialog-description { font-size: 12px; }
  .download-dialog-close { flex-basis: 34px; width: 34px; height: 34px; font-size: 25px; }
  .download-dialog .download-option { gap: 12px; min-height: 96px; padding: 14px 12px; border-radius: 15px; }
  .download-option .download-tile-icon { width: 40px; height: 44px; border-radius: 12px; }.download-tile-icon svg { width: 25px; height: 25px; }
  .download-row-title { font-size: 16px; }.download-row-subtitle { font-size: 11px; }.download-row-copy { gap: 5px; }
  .download-row-action { width: 30px; min-width: 30px; min-height: 32px; padding: 5px; border: 0; }.download-row-action > span { display: none; }.download-row-action svg { width: 20px; height: 20px; }
  .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 { gap: 28px; width: min(92vw, 560px); margin: 67px auto 0; }
  .feature-card { grid-template-columns: 1fr; border-radius: 20px; }
  .feature-card--reverse .feature-art, .feature-card--reverse .feature-copy { order: initial; }
  .feature-art { min-height: 0; aspect-ratio: 4 / 3; }
  .feature-copy { overflow: hidden; padding: 30px 20px 34px; }
  .feature-copy h2 { font-size: clamp(25px, 7vw, 36px); }
  .feature-copy p { margin-top: 18px; font-size: clamp(16px, 4.4vw, 21px); line-height: 1.5; }
  .feature-cta { width: min(100%, 270px); min-height: 52px; margin-top: 25px; font-size: 17px; }
  .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; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
