/* Базовые стили: сброс, типографика, контейнер, кнопки, иконки */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- иконки ---------- */
.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.icon--s { width: 16px; height: 16px; }

/* ---------- кнопки (btn) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius-btn);
  font-weight: 700; font-size: 14px; line-height: 1; white-space: nowrap;
  text-transform: var(--case-display); letter-spacing: var(--tracking-display);
  transition: background-color .15s, color .15s, box-shadow .15s, transform .15s, filter .15s;
}
.btn .icon { width: 18px; height: 18px; }
.btn--s { height: 36px; padding: 0 14px; font-size: 13px; }
.btn--l { height: 52px; padding: 0 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--color-accent); color: var(--color-on-accent); }
.btn--accent:hover { filter: brightness(1.08); box-shadow: 0 6px 22px -6px var(--color-accent); }
.btn--ghost { background: var(--color-card); color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-line); }
.btn--ghost:hover { background: var(--color-card-hover); }
.btn--steam {
  height: 44px;
  background: var(--color-login-bg); color: var(--color-login-text);
  box-shadow: inset 0 0 0 1.5px var(--color-login);
}
.btn--steam:hover { filter: brightness(1.12); }
.btn--steam__short { display: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--radius-m); background: var(--color-card); color: var(--color-text);
}
.icon-btn .icon { width: 22px; height: 22px; }

/* метка (tag) и значок (badge) */
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: var(--radius-s); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.tag--accent { background: var(--color-accent-soft); color: var(--color-accent); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px;
  border-radius: var(--radius-s); background: var(--color-card); color: var(--color-text-2);
  font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--color-line);
}
.badge--age { color: var(--color-text); font-family: var(--font-num); font-weight: 700; font-size: 13px; }
