:root {
  color-scheme: light;
  --yellow: #ffc900;
  --yellow-deep: #f5ae00;
  --ink: #321606;
  --text: #442818;
  --muted: #7f7165;
  --line: #efe7d9;
  --soft: #fff7df;
  --white: #ffffff;
  --green: #249262;
  --shadow: 0 18px 48px rgba(73, 45, 13, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 225, 92, 0.18), transparent 36%),
    linear-gradient(180deg, #fffdf8 0%, #f7f5f0 100%);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-shell {
  width: min(1024px, calc(100% - 42px));
  margin: 18px auto 46px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 26px 90px rgba(43, 30, 18, 0.12);
}

.site-header,
.brand,
.top-nav,
.trust-row,
.feature-grid,
.game-list,
.review-user,
.footer-brand,
.mobile-download-bar {
  display: flex;
  align-items: center;
}

.site-header {
  height: 92px;
  padding: 0 42px;
  justify-content: space-between;
  border-bottom: 1px solid rgba(250, 216, 93, 0.36);
  background: rgba(255, 255, 255, 0.94);
}

.brand {
  gap: 12px;
  min-width: 184px;
}

.brand img,
.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  box-shadow: 0 9px 18px rgba(255, 177, 0, 0.2);
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.footer-brand strong {
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
  font-weight: 900;
}

.brand em,
.footer-brand em {
  color: var(--ink);
  font-style: normal;
  font-weight: 700;
}

.top-nav {
  align-self: stretch;
  gap: 44px;
  color: #473629;
  font-size: 15px;
  font-weight: 650;
}

.top-nav a {
  position: relative;
  display: grid;
  place-items: center;
}

.top-nav a.active::after,
.section-title span {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--yellow);
}

.top-nav a.active::after {
  position: absolute;
  bottom: 0;
  left: calc(50% - 18px);
}

.header-download {
  display: inline-grid;
  place-items: center;
  width: 118px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ffdb24, #ffc400);
  color: #241307;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 194, 0, 0.28);
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  min-height: 520px;
  padding: 58px 48px 40px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 223, 69, 0.34), transparent 30%),
    linear-gradient(135deg, #fffaf0 0%, #fff4c7 100%);
}

.hero::before,
.hero::after {
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 900;
  text-shadow: 0 8px 18px rgba(246, 185, 0, 0.16);
}

.hero::before {
  content: "✦";
  top: 54px;
  right: 145px;
  font-size: 46px;
}

.hero::after {
  content: "❤";
  right: 30px;
  bottom: 118px;
  font-size: 26px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

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

.hero h1 {
  color: var(--ink);
  font-size: 56px;
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-lead {
  margin-top: 22px;
  color: #6b5544;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
}

.hero-download,
.mobile-download-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 68px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe32e, var(--yellow));
  color: #1e1308;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 12px 25px rgba(255, 183, 0, 0.28);
}

.hero-download {
  width: 350px;
  margin-top: 34px;
}

.android-mark {
  position: relative;
  width: 22px;
  height: 18px;
  border-radius: 5px 5px 3px 3px;
  background: #211306;
}

.android-mark::before,
.android-mark::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 2px;
  height: 8px;
  border-radius: 999px;
  background: #211306;
}

.android-mark::before {
  left: 5px;
  transform: rotate(-30deg);
}

.android-mark::after {
  right: 5px;
  transform: rotate(30deg);
}

.version-line {
  margin-top: 12px;
  color: #8e8174;
  font-size: 12px;
}

.trust-row {
  gap: 28px;
  margin-top: 30px;
  color: #516d58;
  font-size: 15px;
}

.trust-row span,
.phone-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row i {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #9bc9a5;
  border-radius: 50%;
  color: var(--green);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.hero-art {
  position: relative;
  z-index: 1;
  min-height: 360px;
}

.hero-art::before {
  content: "";
  position: absolute;
  right: 84px;
  bottom: 54px;
  width: 392px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 200, 0, 0.36);
  background: radial-gradient(ellipse at center, rgba(255, 202, 0, 0.26), rgba(255, 202, 0, 0));
  transform: rotate(-8deg);
}

