:root {
  --ink: #171717;
  --muted: #696969;
  --line: #dedede;
  --surface: #f5f5f3;
  --white: #fff;
  --accent: #ef4f2f;
  --accent-dark: #cb351c;
  --purple: #6c39b7;
  --yellow: #f4dc68;
  --max: 1240px;
  --font: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.announcement-bar {
  padding: 8px 20px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-main {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(260px, 1fr) auto auto auto;
  gap: 20px;
  align-items: center;
  min-height: 88px;
}

.cart-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.cart-link:hover {
  background: var(--ink);
  color: var(--white);
}

.cart-link svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
}

.logo-copy {
  display: grid;
  line-height: 1.1;
}

.logo-copy strong {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -.02em;
}

.logo-copy small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-search {
  display: grid;
  grid-template-columns: 1fr 48px;
  height: 48px;
  border: 1px solid #bdbdbd;
  background: var(--white);
}

.site-search:focus-within {
  border-color: var(--ink);
}

.site-search input {
  min-width: 0;
  border: 0;
  padding: 0 16px;
  outline: 0;
  color: var(--ink);
}

.site-search button {
  display: grid;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--accent);
  color: var(--white);
}

.site-search button:hover {
  background: var(--accent-dark);
}

.site-search svg {
  width: 21px;
  height: 21px;
}

.header-help {
  display: grid;
  justify-items: end;
  line-height: 1.3;
  white-space: nowrap;
}

.header-help span {
  color: var(--muted);
  font-size: 11px;
}

.header-help a {
  font-size: 13px;
  font-weight: 700;
}

.nav-row {
  border-top: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 48px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 19px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.nav a:first-child {
  padding-left: 0;
  padding-right: 24px;
}

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: currentColor;
  transition: transform .2s, opacity .2s, top .2s;
}

.nav-toggle-bar:nth-child(1) { top: 16px; }
.nav-toggle-bar:nth-child(2) { top: 23px; }
.nav-toggle-bar:nth-child(3) { top: 30px; }
.site-header.is-open .nav-toggle-bar:nth-child(1) { top: 23px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-bar:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: none;
  background: rgba(0, 0, 0, .45);
}

.nav-backdrop.show {
  display: block;
}

main {
  min-height: 55vh;
}

.home-hero {
  border-bottom: 1px solid var(--line);
  background: #f1efe9;
}

.hero-layout {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 540px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px 64px 64px 0;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 600px;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -.045em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 0 0 28px;
  color: #4d4d4d;
  font-size: 16px;
}

.hero-media {
  min-width: 0;
  min-height: 460px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-weight: 800;
  font-size: 13px;
  transition: background .2s, color .2s, border-color .2s;
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover,
.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.hero-points {
  display: flex;
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-points li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 36px;
  border: 1px solid var(--line);
}

.category-strip a {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 16px 22px;
  border-right: 1px solid var(--line);
}

.category-strip a:last-child {
  border-right: 0;
}

.category-strip a:hover {
  background: var(--surface);
}

.category-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.category-strip strong {
  align-self: end;
  font-size: 13px;
}

.category-strip small {
  align-self: start;
  color: var(--muted);
  font-size: 11px;
}

.section {
  padding-top: 86px;
  padding-bottom: 86px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 20px;
}

.section-heading h2,
.split-copy h2,
.contact-layout h2,
.help-band h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
}

.card-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.card-media img,
.game-card > img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .3s;
}

.game-card:hover .card-media img {
  transform: scale(1.025);
}

.card-label {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 9px;
  background: var(--accent);
  color: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.game-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 2px 0;
}

.card-category {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.game-card-body h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.2;
}

.game-card-body > span {
  color: var(--muted);
  font-size: 12px;
}

.card-action {
  width: 100%;
  margin-top: 15px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  text-align: center;
  font-size: 11px;
  text-transform: uppercase;
}

.game-card:hover .card-action {
  background: var(--ink);
  color: var(--white);
}

.help-band {
  background: var(--yellow);
}

.help-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  min-height: 280px;
  padding-block: 48px;
}

.help-band-inner > div {
  max-width: 720px;
}

