:root {
  --c-bg: #060a0f;
  --c-bg-2: #0c1322;
  --c-card: #1b2632;
  --c-card-2: rgba(49, 66, 82, 0.93);
  --c-border: #314252;
  --c-border-blue: #2f80ff;
  --c-border-soft: #9e9e9e;
  --c-text: #ffffff;
  --c-muted: #cad5e2;
  --c-blue: #2f80ff;
  --c-blue-2: #1e6be0;
  --c-orange: #ed8607;
  --c-yellow: #f1b831;
  --c-topbar: #2f80ff;
  --c-stars: #f1b831;
  --c-success: #22c55e;
  --container: 1180px;
  --pad: 24px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  --font:
    "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  --font-display: "Bungee", "Urbanist", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#games {
  scroll-margin-top: 80px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}

.site-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
  color: #ffffff;
}

.section-subtitle {
  margin: 0 auto 36px;
  color: var(--c-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  max-width: 720px;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    opacity 0.15s ease;
  white-space: nowrap;
  font-family: var(--font);
}
.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--c-blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-blue-2);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--c-border);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Topbar */
.site-topbar {
  background: var(--c-topbar);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 8px 12px;
  font-family: var(--font);
  line-height: 1;
}

/* Header */
.site-header {
  background: #000;
  position: relative;
  z-index: 30;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  position: relative;
}
.site-header__burger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
}
.site-header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.site-header__burger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.site-header__burger.is-active span:nth-child(2) {
  opacity: 0;
}
.site-header__burger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav__list {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 18px 4px;
  display: inline-block;
  position: relative;
}
.site-nav__list .current-menu-item > a::after,
.site-nav__list a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  height: 2px;
  background: #fff;
}

/* Footer */
.site-footer {
  background: #1b2632;
  padding: 48px 0 28px;
  color: #fff;
  margin-top: 0;
}
.site-footer__inner {
  text-align: center;
}
.site-footer__logo {
  margin-bottom: 22px;
}
.site-footer__logo img {
  display: inline-block;
  max-height: 50px;
  width: auto;
}
.site-footer__menu {
  list-style: none;
  display: flex;
  gap: 36px;
  justify-content: center;
  margin: 0 0 26px;
  padding: 0;
  flex-wrap: wrap;
}
.site-footer__menu a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.site-footer__menu a:hover {
  color: var(--c-blue);
}

.site-footer__disclaimer-title {
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 12px;
  margin-bottom: 10px;
}
.site-footer__disclaimer {
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--c-muted);
  font-size: 11px;
  line-height: 1.7;
}
.site-footer__logos {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.site-footer__logos-item img {
  max-height: 26px;
  width: auto;
}
.site-footer__copyright {
  color: var(--c-muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.site-page {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .site-topbar {
    padding: 6px;
    font-size: 10px;
  }
  .site-header__burger {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    padding: 16px var(--pad);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav__list {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    text-align: right;
  }
  .site-nav__list a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: block;
  }
  .site-nav__list a::after {
    display: none;
  }

  .site-footer__menu {
    gap: 18px;
  }
  .section-subtitle {
    font-size: 13px;
  }
}
