@font-face {
  font-family: "ALS Wagon";
  src: local("ALS Wagon");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #10151e;
  --panel: #171e2a;
  --panel2: #1b2838;
  --line: #2a3545;
  --text: #edf3fa;
  --muted: #94a5b9;
  --blue: #66c0f4;
  --cyan: #00adee;
  --lime: #acd550;
  --radius: 18px;
  font-family: "ALS Wagon", "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
::selection {
  background: #00adee66;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.04em;
}
h1 {
  font-size: clamp(42px, 5.7vw, 78px);
  font-weight: 750;
}
h2 {
  font-size: clamp(29px, 3vw, 42px);
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
}
.skip-link {
  position: fixed;
  top: -100px;
  z-index: 20;
  padding: 12px;
  background: var(--cyan);
}
.skip-link:focus {
  top: 0;
}
.scroll-progress {
  height: 2px;
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  background: var(--cyan);
  transform-origin: left;
  transform: scaleX(0);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #10151ef5;
  border-bottom: 1px solid #ffffff09;
}
.header-inner {
  max-width: 1320px;
  margin: auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.7px;
  flex-shrink: 0;
}
.brand-light {
  font-weight: 400;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 500;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-button {
  background: none;
  border: 0;
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
  position: relative;
  white-space: nowrap;
}
.nav-button:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-button:hover,
.nav-button.active {
  color: var(--text);
}
.nav-button.active:after {
  transform: scaleX(1);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.region-control {
  display: grid;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
select {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 12px;
}
option {
  background: #1b2838;
  color: #edf3fa;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 45px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 650;
  transition:
    transform 0.18s,
    background 0.18s,
    border-color 0.18s;
}
.button:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  background: #243346;
}
.button-primary {
  background: var(--cyan);
  color: #071b28;
  border-color: var(--cyan);
}
.button-primary:hover {
  background: #49c9f8;
}
.button-steam {
  background: #263849;
  border-color: #33495d;
  font-size: 12px;
  white-space: nowrap;
}
.button-text {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: pointer;
}
.account-user {
  display: flex;
  align-items: center;
  gap: 8px;
}
.account-user img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.account-user span {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.page {
  max-width: 1256px;
  padding: 0 32px;
  margin: auto;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 54px;
  min-height: 620px;
  padding-top: 76px;
  padding-bottom: 70px;
}
.hero:before {
  content: "";
  position: absolute;
  right: -20px;
  top: 20px;
  width: 55%;
  height: 95%;
  background: radial-gradient(ellipse, #16426b38, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  margin: 24px 0;
}
.hero h1 span {
  display: block;
  color: var(--blue);
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero-description {
  max-width: 440px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  background: #acd55009;
  border: 1px solid #acd55026;
  border-radius: 25px;
  color: #c6df9b;
  font-size: 10px;
  letter-spacing: 0.08em;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 100%;
  box-shadow: 0 0 10px #acd55040;
}
.profile-form {
  margin-top: 30px;
  display: flex;
  gap: 8px;
  background: #171e2a;
  border: 1px solid #354357;
  padding: 7px;
  border-radius: 13px;
  max-width: 550px;
}
.profile-form:focus-within {
  border-color: var(--cyan);
}
.profile-form input {
  width: 100%;
  min-width: 0;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 13px;
  padding: 0 10px;
  outline: none;
}
.profile-form input::placeholder {
  color: #8090a5;
}
.profile-form .button {
  flex-shrink: 0;
}
.input-help {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 23px;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 18px;
  align-items: center;
}
.hero-note span:before {
  content: "✓";
  color: var(--lime);
  margin-right: 6px;
}
.hero-art {
  position: relative;
  perspective: 1200px;
  min-height: 380px;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  inset: 12px;
  border: 1px solid #66c0f419;
  border-radius: 50%;
  transform: rotate(-24deg) scaleX(1.12);
}
.orbit.second {
  inset: 45px -10px;
  transform: rotate(25deg);
  border-style: dashed;
}
.showcase {
  position: relative;
  width: 100%;
  max-width: 415px;
  background: linear-gradient(145deg, #25394b, #17202d);
  border: 1px solid #526b8160;
  border-radius: 18px;
  padding: 23px;
  box-shadow: 0 35px 65px #0005;
  transform: rotateY(-9deg) rotateX(7deg) rotateZ(-3deg);
  transition: transform 0.45s ease;
}
.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff12;
  padding-bottom: 15px;
  font-size: 12px;
}
.showcase-header span {
  font-size: 10px;
  color: var(--muted);
}
.sample-game {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
}
.sample-cover {
  width: 64px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 7px;
  background: linear-gradient(140deg, #265673, #0b2639 48%, #c4df6d);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.sample-cover:before {
  content: "";
  width: 40px;
  height: 40px;
  border: 6px solid #6ac7ea;
  transform: rotate(35deg);
  border-radius: 50%;
  position: absolute;
  left: -10px;
  top: 8px;
}
.sample-cover:after {
  content: "";
  width: 20px;
  height: 20px;
  border: 4px solid #acd550;
  border-radius: 50%;
  position: absolute;
  right: -5px;
  bottom: 10px;
}
.sample-game h3 {
  margin: 0 0 6px;
  letter-spacing: 0;
  font-size: 19px;
}
.sample-game p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.sample-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #10172299;
  margin: 7px 0;
}
.sample-line strong {
  font-weight: 650;
}
.sample-line.best {
  border: 1px solid #acd55055;
  background: #acd5500b;
}
.sample-line.best strong {
  color: var(--lime);
}
.sample-foot {
  color: var(--muted);
  font-size: 10px;
  margin: 16px 0 0;
}
.floating-tag {
  position: absolute;
  right: -15px;
  bottom: 2px;
  background: #acd550;
  color: #1a2a0b;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px #0004;
  transform: rotate(5deg);
}
.floating-tag small {
  display: block;
  font-size: 9px;
  opacity: 0.7;
  letter-spacing: 0.05em;
}
.market-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  color: var(--muted);
  font-size: 11px;
}
.market-names {
  display: flex;
  gap: 40px;
  font-size: 19px;
  letter-spacing: -0.5px;
  color: #bbc8d6;
  font-weight: 650;
}
.market-names .fun {
  color: #66c0f4;
}
.market-names .gg {
  color: #acd550;
}
.section {
  padding: 90px 0;
}
.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 35px;
}
.section-title h2 {
  margin: 12px 0 0;
}
.section-title p {
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  background: linear-gradient(145deg, #1b2635, #151d29);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.step:hover {
  border-color: #66c0f47a;
  transform: translateY(-5px);
}
.step-no {
  font-size: 12px;
  color: var(--blue);
  font-family: monospace;
  margin-bottom: 34px;
  display: block;
}
.step h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.step-symbol {
  position: absolute;
  right: 24px;
  top: 15px;
  font-size: 50px;
  color: #66c0f424;
  font-weight: 300;
}
.friend-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 40px 45px;
  background: linear-gradient(105deg, #213648, #17202c);
  border: 1px solid #385569;
  border-radius: var(--radius);
  margin: 0 0 60px;
  position: relative;
  overflow: hidden;
}
.friend-promo h2 {
  font-size: 32px;
  margin: 10px 0;
}
.friend-promo p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  max-width: 630px;
}
.friend-promo .button {
  flex-shrink: 0;
}
.faq {
  max-width: 860px;
  margin: 0 auto 80px;
}
.faq h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 30px;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.faq details p {
  font-size: 13px;
  color: var(--muted);
  margin: 15px 0 0;
  line-height: 1.8;
}
.workspace {
  padding-top: 48px;
  padding-bottom: 64px;
  min-height: 70vh;
}
.workspace-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.workspace-heading h1 {
  font-size: 36px;
  margin: 10px 0;
}
.workspace-heading p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.owner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.owner img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.scan-form {
  max-width: 100%;
  margin: 24px 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 22px 0;
}
.toolbar input {
  min-width: 120px;
  flex: 1;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--text);
  font-size: 13px;
  padding: 6px;
}
.toolbar label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.toolbar select {
  max-width: 165px;
}
.scan-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  margin: 15px 0;
}
.scan-progress {
  height: 3px;
  max-width: 200px;
  width: 30%;
  background: var(--line);
  border-radius: 4px;
  overflow: hidden;
}
.scan-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  transition: width 0.3s;
}
.game-list {
  display: grid;
  gap: 16px;
}
.game-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 15px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) 150px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  contain: layout style;
  transition: border-color 0.25s;
}
.game-card:hover {
  border-color: #466681;
}
.game-info {
  display: flex;
  gap: 16px;
  align-items: start;
  min-width: 0;
}
.game-cover {
  width: 120px;
  aspect-ratio: 460/215;
  object-fit: cover;
  border-radius: 8px;
  background: var(--panel2);
  flex-shrink: 0;
}
.game-title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.game-title:hover {
  color: var(--blue);
}
.game-description {
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.steam-price .eyebrow {
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  display: block;
}
.price {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.old-price {
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 6px;
}
.discount {
  background: #acd5501a;
  border: 1px solid #acd55033;
  color: var(--lime);
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 10px;
}
.price-status {
  font-size: 12px;
  color: var(--muted);
}
.market-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.market-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 11px;
  padding: 0 0 7px;
  color: var(--muted);
}
.market-tabs button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  background: #10151e8c;
  border: 1px solid #ffffff0a;
  border-radius: 7px;
  margin: 6px 0;
  transition: background 0.18s;
}
.offer:hover {
  background: #263c4c;
}
.offer small {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.offer strong {
  font-size: 14px;
  white-space: nowrap;
}
.offer-best strong {
  color: var(--lime);
}
.offer-review {
  border-style: dashed;
  border-color: #deb86240;
}
.offer-review small {
  color: #d2b377;
}
.offer-label {
  font-size: 11px;
}
.saving {
  font-size: 10px;
  color: var(--lime);
  margin: 7px 0;
}
.market-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.market-note a {
  color: var(--blue);
  display: inline-block;
  margin-top: 6px;
}
.checked-at {
  font-size: 9px;
  color: #75879c;
  margin-top: 9px;
}
.show-more {
  margin: 28px auto 0;
  display: flex;
}
.state-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  padding: 40px;
  text-align: center;
  max-width: 650px;
  margin: 50px auto;
}
.state-panel h2 {
  font-size: 25px;
  margin: 15px 0;
}
.state-panel p {
  font-size: 13px;
  color: var(--muted);
}
.state-symbol {
  font-size: 36px;
  color: var(--blue);
}
.notice {
  padding: 15px 20px;
  border: 1px solid #66c0f435;
  background: #66c0f407;
  border-radius: 10px;
  font-size: 12px;
  color: var(--muted);
  margin: 20px 0;
}
.friends-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.friend-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.friend-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}
.friend-card img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}
.friend-card strong {
  font-size: 13px;
  display: block;
  word-break: break-word;
}
.friend-card small {
  font-size: 10px;
  color: var(--muted);
}
.skeleton {
  height: 125px;
  background: linear-gradient(
    100deg,
    var(--panel) 30%,
    #233044 50%,
    var(--panel) 70%
  );
  background-size: 250% 100%;
  border-radius: 15px;
  border: 1px solid var(--line);
  animation: shimmer 1.8s linear infinite;
}
.loading-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.spinner {
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff20;
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 32px 22px;
}
.footer-inner {
  max-width: 1192px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  font-size: 17px;
}
.footer-inner p,
.footer-inner > a:last-child {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.footer-note {
  max-width: 1192px;
  margin: 18px auto 0;
  font-size: 10px;
  color: #718298;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  max-width: calc(100% - 40px);
  padding: 14px 22px;
  border: 1px solid var(--line);
  background: #24364b;
  border-radius: 10px;
  box-shadow: 0 10px 40px #0005;
  font-size: 13px;
}
.back-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel2);
  z-index: 5;
}
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.page-enter {
  animation: page-in 0.28s ease both;
}
[hidden] {
  display: none !important;
}
@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  to {
    background-position: -250% 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  .header-inner {
    gap: 16px;
    padding: 17px 24px;
  }
  .navigation {
    gap: 16px;
  }
  .brand {
    font-size: 20px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-actions {
    gap: 10px;
  }
  .button-steam {
    padding: 9px 11px;
  }
  .hero {
    gap: 25px;
  }
  .game-card {
    grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr);
    gap: 16px;
  }
  .game-cover {
    width: 88px;
  }
  .friends-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 850px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .navigation {
    order: 3;
    width: 100%;
    justify-content: center;
    border-top: 1px solid #ffffff08;
    padding-top: 4px;
    gap: 40px;
  }
  .header-actions {
    margin-left: auto;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    min-height: 560px;
    padding-top: 45px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-description {
    font-size: 14px;
  }
  .profile-form {
    flex-wrap: wrap;
  }
  .profile-form input {
    height: 40px;
  }
  .profile-form .button {
    width: 100%;
  }
  .hero-art {
    min-height: 350px;
  }
  .showcase {
    padding: 17px;
  }
  .floating-tag {
    right: -5px;
  }
  .hero-note {
    font-size: 10px;
    gap: 10px;
  }
  .market-names {
    gap: 24px;
    font-size: 16px;
  }
  .steps {
    gap: 12px;
  }
  .step {
    padding: 24px 20px;
  }
  .game-card {
    grid-template-columns: 1fr 1fr;
  }
  .game-info {
    grid-column: 1/-1;
  }
  .game-cover {
    width: 140px;
  }
  .game-description {
    -webkit-line-clamp: 2;
  }
  .steam-price {
    padding-top: 5px;
  }
  .friend-promo {
    padding: 30px;
  }
  .friend-promo h2 {
    font-size: 26px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar input {
    flex-basis: 100%;
  }
  .section {
    padding: 65px 0;
  }
  .footer-inner {
    flex-wrap: wrap;
  }
  .friends-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .page {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-inner {
    padding: 14px 20px 9px;
  }
  .brand {
    font-size: 19px;
    gap: 8px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 1.4px;
  }
  .region-control > span {
    display: none;
  }
  .region-control select {
    font-size: 10px;
    max-width: 103px;
    padding: 7px 5px;
  }
  .header-actions {
    gap: 8px;
  }
  .button-steam {
    min-height: 33px;
    padding: 7px 9px;
    font-size: 0;
    gap: 0;
  }
  .button-steam span {
    font-size: 21px;
  }
  .button-steam:after {
    content: "Войти";
    font-size: 10px;
    margin-left: 6px;
  }
  .navigation {
    gap: 37px;
  }
  .nav-button {
    font-size: 12px;
    padding: 9px 0;
  }
  .account-user span {
    display: none;
  }
  .account-user img {
    width: 27px;
    height: 27px;
  }
  .account-user {
    gap: 4px;
  }
  .button-text {
    font-size: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 40px;
    padding-bottom: 35px;
  }
  .hero h1 {
    font-size: 49px;
    margin: 20px 0;
  }
  .hero-description {
    font-size: 14px;
    max-width: 380px;
  }
  .profile-form {
    flex-wrap: nowrap;
  }
  .profile-form .button {
    width: auto;
    font-size: 12px;
    padding: 10px 13px;
  }
  .profile-form input {
    font-size: 11px;
    padding: 0 6px;
    height: auto;
  }
  .hero-art {
    min-height: 320px;
    margin: 0 12px;
  }
  .showcase {
    max-width: 340px;
    transform: rotateZ(-2deg);
    padding: 20px;
  }
  .floating-tag {
    bottom: 0;
    right: -5px;
    font-size: 11px;
  }
  .orbit {
    inset: 0;
  }
  .hero-note {
    font-size: 10px;
    gap: 18px;
  }
  .market-strip {
    flex-direction: column;
    gap: 13px;
    align-items: start;
    padding: 22px 0;
  }
  .market-names {
    width: 100%;
    justify-content: space-between;
    font-size: 16px;
    gap: 15px;
  }
  .section {
    padding: 48px 0;
  }
  .section-title {
    display: block;
  }
  .section-title p {
    margin-top: 16px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    padding: 24px;
  }
  .step-no {
    margin-bottom: 20px;
  }
  .step h3 {
    font-size: 20px;
  }
  .friend-promo {
    flex-direction: column;
    align-items: start;
    padding: 28px;
    margin-bottom: 48px;
    gap: 22px;
  }
  .friend-promo h2 {
    font-size: 29px;
  }
  .faq {
    margin-bottom: 50px;
  }
  .faq h2 {
    font-size: 27px;
  }
  .faq summary {
    font-size: 13px;
  }
  .workspace {
    padding-top: 30px;
  }
  .workspace-heading h1 {
    font-size: 28px;
  }
  .workspace-heading .button {
    padding: 9px 11px;
    font-size: 11px;
  }
  .toolbar {
    padding: 12px;
    gap: 10px;
  }
  .toolbar select {
    max-width: 135px;
    font-size: 11px;
  }
  .toolbar label {
    font-size: 10px;
  }
  .game-card {
    padding: 16px;
    gap: 15px;
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .game-cover {
    width: 95px;
  }
  .game-info {
    gap: 12px;
  }
  .game-title {
    font-size: 14px;
  }
  .game-description {
    font-size: 10px;
  }
  .price {
    font-size: 17px;
  }
  .market-tabs {
    gap: 10px;
  }
  .market-tabs button {
    font-size: 10px;
  }
  .offer {
    padding: 8px;
    gap: 6px;
  }
  .offer strong {
    font-size: 12px;
  }
  .offer-label {
    font-size: 10px;
  }
  .offer small {
    font-size: 8px;
  }
  .friends-grid {
    grid-template-columns: 1fr;
  }
  .state-panel {
    padding: 28px 20px;
    margin: 30px 0;
  }
  .site-footer {
    padding: 26px 20px;
  }
  .footer-inner {
    gap: 13px;
  }
  .footer-inner p {
    font-size: 10px;
  }
  .back-top {
    right: 12px;
    bottom: 12px;
  }
  .reveal {
    transform: translateY(12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .showcase {
    transform: none !important;
  }
  .step:hover,
  .button:hover,
  .friend-card:hover {
    transform: none;
  }
}
/* Clip decorative 3D rings without creating horizontal page scrolling. */
.hero-art {
  overflow: clip;
  overflow-clip-margin: 15px;
}
@media (max-width: 600px) {
  .hero-art {
    overflow-clip-margin: 0;
  }
  .hero-art .orbit {
    inset: 40px 28px;
    transform: rotate(-24deg);
  }
  .hero-art .orbit.second {
    inset: 55px 28px;
    transform: rotate(25deg);
  }
}