.mascot {
  position: absolute;
  right: 30px;
  top: 66px;
  width: 430px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  transform: rotate(-1deg);
  filter: drop-shadow(0 26px 30px rgba(123, 75, 5, 0.16));
}

.slogan-card {
  position: absolute;
  right: 18px;
  bottom: 45px;
  width: 174px;
  padding: 11px 14px 14px;
  border: 4px solid #fff;
  border-radius: 12px;
  background: linear-gradient(150deg, #ffb33d 0%, #ff8d00 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 950;
  line-height: 1.05;
  box-shadow: 0 16px 22px rgba(208, 99, 0, 0.22);
  transform: rotate(-5deg);
}

.slogan-card strong {
  display: block;
  font-size: 34px;
}

.soft-icon {
  position: absolute;
  display: grid;
  place-items: center;
  width: 78px;
  height: 58px;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 34px;
  font-weight: 900;
}

.icon-gamepad {
  top: 42px;
  left: 40px;
  background: rgba(255, 219, 112, 0.55);
}

.icon-coin {
  top: 48px;
  right: 18px;
  border-radius: 20px;
  background: rgba(255, 232, 136, 0.5);
}

.section-title {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.section-title.align-left {
  justify-items: start;
  text-align: left;
}

.section-title h2 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 950;
}

.feature-section,
.games-section,
.reviews-section {
  padding: 32px 48px 44px;
  background: #fff;
}

.feature-grid {
  justify-content: space-between;
  gap: 34px;
  margin-top: 34px;
}

.feature-grid article {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.feature-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 22px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 13px 14px rgba(255, 199, 12, 0.12));
}

.feature-grid h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 900;
}

.feature-grid p {
  margin-top: 12px;
  color: #786a5e;
  font-size: 14px;
  line-height: 1.7;
}

.security-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  margin: 22px 48px 36px;
  padding: 44px 52px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% 62%, rgba(255, 214, 44, 0.25), transparent 36%),
    linear-gradient(135deg, #fffdf7, #fff5db);
}

.security-copy ul {
  display: grid;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.security-copy li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.security-copy i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-style: normal;
  font-weight: 950;
}

.security-copy span {
  display: grid;
  gap: 5px;
}

.security-copy strong {
  color: var(--ink);
  font-size: 18px;
}

.security-copy em {
  color: #74665b;
  font-style: normal;
}

.security-illustration {
  position: relative;
  min-height: 225px;
}

.paper-card {
  position: absolute;
  right: 86px;
  bottom: 6px;
  width: 168px;
  height: 196px;
  padding: 30px 24px;
  border: 7px solid var(--yellow);
  border-radius: 21px;
  background: #fff;
  transform: rotate(-7deg);
  box-shadow: 0 20px 40px rgba(177, 126, 0, 0.16);
}

.paper-card span {
  display: block;
  height: 16px;
  margin-top: 21px;
  border-radius: 8px;
  background: #efe9df;
}

.paper-card span:first-child {
  width: 56px;
  height: 46px;
  margin-top: 0;
  border-radius: 10px;
}

