@font-face {
  font-family: Gotham;
  font-weight: 500;
  font-display: fallback;
  src: url('/v1.0.238/static/Gotham-Medium-ff667313dc6057aae112f4c1732e9509.woff2') format('woff2'),
       url('/v1.0.238/static/Gotham-Medium-17808d19174e4658b1f785eeed4f8753.woff') format('woff');
}

@font-face {
  font-family: Gotham;
  font-weight: 700;
  font-display: fallback;
  src: url('/v1.0.238/static/Gotham-Bold-b09be7da8401d4ae366f681a7712e770.woff2') format('woff2'),
       url('/v1.0.238/static/Gotham-Bold-5137d1b556f0470648c95088f2cb59f3.woff') format('woff');
}

@font-face {
  font-family: BebasNeue;
  font-display: fallback;
  src: url('/v1.0.238/static/BebasNeue-c1522b464330213c49a6a53d3452bf0a.woff') format('woff');
}

@font-face {
  font-family: 'Kelson Sans RU';
  font-weight: 400;
  font-display: fallback;
  src: url('/v1.0.238/static/KelsonSansRU-Normal-5167f04c9341115b649fa848fb437831.woff2') format('woff2'),
       url('/v1.0.238/static/KelsonSansRU-Normal-727073a53dc110c93a3911b31006ca24.woff') format('woff');
}

:root {
  --shell-width: 1220px;
  --site-header-height: 144px;
  --site-header-utility-height: 40px;
  --site-header-main-height: 44px;
  --bg-page: #060b2c;
  --bg-panel: rgba(18, 24, 72, 0.84);
  --bg-panel-strong: rgba(8, 12, 39, 0.92);
  --bg-soft: rgba(255, 255, 255, 0.06);
  --text-main: #f7f8ff;
  --text-muted: rgba(247, 248, 255, 0.72);
  --text-dim: rgba(247, 248, 255, 0.5);
  --line-soft: rgba(255, 255, 255, 0.12);
  --accent: #f5b105;
  --accent-hover: #fac704;
  --accent-active: #d99e0a;
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.26);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  font-family: Gotham, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.theme-premium {
  background: radial-gradient(circle at top, rgba(39, 53, 131, 0.45), transparent 40%), var(--bg-page);
}

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

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

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

