:root {
  --bg: #252525;
  --panel: #303030;
  --panel-soft: #383838;
  --ink: #f3f3f3;
  --muted: #a9a9a9;
  --orange: #ff6a13;
  --green: #42d87d;
  --blue: #3f88ff;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 8px;
  font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 32%, rgba(255, 106, 19, 0.16), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(142, 92, 255, 0.22), transparent 36%),
    linear-gradient(180deg, rgba(37, 37, 37, 0.44) 0%, rgba(37, 37, 37, 0.62) 52%, rgba(37, 37, 37, 0.78) 100%),
    url("assets/site-cosmic-gaming-bg.webp") center top / cover fixed no-repeat;
  color: var(--ink);
  scroll-behavior: smooth;
  font-size: 16px;
  font-weight: 400;
}

@supports (backdrop-filter: blur(1px)) {
  body {
    position: relative;
    isolation: isolate;
    background:
      radial-gradient(circle at 16% 32%, rgba(255, 106, 19, 0.16), transparent 30%),
      radial-gradient(circle at 86% 18%, rgba(142, 92, 255, 0.22), transparent 36%),
      linear-gradient(180deg, rgba(37, 37, 37, 0.44) 0%, rgba(37, 37, 37, 0.62) 52%, rgba(37, 37, 37, 0.78) 100%),
      url("assets/site-cosmic-gaming-bg.webp") center top / cover fixed no-repeat;
  }

  body::before,
  body::after {
    display: none;
  }
}

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

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

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

a,
button,
input,
select,
.game-card,
.cat {
  transition-duration: 220ms;
  transition-timing-function: ease;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--orange), #ffbc47, var(--green));
  transform: scaleX(0);
  transform-origin: left;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(360px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: var(--radius);
  color: #101010;
  background: var(--orange);
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transition: opacity 260ms ease, transform 260ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 8vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  border-bottom: 0;
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(17, 17, 17, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.brand,
.main-nav,
.header-actions,
.hero-buy,
.section-heading,
.trust-band,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  gap: 0;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 0.86;
}

.brand > span:not(.brand-mark) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(240px, 20vw, 330px);
  height: clamp(68px, 6vw, 96px);
  border-radius: 0;
  background:
    url("assets/galaxygame-header-logo-cropped.webp") center / cover no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: none;
  transform-origin: center;
  transition: transform 300ms ease, filter 300ms ease, box-shadow 300ms ease;
  will-change: transform, filter;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 14px;
  background:
    conic-gradient(from 0deg, transparent 0 18%, rgba(255, 106, 19, 0.92) 22%, transparent 30% 58%, rgba(137, 91, 255, 0.9) 64%, transparent 72% 100%);
  filter: blur(10px);
  opacity: 0;
  transform: scale(0.92) rotate(0deg);
  transition: opacity 220ms ease, transform 300ms ease;
  pointer-events: none;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  animation: logoShock 620ms ease both;
  filter: drop-shadow(0 0 12px rgba(255, 106, 19, 0.42)) drop-shadow(0 0 18px rgba(118, 74, 255, 0.28));
  box-shadow: none;
}

.brand:hover .brand-mark::before,
.brand:focus-visible .brand-mark::before {
  opacity: 1;
  animation: logoSpark 620ms linear both;
}

.main-nav {
  gap: clamp(16px, 1.7vw, 30px);
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  font-weight: 700;
}

.main-nav a:hover,
.section-heading a:hover {
  color: var(--orange);
}

.main-nav a {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

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

.header-actions {
  gap: 10px;
}

.auth-controls,
.auth-user {
  position: relative;
}

/* Author-level display rules must never override the Identity state. */
.auth-controls [hidden],
.auth-user[hidden],
.auth-dropdown[hidden] {
  display: none !important;
}

.auth-login-button,
.auth-user-button,
.account-logout {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 0 14px;
  color: #fff;
  background: rgba(25, 25, 25, 0.78);
  font: inherit;
  font-weight: 900;
  white-space: nowrap;
  transition: border-color 180ms ease, background 180ms ease;
}

.auth-login-button.account-icon-button,
.auth-user-button.account-icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  max-width: 44px;
  border-radius: 50%;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.auth-login-button.account-icon-button:hover,
.auth-user-button.account-icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.16);
}

.header-user-icon,
.cart-icon {
  display: grid;
  place-items: center;
}

.header-user-icon svg,
.cart-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-login-button::before,
.auth-user-button::before {
  content: none;
}

.auth-login-button:hover,
.auth-user-button:hover {
  border-color: var(--orange);
  background: #282828;
}

.auth-user-button {
  max-width: 180px;
}

.auth-user-button span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-dropdown {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 80;
  width: 170px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #1b1b1b;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.auth-login-dropdown {
  width: 150px;
}

.auth-dropdown a,
.auth-dropdown button {
  display: block;
  width: 100%;
  border: 0;
  padding: 12px 14px;
  color: #fff;
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.auth-dropdown a:hover,
.auth-dropdown button:hover {
  color: var(--orange);
  background: #252525;
}

body.password-recovery-open {
  overflow: hidden;
}

body.password-recovery-open .sales-chat {
  display: none !important;
}

.password-recovery-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 7, 10, 0.82);
  backdrop-filter: blur(8px);
}

.password-recovery-dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border: 1px solid rgba(255, 111, 20, 0.5);
  border-radius: var(--radius);
  padding: 34px;
  color: #fff;
  background: #1b1b1d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

.password-recovery-dialog h1 {
  margin: 6px 34px 10px 0;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.05;
}

.password-recovery-dialog > p,
.password-recovery-success > p {
  margin: 0 0 24px;
  color: #c8c8cc;
  line-height: 1.5;
}

.password-recovery-kicker {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.password-recovery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 26px;
  cursor: pointer;
}

.password-recovery-form {
  display: grid;
  gap: 15px;
}

.password-recovery-form label {
  display: grid;
  gap: 7px;
  color: #f4f4f4;
  font-weight: 800;
}

.password-recovery-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #55555c;
  border-radius: var(--radius);
  padding: 0 14px;
  color: #fff;
  background: #111113;
  font: inherit;
  font-size: 16px;
}

.password-recovery-form input:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-color: transparent;
}

.password-recovery-hint {
  margin: -6px 0 0;
  color: #9d9da3;
  font-size: 13px;
}

.password-recovery-status {
  min-height: 0;
  margin: 0;
  color: #ffb28a;
  line-height: 1.35;
}

.password-recovery-status:empty {
  display: none;
}

.password-recovery-submit {
  min-height: 50px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 20px;
  color: #fff;
  background: linear-gradient(90deg, #ff7318, #ff3d2e);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.password-recovery-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.password-recovery-success {
  display: grid;
  justify-items: start;
}

.password-recovery-success-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border: 2px solid #43cf70;
  border-radius: 50%;
  color: #43cf70;
  font-size: 27px;
  font-weight: 900;
}

@media (max-width: 520px) {
  .password-recovery-overlay {
    align-items: end;
    padding: 0;
  }

  .password-recovery-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
  }
}

.account-main {
  min-height: 78vh;
  padding: 128px 8vw 80px;
}

.legal-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 96px 20px;
  background:
    radial-gradient(circle at 28% 22%, rgba(137, 91, 255, 0.16), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(255, 106, 19, 0.13), transparent 26%),
    #191919;
}

.legal-card {
  width: min(620px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 54px);
  background: rgba(35, 35, 35, 0.94);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.legal-card h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 7vw, 62px);
  line-height: 0.95;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.55;
}

.legal-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  color: #151515;
  background: var(--orange);
  font-weight: 900;
}

.account-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.account-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.account-heading h1 {
  margin: 4px 0 8px;
  font-size: clamp(38px, 5vw, 62px);
}

.account-heading p,
.account-orders p,
.empty-orders p {
  color: var(--muted);
}

.account-kicker {
  margin: 0;
  color: var(--orange) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.account-logout {
  color: #171717;
  background: var(--orange);
  border-color: var(--orange);
}

.account-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.account-details div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  background: #1d1d1d;
}

.account-details span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-details strong {
  overflow-wrap: anywhere;
  font-size: 18px;
}

.account-orders {
  margin-top: 58px;
}

.empty-orders {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  background: #1b1b1b;
}

.empty-orders strong {
  font-size: 22px;
}

.empty-orders a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 10px;
  border-radius: var(--radius);
  padding: 0 18px;
  color: #171717;
  background: var(--orange);
  font-weight: 900;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .site-header .header-search {
    grid-template-columns: minmax(110px, 150px) 42px;
  }

  .site-header .main-nav {
    gap: 12px;
    font-size: 14px;
  }

  .auth-login-button,
  .auth-user-button {
    padding-inline: 10px;
  }
}

.header-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 230px) 42px;
  min-height: 42px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(12px);
  transition: border-color 180ms ease, background 180ms ease;
}