.shield-card {
  position: absolute;
  right: 8px;
  bottom: 4px;
  display: grid;
  place-items: center;
  width: 126px;
  height: 142px;
  color: #fff;
  font-size: 54px;
  font-weight: 950;
  clip-path: polygon(50% 0, 94% 18%, 84% 78%, 50% 100%, 16% 78%, 6% 18%);
  background: linear-gradient(155deg, #ffe266, var(--yellow-deep));
  filter: drop-shadow(0 16px 18px rgba(180, 126, 0, 0.23));
}

.game-list {
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

.game-list div {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #3d2a1d;
  font-size: 14px;
  white-space: nowrap;
}

.game-list img {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 9px 18px rgba(23, 17, 9, 0.18);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.review-grid article {
  min-height: 130px;
  padding: 20px;
  border: 1px solid #efe8dc;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(67, 44, 20, 0.04);
}

.review-user {
  gap: 10px;
  color: var(--ink);
}

.review-user span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e9f5ff;
  color: #2b6e97;
  font-weight: 900;
}

.stars {
  margin-top: 6px;
  color: #ffc400;
  letter-spacing: 0;
}

.review-grid article > p:last-child {
  margin-top: 8px;
  color: #6f6258;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 0.82fr) 1fr;
  gap: 28px;
  padding: 42px 48px 48px;
  border-top: 1px solid #efe8db;
  background: #fff;
}

.site-footer > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.site-footer a,
.site-footer em,
.copyright {
  color: #786b60;
  font-size: 14px;
  font-style: normal;
}

.site-footer strong {
  color: var(--ink);
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 16px;
  text-align: center;
}

.qr-block {
  justify-items: center;
  text-align: center;
}

.qr-block img {
  width: 108px;
  height: 108px;
  border: 6px solid #fff;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(33, 22, 10, 0.08);
}

.qr-block span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}

.mobile-download-bar {
  position: fixed;
  right: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  left: 14px;
  z-index: 20;
  display: none;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(33, 22, 10, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 45px rgba(33, 22, 10, 0.18);
}

.mobile-download-bar div {
  display: grid;
  gap: 2px;
}

.mobile-download-bar strong {
  color: var(--ink);
}

.mobile-download-bar span {
  color: #75685d;
  font-size: 12px;
}

.mobile-download-bar a {
  width: 128px;
  height: 48px;
  font-size: 16px;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 86px;
    background: #fff;
  }

  .page-shell {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header {
    height: 70px;
    padding: 0 18px;
    border-bottom: 0;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

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

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

  .top-nav,
  .header-download {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 28px 18px 24px;
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-lead {
    margin-top: 12px;
    font-size: 16px;
  }

  .hero-download {
    width: 100%;
    height: 56px;
    margin-top: 22px;
    font-size: 19px;
  }

  .trust-row {
    justify-content: space-between;
    gap: 8px;
    margin-top: 18px;
    font-size: 12px;
  }

  .trust-row i {
    display: none;
  }

  .hero-art {
    min-height: 290px;
    margin-top: 12px;
  }

  .mascot {
    right: calc(50% - 136px);
    top: 6px;
    width: 272px;
    height: auto;
    border-radius: 0;
  }

  .slogan-card {
    right: 36px;
    bottom: 28px;
    width: 116px;
    font-size: 18px;
  }

  .slogan-card strong {
    font-size: 24px;
  }

  .soft-icon {
    display: none;
  }

  .feature-section,
  .games-section,
  .reviews-section {
    padding: 26px 18px 30px;
  }

  .section-title h2 {
    font-size: 22px;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid #eee6d9;
    border-radius: 14px;
  }

  .feature-grid article {
    display: grid;
    grid-template-columns: 42px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 13px 12px;
    border-bottom: 1px solid #eee6d9;
    text-align: left;
  }

  .feature-grid article::after {
    content: "›";
    color: #aaa;
    font-size: 24px;
  }

  .feature-grid article:last-child {
    border-bottom: 0;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 10px;
    font-size: 20px;
  }

  .feature-grid h3 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    font-size: 15px;
  }

  .feature-grid p {
    grid-column: 2;
    grid-row: 1;
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.25;
  }

  .security-card {
    grid-template-columns: 1fr 0.82fr;
    margin: 10px 18px 20px;
    padding: 24px 16px;
    gap: 8px;
  }

  .security-copy ul {
    gap: 17px;
    margin-top: 20px;
  }

  .security-copy strong {
    font-size: 15px;
  }

  .security-copy em {
    font-size: 12px;
  }

  .security-illustration {
    min-height: 170px;
    align-self: end;
  }

  .paper-card {
    right: 54px;
    bottom: 6px;
    width: 92px;
    height: 112px;
    border-width: 5px;
    padding: 20px 15px;
  }

  .paper-card span {
    height: 9px;
    margin-top: 12px;
  }

  .paper-card span:first-child {
    width: 34px;
    height: 28px;
  }

  .shield-card {
    right: 8px;
    bottom: 6px;
    width: 72px;
    height: 82px;
    font-size: 30px;
  }

  .game-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 12px;
  }

  .game-list div:nth-child(n + 5) {
    display: none;
  }

  .game-list img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    font-size: 18px;
  }

  .review-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-right: -18px;
    padding-right: 18px;
    scroll-snap-type: x mandatory;
  }

  .review-grid article {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .site-footer {
    display: none;
  }

  .mobile-download-bar {
    display: flex;
  }
}