.help-band p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.split-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--accent);
}

.contact-section {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}

.contact-layout > div > p:not(.eyebrow) {
  color: var(--muted);
}

.contact-details {
  margin: 28px 0 0;
}

.contact-details div {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  color: var(--muted);
  font-size: 11px;
}

.contact-details dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid #bcbcbc;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  padding: 12px 14px;
  outline: 0;
}

.form input {
  min-height: 48px;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--ink);
}

.form-msg {
  display: none;
  margin: 0;
  padding: 12px;
  background: #e7f4e8;
  font-size: 12px;
  font-weight: 700;
}

.form-msg.show {
  display: block;
}

.service-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-grid > div {
  display: grid;
  gap: 3px;
  min-height: 104px;
  align-content: center;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

.service-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.service-grid strong {
  font-size: 12px;
}

.service-grid span {
  color: var(--muted);
  font-size: 10px;
}

.site-footer {
  background: #202020;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-top: 62px;
  padding-bottom: 50px;
}

.footer-brand {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}

.footer-about p {
  max-width: 320px;
  color: #adadad;
  font-size: 11px;
}

.footer-grid h2 {
  margin: 0 0 15px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: #bdbdbd;
  font-size: 11px;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 22px;
  border-top: 1px solid #424242;
}

.footer-payments p {
  margin: 0;
  color: #cfcfcf;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-methods img {
  width: 72px;
  height: 45px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid #424242;
  color: #a9a9a9;
  font-size: 10px;
}

.footer-bottom span:last-child {
  margin-left: auto;
}

.age-badge {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #9a9a9a;
  color: var(--white);
  font-weight: 800;
}

.game-page,
.legal-page {
  padding-top: 42px;
  padding-bottom: 84px;
}

.game-page .panel,
.legal-page .panel {
  max-width: 1100px;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: clamp(24px, 5vw, 56px);
}

.legal-page .panel {
  max-width: 880px;
}

.game-hero {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.game-hero img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.game-hero h1,
.legal-page h1 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.04em;
}

.game-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.iframe-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.iframe-shell iframe,
.slot-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.iframe-shell iframe {
  border: 0;
}

.slot-poster {
  object-fit: cover;
  filter: brightness(.55) saturate(.9);
}

.slot-launch {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--white);
}

.slot-launch-icon {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  background: var(--accent);
}

.slot-launch-icon svg {
  width: 32px;
  height: 32px;
  margin-left: 3px;
}

.slot-launch-label {
  margin-top: 8px;
  font-weight: 800;
}

.slot-launch-note {
  font-size: 11px;
  opacity: .75;
}

.iframe-shell.is-live .slot-poster,
.iframe-shell.is-live .slot-launch {
  display: none;
}

.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0 40px;
  border: 1px solid var(--line);
}

