:root {
  --bg: #131217;
  --text: #dedede;
  --gold: #f2dba3;
  --gold-soft: #ffe0af;
  --bronze: #6d5c48;
  --panel: #2d2b2c;
  --ink: #0c0b0e;
  --muted: #b7b1a8;
  --font: "Prompt", Arial, Helvetica, sans-serif;
  --wrap: 1320px;
  --wide: 1500px;
  --header: 78px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--bronze) var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  min-width: 320px;
}

img {
  border: 0;
  max-width: 100%;
}

button,
input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

::selection {
  background: rgba(242, 219, 163, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--gold);
  color: #2a2116;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
}

.topbar.is-scrolled {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.site-header {
  position: relative;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(8, 7, 10, 0.55), rgba(12, 11, 14, 0.78)),
    url("bg_header.6eb70f3d.jpg");
  background-size: cover;
  background-position: center top;
}

.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffef96, #ffc050, #ffef96, transparent);
  pointer-events: none;
}

.header-inner {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px 18px;
  padding: 10px 0;
}

.brand {
  display: block;
  justify-self: start;
  line-height: 0;
}

.brand img {
  height: 52px;
  width: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: center;
  justify-content: center;
  gap: 10px;
}

.btn-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff1d4 0%, #e7c78a 46%, #b8893e 100%);
  color: #2c2214;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.btn-login:hover {
  filter: brightness(1.06);
  box-shadow: 0 0 16px rgba(242, 219, 163, 0.38), 0 6px 16px rgba(0, 0, 0, 0.35);
}

.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 1.5px solid #F2DBA3;
  border-radius: 4px;
  background: transparent;
  color: #F2DBA3;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
}
.btn-register:hover {
  background: #F2DBA3;
  color: #131217;
}

.header-actions a.btn-login.has-img,
.header-actions a.btn-register.has-img {
  flex: 0 1 auto;
  height: auto;
  min-width: 0;
  max-width: 200px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  line-height: 0;
}

.header-actions a.btn-login.has-img:hover,
.header-actions a.btn-register.has-img:hover {
  background: transparent;
  color: inherit;
  filter: none;
  box-shadow: none;
}

.header-actions a.btn-login.has-img img,
.header-actions a.btn-register.has-img img {
  display: block;
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.lang {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(242, 219, 163, 0.32);
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold);
  font-size: 14px;
}

.lang-flag,
.lang-menu img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.chev {
  width: 12px;
  height: 8px;
  transition: transform 0.2s ease;
}

.lang.is-open .chev {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 210px;
  max-height: 320px;
  overflow: auto;
  background: #1b191c;
  border: 1px solid rgba(242, 219, 163, 0.35);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  text-align: left;
}

.lang-menu button:hover,
.lang-menu button[aria-selected="true"] {
  background: rgba(242, 219, 163, 0.12);
  color: var(--gold);
}

.lang-note {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 65;
  margin: 0;
  width: max-content;
  max-width: 220px;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(242, 219, 163, 0.3);
  background: rgba(19, 18, 23, 0.94);
  color: var(--gold-soft);
  font-size: 12px;
  text-align: right;
}

.lang-note[hidden] {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(242, 219, 163, 0.4);
  background: rgba(0, 0, 0, 0.28);
  color: var(--gold);
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.main-nav {
  position: relative;
  background: #0e0d11;
}

.main-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffef96 12%, #ffc050 50%, #ffef96 88%, transparent);
}

.nav-list {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.nav-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 76px;
  padding: 10px 6px 12px;
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.nav-list img {
  width: 36px;
  height: 32px;
  object-fit: contain;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.nav-list a:hover {
  color: var(--gold-soft);
}

.nav-list a:hover img {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(242, 219, 163, 0.7));
}

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 450;
  background: #0b0a0d;
  overflow: hidden;
}

.hero-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(transparent, var(--bg));
}

.slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  border: 1px solid rgba(242, 219, 163, 0.5);
  background: rgba(10, 9, 12, 0.45);
  color: var(--gold);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
}

.slider-btn svg {
  width: 22px;
  height: 22px;
}

.slider-btn.prev {
  left: 18px;
}

.slider-btn.next {
  right: 18px;
}

.hero-slider:hover .slider-btn,
.hero-slider:focus-within .slider-btn {
  opacity: 1;
}

.slider-btn:hover {
  background: rgba(242, 219, 163, 0.16);
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
}

.dot.is-active {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.shortcuts {
  position: relative;
  z-index: 2;
  margin-top: -18px;
  padding: 0 20px 12px;
}

.shortcuts-row {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gold-soft);
}

.game-card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 303 / 230;
  display: grid;
  place-items: end center;
  border-radius: 18px 18px 46px 46px;
  background:
    radial-gradient(ellipse at center 72%, rgba(242, 219, 163, 0.16), transparent 68%);
}

.game-card-visual::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 6%;
  height: 16px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%);
}

