:root {
  color-scheme: light;
  --yellow: #ffc400;
  --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);
  --hover-shadow: 0 18px 38px rgba(127, 78, 12, 0.16);
  --ring: 0 0 0 3px rgba(255, 196, 0, 0.22);
  --font-main: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  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: var(--font-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.info-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

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

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

.site-header {
  position: relative;
  height: 84px;
  padding: 0 66px;
  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: 190px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  box-shadow: none;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  box-shadow: none;
}

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

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

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

.top-nav a {
  position: relative;
  display: grid;
  place-items: center;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.top-nav a.active::after,
.top-nav a::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);
}

.top-nav a::after {
  position: absolute;
  bottom: 0;
  left: calc(50% - 18px);
  opacity: 0;
  transform: scaleX(0.42);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.header-actions {
  gap: 10px;
}

.header-download {
  display: inline-grid;
  place-items: center;
  width: 126px;
  height: 42px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(180deg, #ffdb24, #ffc400);
  color: #241307;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(255, 194, 0, 0.28);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.header-download.ios-download {
  width: 108px;
  border: 1px solid rgba(245, 174, 0, 0.32);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(73, 45, 13, 0.06);
}

.header-download:hover,
.header-download:focus-visible {
  background: linear-gradient(180deg, #ffe85a, #ffc000);
  box-shadow: 0 14px 30px rgba(255, 183, 0, 0.36);
  transform: translateY(-2px);
}

.header-download.ios-download:hover,
.header-download.ios-download:focus-visible {
  border-color: rgba(245, 174, 0, 0.58);
  background: #fff6d1;
}

.header-download.is-pressed {
  transform: translateY(0) scale(0.98);
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.menu-button:hover,
.menu-button:focus-visible,
.menu-button[aria-expanded="true"] {
  border-radius: 10px;
  background: #fff2c8;
}

.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: minmax(470px, 0.95fr) minmax(470px, 1.05fr);
  min-height: 518px;
  padding: 72px 72px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 16%, rgba(255, 223, 69, 0.34), transparent 32%),
    radial-gradient(circle at 58% 78%, rgba(255, 236, 136, 0.28), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, #fff4c7 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: start;
  padding-top: 5px;
}

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

.hero h1 {
  color: var(--ink);
  font-size: 58px;
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 0;
}

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

.download-actions {
  gap: 14px;
  margin-top: 34px;
}

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

.hero-download {
  width: 236px;
  height: 62px;
  margin-top: 0;
}

.hero-download.ios-download {
  width: 152px;
  border: 1px solid rgba(245, 174, 0, 0.34);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 22px rgba(73, 45, 13, 0.08);
}

.hero-download:hover,
.hero-download:focus-visible,
.mobile-download-bar a:hover,
.mobile-download-bar a:focus-visible,
.mobile-download-bar button:hover,
.mobile-download-bar button:focus-visible {
  background: linear-gradient(180deg, #ffe95f, #ffc000);
  box-shadow: 0 18px 34px rgba(255, 183, 0, 0.36);
  transform: translateY(-3px);
}

.hero-download.ios-download:hover,
.hero-download.ios-download:focus-visible,
.mobile-download-bar button:hover,
.mobile-download-bar button:focus-visible {
  border-color: rgba(245, 174, 0, 0.52);
  background: linear-gradient(180deg, #fffdf8, #fff1bd);
}

.hero-download.is-pressed,
.mobile-download-bar a.is-pressed,
.mobile-download-bar button.is-pressed {
  transform: translateY(0) scale(0.98);
}

.android-mark,
.ios-mark {
  width: 23px;
  height: 23px;
  fill: currentColor;
  flex: 0 0 auto;
}

.version-line {
  margin-top: 12px;
  color: #7f7165;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  white-space: nowrap;
}

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

.trust-row span,
.phone-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.trust-row span:hover {
  color: var(--green);
  transform: translateY(-1px);
}

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

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

.hero-art::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 8px;
  width: 520px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 226, 80, 0.28), rgba(255, 226, 80, 0.08) 48%, transparent 70%);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  right: 28px;
  top: -30px;
  width: min(480px, calc(100% - 8px));
  height: auto;
  object-fit: contain;
  border-radius: 0;
  filter: saturate(1.03) drop-shadow(0 18px 28px rgba(126, 78, 15, 0.08));
  mix-blend-mode: normal;
  transition:
    filter 240ms ease,
    transform 240ms ease;
}

.hero-art:hover .hero-visual {
  filter: saturate(1.08) drop-shadow(0 22px 32px rgba(126, 78, 15, 0.13));
  transform: translateY(-4px);
}

.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: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.feature-section,
.games-section,
.reviews-section {
  padding: 46px 72px 54px;
  background: #fff;
}

.games-section,
.reviews-section {
  padding-top: 24px;
  padding-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: stretch;
  gap: 28px;
  margin-top: 34px;
}

.feature-grid article {
  min-width: 0;
  padding: 4px 10px 0;
  text-align: center;
  border-radius: 16px;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.feature-grid article:hover {
  background: #fffaf0;
  box-shadow: 0 14px 30px rgba(73, 45, 13, 0.07);
  transform: translateY(-5px);
}

.feature-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  border-radius: 21px;
  object-fit: contain;
  background: transparent;
  filter: none;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.feature-grid article:hover .feature-icon {
  filter: drop-shadow(0 10px 14px rgba(255, 178, 0, 0.2));
  transform: translateY(-2px) scale(1.04);
}

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

.feature-grid p {
  margin-top: 9px;
  color: #786a5e;
  font-size: 13px;
  line-height: 1.55;
}

.security-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 410px;
  grid-template-rows: auto 1fr;
  column-gap: 54px;
  row-gap: 24px;
  margin: 12px 72px 44px;
  padding: 40px 58px 36px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 68% 68%, transparent 0 12px, rgba(255, 196, 0, 0.12) 13px 15px, transparent 16px),
    radial-gradient(circle at 85% 38%, rgba(255, 214, 64, 0.08) 0 24px, transparent 25px),
    radial-gradient(ellipse at 78% 69%, rgba(255, 214, 44, 0.12), transparent 35%),
    linear-gradient(135deg, #fffdf7, #fff5db);
  transition:
    box-shadow 220ms ease,
    transform 220ms ease;
}

.security-card:hover {
  box-shadow: 0 18px 46px rgba(73, 45, 13, 0.1);
  transform: translateY(-3px);
}

.security-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 63% 36%, rgba(255, 196, 0, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 32%, rgba(255, 196, 0, 0.1) 0 3px, transparent 4px),
    radial-gradient(circle at 91% 57%, transparent 0 8px, rgba(255, 196, 0, 0.11) 9px 11px, transparent 12px);
}

.security-copy {
  display: contents;
}

.security-copy .section-title {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  justify-items: center;
  text-align: center;
}

.security-copy ul {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1;
  grid-row: 2;
  gap: 18px;
  align-self: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.security-copy li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.security-copy li:hover {
  transform: translateX(4px);
}

.security-copy i {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.security-copy li:hover i {
  background: #ffb700;
  box-shadow: 0 8px 18px rgba(255, 183, 0, 0.24);
  transform: scale(1.08);
}

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

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

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

.security-illustration {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  min-height: 236px;
  overflow: visible;
}

.security-art {
  position: absolute;
  right: -18px;
  bottom: -10px;
  width: min(460px, 112%);
  height: auto;
  object-fit: contain;
  clip-path: none;
  mix-blend-mode: normal;
  transition:
    filter 220ms ease,
    transform 220ms ease;
}

.security-card:hover .security-art {
  filter: drop-shadow(0 12px 22px rgba(126, 78, 15, 0.1));
  transform: translateY(-4px);
}

.game-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: stretch;
  gap: 24px 22px;
  margin-top: 24px;
}

.game-item {
  display: grid;
  justify-items: center;
  gap: 11px;
  min-width: 0;
  padding: 8px 6px 9px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #3d2a1d;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.game-list img {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.game-item:hover,
.game-item:focus-visible {
  background: #fff8e6;
  color: var(--ink);
  box-shadow: 0 12px 24px rgba(73, 45, 13, 0.08);
  transform: translateY(-4px);
}

.game-item:hover img,
.game-item:focus-visible img {
  filter: drop-shadow(0 9px 12px rgba(91, 52, 8, 0.14));
  transform: scale(1.07);
}

.game-item.is-pressed {
  transform: translateY(-1px) scale(0.98);
}

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

.review-grid article {
  min-height: 116px;
  padding: 17px 20px;
  border: 1px solid #eee7dc;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(67, 44, 20, 0.04);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.review-grid article:hover {
  border-color: rgba(255, 196, 0, 0.42);
  box-shadow: 0 16px 34px rgba(67, 44, 20, 0.09);
  transform: translateY(-4px);
}

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

.review-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.stars {
  margin-top: 4px;
  color: #ffc400;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.2;
}

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

.site-footer {
  display: grid;
  grid-template-columns: minmax(250px, 1.45fr) repeat(4, minmax(116px, 0.8fr));
  gap: 28px;
  padding: 30px 72px 24px;
  border-top: 1px solid #efe8db;
  background: #fff;
}

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

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

.site-footer a,
.site-footer button {
  width: fit-content;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer button:hover,
.site-footer button:focus-visible {
  color: var(--ink);
  transform: translateX(2px);
}

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

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

.footer-overview {
  gap: 12px;
}

.footer-overview p {
  max-width: 300px;
  line-height: 1.72;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-badges span {
  padding: 5px 9px;
  border: 1px solid #f0e3ca;
  border-radius: 999px;
  background: #fff8e9;
  color: #6d4a1e;
  font-size: 12px;
  font-weight: 700;
}

.footer-download a:first-of-type {
  color: var(--ink);
  font-weight: 800;
}

.mobile-download-bar {
  position: fixed;
  right: 18px;
  bottom: calc(9px + env(safe-area-inset-bottom));
  left: 18px;
  z-index: 20;
  display: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mobile-download-bar strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.mobile-download-bar em {
  grid-column: 1 / -1;
  color: #75685d;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
}

.mobile-download-actions {
  width: 100%;
  gap: 10px;
}

.mobile-download-bar a,
.mobile-download-bar button {
  display: grid;
  grid-template-columns: auto auto;
  align-content: center;
  justify-content: center;
  column-gap: 9px;
  row-gap: 6px;
  width: 100%;
  height: 64px;
  border-radius: 16px;
  font-size: 18px;
}

.mobile-download-bar a {
  flex: 1.18 1 0;
}

.mobile-download-bar button {
  flex: 0.82 1 0;
  background: linear-gradient(180deg, #fffdf7, #fff3c9);
  box-shadow: 0 10px 22px rgba(73, 45, 13, 0.12);
}

.info-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 22px;
}

.info-modal[hidden] {
  display: none;
}

.info-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(32, 18, 8, 0.46);
  cursor: pointer;
  animation: fadeIn 180ms ease both;
}

.info-dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: 30px 32px 28px;
  border: 1px solid rgba(255, 205, 40, 0.45);
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 212, 36, 0.22), transparent 34%),
    #fffdfa;
  box-shadow: 0 28px 86px rgba(41, 22, 8, 0.28);
  outline: none;
  animation: dialogIn 220ms ease both;
}

.info-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff1c2;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.info-close:hover,
.info-close:focus-visible {
  background: var(--yellow);
}

.info-close.is-pressed {
  transform: scale(0.94);
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  animation: revealIn 420ms ease forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes revealIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.info-eyebrow {
  color: var(--yellow-deep);
  font-size: 13px;
  font-weight: 800;
}

.info-dialog h2 {
  margin-top: 8px;
  padding-right: 46px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.25;
}

.info-lead {
  margin-top: 12px;
  color: #6b5544;
  font-size: 15px;
  line-height: 1.8;
}

.info-body {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.info-item {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid #f0e5d6;
}

.info-item strong {
  color: var(--ink);
  font-size: 16px;
}

.info-item p,
.info-note {
  color: #6f6258;
  font-size: 14px;
  line-height: 1.7;
}

.info-note {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff5d8;
}

@media (min-width: 521px) and (max-width: 900px) {
  .page-shell {
    width: min(670px, calc(100% - 42px));
    margin: 18px auto 46px;
    border-radius: 12px;
  }

  .site-header {
    height: 74px;
    padding: 0 30px;
  }

  .brand {
    gap: 10px;
    min-width: 168px;
  }

  .brand img,
  .footer-brand img {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .brand strong,
  .footer-brand strong {
    font-size: 17px;
  }

  .brand em,
  .footer-brand em {
    font-size: 14px;
  }

  .top-nav {
    gap: 38px;
    font-size: 13px;
  }

  .header-download {
    width: 96px;
    height: 36px;
    border-radius: 9px;
  }

  .header-actions .ios-download {
    display: none;
  }

  .hero {
    grid-template-columns: 315px 1fr;
    min-height: 370px;
    padding: 44px 34px 0;
    background:
      radial-gradient(circle at 82% 18%, rgba(255, 223, 69, 0.34), transparent 30%),
      linear-gradient(135deg, #fffaf0 0%, #fff4c7 100%);
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1.22;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 20px;
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 246px;
    margin-top: 28px;
  }

  .hero-download {
    width: auto;
    height: 56px;
    font-size: 15px;
  }

  .version-line {
    margin-top: 10px;
    font-size: 10px;
  }

  .trust-row {
    gap: 22px;
    margin-top: 23px;
    font-size: 12px;
  }

  .hero-art {
    min-height: 326px;
  }

  .hero-visual {
    right: -8px;
    top: -32px;
    width: 366px;
  }

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

  .feature-section,
  .games-section,
  .reviews-section {
    padding: 25px 34px 31px;
  }

  .games-section,
  .reviews-section {
    padding-top: 12px;
    padding-bottom: 14px;
  }

  .feature-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 27px;
  }

  .feature-grid article {
    flex: 1;
    padding: 0;
  }

  .feature-icon {
    width: 84px;
    height: 84px;
  }

  .feature-grid h3 {
    margin-top: 13px;
    font-size: 16px;
  }

  .feature-grid p {
    margin-top: 7px;
    font-size: 12px;
  }

  .security-card {
    grid-template-columns: 0.92fr 1.08fr;
    column-gap: 22px;
    row-gap: 9px;
    margin: 12px 34px 20px;
    padding: 22px 44px;
    border-radius: 15px;
  }

  .security-copy ul {
    gap: 12px;
  }

  .security-copy li {
    gap: 13px;
  }

  .security-copy i {
    width: 21px;
    height: 21px;
  }

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

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

  .security-illustration {
    min-height: 178px;
  }

  .security-art {
    right: -18px;
    bottom: -12px;
    width: 338px;
  }

  .game-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px 10px;
    margin-top: 15px;
  }

  .game-item {
    gap: 10px;
    padding: 6px 4px 7px;
    font-size: 12px;
  }

  .game-list img {
    width: 50px;
    height: 50px;
  }

  .review-grid {
    gap: 14px;
    margin-top: 14px;
  }

  .review-grid article {
    min-height: 82px;
    padding: 9px 12px;
    border-radius: 10px;
  }

  .review-user img {
    width: 31px;
    height: 31px;
  }

  .stars {
    margin-top: 2px;
    font-size: 13px;
  }

  .review-grid article > p:last-child {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.38;
  }

  .site-footer {
    gap: 14px;
    padding: 15px 34px 12px;
  }

  .site-footer > div {
    gap: 6px;
  }

  .site-footer a,
  .site-footer em,
  .copyright {
    font-size: 11px;
  }

  .copyright {
    margin-top: 5px;
  }

  .footer-overview p,
  .footer-badges {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    padding-bottom: 108px;
    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: 42px;
    height: 42px;
    border-radius: 10px;
  }

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

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

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

  .top-nav.is-open {
    position: absolute;
    top: 64px;
    right: 14px;
    z-index: 12;
    display: grid;
    align-self: auto;
    gap: 0;
    width: min(210px, calc(100vw - 28px));
    padding: 8px;
    border: 1px solid #f0e1c1;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 44px rgba(43, 30, 18, 0.15);
    font-size: 14px;
  }

  .top-nav.is-open a {
    justify-items: start;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
  }

  .top-nav.is-open a:hover,
  .top-nav.is-open a:focus-visible {
    background: #fff3c9;
  }

  .top-nav a::after,
  .top-nav a.active::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 24px 18px 18px;
  }

  .hero-copy {
    display: contents;
    padding-top: 0;
  }

  .hero h1 {
    order: 1;
    font-size: 31px;
    line-height: 1.2;
  }

  .hero-lead {
    order: 2;
    margin-top: 10px;
    font-size: 15px;
  }

  .download-actions {
    order: 4;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
  }

  .hero-download {
    width: 100%;
    height: 52px;
    font-size: 19px;
  }

  .hero-download.ios-download {
    width: 100%;
    font-size: 17px;
  }

  .version-line {
    order: 5;
    align-self: center;
    margin-top: 9px;
    font-size: 10px;
  }

  .trust-row {
    order: 6;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding: 0 1px;
    font-size: 12px;
  }

  .trust-row i {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }

  .hero-art {
    order: 3;
    min-height: 0;
    margin-top: 10px;
  }

  .hero-art::before {
    display: none;
  }

  .hero-visual {
    position: relative;
    right: auto;
    left: auto;
    top: auto;
    display: block;
    width: min(292px, 82vw);
    margin: 0 auto;
    transform: none;
  }

  .hero-art:hover .hero-visual {
    transform: none;
  }

  .feature-section,
  .games-section,
  .reviews-section {
    padding: 22px 18px 28px;
  }

  .feature-section {
    padding-top: 20px;
  }

  .section-title h2 {
    font-size: 20px;
    line-height: 1.25;
  }

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

  .feature-grid article {
    display: grid;
    grid-template-columns: 40px 1fr 16px;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 4px;
    min-height: 62px;
    padding: 11px 13px;
    border-bottom: 1px solid #eee6d9;
    text-align: left;
  }

  .feature-grid article:hover {
    background: #fffaf0;
    box-shadow: none;
    transform: none;
  }

  .feature-grid article::after {
    content: "";
    justify-self: center;
    width: 8px;
    height: 8px;
    border-top: 2px solid #c4b7a8;
    border-right: 2px solid #c4b7a8;
    transform: rotate(45deg);
  }

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

  .feature-icon {
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
    margin: 0;
    border-radius: 0;
    font-size: 20px;
  }

  .feature-grid h3 {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
    font-size: 14.5px;
    line-height: 1.2;
  }

  .feature-grid p {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    font-size: 11px;
    line-height: 1.35;
  }

  .security-card {
    grid-template-columns: minmax(0, 1fr) 150px;
    grid-template-rows: auto 1fr;
    margin: 10px 18px 22px;
    padding: 20px 16px 18px;
    column-gap: 8px;
    row-gap: 14px;
  }

  .security-copy ul {
    gap: 14px;
    align-self: center;
  }

  .security-copy li {
    gap: 11px;
  }

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

  .security-copy em {
    font-size: 11.5px;
    line-height: 1.45;
  }

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

  .security-art {
    right: -36px;
    bottom: -2px;
    width: 202px;
    height: auto;
  }

  .game-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px 8px;
    margin-top: 16px;
  }

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

  .game-item {
    gap: 8px;
    padding: 7px 2px 8px;
    font-size: 12px;
    line-height: 1.25;
  }

  .game-item:hover,
  .game-item:focus-visible {
    box-shadow: none;
    transform: none;
  }

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

  .review-grid::-webkit-scrollbar {
    display: none;
  }

  .review-grid article {
    flex: 0 0 82%;
    padding: 14px 16px;
    scroll-snap-align: start;
  }

  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 20px 118px;
  }

  .site-footer > div {
    gap: 7px;
  }

  .site-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
  }

  .footer-brand {
    display: flex;
  }

  .footer-overview p {
    max-width: none;
  }

  .mobile-download-bar {
    display: flex;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .mobile-download-actions {
    gap: 9px;
  }

  .mobile-download-bar a,
  .mobile-download-bar button {
    min-height: 62px;
    padding: 0 8px;
    font-size: 16px;
  }

  .mobile-download-bar strong {
    font-size: 16px;
  }

  .mobile-download-bar em {
    font-size: 11px;
  }

  body.show-mobile-download .mobile-download-bar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .info-modal {
    align-items: end;
    padding: 14px;
  }

  .info-dialog {
    width: 100%;
    max-height: calc(100vh - 28px);
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 14px;
  }

  .info-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }

  .info-dialog h2 {
    font-size: 23px;
  }

  .info-lead {
    font-size: 14px;
  }

  .info-item strong {
    font-size: 15px;
  }

  .info-item p,
  .info-note {
    font-size: 13px;
  }
}