.header-search:focus-within {
  border-color: var(--orange);
  background: rgba(20, 20, 20, 0.92);
}

.header-search input {
  min-width: 0;
  border: 0;
  padding: 0 13px;
  color: #fff;
  background: transparent;
  font: inherit;
  outline: 0;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.header-search button {
  position: relative;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--orange);
}

.header-search button::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 12px;
  width: 10px;
  height: 10px;
  border: 2px solid #171717;
  border-radius: 50%;
}

.header-search button::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 23px;
  width: 7px;
  height: 2px;
  background: #171717;
  transform: rotate(45deg);
  transform-origin: left center;
}

.header-search-close {
  display: none;
}

.header-search-close::before,
.header-search-close::after {
  content: none;
}

.search-preview {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 130;
  width: min(430px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(18, 18, 18, 0.98);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(16px);
}

.search-preview-list {
  display: grid;
}

.search-preview-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 66px;
  padding: 9px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 180ms ease, transform 180ms ease;
}

.search-preview-item:hover,
.search-preview-item:focus-visible {
  background: rgba(255, 106, 19, 0.11);
}

.search-preview-item img {
  width: 46px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  background: #101010;
}

.search-preview-item span {
  min-width: 0;
}

.search-preview-item strong,
.search-preview-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-preview-item strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.15;
}

.search-preview-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.search-preview-item b {
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
}

.search-preview-empty,
.search-preview-all {
  display: block;
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.search-preview-all {
  color: var(--orange);
  background: rgba(255, 106, 19, 0.08);
  text-align: center;
}

.search-preview-all:hover {
  background: rgba(255, 106, 19, 0.16);
}

.solid-header {
  position: fixed;
  background: rgba(17, 17, 17, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.catalog-page-main {
  min-height: 72vh;
  padding-top: 104px;
}

.catalog-page .catalog-section {
  padding-top: 32px;
}

.catalog-page .catalog-heading h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
}

.catalog-preview-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.section-link {
  color: var(--orange);
  font-weight: 900;
}

.icon-button,
.cart-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.34);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.icon-button:hover,
.cart-button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.66);
  transform: translateY(-2px);
}

.cart-button {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-weight: 800;
}

.cart-count-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border: 2px solid #111;
  border-radius: 999px;
  padding: 0 5px;
  color: #171717;
  background: var(--orange);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.cart-shell {
  position: relative;
  flex: 0 0 auto;
}

.cart-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 90;
  width: min(390px, 88vw);
  padding: 14px;
  visibility: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #242424;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.cart-popover::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  width: 80px;
  height: 14px;
}

.cart-shell:hover .cart-popover,
.cart-shell:focus-within .cart-popover,
.cart-shell.open .cart-popover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mini-cart-heading,
.mini-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mini-cart-heading {
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.mini-cart-heading span,
.mini-cart-more,
.mini-cart-empty p {
  color: var(--muted);
  font-size: 13px;
}

.mini-cart-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.mini-cart-item img {
  width: 58px;
  height: 58px;
  border-radius: 5px;
  object-fit: contain;
  background: #171717;
}

.mini-cart-item span,
.mini-cart-item strong,
.mini-cart-item small {
  min-width: 0;
}

.mini-cart-item strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cart-item small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.mini-cart-item b {
  color: white;
  white-space: nowrap;
}

.mini-cart-total {
  padding: 13px 0;
}

.mini-cart-total strong {
  font-size: 20px;
}

.mini-cart-cta,
.mini-cart-empty a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--orange);
  color: white;
  font-weight: 900;
}

.mini-cart-empty {
  text-align: center;
}

.mini-cart-empty strong {
  font-size: 17px;
}

.mini-cart-empty p {
  margin: 7px 0 13px;
  line-height: 1.45;
}

.cart-main {
  min-height: 78vh;
  padding: 132px max(7vw, 24px) 70px;
}

.cart-heading,
.cart-layout,
.cart-confidence,
.cart-empty {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.cart-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.cart-heading h1 {
  margin: 4px 0 8px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.95;
}

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

.cart-heading > a {
  color: var(--orange);
  font-weight: 900;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  gap: 28px;
  align-items: start;
}

.cart-products-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.cart-products-heading h2,
.cart-summary h2 {
  margin: 0;
  font-size: 24px;
}

.cart-products-heading span {
  color: var(--muted);
}

.cart-products-heading button,
.cart-line-copy button {
  padding: 0;
  color: var(--muted);
  background: transparent;
}

.cart-products-heading button:hover,
.cart-line-copy button:hover {
  color: var(--orange);
}

.cart-line {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line-image {
  display: grid;
  min-height: 132px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #171717;
}

.cart-line-image img {
  width: 100%;
  height: 132px;
  object-fit: contain;
}

.cart-line-copy h2 {
  margin: 7px 0;
  font-size: 20px;
  line-height: 1.08;
}

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

.cart-line-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-line-tags span {
  padding: 4px 7px;
  border-radius: 4px;
  background: #333;
  color: #ddd;
  font-size: 11px;
  font-weight: 700;
}

.cart-line-price {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 4px;
  white-space: nowrap;
}

.cart-line-price s {
  color: var(--muted);
}

.cart-line-price strong {
  font-size: 22px;
}

.cart-summary {
  position: sticky;
  top: 112px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #303030;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.24);
}

.cart-summary-line,
.cart-summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cart-summary-line {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.cart-summary-total {
  padding: 18px 0 8px;
  font-size: 18px;
}

.cart-summary-total strong {
  font-size: 30px;
}

.cart-tax-note {
  margin: 5px 0 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.checkout-form label > span:first-child {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.checkout-form input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: white;
  background: #222;
  font: inherit;
}

.checkout-form input[type="email"][readonly] {
  color: #d7d7d7;
  background: #191919;
  cursor: default;
}

.checkout-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 9px;
  align-items: start;
  margin: 15px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.checkout-consent a {
  color: white;
  text-decoration: underline;
}

.checkout-form > button {
  width: 100%;
  min-height: 50px;
  border-radius: 6px;
  color: white;
  background: var(--orange);
  font-weight: 900;
}

.checkout-form > button:disabled {
  opacity: .68;
  cursor: wait;
}

.checkout-notice {
  margin-top: 14px;
  padding: 13px;
  border-left: 3px solid var(--orange);
  background: #252525;
}

.checkout-notice p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cart-confidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.cart-confidence article {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cart-confidence span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.cart-empty {
  padding: 70px 20px;
  border-block: 1px solid var(--line);
  text-align: center;
}

.cart-empty strong {
  font-size: 28px;
}

.cart-empty p {
  margin: 8px auto 20px;
  color: var(--muted);
}

.cart-empty a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 18px;
  border-radius: 6px;
  color: white;
  background: var(--orange);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: clamp(520px, 50vw, 690px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.62) 35%, rgba(10, 10, 10, 0.16) 72%),
    linear-gradient(0deg, rgba(37, 37, 37, 0.98) 0%, rgba(37, 37, 37, 0) 42%),
    radial-gradient(circle at 70% 24%, rgba(255, 82, 190, 0.38), transparent 24%),
    url("assets/gta-vi-landscape-hq.webp") center / cover;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scale(1.05);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-platform-bar {
  position: absolute;
  top: 82px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(31, 39, 45, 0.62);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  transform: translateX(-50%);
  animation: floatIn 700ms 180ms both cubic-bezier(0.2, 0.9, 0.2, 1);
}

.hero-platform-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 136px;
  height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  color: #e9eef2;
  background: transparent;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hero-platform-bar button:hover,
.hero-platform-bar button.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
}

.hero-platform-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.hero-platform-bar button.active {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.platform-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 11px;
  font-weight: 900;
}

.ps-icon {
  border: 2px solid currentColor;
  border-radius: var(--radius);
}

.xbox-icon {
  border-radius: 50%;
  background: #107c10;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-platform-bar .hero-search {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 66px;
  min-width: 66px;
  width: 66px;
  height: 66px;
  margin-left: 6px;
  padding: 0;
  background: var(--orange);
  color: white;
  font-size: 30px;
  font-weight: 400;
  box-shadow: 0 12px 28px rgba(255, 106, 19, 0.38);
}

.hero-platform-bar .hero-search:hover {
  background: #ff7b2e;
}

.hero-search::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid currentColor;
  border-radius: 50%;
  transform: translate(-58%, -58%);
}

.hero-search::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(2px, 6px) rotate(45deg);
  transform-origin: left center;
}

.hero-content {
  position: relative;
  width: min(1120px, 86vw);
  margin: 0 auto;
  padding: 0 0 72px;
  animation: heroReveal 850ms 120ms both cubic-bezier(0.2, 0.85, 0.2, 1);
}

.platform-kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 520px;
  margin: 0 0 12px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-meta {
  margin: 0 0 22px;
  color: #d6d6d6;
  font-size: 17px;
}

.hero-buy {
  gap: 12px;
}

.discount,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 6px;
  border-radius: var(--radius);
  background: var(--orange);
  color: #151515;
  font-size: 12px;
  font-weight: 900;
}

