@charset "UTF-8";

:root {
  --ink: #271f42;
  --muted: #746e81;
  --paper: #fbf7f3;
  --cream: #fffdfb;
  --lavender: #e9e0f0;
  --violet: #583b79;
  --wine: #7c284d;
  --gold: #d9a847;
  --pink: #e78d9b;
  --dark: #1c1631;
  --line: #382b55;
  --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(39, 31, 66, .14);
  background: #fffdfb;
}

.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: 50%; object-fit: contain; }

.brand span,
.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 { gap: clamp(17px, 2.2vw, 35px); align-items: center; }

.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(--wine); 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(--gold);
  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 { background: var(--pink); outline: 2px solid var(--wine); outline-offset: 2px; }

.download-mobile,
.menu-button { display: none; }

.menu-button { width: 42px; height: 42px; padding: 8px; border: 1px solid var(--line); border-radius: 3px; background: #fffdfb; 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(--lavender); outline: 2px solid var(--wine); 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; }

.eyebrow { margin: 0 0 12px; color: var(--wine); font-size: 12px; font-weight: 900; letter-spacing: 1.5px; }

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: 455px; margin-bottom: 0; color: var(--muted); font-size: 16px; }

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

.primary-download { order: 1; padding: 0 18px; background: var(--wine); color: #fff; }

.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 { order: 2; }

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

.age-label { order: 3; flex: 0 0 100%; width: max-content; margin: 2px 0 0; padding: 3px 9px; border: 1px solid rgba(39, 31, 66, .4); border-radius: 99px; color: var(--muted); font-size: 12px; line-height: 1.5; }

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

.hero-tags li { padding: 3px 10px; border: 1px solid rgba(39, 31, 66, .3); border-radius: 99px; color: var(--muted); font-size: 12px; }

.hero-visual { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--lavender); box-shadow: 11px 11px 0 var(--gold); }

.hero-visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }

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

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

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

.world-section { overflow: hidden; padding: 104px 0; background: var(--dark); color: #fff; }

.world-layout { display: grid; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); gap: clamp(44px, 8vw, 128px); align-items: center; }

.world-mark { position: relative; display: grid; width: min(320px, 100%); aspect-ratio: 1; place-items: center; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: radial-gradient(circle, rgba(231, 141, 155, .42), transparent 64%); }

.world-mark::before,
.world-mark::after { position: absolute; width: 125%; height: 1px; background: rgba(217, 168, 71, .65); content: ""; transform: rotate(45deg); }

.world-mark::after { transform: rotate(-45deg); }

.world-mark span { position: relative; z-index: 1; color: var(--gold); font-family: Georgia, serif; font-size: clamp(112px, 18vw, 210px); font-style: italic; line-height: 1; }

.world-mark i { position: absolute; width: 56%; height: 56%; border: 1px solid var(--gold); border-radius: 50%; }

.world-section .eyebrow { color: var(--gold); }

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

.world-lead { margin: 21px 0 0; color: #dad5e5; font-size: 17px; }

.world-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }

.world-notes article { padding: 15px 12px 10px; border-top: 1px solid rgba(255, 255, 255, .45); }

.world-notes span { color: var(--gold); font-size: 12px; font-weight: 900; }

.world-notes h3 { margin: 10px 0 5px; font-size: 21px; }