.game-card img {
  position: relative;
  z-index: 1;
  width: 94%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.45));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.game-card-label {
  margin-top: 2px;
  min-width: 124px;
  text-align: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(242, 219, 163, 0.55);
  background: linear-gradient(180deg, rgba(48, 44, 40, 0.96), rgba(18, 16, 15, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 224, 175, 0.18), 0 8px 16px rgba(0, 0, 0, 0.35);
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.06);
  filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 16px rgba(242, 219, 163, 0.5));
}

.game-card:hover .game-card-label {
  color: #fff6e4;
  border-color: var(--gold-soft);
  box-shadow: 0 0 16px rgba(242, 219, 163, 0.28), 0 8px 16px rgba(0, 0, 0, 0.35);
}

.js .game-card {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.js .game-card:nth-child(2) { animation-delay: 0.06s; }
.js .game-card:nth-child(3) { animation-delay: 0.12s; }
.js .game-card:nth-child(4) { animation-delay: 0.18s; }
.js .game-card:nth-child(5) { animation-delay: 0.24s; }

.why {
  position: relative;
  padding: 72px 0 28px;
  overflow: hidden;
  background: var(--bg);
}

.why-ornament {
  position: absolute;
  top: 24px;
  height: 86%;
  width: auto;
  max-height: 760px;
  pointer-events: none;
  opacity: 0.72;
  z-index: 0;
}

.why-ornament.left {
  left: -30px;
}

.why-ornament.right {
  right: -120px;
}

.why-stage {
  position: relative;
  z-index: 1;
  width: min(1423px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 483px;
  display: flex;
  align-items: center;
}

.why-visual {
  position: absolute;
  inset: 0 0 auto 0;
  aspect-ratio: 1423 / 483;
  container-type: inline-size;
}

.why-copy {
  position: relative;
  width: min(500px, 40%);
  margin-left: 4%;
}

.why-sign {
  position: absolute;
  display: grid;
  place-items: center;
  white-space: nowrap;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.why-sign.facade {
  left: 56.5%;
  top: 59%;
  width: 7%;
  height: 5.2%;
  background: linear-gradient(180deg, #a3242b, #7d151d);
  border: 1px solid #e9c77d;
  color: #ffe8b5;
  font-size: 1.05cqw;
}

.why-sign.hall {
  left: 90.9%;
  top: 42%;
  width: 4.1%;
  height: 3.3%;
  background: #15120f;
  color: #f4ecdc;
  font-size: 0.8cqw;
}

.why-kicker {
  width: 280px;
  height: 58px;
  margin: 0 0 18px;
  display: grid;
  place-items: center;
  background: url("inline-027-bg_tit_homeWhy.png") center / 100% 100% no-repeat;
  color: var(--gold);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.why-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.logo-circle {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.logo-word {
  width: 168px;
  height: auto;
}

.why-lead {
  margin: 0 0 10px;
  color: #f7f1e4;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.55;
}

.why-copy p:last-of-type {
  margin: 0 0 20px;
  color: var(--text);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 48px;
  padding: 0 34px 0 14px;
  background: url("btn_play.440572f2.png") center / 100% 100% no-repeat;
  color: #3d2c14;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.btn-play:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(242, 219, 163, 0.35));
}

.why-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.gold-rule {
  display: block;
  width: min(920px, 86%);
  height: 2px;
  margin: 8px auto 22px;
  object-fit: fill;
}

.reasons {
  padding: 12px 0 78px;
}

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

.reasons h2 {
  margin: 0;
  text-align: center;
  color: var(--gold);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.reasons h2 span {
  font-weight: 700;
  color: var(--gold-soft);
}

.reason-grid {
  width: min(var(--wide), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.reason-card {
  background: linear-gradient(180deg, #322c26 0%, #1a1816 46%, #141316 100%);
  border: 1px solid rgba(242, 219, 163, 0.14);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  min-height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 219, 163, 0.45);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 18px rgba(242, 219, 163, 0.12);
}

.reason-media {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(242, 219, 163, 0.16), transparent 62%),
    #1a1612;
}

.reason-media img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: cover;
  object-position: center;
}

.reason-card h3 {
  margin: 12px 10px 4px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.reason-card p {
  margin: 0 10px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.site-footer {
  position: relative;
  background: #0c0b0e url("bg_footer.ef483996.jpg") center bottom / cover no-repeat;
  color: var(--text);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 18, 23, 0.2), rgba(10, 9, 12, 0.82) 28%, rgba(8, 7, 10, 0.92));
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 28px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.8fr 0.95fr;
  gap: 32px;
}

.footer-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 54px;
  width: auto;
}

.brand-marks {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.brand-marks img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.age-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.footer-brand p {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 14px;
}

.age-note {
  color: var(--gold) !important;
  font-size: 13px !important;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.socials img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.socials a:hover img {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(242, 219, 163, 0.55));
}

.foot-col h2 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 500;
}

.foot-col a {
  display: block;
  padding: 4px 0;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}

.foot-col a:hover {
  color: var(--gold-soft);
}

.provider-bar {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(242, 219, 163, 0.16);
  background: rgba(0, 0, 0, 0.38);
}

.provider-track {
  display: flex;
  width: max-content;
  align-items: center;
}

.provider-set {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.provider-set img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.08);
}

.js .provider-track {
  animation: marquee 46s linear infinite;
}

.provider-bar:hover .provider-track {
  animation-play-state: paused;
}

.copy {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 14px 16px 22px;
  text-align: center;
  color: #9a958e;
  font-size: 13px;
  line-height: 1.7;
}

.float-tools {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 50;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  background: rgba(16, 14, 18, 0.86);
  border: 1px solid rgba(242, 219, 163, 0.28);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  backdrop-filter: blur(8px);
}

.tool {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(242, 219, 163, 0.45);
  background: rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.tool img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.tool:hover {
  transform: scale(1.06);
  background: rgba(242, 219, 163, 0.12);
  box-shadow: 0 0 14px rgba(242, 219, 163, 0.35);
}

.tool::after {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(242, 219, 163, 0.4);
  background: #1c1a1d;
  color: var(--gold);
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tool:hover::after,
.tool:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%);
}

.to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(242, 219, 163, 0.5);
  background: rgba(16, 14, 18, 0.9);
  color: var(--gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.to-top[hidden] {
  display: none;
}

.to-top svg {
  width: 22px;
  height: 22px;
}

.to-top:hover {
  background: rgba(242, 219, 163, 0.14);
}

.shortcuts-row::-webkit-scrollbar {
  height: 6px;
}

.shortcuts-row::-webkit-scrollbar-thumb {
  background: var(--bronze);
  border-radius: 99px;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1280px) {
  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: inline-grid;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 35;
    max-height: calc(100vh - 90px);
    overflow: auto;
    background: rgba(14, 13, 17, 0.98);
    border-bottom: 1px solid rgba(242, 219, 163, 0.35);
  }

  .main-nav.is-open {
    display: block;
    background: #0e0d11;
  }

  .nav-list {
    width: auto;
    flex-direction: column;
    padding: 8px 0 12px;
  }

  .nav-list a {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 22px;
  }

  .why-ornament {
    display: none;
  }
}

@media (max-width: 900px) {
  .why {
    padding-top: 48px;
  }

  .why-stage {
    min-height: 0;
    flex-direction: column-reverse;
    gap: 20px;
  }

  .why-visual {
    position: relative;
    align-self: flex-start;
    width: 185%;
    margin-left: -85%;
  }

  .why-copy {
    width: 100%;
    margin-left: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .topbar {
    position: relative;
  }

  .header-inner {
    width: min(1480px, calc(100% - 24px));
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 10px;
    column-gap: 12px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .header-tools {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .header-actions .btn-login,
  .header-actions .btn-register {
    flex: 0 1 auto;
    min-width: 0;
  }

  .header-actions a.btn-login.has-img,
  .header-actions a.btn-register.has-img {
    flex: 0 1 auto;
    max-width: min(200px, calc((100% - 10px) / 2));
  }

  .header-actions a.btn-login.has-img img,
  .header-actions a.btn-register.has-img img {
    height: 40px;
  }
}

@media (max-width: 720px) {
  .hero-slider {
    aspect-ratio: 2.4 / 1;
  }

  .slider-btn {
    opacity: 1;
    width: 34px;
    height: 34px;
    margin-top: -17px;
  }

  .slider-dots {
    bottom: 10px;
  }

  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }

  .shortcuts {
    margin-top: 8px;
  }

  .shortcuts-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 10px;
  }

  .game-card {
    flex: 0 0 46%;
    scroll-snap-align: start;
  }

  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .why-kicker {
    width: min(280px, 100%);
  }

  .float-tools {
    top: auto;
    bottom: 18px;
    transform: none;
    padding: 8px 6px;
    gap: 6px;
  }

  .tool {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 40px;
  }

  .lang-label {
    display: none;
  }

  .header-actions .btn-login,
  .header-actions .btn-register {
    padding: 0 12px;
    font-size: 13px;
  }

  .header-actions a.btn-login.has-img,
  .header-actions a.btn-register.has-img {
    padding: 0;
  }

  .header-actions a.btn-login.has-img img,
  .header-actions a.btn-register.has-img img {
    height: 36px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .why-logos {
    flex-wrap: wrap;
  }
}

@media (max-width: 380px) {
  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-login,
  .header-actions .btn-register {
    padding: 0 10px;
    font-size: 12px;
  }

  .header-actions a.btn-login.has-img,
  .header-actions a.btn-register.has-img {
    padding: 0;
  }
}

@media (hover: none) {
  .slider-btn {
    opacity: 1;
  }
}

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

  .js .reveal,
  .js .game-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .slide,
  .game-card img,
  .reason-card,
  .btn-play,
  .tool {
    transition: none;
  }

  .js .provider-track {
    animation: none;
  }

  .provider-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .provider-set {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .provider-set[aria-hidden="true"] {
    display: none;
  }
}