.discount {
  animation: softPulse 2200ms ease-in-out infinite;
}

.hero-buy strong {
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.content-section {
  width: min(1120px, 86vw);
  margin: 0 auto;
  padding: 42px 0;
}

.content-section.narrow {
  padding-top: 24px;
}

.section-heading {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1;
}

.section-heading h2::after {
  content: " >";
  color: var(--muted);
}

.section-heading a {
  color: var(--muted);
  font-size: 13px;
}

.platform-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.platform-filter button {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  background: #1d1d1d;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.platform-filter button:hover {
  color: #fff;
  background: #2a2a2a;
  transform: translateY(-1px);
}

.platform-filter button.active {
  background: var(--orange);
  color: #121212;
  font-weight: 800;
}

.catalog-section {
  padding-top: 18px;
}

.catalog-heading {
  align-items: end;
}

.catalog-subtitle {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.catalog-counter,
.catalog-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.catalog-search {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-search input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #3b3b3b;
  border-radius: var(--radius);
  padding: 0 14px;
  color: #fff;
  background: #1b1b1b;
  font: inherit;
  outline: 0;
}

.catalog-search input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 19, 0.16);
}

.catalog-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.catalog-tabs button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--muted);
  background: #1d1d1d;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.catalog-tabs button:hover {
  color: #fff;
  background: #2a2a2a;
  transform: translateY(-1px);
}

.catalog-tabs button.active {
  color: #151515;
  background: var(--orange);
}

.catalog-status {
  min-height: 22px;
  margin-bottom: 14px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 18px 14px;
  justify-items: start;
}

.game-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
}

.catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.game-card {
  position: relative;
  min-width: 0;
  max-width: 220px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.2, 0.85, 0.2, 1),
    filter 220ms ease;
  will-change: transform;
}

.game-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.game-card:hover {
  filter: brightness(1.08);
  transform: translateY(-8px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
}

.game-card:active {
  transform: translateY(-4px) scale(0.99);
}

.game-card.pop {
  animation: cardPop 360ms ease;
}

.cover {
  position: relative;
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: end;
  padding: 9px;
  overflow: hidden;
  border-radius: var(--radius);
  background-image: var(--art), linear-gradient(135deg, #5f5f5f, #191919);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.cover.supplier-cover-clean {
  background-position: center 60%;
  background-size: auto 118%;
}

.cover-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  transform: scale(1.03);
  transition: opacity 220ms ease, transform 420ms ease;
}

.cover-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.28), transparent 18%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 28%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.game-card.has-video .cover::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 46%);
}

.game-card.video-playing .cover-video {
  opacity: 1;
  transform: scale(1);
}

.related-card-link.video-playing .cover-video {
  opacity: 1;
  transform: scale(1);
}

.game-card.video-playing .cover::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 56%);
}

.game-card:hover .cover {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.game-card:hover .cover::after {
  opacity: 1;
}

.cover-title {
  position: relative;
  z-index: 4;
  max-width: 82%;
  font-weight: 900;
  font-size: clamp(22px, 2vw, 34px);
  line-height: 0.9;
  text-transform: uppercase;
}

.cover .tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  min-height: 24px;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 12px;
}

.platform-logo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  background: rgba(12, 12, 12, 0.68);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.platform-logo-badge svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.platform-logo-badge span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.platform-logo-badge.playstation {
  color: #dce8ff;
}

.platform-logo-badge.xbox {
  color: #76d56f;
}

.catalog-card .cover {
  aspect-ratio: 2 / 3;
}

.catalog-card .cover::before {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 50%);
}

.game-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 8px;
  margin-top: 7px;
  font-size: 14px;
}

.game-info h3 {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-price {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 5px;
  white-space: nowrap;
}

.game-price s {
  color: var(--muted);
  font-size: 12px;
}

.game-info strong {
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.platforms {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
}

.platforms span {
  border-radius: var(--radius);
  padding: 2px 5px;
  background: #1d1d1d;
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.load-more-button {
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 22px;
  color: #151515;
  background: var(--orange);
  font-weight: 900;
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.load-more-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 106, 19, 0.24);
}

.skeleton-card {
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.skeleton-card .cover,
.skeleton-card h3,
.skeleton-card .game-price,
.skeleton-card .platforms span {
  overflow: hidden;
  background: linear-gradient(90deg, #252525 0%, #363636 50%, #252525 100%);
  background-size: 220% 100%;
  animation: skeletonPulse 1.1s ease-in-out infinite;
}

.skeleton-card .cover {
  box-shadow: none;
}

.skeleton-card h3 {
  width: 72%;
  height: 18px;
  border-radius: 4px;
}

.skeleton-card .game-price {
  width: 58px;
  height: 21px;
  border-radius: 4px;
}

.skeleton-card .platforms span {
  width: 92px;
  height: 19px;
  color: transparent;
}

@keyframes skeletonPulse {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}

.catalog-filter-toggle,
.catalog-sidebar-close,
.catalog-filter-backdrop {
  display: none;
}

.mobile-menu-button,
.mobile-menu-panel,
.mobile-menu-backdrop,
.mobile-platform-strip,
.mobile-confidence-strip {
  display: none;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.catalog-sidebar {
  position: sticky;
  top: 92px;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #1b1b1b;
  scrollbar-width: thin;
}

.catalog-sidebar-heading,
.catalog-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.catalog-sidebar-heading h3 {
  margin: 0;
  font-size: 20px;
}

.catalog-filter-group {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  padding: 17px 0 0;
}

.catalog-filter-group legend {
  margin-bottom: 11px;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.catalog-filter-group label,
.catalog-discount-options label,
.catalog-genre-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.catalog-filter-group input[type="checkbox"] {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--orange);
}

.catalog-price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.catalog-price-range label {
  display: grid;
  gap: 6px;
}

.catalog-price-range input,
.catalog-sort select {
  width: 100%;
  min-height: 42px;
  border: 1px solid #3b3b3b;
  border-radius: var(--radius);
  padding: 0 10px;
  color: #fff;
  background: #242424;
  font: inherit;
  outline: 0;
}

.catalog-price-range input:focus,
.catalog-sort select:focus {
  border-color: var(--orange);
}

.catalog-discount-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-genre-options {
  display: grid;
  gap: 10px;
}

.catalog-clear-filters {
  width: 100%;
  min-height: 42px;
  margin-top: 20px;
  border: 1px solid #444;
  border-radius: var(--radius);
  color: #fff;
  background: #292929;
  font-weight: 900;
}

.catalog-clear-filters:hover {
  border-color: var(--orange);
}

.catalog-results {
  min-width: 0;
}

.catalog-results-bar {
  min-height: 44px;
  margin-bottom: 14px;
}

.catalog-results-bar .catalog-status {
  min-height: 0;
  margin: 0;
}

.catalog-sort {
  display: grid;
  grid-template-columns: auto minmax(180px, 220px);
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-results .catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  align-items: stretch;
  gap: 18px 14px;
  justify-items: start;
}

.catalog-card {
  display: flex;
  width: 100%;
  min-height: 100%;
  flex-direction: column;
}

.catalog-card .game-info {
  grid-template-rows: auto auto;
  margin-top: auto;
  padding-top: 8px;
}

.catalog-card .game-info h3 {
  max-width: 100%;
}

body.catalog-filters-open {
  overflow: hidden;
}

.trust-band {
  justify-content: center;
  gap: clamp(18px, 5vw, 74px);
  padding: 22px 8vw;
  background: #151515;
}

html.reveal-enabled .trust-band article,
html.reveal-enabled .review-grid article,
html.reveal-enabled .news-section article,
html.reveal-enabled .cat,
html.reveal-enabled .feature-strip,
html.reveal-enabled .testimonial-band > *,
html.reveal-enabled .wide-promo > *,
html.reveal-enabled .app-band > *,
html.reveal-enabled .faq-section details,
html.reveal-enabled .indie-art {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.85, 0.2, 1);
}

.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.trust-band article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  min-width: 150px;
}

.trust-band span {
  grid-row: span 2;
  color: var(--orange);
}

.trust-band small,
.site-footer p,
.feature-box p,
.news-section p,
.review-grid p {
  color: var(--muted);
}

.rating {
  display: block !important;
  color: var(--green);
}

.feature-strip {
  min-height: 220px;
  display: grid;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.88), rgba(18, 18, 18, 0.1)),
    radial-gradient(circle at 70% 30%, rgba(63, 136, 255, 0.7), transparent 30%),
    radial-gradient(circle at 85% 78%, rgba(255, 106, 19, 0.55), transparent 24%),
    #26232f;
  background-size: 130% 130%;
  animation: gradientDrift 9s ease-in-out infinite alternate;
}

.feature-box {
  max-width: 430px;
}

.home-recommendation {
  color: inherit;
  background-position: center;
  background-size: cover;
  text-decoration: none;
}

.home-recommendation .feature-box {
  position: relative;
  z-index: 1;
}

.recommendation-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0;
}