.world-notes p { margin: 0; color: #cbc5d5; font-size: 13px; }

.contract-section,
.news-section,
.faq-section,
.reviews-section { padding-top: 104px; padding-bottom: 104px; }

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

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

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

.contract-tabs { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.contract-tab { flex: 1; min-height: 54px; padding: 10px 14px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 15px; font-weight: 900; text-align: left; }

.contract-tab:first-child { border-left: 1px solid var(--line); }

.contract-tab.is-active,
.contract-tab:hover,
.contract-tab:focus-visible { background: var(--lavender); color: var(--wine); outline: 0; }

.contract-panel { display: grid; grid-template-columns: minmax(0, .95fr) minmax(330px, 1.05fr); gap: 44px; align-items: center; padding-top: 36px; }

.contract-copy span { color: var(--wine); font-size: 12px; font-weight: 900; letter-spacing: 1px; }

.contract-copy h3 { margin: 13px 0; font-size: clamp(30px, 3.8vw, 47px); line-height: 1.1; }

.contract-copy p { margin: 0; color: var(--muted); }

.contract-panel img { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--lavender); object-fit: contain; }

.screenshots-section { padding: 104px 0; background: #f0e7ef; }

.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: #8d7b91 transparent; }

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

.game-media { width: 100%; aspect-ratio: 16 / 9; background: var(--lavender); }

.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; }

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

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

.centered-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: 259px; padding: 28px 30px; border: 1px solid var(--line); background: #fffdfb; box-shadow: 5px 5px 0 #dbcadd; }

.news-card time { color: var(--wine); 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(39, 31, 66, .35); 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(--wine); 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(--wine); outline: 0; }

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

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

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

.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(--lavender); outline: 2px solid var(--wine); outline-offset: 2px; }

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

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

.reviews-section { background: #eee9f1; }

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

.review-card { display: flex; flex-direction: column; min-height: 280px; padding: 22px 24px; border: 1px solid #99728a; border-radius: 4px; background: var(--violet); color: #fffdfb; }

.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: #e7d9e9; 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, 251, .38); color: #e7d9e9; 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(--lavender); box-shadow: 8px 8px 0 var(--wine); }

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

.download-section > div > p:last-child { margin: 0; color: var(--muted); }

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

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

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

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

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

.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: #dacfe0; font-size: 13px; }

.footer-links a:hover,
.footer-links a:focus-visible { color: var(--gold); 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(--wine); outline: 2px solid var(--gold); outline-offset: 2px; }

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

.copyright { margin: 14px 0 0; color: #dacfe0; 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(--gold); box-shadow: 3px 3px 0 var(--line); }

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

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

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

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"); filter: brightness(0) invert(1); }
.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-star { background-image: url("../icons/star.svg"); }
.icon-bookmark { background-image: url("../icons/bookmark.svg"); }
.footer-social i { filter: brightness(0) invert(1); }

@media (max-width: 960px) {
  .header-inner { gap: 17px; }
  .main-nav ul { gap: 15px; }
  .main-nav a { font-size: 13px; }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(370px, 1.1fr); gap: 39px; }
  .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); }
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand img { width: 36px; height: 36px; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 12px; }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; width: 100%; padding: 8px 32px; border: 1px solid var(--line); background: #fffdfb; box-shadow: 0 5px 12px rgba(39, 31, 66, .16); 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(39, 31, 66, .16); }
  .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-visual { width: 100%; box-shadow: 7px 7px 0 var(--gold); }
  .hero-visual figcaption { align-items: flex-start; flex-direction: column; min-height: 88px; }
  .world-section,
  .contract-section,
  .news-section,
  .faq-section,
  .reviews-section { padding-top: 69px; padding-bottom: 69px; }
  .official-section { padding-top: 0; padding-bottom: 69px; }
  .world-layout { grid-template-columns: 1fr; gap: 45px; text-align: center; }
  .world-mark { margin: 0 auto; }
  .world-notes { text-align: left; }
  .split-heading { display: block; }
  .section-heading h2,
  .world-section h2 { font-size: 42px; }
  .split-heading > p { width: auto; margin-top: 20px; }
  .contract-tabs { overflow-x: auto; }
  .contract-tab { flex: 0 0 auto; min-width: 132px; font-size: 14px; }
  .contract-panel { grid-template-columns: 1fr; gap: 25px; padding-top: 27px; }
  .contract-copy h3 { font-size: 31px; }
  .screenshots-section { padding: 69px 0; }
  .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; }
  .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; }
}