.spec {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.spec:last-child {
  border-right: 0;
}

.spec h3 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.spec p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.game-copy {
  max-width: 800px;
}

.game-copy h2,
.legal-page h2 {
  margin: 32px 0 8px;
  font-family: var(--display);
  font-size: 22px;
}

.game-copy p,
.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(650px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid #444;
  background: #202020;
  color: var(--white);
}

.cookie-banner.show {
  display: grid;
}

.cookie-banner p {
  margin: 0;
  color: #d0d0d0;
  font-size: 11px;
}

.cookie-banner a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-banner .btn {
  min-width: 100px;
}

.chat-toggle {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 55;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
}

.chat-toggle svg {
  width: 24px;
  height: 24px;
}

.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 55;
  display: none;
  flex-direction: column;
  width: min(340px, calc(100% - 40px));
  max-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.chat-panel.open {
  display: flex;
}

.chat-head {
  padding: 14px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.chat-body {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: var(--surface);
}

.chat-msg {
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 11px;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--line);
}

.chat-form input {
  min-width: 0;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 10px;
}

.chat-form button {
  min-height: 46px;
  border: 0;
  padding-inline: 15px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 1000px) {
  .header-main {
    grid-template-columns: 220px 1fr auto auto;
  }

  .header-help {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr 1.15fr;
  }

  .hero-copy {
    padding-right: 38px;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 22px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 820px) {
  .announcement-bar {
    font-size: 10px;
  }

  .site-header {
    position: relative;
  }

  .header-main {
    grid-template-columns: 1fr auto auto;
    min-height: 72px;
  }

  .site-search {
    grid-column: 1 / 3;
    grid-row: 2;
    width: 100%;
    margin-bottom: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-row {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 51;
    border-top: 0;
  }

  .nav {
    display: grid;
    width: 100%;
    padding: 10px 20px 18px;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .2s;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a,
  .nav a:first-child {
    min-height: 46px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 54px 0;
  }

  .hero-media {
    min-height: 380px;
  }

  .category-strip {
    grid-template-columns: 1fr 1fr;
  }

  .category-strip a:nth-child(2) {
    border-right: 0;
  }

  .category-strip a:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .split-section,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .help-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-grid > div:nth-child(2) {
    border-right: 0;
  }

  .service-grid > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

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

  .logo-mark {
    width: 40px;
    height: 40px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-points {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .category-strip {
    margin-top: 20px;
  }

  .category-strip a {
    grid-template-columns: 40px 1fr;
    column-gap: 10px;
    min-height: 82px;
    padding: 12px;
  }

  .category-icon {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-heading {
    display: grid;
    gap: 12px;
  }

  .games-grid {
    gap: 28px 12px;
  }

  .game-card-body h3 {
    font-size: 14px;
  }

  .card-action {
    padding-inline: 6px;
    font-size: 9px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .form {
    padding: 22px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-grid > div,
  .service-grid > div:first-child {
    min-height: 82px;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-grid > div:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom span:last-child {
    margin-left: 0;
  }

  .game-hero {
    grid-template-columns: 110px 1fr;
    gap: 18px;
  }

  .game-hero h1 {
    font-size: 30px;
  }

  .iframe-shell {
    aspect-ratio: 9 / 14;
    max-height: 75vh;
  }

  .specs {
    grid-template-columns: 1fr;
  }

  .spec {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .spec:last-child {
    border-bottom: 0;
  }

  .cookie-banner {
    left: 14px;
    bottom: 14px;
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .cookie-banner .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .games-grid {
    grid-template-columns: 1fr;
  }

  .game-hero {
    grid-template-columns: 1fr;
  }

  .game-hero img {
    max-width: 150px;
  }
}


.page-hero {
  padding-top: 54px;
  padding-bottom: 20px;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -.04em;
}

.page-hero > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.catalog-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.catalog-tabs a:hover {
  background: var(--ink);
  color: var(--white);
}

.products-grid,
.shop-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card,
.shop-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
}

.product-card .card-media,
.shop-preview img {
  border: 1px solid var(--line);
  background: var(--surface);
}

.product-card .card-media img,
.shop-preview img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.shop-preview > div {
  padding-top: 14px;
}

.product-price {
  margin: 12px 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}

.product-card .btn {
  width: 100%;
  margin-top: auto;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}

.cart-panel {
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 280px;
}

.cart-empty {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 40px;
}

.cart-empty[hidden],
.cart-summary[hidden] {
  display: none !important;
}

.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.cart-item-controls button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-weight: 800;
}

.cart-item-controls span {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.cart-item-remove {
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
}

.cart-item-price {
  font-weight: 800;
  white-space: nowrap;
}

.cart-summary {
  padding: 18px;
  background: var(--surface);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 15px;
}

.cart-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-form-wrap .form {
  position: sticky;
  top: 110px;
}

.cart-form-wrap h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 28px;
}

.form-intro {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 70;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1000px) {
  .products-grid,
  .shop-preview-grid,
  .cart-layout {
    grid-template-columns: 1fr 1fr;
  }

  .cart-layout {
    gap: 28px;
  }

  .cart-form-wrap {
    grid-column: 1 / -1;
  }

  .cart-form-wrap .form {
    position: static;
  }
}

@media (max-width: 700px) {
  .products-grid,
  .shop-preview-grid {
    grid-template-columns: 1fr;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item-price {
    grid-column: 2;
  }

  .footer-payments {
    flex-direction: column;
    align-items: flex-start;
  }
}