.recommendation-price span {
  color: var(--muted);
  text-decoration: line-through;
}

.recommendation-price strong {
  color: #fff;
  font-size: 28px;
}

.recommendation-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 16px;
  color: #151515;
  background: var(--orange);
  font-weight: 900;
}

.feature-box h2,
.wide-promo h2,
.app-band h2 {
  margin: 0 0 10px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.testimonial-band {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 720px);
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 38px 8vw;
  background: #343434;
}

.community-thanks {
  grid-template-columns: 150px minmax(0, 720px);
  min-height: 280px;
  background:
    linear-gradient(105deg, rgba(25, 17, 40, 0.98), rgba(45, 34, 64, 0.96) 54%, rgba(73, 36, 28, 0.96)),
    #24212c;
}

.community-thanks-mark {
  display: grid;
  width: 138px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(137, 91, 255, 0.76), rgba(255, 106, 19, 0.76)),
    #26202f;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

.community-thanks-mark span {
  font-size: 38px;
  font-weight: 900;
}

.community-kicker {
  margin: 0 0 8px;
  color: #ff9b63;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.community-thanks h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.community-thanks > div:last-child > p:not(.community-kicker) {
  max-width: 660px;
  margin: 0 0 20px;
  color: #d8d2df;
  line-height: 1.65;
}

.community-review-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  color: #171717;
  background: var(--orange);
  font-weight: 900;
}

.portrait {
  height: 210px;
  border-radius: var(--radius);
  background: url("assets/player-testimonial.webp") 35% center / cover;
}

.stars {
  margin: 0 0 10px;
  color: #ffc247;
  letter-spacing: 0;
}

blockquote {
  margin: 0 0 16px;
  color: #e4e4e4;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  margin: 0 0 18px;
  color: white;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 14px;
}

.testimonial-band button,
.app-band button,
.app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: var(--radius);
  background: var(--orange);
  color: #181818;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.testimonial-band button:hover,
.app-band button:hover,
.app-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.wide-promo {
  min-height: 320px;
  display: grid;
  align-items: center;
  padding: 0 8vw;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.78) 32%, rgba(5, 5, 5, 0.16) 68%),
    radial-gradient(circle at 72% 44%, rgba(155, 75, 255, 0.95), transparent 28%),
    linear-gradient(135deg, #111, #362b6d 52%, #080808);
  background-size: 100% 100%, 140% 140%, 100% 100%;
  animation: promoGlow 8s ease-in-out infinite alternate;
}

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

.review-grid article {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 0 0 16px;
  overflow: hidden;
}

