@charset "UTF-8";

:root {
  --ink: #17243b;
  --muted: #687378;
  --paper: #f7f0df;
  --cream: #fffaf0;
  --sky: #c8e4e8;
  --orange: #e55d38;
  --yellow: #f5ca4b;
  --green: #315a48;
  --dark: #142031;
  --line: #1d2a42;
  --content-width: 1200px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button {
  appearance: none;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

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

main {
  padding-top: var(--header-height);
}

.section-shell,
.header-inner {
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid rgba(23, 36, 59, .18);
  background: #fffaf0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 25px;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand img,
.footer-brand img {
  width: 43px;
  height: 43px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-text,
.footer-brand span {
  display: grid;
  line-height: 1.15;
}

.brand strong,
.footer-brand strong {
  font-size: 18px;
  font-weight: 900;
}

.brand small,
.footer-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.main-nav ul,
.hero-tags {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav ul {
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.main-nav a {
  position: relative;
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.header-download,
.primary-download,
.download-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--line);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.header-download {
  padding: 0 14px;
}

.header-download:hover,
.header-download:focus-visible,
.primary-download:hover,
.primary-download:focus-visible,
.download-ticket:hover,
.download-ticket:focus-visible {
  box-shadow: 1px 1px 0 var(--line);
  transform: translate(2px, 2px);
}

.download-mobile {
  display: none;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fffaf0;
  cursor: pointer;
}

.menu-button i {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.menu-button:hover,
.menu-button:focus-visible {
  background: var(--yellow);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  gap: clamp(48px, 7vw, 105px);
  align-items: center;
  min-height: 625px;
  padding-top: 69px;
  padding-bottom: 80px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.4px;
}

.age-label {
  display: inline-block;
  flex: 0 0 100%;
  width: max-content;
  margin-bottom: 0;
  padding: 3px 9px;
  border: 1px solid rgba(23, 36, 59, .44);
  border-radius: 99px;
  color: #4e5a5b;
  font-size: 12px;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: -.07em;
}

h1 {
  margin-bottom: 21px;
  font-size: clamp(50px, 6.1vw, 82px);
  line-height: .98;
}

.hero-description {
  max-width: 465px;
  margin-bottom: 0;
  color: #596566;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  align-items: center;
  margin-top: 30px;
}

.primary-download {
  order: 1;
  padding: 0 18px;
}

.hero-anchor {
  order: 2;
}

.hero-actions .age-label {
  order: 3;
  margin-top: 2px;
}

.hero-anchor,
.news-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.hero-anchor:hover,
.hero-anchor:focus-visible,
.news-toggle:hover,
.news-toggle:focus-visible {
  color: var(--orange);
  outline: 0;
}

.hero-tags {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 29px;
}

.hero-tags li {
  padding: 3px 10px;
  border: 1px solid rgba(23, 36, 59, .35);
  border-radius: 99px;
  color: #596566;
  font-size: 12px;
}

.hero-scene {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sky);
  box-shadow: 12px 12px 0 var(--orange);
}

.hero-scene img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d9e2dd;
  object-fit: contain;
}

.hero-scene figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  background: #fffaf0;
}

.hero-scene figcaption span,
.game-gallery figcaption span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.hero-scene figcaption strong {
  font-size: 16px;
}

.play-section,
.news-section,
.faq-section,
.official-section,
.reviews-section {
  padding-top: 105px;
  padding-bottom: 105px;
}

.play-section {
  background: var(--dark);
  color: #fff;
}

.section-heading {
  margin-bottom: 40px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 55px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(39px, 4.7vw, 62px);
  line-height: 1;
}

.split-heading > p {
  width: min(380px, 100%);
  margin: 0 0 4px;
  color: var(--muted);
}

.play-section .split-heading > p {
  color: #cbd4dc;
}

.play-switch {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, .35);
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.play-tab {
  flex: 1;
  min-height: 54px;
  padding: 10px 14px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-align: left;
}

.play-tab:first-child {
  border-left: 1px solid rgba(255, 255, 255, .35);
}

.play-tab.is-active,
.play-tab:hover,
.play-tab:focus-visible {
  background: var(--yellow);
  color: var(--ink);
  outline: 0;
}

.play-panel {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) minmax(310px, .9fr);
  gap: 28px;
  align-items: center;
  padding-top: 34px;
}

.play-index {
  align-self: start;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.play-panel h3 {
  margin-bottom: 10px;
  font-size: 34px;
}

.play-panel p {
  margin-bottom: 0;
  color: #cbd4dc;
}

.play-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, .55);
  background: #243943;
  object-fit: contain;
}

.screenshots-section {
  overflow: hidden;
  padding-top: 105px;
  padding-bottom: 105px;
  background: #dfe6d8;
}

.game-gallery {
  display: flex;
  gap: 16px;
  width: min(var(--content-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: #848d87 transparent;
}

.game-gallery figure {
  flex: 0 0 min(360px, calc(100vw - 64px));
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fffaf0;
  scroll-snap-align: start;
}

.game-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #d2deda;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-gallery figcaption {
  display: grid;
  gap: 5px;
  min-height: 91px;
  padding: 15px 16px;
  border-top: 1px solid var(--line);
}

.game-gallery figcaption strong {
  font-size: 19px;
}

.news-heading {
  text-align: center;
}

.title-rule {
  display: block;
  width: 58px;
  height: 4px;
  margin: 17px auto 15px;
  background: linear-gradient(90deg, var(--orange) 0 50%, var(--yellow) 50% 100%);
}

.news-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

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

.news-card {
  min-height: 262px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 5px 5px 0 #d9cbaa;
}

.news-card time {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.news-card h3 {
  margin: 10px 0;
  font-size: 22px;
}

.news-card p {
  color: var(--muted);
}

.news-card > p:not(.news-detail) {
  margin-bottom: 17px;
}

.news-detail {
  margin: 15px 0 0;
  padding-top: 13px;
  border-top: 1px dashed rgba(23, 36, 59, .4);
  font-size: 14px;
}

.faq-section {
  padding-bottom: 38px;
  border-top: 1px solid var(--line);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: grid;
  grid-template-columns: 54px 1fr 27px;
  width: 100%;
  padding: 21px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  text-align: left;
}

.faq-item button span {
  color: var(--orange);
  font-size: 12px;
}

.faq-item button b,
.official-toggle b {
  font-size: 26px;
  font-weight: 400;
  line-height: .75;
  text-align: right;
}

.faq-item button:hover,
.faq-item button:focus-visible {
  color: var(--orange);
  outline: 0;
}

.faq-item.is-open button b,
.official-section.is-open .official-toggle b {
  transform: rotate(45deg);
}

.faq-answer p {
  max-width: 710px;
  margin: -2px 30px 24px 54px;
  color: var(--muted);
}

.official-section {
  padding-top: 0;
  padding-bottom: 105px;
}

.official-toggle {
  display: grid;
  grid-template-columns: 35px 1fr 30px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 15px 21px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
}

.official-toggle:hover,
.official-toggle:focus-visible {
  background: var(--yellow);
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.official-content {
  padding: 22px 55px;
  border: 1px solid var(--line);
  border-top: 0;
  background: #fffaf0;
}

.official-content p {
  margin-bottom: 10px;
  color: var(--muted);
}

.official-content a {
  color: var(--orange);
  font-size: 14px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.reviews-section {
  background: #e8eee3;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 22px 24px;
  border: 1px solid #6d876d;
  border-radius: 4px;
  background: var(--green);
  color: #fffdf3;
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.review-head em {
  color: #d5dfcf;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.review-card > p {
  flex: 1;
  margin: 19px 0 17px;
  font-size: 14px;
  font-weight: 600;
}

.review-card time {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 253, 243, .38);
  color: #d5dfcf;
  font-size: 12px;
  text-align: right;
}

.download-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 104px;
  margin-bottom: 104px;
  padding: 48px 55px;
  border: 1px solid var(--line);
  background: var(--sky);
  box-shadow: 8px 8px 0 var(--ink);
}

.download-section h2 {
  margin: 0 0 13px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
}

.download-section > div > p:last-child {
  margin: 0;
  color: #4f5c62;
}

.download-ticket {
  flex: 0 0 auto;
  min-width: 140px;
  padding: 0 20px;
  background: var(--orange);
  color: #fff;
}

.site-footer {
  padding: 58px max(24px, calc((100% - var(--content-width)) / 2)) 17px;
  background: #111a28;
  color: #fff;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 65px;
}

.footer-brand {
  align-self: start;
  min-width: 225px;
}

.footer-brand small {
  color: #b8c1c8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  flex: 1;
  gap: clamp(21px, 5vw, 75px);
}

.footer-links section {
  display: grid;
  align-content: start;
  gap: 6px;
}

.footer-links h3 {
  margin: 0 0 8px;
  font-size: 15px;
  letter-spacing: 0;
}

.footer-links a {
  color: #c8d0d6;
  font-size: 13px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--yellow);
  outline: 0;
}

.footer-social div {
  display: flex;
  gap: 8px;
}

.footer-social a {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--orange);
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin-top: 43px;
  background: rgba(255, 255, 255, .8);
}

.copyright {
  margin: 14px 0 0;
  color: #c8d0d6;
  font-size: 12px;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--line);
}

.back-top:hover,
.back-top:focus-visible {
  background: var(--orange);
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

i[class^="icon-"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.icon-download {
  background-image: url("../icons/download.svg");
}

.icon-arrow {
  background-image: url("../icons/arrow.svg");
}

.icon-user {
  background-image: url("../icons/user.svg");
  filter: brightness(0) invert(1);
}

.icon-globe {
  background-image: url("../icons/globe.svg");
}

.icon-compass {
  background-image: url("../icons/compass.svg");
}

.icon-bookmark {
  background-image: url("../icons/bookmark.svg");
}

.footer-social i {
  filter: brightness(0) invert(1);
}

.back-top i {
  width: auto;
  height: auto;
  background: none;
  color: var(--ink);
  font-size: 23px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.back-top i::before {
  content: "↑";
}

@media (max-width: 960px) {
  .header-inner {
    gap: 17px;
  }

  .main-nav ul {
    gap: 16px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .hero {
    grid-template-columns: minmax(0, .9fr) minmax(370px, 1.1fr);
    gap: 39px;
  }

  .play-panel {
    grid-template-columns: 56px minmax(0, 1fr) minmax(260px, .8fr);
  }

  .footer-main {
    gap: 36px;
  }

  .footer-brand {
    min-width: 170px;
  }

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 68px;
  }

  .section-shell,
  .header-inner {
    width: min(100% - 32px, 560px);
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

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

  .brand small {
    font-size: 12px;
  }

  .header-inner {
    gap: 8px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    padding: 8px 32px;
    border: 1px solid var(--line);
    background: #fffaf0;
    box-shadow: 4px 4px 0 rgba(23, 36, 59, .17);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px);
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav ul {
    display: block;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(23, 36, 59, .17);
  }

  .main-nav li:last-child {
    border-bottom: 0;
  }

  .main-nav a {
    padding: 12px 0;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
  }

  .main-nav a::after {
    display: none;
  }

  .download-desktop {
    display: none;
  }

  .download-mobile {
    display: inline;
  }

  .header-download {
    min-height: 39px;
    padding: 0 10px;
    font-size: 13px;
  }

  .menu-button {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding-top: 55px;
    padding-bottom: 67px;
    text-align: center;
  }

  .hero-copy {
    display: grid;
    justify-items: center;
  }

  h1 {
    font-size: clamp(47px, 15vw, 65px);
  }

  .hero-description {
    max-width: 480px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    justify-content: center;
    gap: 18px;
  }

  .hero-actions .primary-download {
    order: 1;
  }

  .hero-actions .age-label {
    order: 2;
    flex-basis: auto;
    margin-top: -3px;
  }

  .hero-actions .hero-anchor {
    order: 3;
  }

  .hero-tags {
    justify-content: center;
  }

  .hero-scene {
    width: 100%;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .hero-scene figcaption {
    align-items: flex-start;
    flex-direction: column;
    min-height: 88px;
  }

  .play-section,
  .news-section,
  .faq-section,
  .reviews-section {
    padding-top: 69px;
    padding-bottom: 69px;
  }

  .official-section {
    padding-top: 0;
    padding-bottom: 69px;
  }

  .split-heading {
    display: block;
  }

  .section-heading h2 {
    font-size: 42px;
  }

  .split-heading > p {
    width: auto;
    margin-top: 20px;
  }

  .play-switch {
    overflow-x: auto;
  }

  .play-tab {
    flex: 0 0 auto;
    min-width: 133px;
    font-size: 14px;
  }

  .play-panel {
    grid-template-columns: 40px 1fr;
    gap: 12px;
    padding-top: 25px;
  }

  .play-panel h3 {
    font-size: 28px;
  }

  .play-panel img {
    grid-column: 1 / -1;
    margin-top: 9px;
  }

  .screenshots-section {
    padding-top: 69px;
    padding-bottom: 69px;
  }

  .game-gallery {
    width: min(100% - 32px, 560px);
  }

  .game-gallery figure {
    flex-basis: min(306px, calc(100vw - 48px));
  }

  .news-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 0;
    padding: 23px 21px;
  }

  .faq-section {
    padding-bottom: 29px;
  }

  .faq-item button {
    grid-template-columns: 40px 1fr 20px;
    font-size: 16px;
  }

  .faq-answer p {
    margin-left: 40px;
  }

  .official-toggle {
    grid-template-columns: 30px 1fr 23px;
    min-height: 65px;
    padding: 13px 15px;
    font-size: 15px;
  }

  .official-content {
    padding: 18px 20px;
  }

  .review-card {
    min-height: 0;
  }

  .review-card > p {
    margin-top: 16px;
  }

  .download-section {
    display: grid;
    gap: 28px;
    margin-top: 69px;
    margin-bottom: 69px;
    padding: 40px 24px;
  }

  .download-section h2 {
    font-size: 34px;
    white-space: nowrap;
  }

  .download-ticket {
    width: max-content;
  }

  .site-footer {
    padding: 47px 22px 15px;
  }

  .footer-main {
    display: block;
  }

  .footer-brand {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 31px;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 10px;
    text-align: center;
  }

  .footer-links h3 {
    font-size: 14px;
  }

  .footer-links a {
    font-size: 12px;
  }

  .footer-social {
    grid-column: 1 / -1;
    margin-top: 13px;
  }

  .footer-social div {
    justify-content: center;
  }

  .footer-divider {
    margin-top: 30px;
  }

  .back-top {
    right: 14px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .section-shell,
  .header-inner {
    width: min(100% - 20px, 560px);
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand strong {
    font-size: 14px;
  }

  .brand small {
    font-size: 12px;
  }

  .header-download {
    padding: 0 7px;
    font-size: 12px;
  }

  .menu-button {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }
}