p,
h1,
h2,
h3,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell-container {
  width: min(var(--shell-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(7, 13, 57, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__wrap {
  width: min(var(--shell-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0;
}

.site-header__utility-row,
.site-header__main-row {
  display: grid;
  align-items: center;
}

.site-header__utility-row {
  grid-template-columns: minmax(48px, auto) 1fr minmax(110px, auto);
  gap: 12px;
  height: var(--site-header-utility-height);
}

.site-header__main-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  height: var(--site-header-main-height);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: #ffffff;
}

.site-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.site-brand__mark svg {
  width: 22px;
  height: 22px;
}

.site-brand__name {
  font-family: BebasNeue, sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__center,
.site-socials,
.site-shortcuts,
.site-subnav {
  display: flex;
  align-items: center;
}

.site-header__center {
  min-width: 0;
  justify-content: center;
  gap: 12px;
}

.site-socials {
  gap: 8px;
}

.site-lang {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: clamp(10px, 0.95vw, 12px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-lang:hover,
.site-social:hover,
.site-shortcut:hover,
.site-cabinet:hover {
  transform: translateY(-1px);
}

.site-lang:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.site-lang__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-lang__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.site-social {
  width: clamp(32px, 3vw, 40px);
  height: clamp(32px, 3vw, 40px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-social:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.site-social__glyph {
  font-size: clamp(10px, 0.95vw, 12px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-shortcut {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-subnav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 clamp(10px, 1vw, 16px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: clamp(10px, 0.95vw, 12px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.site-shortcut:hover,
.site-subnav__link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.site-subnav__link.is-active {
  color: #ffffff;
  background: rgba(245, 177, 5, 0.16);
  border-color: rgba(245, 177, 5, 0.36);
  box-shadow: inset 0 0 0 1px rgba(245, 177, 5, 0.18);
}

.site-cabinet {
  --cabinet-bg: linear-gradient(135deg, rgba(8, 16, 58, 0.96), rgba(21, 44, 112, 0.92));
  --cabinet-border: rgba(9, 15, 22, 0.44);
  --cabinet-hover-border: rgba(255, 204, 92, 0.58);
  --cabinet-shadow: 0 12px 28px rgba(2, 8, 32, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  --cabinet-hover-shadow: 0 14px 30px rgba(2, 8, 32, 0.38), 0 0 28px rgba(245, 177, 5, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  --cabinet-dot-bg: radial-gradient(circle at 30% 30%, #ffffff 0%, #cbe2ff 30%, #5ba6ff 68%, #123f9a 100%);
  --cabinet-dot-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 18px rgba(31, 119, 255, 0.42);
  --cabinet-arrow-color: #06153f;
  position: relative;
  min-width: 192px;
  min-height: 42px;
  padding: 0 16px 0 40px;
  border-radius: 999px;
  background: var(--cabinet-bg);
  border: 0.5px solid var(--cabinet-border);
  box-shadow: var(--cabinet-shadow);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-cabinet::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: var(--cabinet-dot-bg);
  box-shadow: var(--cabinet-dot-shadow);
}

.site-cabinet::after {
  content: '🍌';
  position: absolute;
  left: 13px;
  top: 55%;
  transform: translateY(-56%);
  color: var(--cabinet-arrow-color);
  font-size: 12px;
  font-weight: 900;
}

.site-cabinet:hover {
  border-color: var(--cabinet-hover-border);
  box-shadow: var(--cabinet-hover-shadow);
}

.site-cabinet[data-cabinet-style="nebula"] {
  --cabinet-bg: linear-gradient(135deg, rgba(8, 16, 58, 0.96), rgba(21, 44, 112, 0.92));
  --cabinet-border: rgba(5, 5, 5, 1.99);
  --cabinet-hover-border: rgba(255, 204, 92, 0.22);
  --cabinet-shadow: 0 12px 28px rgba(2, 8, 32, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  --cabinet-hover-shadow: 0 14px 30px rgba(2, 8, 32, 0.38), 0 0 28px rgba(245, 177, 5, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  --cabinet-dot-bg: radial-gradient(circle at 30% 30%, #ffffff 0%, #cbe2ff 30%, #5ba6ff 68%, #123f9a 100%);
  --cabinet-dot-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 8px 18px rgba(31, 119, 255, 0.42);
  --cabinet-arrow-color: #06153f;
}

.site-cabinet[data-cabinet-style="glass"] {
  --cabinet-bg: linear-gradient(132deg, rgba(158, 208, 255, 0.14), rgba(47, 102, 196, 0.32));
  --cabinet-border: rgba(171, 220, 255, 0.6);
  --cabinet-hover-border: rgba(255, 225, 143, 0.72);
  --cabinet-shadow: 0 14px 34px rgba(2, 10, 36, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  --cabinet-hover-shadow: 0 16px 36px rgba(2, 10, 36, 0.38), 0 0 24px rgba(99, 171, 255, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  --cabinet-dot-bg: radial-gradient(circle at 30% 30%, #ffffff 0%, #ecf7ff 36%, #84c7ff 70%, #2f74c8 100%);
  --cabinet-dot-shadow: 0 0 0 1px rgba(255, 255, 255, 0.42), 0 8px 20px rgba(91, 165, 255, 0.5);
  --cabinet-arrow-color: #0a376f;
}

.site-cabinet[data-cabinet-style="amber"] {
  --cabinet-bg: linear-gradient(132deg, rgba(62, 36, 6, 0.96), rgba(155, 95, 13, 0.92));
  --cabinet-border: rgba(255, 201, 112, 0.62);
  --cabinet-hover-border: rgba(255, 236, 168, 0.82);
  --cabinet-shadow: 0 14px 32px rgba(25, 14, 4, 0.34), inset 0 0 0 1px rgba(255, 245, 218, 0.12);
  --cabinet-hover-shadow: 0 16px 34px rgba(25, 14, 4, 0.42), 0 0 26px rgba(255, 183, 62, 0.36), inset 0 0 0 1px rgba(255, 249, 232, 0.2);
  --cabinet-dot-bg: radial-gradient(circle at 30% 30%, #fff9ea 0%, #ffd998 34%, #ffb347 68%, #b36310 100%);
  --cabinet-dot-shadow: 0 0 0 1px rgba(255, 242, 199, 0.4), 0 8px 18px rgba(255, 176, 61, 0.48);
  --cabinet-arrow-color: #5c2f00;
}

.site-cabinet__eyebrow {
  display: none;
}

.site-cabinet__title {
  font-family: 'Kelson Sans RU', Gotham, sans-serif;
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-align: center;
}

.site-actions {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 16px;
  justify-content: flex-end;
}

.site-subnav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.site-actions .button {
  min-height: 44px;
  padding: 0 22px;
  white-space: nowrap;
}

.site-actions .button span {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button--primary {
  background: var(--accent);
  color: #000000;
  box-shadow: 0 10px 30px rgba(245, 177, 5, 0.24);
}

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

.button--primary:active {
  background: var(--accent-active);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.button__icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

.site-footer {
  margin-top: auto;
  background: rgba(6, 11, 44, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__wrap {
  width: min(var(--shell-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 14px;
}

.site-footer__link {
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 160ms ease;
}

.site-footer__link:hover {
  color: #ffffff;
}

.site-footer__meta {
  font-size: 12px;
  color: var(--text-dim);
}

.site-footer__socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.site-footer__socials .site-social {
  width: 34px;
  height: 34px;
}

.site-footer__ratings {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer__ratings img {
  width: 44px;
  height: auto;
}

.site-footer__locale {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__locale img {
  width: 18px;
  height: 18px;
}

.hystmodal__opened {
  position: fixed;
  right: 0;
  left: 0;
  overflow: hidden;
}

.hystmodal__shadow {
  position: fixed;
  inset: 0;
  border: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
  z-index: 98;
  opacity: 0;
  transition: opacity 0.18s ease;
  background: rgba(4, 6, 20, 0.78);
}

.hystmodal__shadow--show {
  pointer-events: auto;
  opacity: 1;
}

.hystmodal {
  position: fixed;
  inset: 0;
  overflow: hidden auto;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  pointer-events: none;
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-start;
  z-index: 99;
  visibility: hidden;
}

.hystmodal--active,
.hystmodal--moved {
  pointer-events: auto;
  visibility: visible;
}

.hystmodal__wrap {
  flex: 1 0 auto;
  width: 100%;
  min-height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.hystmodal__window {
  position: relative;
  width: min(720px, 100%);
  margin: 32px 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(18, 24, 72, 0.98), rgba(8, 12, 39, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-xl);
  overflow: visible;
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform: scale(0.94);
  opacity: 0;
}

.hystmodal--active .hystmodal__window {
  transform: scale(1);
  opacity: 1;
}

.hystmodal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hystmodal__close::before,
.hystmodal__close::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hystmodal__close::before {
  transform: rotate(45deg);
}

.hystmodal__close::after {
  transform: rotate(-45deg);
}

.hystmodal__close:focus-visible,
.button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}

@media (max-width: 750px) {
  .shell-container,
  .site-header__wrap,
  .site-footer__wrap {
    width: min(var(--shell-width), calc(100% - 24px));
  }

  .hystmodal__window {
    border-radius: 22px;
  }

  .hystmodal__close {
    top: 14px;
    right: 14px;
  }

  .site-header__utility-row,
  .site-header__main-row {
    gap: 8px;
  }

  .site-header__main-row {
    grid-template-columns: minmax(0, 1fr) auto;
    height: auto;
    margin-top: 6px;
    padding-top: 6px;
  }

  .site-subnav {
    gap: 6px;
  }

  .site-subnav__link {
    min-height: 38px;
    padding: 0 6px;
    font-size: 9px;
    letter-spacing: 0.07em;
  }

  .site-cabinet {
    min-width: clamp(128px, 34vw, 170px);
    min-height: 38px;
    padding: 0 12px 0 34px;
  }

  .site-cabinet::before {
    left: 8px;
    width: 20px;
    height: 20px;
  }

  .site-cabinet::after {
    left: 10px;
    font-size: 12px;
  }

  .site-cabinet__title {
    font-size: clamp(11px, 2.1vw, 13px);
    letter-spacing: 0.04em;
  }

  .site-actions {
    justify-content: flex-end;
  }

  .site-header .site-actions .button {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 0;
    gap: 0;
  }

  .site-header .site-actions .button span {
    display: none;
  }
}

@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;
  }
}