.community-review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.community-review-card:hover {
  border-color: rgba(255, 106, 19, 0.5);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.review-grid h3,
.review-grid p {
  margin-inline: 14px;
}

.review-cover {
  min-height: 0;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #171717;
}

.review-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.community-review-card:nth-child(1) .review-cover img { object-position: center 58%; }
.community-review-card:nth-child(2) .review-cover img { object-position: center center; }
.community-review-card:nth-child(3) .review-cover img { object-position: center 60%; }
.community-review-card:nth-child(4) .review-cover img { object-position: center 58%; }

.community-review-card:hover .review-cover img {
  transform: scale(1.025);
}

.review-cover.players-coop { background: url("assets/players-coop-review.webp") center 38% / cover; }
.review-cover.solo-player { background: url("assets/review-solo-gamer.webp") center 42% / cover; }
.review-cover.gta-review { background: url("assets/gta-vi-visual-beach-5k.webp") center 48% / cover; }
.review-cover.family-play { background: url("assets/review-phone-confirmation.webp") center 44% / cover; }

.review-meta {
  display: block;
  margin: 13px 14px 0;
  color: #ffb43b;
  font-size: 12px;
  font-weight: 700;
}

.community-review-copy {
  display: flex;
  min-height: 225px;
  flex: 1;
  flex-direction: column;
  padding-bottom: 16px;
}

.community-review-copy h3 {
  margin-top: 9px;
  margin-bottom: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.2;
}

.community-review-copy p {
  margin-top: 0;
  line-height: 1.55;
}

.community-review-copy small {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  text-transform: uppercase;
}

.community-review-note {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.review-grid small {
  display: block;
  margin: 12px 14px 0;
  color: #d7d7d7;
}

.indie-section {
  background:
    linear-gradient(90deg, rgba(33, 35, 50, 0.96), rgba(37, 37, 37, 0.96)),
    radial-gradient(circle at 18% 48%, rgba(69, 202, 255, 0.6), transparent 24%);
}

.indie-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 28px 7vw;
}

.indie-section .content-section {
  width: 100%;
}

.indie-art {
  min-height: 360px;
  background:
    radial-gradient(circle at 42% 22%, #ff7d38 0 10%, transparent 11%),
    linear-gradient(140deg, transparent 20%, rgba(255, 88, 55, 0.9) 21% 29%, transparent 30%),
    radial-gradient(circle at 55% 58%, #54d4ff 0 9%, transparent 10%),
    linear-gradient(135deg, #253052, #1a1d28);
  border-radius: var(--radius);
}

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

.news-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #303030;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 20, 0.65);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.3);
}

.news-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #444, #191919);
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body {
  padding: 14px;
}

.news-card time {
  display: block;
  margin-bottom: 7px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
}

.news-card h3 {
  margin: 0;
  color: white;
  font-size: 18px;
  line-height: 1.12;
}

.news-card p {
  display: -webkit-box;
  min-height: 2.8em;
  margin: 9px 0 13px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 6px;
  background: var(--orange);
  color: white;
  font-weight: 900;
}


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

.cat {
  min-height: 140px;
  display: flex;
  align-items: end;
  padding: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  font-weight: 800;
  background: linear-gradient(135deg, #505050, #151515);
  transition: opacity 560ms ease, transform 240ms ease, filter 240ms ease;
}

.cat.category-ready {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background: #171717 !important;
}

.cat.category-ready::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 12, 12, 0.92) 100%);
  pointer-events: none;
}

.category-art {
  z-index: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 300ms ease, filter 300ms ease;
  will-change: transform;
}

.cat.category-ready span {
  position: relative;
  z-index: 2;
  font-size: 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  transform: translateY(0);
  transition: transform 300ms ease, color 300ms ease, text-shadow 300ms ease;
}

.cat.category-ready small {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat:hover {
  filter: saturate(1.18) brightness(1.12);
  transform: translateY(-5px) !important;
  box-shadow: 0 18px 44px rgba(255, 106, 19, 0.18), 0 0 0 1px rgba(255, 106, 19, 0.38);
}

.cat:hover .category-art {
  filter: saturate(1.16) brightness(1.08);
  transform: scale(1.05);
}

.cat:hover span {
  color: #fff;
  transform: translateY(-4px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.92), 0 0 14px rgba(255, 106, 19, 0.34);
}

.cat.action { background: linear-gradient(135deg, #782c22, #252525); }
.cat.adventure { background: linear-gradient(135deg, #2f6b75, #252525); }
.cat.arcade { background: linear-gradient(135deg, #aa6a2a, #242424); }
.cat.strategy { background: linear-gradient(135deg, #3d6876, #202020); }
.cat.fps { background: linear-gradient(135deg, #405452, #141414); }
.cat.fight { background: linear-gradient(135deg, #7f3449, #1d1d1d); }
.cat.rpg { background: linear-gradient(135deg, #274d42, #181818); }
.cat.racing { background: linear-gradient(135deg, #464e86, #191919); }
.cat.sports { background: linear-gradient(135deg, #78613b, #171717); }

.app-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: center;
  padding: 52px 8vw;
  background: linear-gradient(135deg, #092b54, #0c101f 58%, #151515);
}

.app-band p {
  color: #d6e7ff;
}

.app-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-height: 250px;
  padding: 18px;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(180deg, #1c2536, #111722);
  box-shadow: 18px 18px 0 rgba(0, 0, 0, 0.22);
  transform: rotate(-5deg);
}

.app-preview a {
  display: grid;
  align-content: end;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 106, 19, 0.12), rgba(94, 56, 190, 0.12)),
    rgba(255, 255, 255, 0.045);
  text-decoration: none;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.app-preview a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 19, 0.65);
  background:
    linear-gradient(145deg, rgba(255, 106, 19, 0.22), rgba(94, 56, 190, 0.18)),
    rgba(255, 255, 255, 0.07);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.22);
}

.app-preview span {
  color: #9fc7ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-preview strong {
  margin-top: 5px;
  font-size: 18px;
  line-height: 1.05;
}

.faq-section {
  max-width: 850px;
}

details {
  margin: 10px 0;
  border-radius: var(--radius);
  background: var(--panel);
  transition: background 180ms ease, transform 180ms ease;
}

details[open] {
  background: #3a3a3a;
  transform: translateX(4px);
}

summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(160px, 0.8fr) minmax(260px, 1.2fr) minmax(280px, 1.15fr);
  gap: 28px;
  padding: 38px 8vw 26px;
  background: #141414;
  border-top: 1px solid var(--line);
}

.footer-brand,
.footer-trust,
.footer-payments {
  min-width: 0;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo {
  display: block;
  width: min(270px, 100%);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(126, 87, 255, 0.2));
}

.footer-trust h2,
.footer-payments h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}

.trust-seals {
  display: grid;
  gap: 10px;
}

.trust-seal {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.trust-seal svg {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  fill: var(--orange);
  background: rgba(255, 106, 19, 0.12);
}

.trust-seal strong {
  display: block;
  color: #fff;
  font-size: 13px;
}

.trust-seal small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

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

.payment-strip {
  display: block;
  width: min(100%, 430px);
  height: auto;
  border-radius: 12px;
  background: #47724e;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.payment-icon {
  display: inline-flex;
  width: 70px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  filter: saturate(0.96);
}

.payment-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.payment-icon rect {
  fill: #fff;
}

.payment-icon text {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.payment-icon.visa text { fill: #1a1f71; font-size: 15px; font-style: italic; }
.payment-icon.mastercard circle:first-of-type { fill: #eb001b; }
.payment-icon.mastercard circle:nth-of-type(2) { fill: #f79e1b; opacity: 0.92; }
.payment-icon.mastercard text { fill: #232323; font-size: 6px; }
.payment-icon.amex rect { fill: #2e77bc; }
.payment-icon.amex text { fill: #fff; font-size: 13px; }
.payment-icon.mbway rect { fill: #111; }
.payment-icon.mbway text { fill: #31d158; font-size: 12px; }
.payment-icon.multibanco { width: 86px; }
.payment-icon.multibanco rect { fill: #f4f4f4; }
.payment-icon.multibanco text { fill: #2b2b2b; font-size: 11px; }
.payment-icon.apple-pay rect { fill: #fff; }
.payment-icon.apple-pay text { fill: #000; font-size: 12px; }
.payment-icon.google-pay text { fill: #3c4043; font-size: 12px; }
.payment-icon.klarna rect { fill: #ffb3c7; }
.payment-icon.klarna text { fill: #111; font-size: 13px; }
.payment-icon.scalapay { width: 78px; }
.payment-icon.scalapay rect { fill: #00d084; }
.payment-icon.scalapay text { fill: #083b2c; font-size: 11px; }

.payment-icon.logo-icon,
.payment-icon.brand-badge {
  min-width: 74px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.payment-icon.logo-icon img {
  display: block;
  width: 100%;
  max-width: 58px;
  height: 20px;
  object-fit: contain;
}

.payment-icon.logo-icon.mastercard img,
.payment-icon.logo-icon.apple-pay img,
.payment-icon.logo-icon.google-pay img {
  max-width: 66px;
}

.payment-icon.logo-icon.amex img {
  max-width: 52px;
}

.payment-icon.logo-icon.klarna {
  background: #ffb3c7;
}

.payment-icon.logo-icon.klarna img {
  max-width: 54px;
}

.payment-icon.brand-badge {
  gap: 4px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.payment-icon.brand-badge span,
.payment-icon.brand-badge strong {
  display: inline-block;
}

.payment-icon.mbway {
  color: #fff;
  background: linear-gradient(135deg, #e6007e 0%, #e6007e 48%, #00a3e0 49%, #00a3e0 100%);
}

.payment-icon.mbway span {
  padding-right: 2px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
}

.payment-icon.multibanco {
  width: 92px;
  color: #fff;
  background: linear-gradient(135deg, #0057a8, #009fe3);
}

.payment-icon.multibanco span {
  display: grid;
  width: 22px;
  height: 18px;
  place-items: center;
  border-radius: 4px;
  color: #0057a8;
  background: #fff;
  font-size: 9px;
}

.payment-icon.multibanco strong {
  font-size: 10px;
}

.payment-icon.scalapay {
  width: 86px;
  color: #083b2c;
  background: #00d084;
}

.payment-icon.scalapay strong {
  font-size: 12px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 106, 19, 0);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 106, 19, 0.44);
  }
}

@keyframes cardPop {
  0% {
    transform: translateY(-8px) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.035);
  }
  100% {
    transform: translateY(-8px) scale(1);
  }
}

@keyframes gradientDrift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes promoGlow {
  from {
    background-position: center, 60% 45%, center;
  }
  to {
    background-position: center, 82% 55%, center;
  }
}

@keyframes logoSpark {
  0% {
    opacity: 0;
    transform: scale(0.92) rotate(0deg);
  }
  18%,
  70% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: scale(1.1) rotate(245deg);
  }
}

@keyframes logoShock {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  15% {
    transform: translate(-1px, -3px) rotate(-3deg) scale(1.025);
  }
  32% {
    transform: translate(1px, -2px) rotate(2deg) scale(1.03);
  }
  52% {
    transform: translate(-1px, -3px) rotate(-2deg) scale(1.025);
  }
  100% {
    transform: translateY(-3px) rotate(-2deg) scale(1.025);
  }
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
  color: var(--muted);
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 66px;
    padding: 0 14px;
    gap: 10px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius);
    background: rgba(20, 20, 20, 0.72);
  }

  .mobile-menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px 0;
    border-radius: 999px;
    background: #fff;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-open .mobile-menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mobile-menu-panel {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1201;
    display: block;
    width: min(82vw, 330px);
    padding: 18px;
    background: rgba(22, 22, 22, 0.96);
    box-shadow: 24px 0 54px rgba(0, 0, 0, 0.45);
    transform: translateX(-105%);
    transition: transform 240ms ease;
    backdrop-filter: blur(18px);
  }

  .mobile-menu-open .mobile-menu-panel {
    transform: translateX(0);
  }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1200;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.62);
  }

  .mobile-menu-open .mobile-menu-backdrop {
    display: block;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu-head strong {
    font-size: 22px;
    text-transform: uppercase;
  }

  .mobile-menu-head button {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    color: #fff;
    background: #292929;
    font-size: 28px;
    line-height: 1;
  }

  .mobile-menu-panel nav {
    display: grid;
    gap: 4px;
    padding-top: 14px;
  }

  .mobile-menu-panel a {
    display: flex;
    min-height: 48px;
    align-items: center;
    border-radius: var(--radius);
    padding: 0 12px;
    color: #f4f4f4;
    font-size: 18px;
    font-weight: 900;
  }

  .mobile-menu-panel a:hover,
  .mobile-menu-panel a:focus-visible {
    background: #2d2d2d;
    color: var(--orange);
  }

  .account-details {
    grid-template-columns: 1fr;
  }

  .catalog-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }

  .game-grid,
  .game-grid.compact,
  .news-grid,
  .review-grid,
  .category-grid,
  .app-band,
  .testimonial-band,
  .indie-section {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }

  .trust-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: start;
  }

  .hero-content,
  .content-section {
    width: min(92vw, 680px);
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
  }

  .catalog-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-bottom: 16px;
    border-radius: var(--radius);
    padding: 0 18px;
    color: #151515;
    background: var(--orange);
    font-weight: 900;
  }

  .catalog-toolbar {
    gap: 12px;
  }

  .catalog-layout {
    display: block;
  }

  .catalog-sidebar {
    position: fixed;
    z-index: 1102;
    inset: 0 auto 0 0;
    width: min(86vw, 340px);
    max-height: none;
    border: 0;
    border-radius: 0;
    padding: 22px;
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .catalog-sidebar.open {
    transform: translateX(0);
  }

  .catalog-sidebar-close {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: #292929;
    font-size: 26px;
    line-height: 1;
  }

  .catalog-filter-backdrop {
    position: fixed;
    z-index: 1101;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.72);
  }

  body.catalog-filters-open .catalog-filter-backdrop {
    display: block;
  }

  .catalog-results-bar {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .catalog-sort {
    grid-template-columns: auto minmax(138px, 1fr);
    margin-left: auto;
  }

  .catalog-results .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-tabs {
    width: 100%;
  }

  .hero-platform-bar {
    top: 76px;
    max-width: calc(100vw - 32px);
    overflow-x: auto;
    border-radius: 8px;
  }

  .hero-platform-bar button {
    min-width: 132px;
    height: 44px;
    padding: 0 12px;
  }

  .hero-platform-bar .hero-search {
    min-width: 52px;
    width: 52px;
    height: 52px;
    font-size: 24px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 10px;
    gap: 6px;
  }

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

  .brand-mark,
  .product-header .brand-mark {
    width: 104px;
    height: 36px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-search {
    width: 40px;
    grid-template-columns: 0 40px;
  }

  .header-search button,
  .cart-button,
  .auth-login-button,
  .auth-user-button {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .auth-login-button,
  .auth-user-button {
    max-width: 40px;
    padding: 0;
    color: transparent;
    position: relative;
  }

  .auth-login-button::before,
  .auth-user-button::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid #fff;
    border-radius: 50% 50% 45% 45%;
  }

  .header-search.expanded,
  .header-search:focus-within {
    position: absolute;
    left: 58px;
    right: 10px;
    z-index: 2;
    width: auto;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .header-actions:has(.header-search.expanded) .cart-button,
  .header-actions:has(.header-search:focus-within) .cart-button,
  .header-actions:has(.header-search.expanded) .auth-controls,
  .header-actions:has(.header-search:focus-within) .auth-controls {
    display: none;
  }
}

@media (max-width: 640px) {
  .community-thanks {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 20px;
    padding: 34px 18px;
  }

  .community-thanks-mark {
    width: 86px;
  }

  .community-thanks-mark span {
    font-size: 27px;
  }

  .community-thanks h2 {
    font-size: 30px;
  }

  .community-reviews .section-heading {
    align-items: flex-start;
  }

  .community-reviews .review-grid > .community-review-card {
    flex-basis: min(78vw, 292px);
  }

  .community-review-copy {
    min-height: 218px;
  }

  .community-review-note {
    margin-top: 12px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .site-header {
    gap: 8px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand-mark {
    width: 128px;
    height: 42px;
    background-size: contain;
  }

  .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .header-search {
    grid-template-columns: 0 42px;
    width: 42px;
    transition: width 180ms ease, grid-template-columns 180ms ease;
  }

  .header-search.expanded,
  .header-search:focus-within {
    grid-template-columns: minmax(110px, 1fr) 42px;
    width: min(64vw, 230px);
  }

  .header-actions:has(.header-search.expanded) .auth-controls,
  .header-actions:has(.header-search:focus-within) .auth-controls {
    display: none;
  }

  .cart-button {
    width: 40px;
    height: 40px;
  }

  .auth-login-button,
  .auth-user-button {
    max-width: 72px;
    min-height: 40px;
    padding-inline: 8px;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .account-main {
    padding: 108px 18px 56px;
  }

  .account-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-heading {
    align-items: flex-start;
  }

  .catalog-results .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .trust-band {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .app-preview {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
    transform: none;
  }

  .app-preview a {
    min-height: 74px;
  }

  .app-preview strong {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

  a,
  button,
  input,
  select,
  summary {
    min-height: 44px;
  }

  .mobile-platform-strip {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 19;
    display: flex;
    gap: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 10px 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(180deg, rgba(22, 22, 22, 0.96), rgba(16, 16, 16, 0.9));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
    transition: transform 260ms ease, opacity 220ms ease, visibility 220ms ease;
    will-change: transform, opacity;
  }

  body.mobile-platform-hidden .mobile-platform-strip {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-120%);
  }

  .mobile-platform-strip::-webkit-scrollbar {
    display: none;
  }

  .mobile-platform-strip a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: auto;
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 900;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .mobile-platform-strip a:first-child {
    border-color: rgba(255, 106, 19, 0.55);
    background: linear-gradient(135deg, #ff6a13, #ff852f);
    color: #151515;
    box-shadow: 0 8px 20px rgba(255, 106, 19, 0.18);
  }

  .mobile-platform-icon {
    display: grid;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    place-items: center;
    font-size: 9px;
    font-weight: 900;
  }

  .mobile-platform-strip + main {
    padding-top: 121px;
  }

  .hero {
    width: 100%;
    max-width: 100vw;
    min-height: min(112vw, 520px);
    align-items: end;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-media {
    width: 100%;
    max-width: 100vw;
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0.18) 42%, rgba(10, 10, 10, 0.86) 100%),
      linear-gradient(90deg, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0.18) 64%),
      url("assets/gta-vi-landscape-hq.webp") center top / cover no-repeat;
    transform: none;
  }

  .hero-platform-bar {
    display: none;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 18px 28px;
  }

  .hero-content h1 {
    max-width: 10ch;
    margin-bottom: 7px;
    font-size: clamp(42px, 14vw, 68px);
    line-height: 0.92;
  }

  .hero-meta,
  .platform-kicker {
    font-size: 14px;
  }

  .platform-kicker {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border-radius: 999px;
    padding: 0 9px;
    background: rgba(0, 0, 0, 0.46);
    color: #fff;
    font-weight: 900;
  }

  .hero-meta {
    max-width: 290px;
    margin-top: 0;
    color: rgba(255, 255, 255, 0.82);
  }

  .hero-buy {
    align-items: center;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-buy .discount {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 16px;
  }

  .hero-buy strong {
    font-size: 44px;
    font-weight: 900;
  }

  .content-section {
    width: 100%;
    padding: 34px 18px 24px;
  }

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

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

  .catalog-subtitle {
    margin-top: 5px;
    font-size: 14px;
    line-height: 1.35;
  }

  .platform-filter {
    width: 100%;
    margin-inline: -2px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .platform-filter::-webkit-scrollbar {
    display: none;
  }

  .game-grid:not(.catalog-grid),
  .game-grid.compact:not(.catalog-grid),
  .catalog-preview-grid,
  .review-grid,
  .news-grid,
  .category-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -18px;
    padding: 0 18px 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .game-grid:not(.catalog-grid)::after,
  .review-grid::after,
  .news-grid::after,
  .category-grid::after {
    content: "";
    flex: 0 0 4px;
  }

  .game-grid:not(.catalog-grid)::-webkit-scrollbar,
  .review-grid::-webkit-scrollbar,
  .news-grid::-webkit-scrollbar,
  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .game-grid:not(.catalog-grid) > *,
  .catalog-preview-grid > *,
  .review-grid > *,
  .news-grid > *,
  .category-grid > * {
    flex: 0 0 min(58vw, 220px);
    scroll-snap-align: start;
  }

  .game-grid:not(.catalog-grid) .cover {
    aspect-ratio: 2 / 3;
    min-height: 0;
  }

  .game-grid:not(.catalog-grid) .catalog-card .cover {
    aspect-ratio: 2 / 3;
  }

  .game-grid:not(.catalog-grid) .cover .tag {
    position: absolute;
    left: 9px;
    top: 9px;
    z-index: 5;
    min-height: 26px;
    border-radius: 6px;
    padding: 4px 7px;
    background: var(--orange);
    color: #171717;
    font-size: 13px;
    font-weight: 900;
  }

  .game-grid:not(.catalog-grid) .game-info {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 9px;
  }

  .game-grid:not(.catalog-grid) .game-info h3 {
    min-height: 36px;
    font-size: 16px;
    line-height: 1.08;
  }

  .game-grid:not(.catalog-grid) .game-price {
    justify-content: flex-start;
  }

  .game-grid:not(.catalog-grid) .game-price strong {
    font-size: 21px;
    font-weight: 900;
  }

  .game-grid:not(.catalog-grid) .platforms {
    margin-top: 0;
  }

  .game-grid:not(.catalog-grid),
  .review-grid,
  .news-grid,
  .category-grid {
    background:
      linear-gradient(90deg, transparent calc(100% - 42px), rgba(37, 37, 37, 0.94) 100%);
  }

  .mobile-confidence-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin: 4px 0 10px;
    padding: 0 18px;
    background: var(--line);
  }

  .mobile-confidence-strip article {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 9px;
    align-items: center;
    min-width: 0;
    padding: 13px 10px;
    background: #171717;
  }

  .mobile-confidence-strip strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.05;
  }

  .mobile-confidence-strip small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
  }

  .confidence-icon {
    position: relative;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 106, 19, 0.16);
  }

  .chat-icon::before {
    content: "";
    width: 18px;
    height: 13px;
    border: 2px solid var(--orange);
    border-radius: 6px;
  }

  .chat-icon::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 22px;
    width: 7px;
    height: 7px;
    border-left: 2px solid var(--orange);
    border-bottom: 2px solid var(--orange);
    transform: rotate(-24deg);
  }

  .shield-icon::before {
    content: "";
    width: 18px;
    height: 21px;
    background: var(--orange);
    clip-path: polygon(50% 0, 88% 16%, 80% 72%, 50% 100%, 20% 72%, 12% 16%);
  }

  .catalog-section {
    padding-inline: 14px;
  }

  .catalog-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .catalog-tabs::-webkit-scrollbar {
    display: none;
  }

  .catalog-tabs button {
    flex: 0 0 auto;
  }

  .catalog-filter-toggle {
    width: auto;
    margin: 0 8px 14px 0;
  }

  .catalog-results-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .catalog-status {
    grid-column: 1 / -1;
    font-size: 14px;
  }

  .catalog-sort {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: 5px;
    margin: 0;
  }

  .catalog-sort span {
    font-size: 12px;
  }

  .catalog-sidebar {
    inset: auto 0 0 0;
    width: 100%;
    max-height: 82vh;
    border-radius: 14px 14px 0 0;
    transform: translateY(105%);
  }

  .catalog-sidebar.open {
    transform: translateY(0);
  }

  .catalog-card .cover {
    min-height: 0;
  }

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

  .catalog-card .platforms span {
    font-size: 11px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 18px 92px;
  }

  .footer-logo {
    width: min(250px, 78vw);
  }

  .payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .payment-strip {
    width: 100%;
    max-width: 420px;
  }

  .payment-icon,
  .payment-icon.multibanco,
  .payment-icon.scalapay {
    width: 100%;
    max-width: 108px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 10px;
    gap: 6px;
  }

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

  .brand-mark,
  .product-header .brand-mark {
    width: 104px;
    height: 36px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-search {
    width: 40px;
    grid-template-columns: 0 40px;
  }

  .header-search button,
  .cart-button,
  .auth-login-button,
  .auth-user-button {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .auth-login-button,
  .auth-user-button {
    position: relative;
    max-width: 40px;
    padding: 0;
    color: transparent;
  }

  .auth-login-button::before,
  .auth-user-button::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid #fff;
    border-radius: 50% 50% 45% 45%;
  }

  .header-search.expanded,
  .header-search:focus-within {
    position: absolute;
    left: 58px;
    right: 10px;
    z-index: 2;
    width: auto;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .header-actions:has(.header-search.expanded) .cart-button,
  .header-actions:has(.header-search:focus-within) .cart-button,
  .header-actions:has(.header-search.expanded) .auth-controls,
  .header-actions:has(.header-search:focus-within) .auth-controls {
    display: none;
  }
}

@media (max-width: 820px) {
  .cart-main {
    padding: 112px 18px 54px;
  }

  .cart-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .cart-summary {
    position: static;
  }

  .cart-line {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 13px;
  }

  .cart-line-image,
  .cart-line-image img {
    min-height: 92px;
    height: 92px;
  }

  .cart-line-price {
    grid-column: 2;
    align-items: start;
  }

  .cart-popover {
    position: fixed;
    top: 76px;
    right: 12px;
  }
}

@media (max-width: 520px) {
  .cart-products-heading {
    align-items: flex-start;
  }

  .cart-line-copy h2 {
    font-size: 17px;
  }

  .cart-confidence {
    gap: 18px;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 6px;
    gap: 2px;
    overflow: hidden;
  }

  .brand {
    margin-right: auto;
    min-width: 0;
    flex: 0 1 auto;
  }

  .brand-mark,
  .product-header .brand-mark {
    width: clamp(156px, 45vw, 214px);
    height: clamp(52px, 14vw, 72px);
    background-size: contain;
  }

  .header-actions {
    order: 2;
    margin-left: 0;
    gap: 2px;
    flex: 0 0 auto;
  }

  .mobile-menu-button {
    order: 3;
    flex: 0 0 38px;
    width: 38px;
    height: 44px;
    min-height: 44px;
    border-color: rgba(255, 106, 19, 0.32);
    border-radius: 10px;
    background: rgba(255, 106, 19, 0.08);
    box-shadow: 0 0 0 1px rgba(255, 106, 19, 0.04) inset;
  }

  .mobile-menu-button span {
    width: 16px;
  }

  .mobile-menu-button:hover,
  .mobile-menu-button:focus-visible {
    border-color: rgba(255, 106, 19, 0.62);
    background: rgba(255, 106, 19, 0.14);
  }

  .header-search {
    order: 1;
    width: 38px;
    min-height: 44px;
    grid-template-columns: 38px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    backdrop-filter: none;
    overflow: visible;
  }

  .header-search input,
  .header-search-close,
  .header-search .search-preview {
    display: none;
  }

  .header-search button {
    width: 38px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .header-search button:hover,
  .header-search button:focus-visible {
    background: rgba(255, 255, 255, 0.08);
  }

  .header-search button::before {
    left: 13px;
    top: 15px;
    width: 10px;
    height: 10px;
    border-color: rgba(255, 255, 255, 0.88);
  }

  .header-search button::after {
    left: 23px;
    top: 25px;
    width: 6px;
    background: rgba(255, 255, 255, 0.88);
  }

  .auth-controls {
    order: 2;
    flex: 0 0 38px;
    width: 38px;
  }

  .cart-shell,
  .cart-button {
    order: 3;
    flex: 0 0 38px;
    width: 38px;
  }

  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button {
    width: 38px;
    height: 44px;
    min-height: 44px;
    max-width: 38px;
    padding: 0;
    color: #fff;
    border-color: transparent;
    background: transparent;
  }

  .auth-login-button.account-icon-button:hover,
  .auth-user-button.account-icon-button:hover,
  .cart-button:hover {
    transform: none;
    border-color: transparent;
    background: rgba(255, 255, 255, 0.08);
  }

  .auth-login-button::before,
  .auth-user-button::before {
    content: none !important;
  }

  .header-user-icon svg,
  .cart-icon svg {
    width: 15px;
    height: 15px;
    color: rgba(255, 255, 255, 0.88);
  }

  .auth-dropdown {
    top: calc(100% + 8px);
    right: -6px;
  }

  .header-actions:has(.header-search.expanded) .cart-button,
  .header-actions:has(.header-search:focus-within) .cart-button,
  .header-actions:has(.header-search.expanded) .auth-controls,
  .header-actions:has(.header-search:focus-within) .auth-controls {
    display: revert !important;
  }

  .header-search.expanded,
  .header-search:focus-within {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    width: 100vw;
    min-height: 100vh;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-rows: 68px auto 1fr;
    align-items: center;
    gap: 8px;
    border-radius: 0;
    padding: 12px 14px;
    background: rgba(16, 16, 16, 0.96);
    backdrop-filter: blur(18px);
  }

  .header-search.expanded input,
  .header-search:focus-within input {
    display: block;
    grid-column: 2;
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.07);
    font-size: 16px;
  }

  .header-search.expanded .header-search-close,
  .header-search:focus-within .header-search-close {
    display: grid;
    grid-column: 1;
    place-items: center;
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    font-size: 32px;
    line-height: 1;
  }

  .header-search.expanded button[type="submit"],
  .header-search:focus-within button[type="submit"] {
    grid-column: 3;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
  }

  .header-search.expanded .search-preview,
  .header-search:focus-within .search-preview {
    display: block;
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border-radius: 10px;
    background: rgba(25, 25, 25, 0.96);
  }

  .search-preview-item {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 8px 9px;
  }

  .search-preview-item img {
    width: 42px;
    height: 54px;
  }
}

@media (max-width: 360px) {
  .brand-mark,
  .product-header .brand-mark {
    width: 146px;
    height: 50px;
  }

  .header-search,
  .header-search button,
  .auth-controls,
  .cart-shell,
  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button,
  .mobile-menu-button {
    width: 36px;
    max-width: 36px;
  }

  .header-search {
    grid-template-columns: 36px;
  }

  .mobile-menu-button {
    flex-basis: 36px;
  }
}

/* Final responsive polish: keep the header balanced and cards predictable on deploy. */
.game-card {
  width: 100%;
}

.content-section[hidden],
.dynamic-news[hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding-inline: 8px;
  }

  .brand-mark,
  .product-header .brand-mark {
    width: clamp(176px, 48vw, 232px);
    height: clamp(58px, 15vw, 78px);
    background-size: contain;
  }

  .header-actions {
    gap: 1px;
  }

  .header-search,
  .header-search button,
  .auth-controls,
  .cart-shell,
  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button {
    width: 36px;
    max-width: 36px;
  }

  .header-search {
    grid-template-columns: 36px;
  }

  .header-search button,
  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button {
    min-height: 44px;
    height: 44px;
  }

  .mobile-menu-button {
    flex-basis: 40px;
    width: 40px;
    max-width: 40px;
  }

  .header-user-icon svg,
  .cart-icon svg {
    width: 14px;
    height: 14px;
  }

  .header-search button::before {
    left: 12px;
    top: 15px;
    width: 9px;
    height: 9px;
  }

  .header-search button::after {
    left: 21px;
    top: 24px;
    width: 6px;
  }
}

@media (max-width: 380px) {
  .brand-mark,
  .product-header .brand-mark {
    width: 156px;
    height: 52px;
  }

  .site-header {
    padding-inline: 6px;
  }

  .header-search,
  .header-search button,
  .auth-controls,
  .cart-shell,
  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button {
    width: 34px;
    max-width: 34px;
  }

  .header-search {
    grid-template-columns: 34px;
  }

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

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

/* Mobile header stability: predictable toggles, stronger logo, quieter utility icons. */
@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding-left: 2px;
    padding-right: 8px;
    gap: 2px;
    overflow: visible;
  }

  .brand {
    flex: 1 1 auto;
    max-width: calc(100vw - 176px);
    margin-right: 0;
    transform: translateX(-8px);
  }

  .brand-mark,
  .product-header .brand-mark {
    width: clamp(206px, 54vw, 260px);
    height: clamp(66px, 17vw, 86px);
    background-size: contain;
  }

  .header-actions {
    gap: 2px;
  }

  .header-search,
  .header-search button,
  .auth-controls,
  .cart-shell,
  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button {
    width: 40px;
    max-width: 40px;
    flex-basis: 40px;
  }

  .header-search button,
  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button {
    height: 48px;
    min-height: 48px;
    border-radius: 999px;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }

  .header-search button:hover,
  .header-search button:focus-visible,
  .auth-login-button.account-icon-button:hover,
  .auth-user-button.account-icon-button:hover,
  .cart-button:hover,
  .cart-button:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: transparent;
    transform: none;
  }

  .header-user-icon svg,
  .cart-icon svg {
    width: 17px;
    height: 17px;
  }

  .header-search button::before {
    left: 13px;
    top: 16px;
    width: 12px;
    height: 12px;
  }

  .header-search button::after {
    left: 25px;
    top: 28px;
    width: 7px;
  }

  .cart-count-badge {
    top: 5px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    border-width: 1px;
    padding: 0 4px;
    font-size: 10px;
  }

  .mobile-menu-button {
    flex: 0 0 44px;
    width: 44px;
    max-width: 44px;
    height: 48px;
    min-height: 48px;
    margin-left: 2px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
  }

  .mobile-menu-button span {
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.18);
  }

  .mobile-menu-button:hover,
  .mobile-menu-button:focus-visible {
    border: 0;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 18px rgba(137, 91, 255, 0.18);
    transform: none;
  }

  .cart-popover,
  .auth-dropdown {
    position: fixed;
    top: 70px;
    right: 10px;
    width: min(330px, calc(100vw - 20px));
    max-height: calc(100vh - 92px);
    overflow-y: auto;
  }

  .header-search.expanded,
  .header-search:focus-within {
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 1500;
    display: grid;
    width: 100vw;
    max-width: none;
    min-height: auto;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-rows: 66px auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 12px;
    border-radius: 0;
    background: rgba(16, 16, 16, 0.98);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(18px);
  }

  .header-search.expanded input,
  .header-search:focus-within input {
    display: block;
    grid-column: 2;
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
  }

  .header-search.expanded .header-search-close,
  .header-search:focus-within .header-search-close {
    display: grid;
    grid-column: 1;
    place-items: center;
    width: 44px;
    max-width: 44px;
    height: 46px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 28px;
    line-height: 1;
  }

  .header-search.expanded button[type="submit"],
  .header-search:focus-within button[type="submit"] {
    grid-column: 3;
    width: 44px;
    max-width: 44px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 106, 19, 0.95);
  }

  .header-search.expanded button[type="submit"]::before,
  .header-search:focus-within button[type="submit"]::before {
    left: 14px;
    top: 15px;
    width: 11px;
    height: 11px;
    border-color: #111;
  }

  .header-search.expanded button[type="submit"]::after,
  .header-search:focus-within button[type="submit"]::after {
    left: 25px;
    top: 26px;
    width: 7px;
    background: #111;
  }

  .header-search.expanded .search-preview,
  .header-search:focus-within .search-preview {
    display: block;
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-height: min(420px, calc(100vh - 86px));
    overflow-y: auto;
    border-radius: 10px;
    background: #1c1c1c;
  }
}

@media (max-width: 380px) {
  .brand {
    max-width: calc(100vw - 168px);
    transform: translateX(-10px);
  }

  .brand-mark,
  .product-header .brand-mark {
    width: clamp(196px, 52vw, 212px);
    height: 66px;
  }

  .header-search,
  .header-search button,
  .auth-controls,
  .cart-shell,
  .auth-login-button.account-icon-button,
  .auth-user-button.account-icon-button,
  .cart-button {
    width: 38px;
    max-width: 38px;
    flex-basis: 38px;
  }

  .mobile-menu-button {
    flex-basis: 40px;
    width: 40px;
    max-width: 40px;
  }

  .mobile-menu-button span {
    width: 22px;
  }
}

/* Hard mobile header alignment: keep the logo anchored to the left edge. */
@media (max-width: 620px) {
  .site-header {
    position: fixed !important;
    display: flex !important;
    justify-content: flex-end !important;
    padding-left: 0 !important;
    padding-right: 6px !important;
  }

  .site-header .brand {
    position: absolute !important;
    left: -8px !important;
    top: 50% !important;
    z-index: 1 !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  .site-header .brand-mark,
  .site-header.product-header .brand-mark {
    width: 196px !important;
    height: 66px !important;
  }

  .site-header .header-actions {
    position: relative !important;
    z-index: 5 !important;
    margin-left: auto !important;
    padding-left: 176px !important;
    pointer-events: auto !important;
  }

  .site-header .mobile-menu-button {
    position: relative;
    z-index: 6;
    touch-action: manipulation;
  }

  .site-header .header-search:not(.expanded):not(:focus-within),
  .site-header .cart-button,
  .site-header .auth-controls,
  .site-header .auth-login-button,
  .site-header .auth-user-button {
    position: relative;
    z-index: 6;
    pointer-events: auto;
    touch-action: manipulation;
  }

  .site-header .header-search.expanded,
  .site-header .header-search:focus-within {
    position: fixed;
    z-index: 1500;
    pointer-events: auto;
    touch-action: manipulation;
  }
}

@media (max-width: 380px) {
  .site-header .brand {
    left: -12px !important;
  }

  .site-header .brand-mark,
  .site-header.product-header .brand-mark {
    width: 188px !important;
    height: 64px !important;
  }

  .site-header .header-actions {
    padding-left: 162px !important;
  }
}

.admin-orders-main,
.account-main {
  min-height: 70vh;
}

.admin-orders-shell,
.account-shell {
  width: min(1180px, calc(100% - 48px));
}

.admin-orders-main {
  padding: 150px 0 72px;
}

.admin-orders-shell {
  margin: 0 auto;
}

.admin-orders-heading,
.account-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.admin-orders-heading h1,
.account-heading h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
}

.admin-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.admin-tabs button,
.admin-send-form button,
.account-code button {
  border: 0;
  border-radius: 7px;
  background: #181818;
  color: #f4f4f4;
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.admin-tabs button:hover,
.admin-send-form button:hover,
.account-code button:hover {
  transform: translateY(-1px);
}

.admin-tabs button.active,
.admin-send-form button,
.account-code button {
  background: #ff6a00;
  color: #111;
}

.admin-order-list,
.account-orders-list {
  display: grid;
  gap: 14px;
}

.admin-order-card,
.account-order-card,
.admin-empty,
.admin-loading,
.empty-orders {
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 8px;
  padding: 18px;
}

.admin-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 18px;
  align-items: start;
}

.admin-order-info,
.admin-send-form,
.account-order-card {
  display: grid;
  gap: 8px;
}

.admin-order-info strong,
.account-order-card strong {
  font-size: 20px;
  color: #fff;
}

.admin-order-info span,
.admin-order-info small,
.account-order-card p,
.account-order-card span {
  color: #c9c9c9;
}

.admin-send-form label {
  display: grid;
  gap: 8px;
  color: #f4f4f4;
  font-weight: 900;
}

.admin-send-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: #171717;
  color: #fff;
  padding: 12px;
  font: inherit;
}

.admin-send-form button:disabled {
  opacity: .7;
  cursor: wait;
}

.admin-code-box,
.account-code {
  display: grid;
  gap: 8px;
  background: #171717;
  border: 1px solid rgba(255, 106, 0, .45);
  border-radius: 8px;
  padding: 14px;
}

.admin-code-box code,
.account-code code {
  color: #fff;
  font-size: 18px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.account-order-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.account-order-top mark {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 106, 0, .18);
  color: #ff8a2a;
  font-weight: 900;
}

.account-order-card.sent .account-order-top mark {
  background: rgba(51, 190, 105, .18);
  color: #52d77f;
}

.account-order-note {
  background: rgba(255, 255, 255, .05);
  border-radius: 7px;
  padding: 12px;
}

@media (max-width: 760px) {
  .admin-orders-main {
    padding-top: 112px;
  }

  .admin-orders-shell,
  .account-shell {
    width: min(100% - 28px, 520px);
  }

  .admin-orders-heading,
  .account-heading,
  .account-order-top {
    display: grid;
  }

  .admin-order-card {
    grid-template-columns: 1fr;
  }
}
