:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --text: #14181f;
  --muted: #5f6875;
  --line: #e1e5ea;
  --accent: #146c43;
  --accent-hover: #0f5736;
  --max: 1120px;
  --content: 760px;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(20, 24, 31, .06);
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-underline-offset: .18em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(225, 229, 234, .88);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
}

.header-inner,
.footer-inner,
.page {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  width: 35px;
  height: 25px;
  background-image: url(https://spincrypto.ru/favicon.svg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.main-nav a {
  color: #343c47;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.play-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.play-button:hover {
  background: var(--accent-hover);
}

.page {
  padding-block: 46px 72px;
}

.breadcrumbs {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 6px;
  color: #a1a8b1;
  content: "/";
}

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

.article {
  max-width: var(--content);
}

.article-header {
  margin-bottom: 28px;
}

.article-header h1 {
  max-width: 720px;
  margin: 0 0 15px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: -.045em;
}

.lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: #78818d;
  font-size: 13px;
}

.hero {
  overflow: hidden;
  margin: 0 0 34px;
  border-radius: var(--radius);
  background: #e9ecef;
  box-shadow: var(--shadow);
}

.hero img {
  width: 100%;
}

.hero figcaption {
  padding: 10px 14px 12px;
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
}

.article h2,
.article h3 {
  scroll-margin-top: 96px;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.article h2 {
  margin: 42px 0 14px;
  font-size: clamp(25px, 3vw, 32px);
}

.article h3 {
  margin: 30px 0 10px;
  font-size: 21px;
}

.article p {
  margin: 0 0 18px;
}

.article ul,
.article ol {
  margin: 18px 0 24px;
  padding-left: 24px;
}

.article li {
  margin: 7px 0;
}

.article blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: #3b4551;
  font-size: 19px;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

caption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

th,
td {
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #313945;
  background: #f8f9fa;
  font-weight: 700;
}

.note {
  margin: 28px 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.note strong {
  display: block;
  margin-bottom: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #11161d;
  color: #c7cdd5;
}

.footer-inner {
  padding-block: 44px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(180px, .7fr);
  gap: 48px;
}

.footer-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
}

.footer-copy {
  max-width: 720px;
  margin: 0 0 18px;
  color: #aeb7c2;
  font-size: 14px;
  line-height: 1.65;
}

.help-links,
.lang-links,
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.help-links a,
.lang-links a,
.footer-legal a {
  color: #e4e8ed;
  font-size: 14px;
}

.lang-links [aria-current="page"] {
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.age {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 2px solid #c7cdd5;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #2a313a;
  color: #87919d;
  font-size: 12px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
}

.skip-link:focus {
  top: 12px;
}

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

  .header-inner {
    min-height: 62px;
    gap: 14px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a:not(.play-button) {
    display: none;
  }

  .page {
    padding-block: 30px 54px;
  }

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

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