﻿:root {
  color-scheme: dark;
  --bg: #060a10;
  --bg-deep: #04070c;
  --surface: #0b1219;
  --surface-2: #101a24;
  --surface-3: #17232f;
  --ink: #eef4fb;
  --ink-soft: #c6d2df;
  --muted: #8b9caf;
  --accent: #8be6ff;
  --accent-ink: #03151c;
  --line: #1d2b39;
  --ok: #7ee3b4;
  --ok-bg: #0e2a21;
  --info: #8be6ff;
  --info-bg: #0c2631;
  --warn: #ffc46b;
  --warn-bg: #2a2111;
  --danger: #ff8b93;
  --danger-bg: #2b1418;
  --muted-bg: #1a222c;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-text: 'Golos Text', system-ui, sans-serif;
  --pad: clamp(20px, 4.2vw, 56px);
  --shell: min(1440px, 100% - (2 * var(--pad)));
  --radius: 4px;
  --radius-cover: 12px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul {
  padding-left: 1.2em;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.button:hover {
  background: var(--ink);
  color: var(--bg);
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  background: var(--surface-3);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-compact {
  min-height: 38px;
  padding: 0 16px;
  background: var(--surface-2);
  color: var(--ink);
  font-size: 14px;
}

.button-compact:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.button-full {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--accent);
}

.status-note {
  color: var(--muted);
  font-size: 13px;
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}

.status-ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.status-info {
  background: var(--info-bg);
  color: var(--info);
}

.status-warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.status-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.status-muted {
  background: var(--muted-bg);
  color: var(--ink-soft);
}

.price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.price-current {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price-prefix {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
}

.price-old {
  color: var(--muted);
  font-size: 0.68em;
  text-decoration: line-through;
}

.flash {
  width: 100%;
  margin-bottom: 28px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.flash p {
  font-size: 15px;
}

.flash-success {
  background: var(--ok-bg);
  color: var(--ok);
}

.flash-error {
  background: var(--danger-bg);
  color: var(--danger);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.breadcrumbs a {
  transition: color 0.2s var(--ease);
}

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

.section {
  padding-block: clamp(74px, 9vw, 132px);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3.5rem);
}

.section-heading > span {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.page-hero {
  padding-top: clamp(48px, 7vw, 92px);
}

.page-hero-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.page-hero-grid > div {
  min-width: 0;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.7rem, 6.2vw, 6rem);
  letter-spacing: -0.055em;
  line-height: 0.96;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.page-lead {
  max-width: 58ch;
  margin-top: 26px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.page-count {
  flex: none;
  max-width: 260px;
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.empty-state {
  padding: clamp(36px, 6vw, 70px);
  background: var(--surface);
  border-radius: var(--radius);
}

.empty-state h2,
.empty-state h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.empty-state p {
  max-width: 60ch;
  color: var(--ink-soft);
  margin-bottom: 26px;
}

.empty-state-inline {
  background: transparent;
  padding: 0;
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label,
.checkbox-field {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #667789;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.label-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.checkbox-field input {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.checkbox-field a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.prose {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.prose p,
.prose ul,
.prose ol,
.prose .rich-heading {
  max-width: 68ch;
  margin-bottom: 18px;
}

.prose p:last-child,
.prose ul:last-child,
.prose ol:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  max-width: 64ch;
  padding-left: 20px;
}

.prose li::marker {
  color: var(--accent);
}

.prose .rich-heading {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 22px;
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.aside-lead {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
}

.site-header-row {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
}

.brand-word {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a {
  padding-block: 6px;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
}

.language-switch a {
  padding: 4px 2px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.language-switch a:hover,
.language-switch a.is-active {
  color: var(--ink);
}

.language-switch span {
  color: var(--muted);
}

.announcement {
  background: var(--surface);
}

.announcement-row {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding-block: 7px;
}

.announcement p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.4;
}

.home-hero {
  padding-top: clamp(34px, 6vw, 76px);
}

.home-intro {
  padding-bottom: clamp(34px, 5vw, 56px);
}

.wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 10.8vw, 10.6rem);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
  animation: rise-in 0.8s var(--ease) both;
}

.home-intro-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: clamp(24px, 3vw, 38px);
}

.home-lead {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.55;
  animation: rise-in 0.8s 0.08s var(--ease) both;
}

.home-numbers {
  display: flex;
  gap: clamp(26px, 4vw, 54px);
  animation: rise-in 0.8s 0.16s var(--ease) both;
}

.home-numbers p {
  display: grid;
  gap: 2px;
}

.home-numbers strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.home-numbers span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.shelf {
  position: relative;
  min-height: 600px;
  height: clamp(620px, 76svh, 810px);
  overflow: hidden;
  background: var(--surface);
  animation: rise-in 0.9s 0.2s var(--ease) both;
}

.shelf-backdrops,
.shelf-backdrop {
  position: absolute;
  inset: 0;
}

.shelf-backdrop {
  opacity: 0;
  transition: opacity 0.65s var(--ease);
}

.shelf-backdrop.is-active {
  opacity: 1;
}

.shelf-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.shelf-backdrop.is-active img {
  animation: backdrop-drift 30s ease-in-out infinite alternate;
}

.shelf-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.62);
}

.shelf-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100%;
  padding-block: clamp(20px, 3vw, 32px);
}

.shelf-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}

.shelf-rail-label {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.shelf-scroll-controls {
  display: flex;
  gap: 6px;
}

.shelf-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(6, 10, 16, 0.55);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.shelf-scroll-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.shelf-stage {
  display: flex;
  align-items: center;
  min-height: 0;
}

.shelf-panels {
  width: 100%;
  max-width: 600px;
}

.shelf-panel[hidden] {
  display: none;
}

.shelf-panel.is-active {
  display: block;
  animation: panel-in 0.5s var(--ease) both;
}

.shelf-game-name {
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.shelf-game-tagline {
  max-width: 40ch;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
}

.shelf-game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.shelf-game-meta span + span::before {
  content: 'В·';
  margin-right: 22px;
  color: var(--muted);
}

.shelf-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.shelf-rail {
  min-width: 0;
}

.shelf-row {
  display: flex;
  justify-content: safe center;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 8px 12px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .shelf-tile {
    animation: tile-in 0.55s var(--ease) both;
  }

  .shelf-tile:nth-child(2) { animation-delay: 0.04s; }
  .shelf-tile:nth-child(3) { animation-delay: 0.08s; }
  .shelf-tile:nth-child(4) { animation-delay: 0.12s; }
  .shelf-tile:nth-child(5) { animation-delay: 0.16s; }
  .shelf-tile:nth-child(6) { animation-delay: 0.2s; }
  .shelf-tile:nth-child(7) { animation-delay: 0.24s; }
  .shelf-tile:nth-child(8) { animation-delay: 0.28s; }
  .shelf-tile:nth-child(9) { animation-delay: 0.32s; }
  .shelf-tile:nth-child(10) { animation-delay: 0.36s; }
}

.shelf-row::-webkit-scrollbar {
  height: 5px;
}

.shelf-row::-webkit-scrollbar-thumb {
  background: var(--surface-3);
  border-radius: 10px;
}

.shelf-tile {
  display: grid;
  flex: 0 0 clamp(102px, 10.2vw, 146px);
  gap: 8px;
  color: var(--ink-soft);
  scroll-snap-align: center;
}

.shelf-tile-media {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface-3);
}

.shelf-tile-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 12, 0.4);
  transition: opacity 0.3s var(--ease);
}

.shelf-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.shelf-tile:hover .shelf-tile-media img {
  transform: scale(1.045);
}

.shelf-tile.is-active .shelf-tile-media {
  outline: 3px solid var(--game-accent, var(--accent));
  outline-offset: 3px;
}

.shelf-tile.is-active .shelf-tile-media::after {
  opacity: 0;
}

.shelf-tile-name {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.shelf-tile:hover .shelf-tile-name,
.shelf-tile.is-active .shelf-tile-name {
  color: var(--ink);
  font-weight: 600;
}

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

.principles-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: start;
}

.principles-intro h2 {
  max-width: 12ch;
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
}

.principles-intro > p {
  max-width: 42ch;
  margin: 24px 0 30px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.principles-list {
  display: grid;
  gap: 34px;
}

.principle {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

.principle h3 {
  padding-top: 3px;
  font-family: var(--font-text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.principle p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
}

.featured-section {
  padding-top: clamp(74px, 8vw, 112px);
}

.product-list {
  display: grid;
  gap: 10px;
}

.product-row {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr) auto;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: center;
  padding: 12px;
  border-radius: 6px;
  background: var(--surface);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-row:hover {
  background: var(--surface-2);
  transform: translateX(4px);
}

.product-row-media {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface-3);
}

.product-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-row:hover .product-row-media img {
  transform: scale(1.04);
}

.product-row-main {
  min-width: 0;
  padding-block: 6px;
}

.product-row-game {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.product-row-name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.product-row-description {
  max-width: 60ch;
  margin-top: 8px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.product-row-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding-right: 12px;
}

.product-row-side .price-current {
  font-size: 20px;
}

.product-row-arrow {
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.product-row:hover .product-row-arrow {
  transform: translateX(4px);
}

.home-faq-section {
  background: var(--bg-deep);
}

.home-faq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.home-faq-grid h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.home-faq-grid .text-link {
  margin-top: 26px;
}

.run-in-list {
  display: grid;
  gap: 24px;
}

.run-in-list p {
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
}

.run-in-list strong {
  color: var(--ink);
  font-weight: 600;
}

.cta-band {
  background: var(--accent);
  color: var(--accent-ink);
}

.cta-band-link {
  display: block;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.cta-band-link:hover,
.cta-band-link:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.cta-band-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(300px, 46svh, 440px);
  padding-block: clamp(34px, 4vw, 56px) clamp(16px, 2vw, 26px);
}

.cta-band-word {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 15.4vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.8;
}

.cta-band-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(28px, 4vw, 48px);
}

.cta-band-note {
  max-width: 40ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.cta-band-arrow {
  flex: none;
}

.games-section {
  padding-top: clamp(46px, 6vw, 72px);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.game-card {
  display: block;
}

.game-card-media {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-cover);
  background: var(--surface-2);
}

.game-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.game-card-body {
  padding: 14px 2px 0;
}

.game-card-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.game-card-body p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.game-card-price {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 14px;
}

.game-card:hover .game-card-body h2 {
  color: var(--accent);
}

.support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: clamp(56px, 7vw, 90px);
  padding: clamp(26px, 3.5vw, 40px);
  background: var(--surface);
  border-radius: var(--radius);
}

.support-strip h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.support-strip p {
  max-width: 56ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 16px;
}

.game-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 58svh, 620px);
  overflow: hidden;
  background: var(--surface);
}

.game-hero-media,
.game-hero-scrim {
  position: absolute;
  inset: 0;
}

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

.game-hero-scrim {
  background: rgba(4, 7, 12, 0.66);
}

.game-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 7vw, 90px);
  width: var(--shell);
  padding-block: clamp(28px, 4vw, 42px) clamp(34px, 4.5vw, 56px);
}

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

.game-hero-copy h1 {
  font-size: clamp(2.8rem, 6.6vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.game-hero-tagline {
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
}

.game-hero-meta {
  display: flex;
  gap: 14px 24px;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.game-hero-meta span + span::before {
  content: 'В·';
  margin-right: 24px;
  color: var(--muted);
}

.game-content-section {
  padding-block: clamp(56px, 7vw, 96px);
}

.game-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.game-about h2 {
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.game-aside {
  padding-top: 8px;
}

.game-aside .text-link {
  margin-top: 20px;
}

.game-products-section {
  padding-top: 0;
}

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

.game-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.game-mini-media {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-cover);
  background: var(--surface-2);
}

.game-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.game-mini:hover .game-mini-media img {
  transform: scale(1.035);
}

.game-mini-body {
  padding-top: 12px;
}

.game-mini-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.game-mini-body p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.catalog-section {
  padding-block: clamp(40px, 5vw, 64px) clamp(80px, 9vw, 130px);
}

.catalog-filters {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) minmax(220px, 1.4fr) auto;
  gap: 16px;
  align-items: end;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.filter-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.filter-field label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-deep);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.filter-field select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238be6ff' stroke-width='1.6' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.filter-field input::placeholder {
  color: #667789;
}

.filter-field input:hover,
.filter-field select:hover {
  border-color: var(--surface-3);
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--accent);
  background-color: var(--surface);
  outline: none;
}

.filter-field select option {
  background: var(--surface);
  color: var(--ink);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 46px;
}

.catalog-summary {
  margin: 24px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.catalog-summary strong {
  color: var(--ink-soft);
  font-weight: 600;
}

.catalog-products {
  margin-top: 10px;
}

.product-top {
  padding-top: clamp(28px, 4vw, 44px);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5.5vw, 88px);
  align-items: start;
  margin-top: clamp(24px, 3.5vw, 40px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.product-visual {
  max-width: 540px;
}

.product-main-image {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: var(--radius-cover);
  background: var(--surface-2);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-label {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.product-main-image.is-gallery {
  aspect-ratio: 16 / 10;
}

.product-thumb {
  flex: 0 0 96px;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: var(--surface-2);
  opacity: 0.6;
  transition: opacity 0.2s var(--ease);
}

.product-thumb:hover,
.product-thumb.is-active {
  opacity: 1;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb[data-cover] img {
  object-fit: contain;
  background: var(--surface-3);
}

.product-summary {
  padding-top: 8px;
}

.product-game-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.product-summary h1 {
  max-width: 14ch;
  margin-top: 12px;
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.product-short {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}

.product-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  margin-top: 28px;
}

.product-price-block .price-current {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
}

.product-price-block .price-old {
  font-size: 15px;
}

.product-period {
  color: var(--muted);
  font-size: 14px;
}

.product-status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.product-badge {
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.product-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: 28px;
}

.product-facts {
  display: grid;
  gap: 2px;
  margin-top: 32px;
}

.product-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px;
  border-radius: 3px;
  background: var(--surface);
}

.product-facts dt {
  color: var(--muted);
  font-size: 14px;
}

.product-facts dd {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
}

.product-facts a {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.product-disclaimer {
  max-width: 58ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.product-detail-section {
  background: var(--surface);
  padding-block: clamp(64px, 8vw, 110px);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.product-info {
  min-width: 0;
}

.product-text-section {
  margin-bottom: clamp(44px, 6vw, 70px);
}

.product-text-section:last-child {
  margin-bottom: 0;
}

.product-text-section h2 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  max-width: 820px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.spec-table {
  display: grid;
  gap: 2px;
  max-width: 680px;
}

.spec-table > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 14px 18px;
  border-radius: 3px;
  background: var(--surface-2);
}

.spec-table dt {
  color: var(--muted);
  font-size: 14px;
}

.spec-table dd {
  color: var(--ink);
  font-size: 15px;
}

.spec-note {
  max-width: 640px;
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.order-column {
  min-width: 0;
}

.order-card {
  position: sticky;
  top: 100px;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: 6px;
  background: var(--surface-2);
  scroll-margin-top: 110px;
}

.order-card h2 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
}

.order-product {
  display: grid;
  gap: 3px;
  margin-top: 16px;
}

.order-product span {
  color: var(--muted);
  font-size: 13px;
}

.order-product .order-summary-plan {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.order-product strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.order-lead {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.order-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.plan-fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.plan-fieldset legend {
  padding: 0;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.plan-options {
  display: grid;
  gap: 6px;
}

.plan-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--bg-deep);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.plan-option:hover {
  background: var(--surface);
}

.plan-option.is-selected {
  background: var(--surface);
}

.plan-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.plan-option:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.plan-option-days {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.plan-option.is-selected .plan-option-days {
  color: var(--ink);
}

.plan-option.is-selected .plan-option-days::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.plan-option-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.plan-option-price s {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.plan-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.order-form .button {
  margin-top: 4px;
}

#order-success:empty {
  display: none;
}

#order-success .flash {
  margin-top: 18px;
  margin-bottom: 0;
}

.order-unavailable {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.order-card > .button-full {
  margin-top: 18px;
}

.support-section {
  padding-top: clamp(44px, 5vw, 68px);
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.support-contacts h2,
.support-form-wrap h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.contact-list {
  display: grid;
  gap: 26px;
  margin-top: 28px;
}

.contact-row {
  display: grid;
  gap: 4px;
}

.contact-label {
  color: var(--muted);
  font-size: 13px;
}

.contact-row a {
  width: fit-content;
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

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

.contact-row > p:last-child {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.support-note {
  margin: 34px 0 18px;
  padding: 20px;
  background: var(--surface);
  border-radius: var(--radius);
}

.support-note h3 {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.support-note p {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.support-form-wrap {
  padding: clamp(22px, 3vw, 34px);
  background: var(--surface);
  border-radius: 6px;
}

.form-intro {
  max-width: 54ch;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.support-form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.support-form .button {
  justify-self: start;
  margin-top: 4px;
}

.about-intro-section {
  padding-top: clamp(44px, 6vw, 76px);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.about-brand-panel {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(26px, 4vw, 50px);
  background: var(--surface);
  border-radius: 6px;
}

.about-brand-panel img {
  width: min(320px, 100%);
}

.about-brand-panel p {
  max-width: 30ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.about-text h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.about-text p {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.about-text .button {
  margin-top: 30px;
}

.about-principles {
  margin-top: 0;
}

.about-updates-section {
  background: var(--bg-deep);
}

.about-updates-grid {
  display: grid;
  grid-template-columns: minmax(200px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.about-updates-grid h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 3.3vw, 3rem);
}

.about-cta {
  padding-block: clamp(56px, 7vw, 90px);
  background: var(--surface);
}

.about-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-cta h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.about-cta p {
  max-width: 54ch;
  margin-top: 12px;
  color: var(--ink-soft);
}

.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
}

.faq-page-section {
  padding-top: clamp(44px, 5vw, 68px);
}

.faq-page-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.faq-aside {
  position: sticky;
  top: 100px;
  padding: 26px;
  background: var(--surface);
  border-radius: 6px;
}

.faq-aside h2 {
  font-size: 22px;
}

.faq-aside > p {
  margin: 12px 0 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.faq-legal {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq-legal a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 0.2s var(--ease), text-decoration-color 0.2s var(--ease);
}

.faq-legal a:hover {
  color: var(--ink);
  text-decoration-color: var(--accent);
}

.faq-entries {
  max-width: 820px;
}

.faq-entry {
  padding-bottom: 34px;
  margin-bottom: 34px;
}

.faq-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-entry h2 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.faq-entry p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
}

.legal-section {
  padding-top: clamp(44px, 5vw, 68px);
}

.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.legal-article {
  max-width: 800px;
}

.legal-article > p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-article h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-family: var(--font-text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.legal-article ul {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.65;
}

.legal-article li::marker {
  color: var(--accent);
}

.legal-article a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.legal-article strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-aside {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: var(--surface);
  border-radius: 6px;
}

.legal-aside h2 {
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}

.legal-links {
  display: grid;
  gap: 10px;
  margin: 14px 0 22px;
}

.legal-links a {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s var(--ease);
}

.legal-links a:hover,
.legal-links a[aria-current='page'] {
  color: var(--accent);
}

.legal-aside > p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.error-page {
  display: flex;
  align-items: center;
  min-height: 60svh;
  padding-block: clamp(60px, 10vw, 120px);
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 17rem);
  font-weight: 600;
  letter-spacing: -0.08em;
  line-height: 0.8;
  color: var(--surface-3);
  user-select: none;
}

.error-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
}

.error-copy > p {
  max-width: 44ch;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 17px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 28px;
}

.maintenance-main {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 120px);
  padding-block: 60px;
}

.maintenance-inner {
  display: grid;
  justify-items: start;
  max-width: 720px;
}

.maintenance-logo {
  width: 160px;
  height: 160px;
  margin-bottom: 24px;
}

.maintenance-inner h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.maintenance-text {
  max-width: 46ch;
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
}

.maintenance-contact {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.maintenance-contact a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.site-footer {
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 100px);
  padding-block: clamp(56px, 7vw, 100px) clamp(40px, 5vw, 64px);
}

.footer-brand {
  display: grid;
  align-content: start;
  justify-items: start;
}

.footer-logo img {
  width: min(300px, 55%);
  min-width: 170px;
  height: auto;
}

.footer-tagline {
  max-width: 26ch;
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.footer-note {
  max-width: 44ch;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-content: start;
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-column h2 {
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
}

.footer-column a {
  width: fit-content;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.35;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-column a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-hours {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 26px 30px;
  color: var(--muted);
  font-size: 13px;
}

.reveal-init {
  transition-delay: var(--reveal-delay, 0ms);
}

html.js .reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: var(--ease);
}

html.js .reveal-init.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tile-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.085);
  }
}

@media (max-width: 1150px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .product-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
  }
}

@media (max-width: 980px) {
  .site-header-row {
    flex-wrap: wrap;
    gap: 10px 24px;
    padding-block: 12px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .site-header-actions {
    gap: 10px;
  }

  .home-intro-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .home-numbers {
    gap: 40px;
  }

  .shelf {
    height: auto;
    min-height: 620px;
  }

  .shelf-inner {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 26px;
  }

  .shelf-stage {
    padding-block: 10px 8px;
  }

  .shelf-panel {
    max-width: 640px;
  }

  .principles-grid,
  .home-faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .principles-intro h2 {
    max-width: 18ch;
  }

  .principles-list {
    gap: 28px;
  }

  .principle {
    grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1.4fr);
  }

  .product-row {
    grid-template-columns: 88px minmax(0, 1fr) auto;
  }

  .game-content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .game-aside {
    max-width: 56ch;
  }

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

  .filter-search {
    grid-column: span 2;
  }

  .filter-actions {
    grid-column: span 2;
  }

  .product-top {
    padding-top: 28px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .product-visual {
    max-width: 460px;
  }

  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .order-card {
    position: static;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
  }

  .about-brand-panel {
    min-height: 340px;
  }

  .about-updates-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .faq-page-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-aside {
    position: static;
    order: 2;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-aside {
    position: static;
    order: 2;
  }

  .error-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .error-code {
    font-size: clamp(6rem, 24vw, 10rem);
  }

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

  .footer-logo img {
    width: min(260px, 45%);
  }

  .support-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .page-hero-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .page-count {
    padding-bottom: 0;
    text-align: left;
  }

  .wordmark {
    font-size: clamp(2.2rem, 10.8vw, 4.6rem);
  }

  .home-hero {
    padding-top: 28px;
  }

  .home-lead {
    font-size: 18px;
  }

  .home-numbers strong {
    font-size: 1.9rem;
  }

  .home-numbers span {
    font-size: 13px;
  }

  .shelf {
    min-height: 0;
  }

  .shelf-inner {
    gap: 20px;
    padding-block: 18px 16px;
  }

  .shelf-rail-label {
    font-size: 18px;
  }

  .shelf-scroll-btn {
    width: 34px;
    height: 34px;
  }

  .shelf-panel {
    max-width: none;
  }

  .shelf-game-name {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }

  .shelf-game-tagline {
    font-size: 16px;
  }

  .shelf-actions .button {
    width: 100%;
  }

  .shelf-row {
    gap: 10px;
  }

  .shelf-tile.is-active .shelf-tile-media {
    outline-width: 2px;
  }

  .shelf-tile {
    flex-basis: 106px;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .principles-intro > p {
    font-size: 16px;
  }

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

  .product-row {
    grid-template-columns: 76px minmax(0, 1fr);
    grid-template-areas:
      'media main'
      'media side';
    gap: 4px 16px;
    padding: 10px;
  }

  .product-row-media {
    grid-area: media;
    align-self: start;
  }

  .product-row-main {
    grid-area: main;
    padding-block: 2px 0;
  }

  .product-row-side {
    grid-area: side;
    justify-content: flex-start;
    gap: 16px;
    padding: 0;
    margin-top: 8px;
  }

  .product-row-side .price-current {
    font-size: 18px;
  }

  .product-row-arrow {
    display: none;
  }

  .product-row-description {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .product-row:hover {
    transform: none;
  }

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

  .game-card-body p {
    display: none;
  }

  .game-card-body h2 {
    font-size: 15px;
  }

  .game-card-price {
    font-size: 13px;
    margin-top: 4px;
  }

  .cta-band-inner {
    min-height: 260px;
    padding-block: 28px 18px;
  }

  .cta-band-note {
    max-width: 26ch;
    font-size: 15px;
  }

  .cta-band-arrow {
    width: 34px;
    height: 34px;
  }

  .cta-band-word {
    font-size: clamp(3.6rem, 17.4vw, 8rem);
  }

  .cta-band-bottom {
    margin-top: 24px;
  }

  .game-hero {
    min-height: 430px;
  }

  .game-hero-inner {
    gap: 56px;
  }

  .game-hero-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .game-hero-tagline {
    font-size: 16px;
  }

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

  .game-mini:last-child {
    display: none;
  }

  .catalog-filters {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-search,
  .filter-actions {
    grid-column: auto;
  }

  .filter-actions {
    flex-wrap: wrap;
  }

  .product-visual {
    max-width: none;
  }

  .product-summary h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.2rem);
  }

  .product-cta .button {
    width: 100%;
  }

  .product-cta {
    gap: 16px;
  }

  .spec-table > div {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 12px 14px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .support-form .button,
  .empty-actions .button {
    width: 100%;
  }

  .empty-actions {
    align-items: stretch;
  }

  .support-form-wrap {
    padding: 20px;
  }

  .about-brand-panel {
    min-height: 300px;
  }

  .about-cta-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .faq-entry h2 {
    font-size: 19px;
  }

  .faq-entry p {
    font-size: 16px;
  }

  .legal-article h2 {
    margin-top: 34px;
    font-size: 20px;
  }

  .legal-article > p,
  .legal-article ul {
    font-size: 16px;
  }

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

  .footer-column:last-child {
    grid-column: span 2;
  }

  .footer-logo img {
    width: min(230px, 65%);
  }

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

  .order-card {
    padding: 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html.js .reveal-init {
    opacity: 1;
    transform: none;
  }
}

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

.news-card,
.giveaway-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.news-card-media,
.giveaway-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.news-card-media img,
.giveaway-card-media img,
.news-post-cover,
.giveaway-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-placeholder,
.giveaway-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.news-card-body,
.giveaway-card-body {
  padding: 20px;
}

.news-card-body h2,
.giveaway-card-body h2 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.news-card-body h2 a,
.giveaway-card-body h2 a {
  color: var(--ink);
  text-decoration: none;
}

.news-card-body p,
.giveaway-card-body p {
  color: var(--muted);
}

.news-meta,
.giveaway-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.news-card .text-link {
  margin-top: 14px;
}

.news-post-hero .text-link,
.giveaway-hero .text-link {
  display: inline-block;
  margin-bottom: 22px;
}

.news-post-hero h1,
.giveaway-hero h1 {
  max-width: 980px;
}

.news-post-layout {
  max-width: 900px;
}

.news-post-cover,
.giveaway-cover {
  display: block;
  max-height: 560px;
  margin-bottom: 34px;
  border-radius: 16px;
}

.rich-text {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.8;
}

.rich-text > * + * {
  margin-top: 1.1em;
}

.rich-text h3,
.rich-text .rich-heading {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.rich-text ul,
.rich-text ol {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
}

.rich-text a {
  color: var(--accent);
}

.news-post > .text-link {
  display: inline-block;
  margin-top: 42px;
}

.giveaway-status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.82);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.giveaway-status.is-open {
  color: #9ff0bd;
}

.giveaway-prize {
  color: var(--ink) !important;
  font-weight: 500;
}

.giveaway-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.giveaway-content {
  min-width: 0;
}

.giveaway-entry {
  position: sticky;
  top: 92px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.giveaway-entry h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.giveaway-entry .support-form {
  margin-top: 20px;
}

.giveaway-rules,
.giveaway-winner {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.giveaway-rules h2,
.giveaway-winner h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.giveaway-winner p {
  color: var(--ink-soft);
}

.giveaway-closed {
  padding-top: 8px;
}

.reseller-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: start;
}

.reseller-info h2,
.reseller-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.reseller-info > p,
.reseller-info .text-link {
  margin-top: 16px;
}

.reseller-benefits {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.reseller-benefit {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.reseller-benefit-label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 600;
}

.reseller-benefit p {
  color: var(--muted);
  font-size: 14px;
}

.reseller-form-wrap {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.reseller-type-field {
  display: grid;
  gap: 8px;
  padding: 0;
  border: 0;
}

.reseller-type-field legend {
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.radio-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 14px;
  cursor: pointer;
}

.radio-field input {
  margin-top: 3px;
  accent-color: var(--accent);
}

@media (max-width: 900px) {
  .news-grid,
  .giveaway-grid,
  .giveaway-layout,
  .reseller-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .giveaway-entry {
    position: static;
  }
}

@media (max-width: 560px) {
  .news-grid,
  .giveaway-grid {
    gap: 16px;
  }

  .news-card-body,
  .giveaway-card-body,
  .reseller-form-wrap {
    padding: 18px;
  }
}


.flash-warning {
  border-color: var(--warn);
  background: var(--warn-bg);
  color: var(--warn);
}

.account-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  color: var(--ink);
  line-height: 1.15;
  text-decoration: none;
}

.account-chip span {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
}

.account-chip small {
  color: var(--accent);
  font-size: 12px;
}

.account-login-link {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.account-login-link:hover {
  color: var(--accent);
}

.account-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
}

.account-auth-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.account-auth-aside p,
.account-auth-aside li {
  color: var(--muted);
}

.account-auth-aside p {
  margin-top: 16px;
}

.account-benefits {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 1.1em;
  color: var(--muted);
}

.account-auth-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.account-auth-card .support-form {
  margin-top: 0;
}

.account-auth-foot {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.account-resend-form {
  margin-top: 16px;
}

.account-resend-form .text-link {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
}

.verify-code-input {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.35em;
  text-align: center;
}

.form-hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.account-warning {
  padding: 10px 12px;
  border: 1px solid var(--warn);
  border-radius: 8px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 14px;
}

.account-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.account-balance-card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 220px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.account-balance-card > span:first-child {
  color: var(--muted);
  font-size: 13px;
}

.account-balance-card strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.account-verify-state {
  font-size: 12px;
}

.account-verify-state.is-ok { color: var(--ok); }
.account-verify-state.is-warn { color: var(--warn); }

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.account-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.account-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.account-card-head h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.account-card-note {
  color: var(--muted);
  font-size: 13px;
}

.account-wide-card {
  margin-bottom: 22px;
}

.account-details {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.account-details > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.account-details dt,
.account-details dd {
  margin: 0;
  font-size: 14px;
}

.account-details dt { color: var(--muted); }
.account-details dd { color: var(--ink-soft); text-align: right; }

.account-logout-form {
  margin-top: 18px;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.account-table th {
  padding: 0 12px 10px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
}

.account-table td {
  padding: 12px 12px 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

.account-table td strong {
  display: block;
  color: var(--ink);
}

.account-cell-note {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.account-status {
  color: var(--accent);
  font-weight: 500;
}

.account-list {
  display: grid;
  gap: 2px;
}

.account-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.account-list-row:first-child {
  border-top: 0;
}

.account-list-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 12px;
  text-align: right;
}

.account-plus { color: var(--ok); }
.account-minus { color: var(--danger); }
.account-empty { color: var(--muted); }

.account-topup-form .button {
  margin-top: 14px;
}

.account-promo-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.account-promo-box h3 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}

.account-promo-form {
  display: grid;
  gap: 10px;
}

.account-promo-form .form-field label {
  font-size: 13px;
}

.account-promo-form .button {
  justify-self: start;
}

.order-balance {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.order-balance > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.order-balance strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.order-balance .button {
  margin: 0;
}

.order-balance-login {
  margin: 14px 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .account-auth-layout,
  .account-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .account-balance-card {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .account-auth-card,
  .account-card {
    padding: 18px;
  }

  .account-list-row {
    align-items: flex-start;
  }

  .account-chip span {
    max-width: 90px;
  }
}
