:root {
  --gold: #e9af1b;
  --green: #20aa2e;
  --green-hover: #1c9327;
  --bg-darkest: #1d1d20;
  --surface: #262832;
  --surface-light: #2f313d;
  --border: #474851;
  --text: #f2f2f4;
  --text-muted: #a7a8b3;

  --container-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --font-sans: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-darkest);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 22px;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn:disabled:hover {
  background: #3a3c46;
  border-color: #3a3c46;
  color: #8b8d97;
  cursor: not-allowed;
  transform: none;
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green);
  border-color: #fff;
}

.btn--outline {
  background: #262832;
  border-color: #42444E;
  color: #42444E;
}

.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--gold {
  background: var(--gold);
  color: #FFFFFC;
}

.btn--gold:hover {
  background: var(--gold);
  border-color: #fff;
}

.logo {
  display: inline-flex;
}

.logo--header .logo__img {
  height: 46px;
  width: auto;
}

.logo--footer .logo__img {
  height: 42px;
  width: auto;
}

.site-header {
  background: var(--bg-darkest);
  position: sticky;
  top: 0;
  height: var(--header-height);
  z-index: 1000;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 100%;
  padding: 0 20px;
}

.logo--header {
  flex-shrink: 0;
  min-width: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  min-width: 0;
}

@media (min-width: 641px) {
  .site-header__inner {
    justify-content: center;
    position: relative;
  }

  .site-header__actions {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
}

.banner-section {
  padding-top: 20px;
  padding-left: 0;
  padding-right: 0;
}

.banner {
  position: relative;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  display: block;
  background: var(--surface);
  text-align: left;
  aspect-ratio: 5 / 1;
}

.banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.banner__content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 1% 0 3%;
  text-align: left;
}

.banner__eyebrow {
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
}

.banner__title {
  font-size: clamp(19px, 3.8vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  color: #fff;
  white-space: nowrap;
}

.banner__cta {
  align-self: flex-start;
  margin-top: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.games-section {
  padding-top: 14px;
  padding-bottom: 40px;
}

.tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
}

.tabs {
  display: flex;
  gap: 9px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
}

.tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: #262832;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: #55586a;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 11px;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.tab__icon {
  width: 14.5px;
  height: 14.5px;
  flex: none;
}

.tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.games-section:has(#tab-all-games:checked) label[for="tab-all-games"],
.games-section:has(#tab-popular:checked) label[for="tab-popular"],
.games-section:has(#tab-new:checked) label[for="tab-new"],
.games-section:has(#tab-slot:checked) label[for="tab-slot"],
.games-section:has(#tab-table-games:checked) label[for="tab-table-games"],
.games-section:has(#tab-live-casino:checked) label[for="tab-live-casino"] {
  background: var(--gold);
  color: #FFFFFC;
  border-color: var(--gold);
}

.games-section:has(#tab-all-games:checked) label[for="tab-all-games"]:hover,
.games-section:has(#tab-popular:checked) label[for="tab-popular"]:hover,
.games-section:has(#tab-new:checked) label[for="tab-new"]:hover,
.games-section:has(#tab-slot:checked) label[for="tab-slot"]:hover,
.games-section:has(#tab-table-games:checked) label[for="tab-table-games"]:hover,
.games-section:has(#tab-live-casino:checked) label[for="tab-live-casino"]:hover {
  color: #FFFFFC;
  border-color: #fff;
}

.games-section:has(#tab-all-games:focus-visible) label[for="tab-all-games"],
.games-section:has(#tab-popular:focus-visible) label[for="tab-popular"],
.games-section:has(#tab-new:focus-visible) label[for="tab-new"],
.games-section:has(#tab-slot:focus-visible) label[for="tab-slot"],
.games-section:has(#tab-table-games:focus-visible) label[for="tab-table-games"],
.games-section:has(#tab-live-casino:focus-visible) label[for="tab-live-casino"] {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.games-panels .games-grid {
  display: none;
}

.games-section:has(#tab-all-games:checked) #panel-all-games,
.games-section:has(#tab-popular:checked) #panel-popular,
.games-section:has(#tab-new:checked) #panel-new,
.games-section:has(#tab-slot:checked) #panel-slot,
.games-section:has(#tab-table-games:checked) #panel-table-games,
.games-section:has(#tab-live-casino:checked) #panel-live-casino {
  display: grid;
}

.search-form {
  flex: none;
  width: 196px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid #3a3b42;
  border-radius: 4px;
  padding: 7px 12px;
}

.search-form__input {
  background: transparent;
  border: none;
  color: #d5d5da;
  font-size: 13px;
  width: 100%;
  outline: none;
}

.search-form__input::placeholder {
  color: #8f909b;
}

.search-form__submit {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  padding: 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.games-grid > li {
  display: contents;
}

.game-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(29, 29, 32, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.game-card::after {
  content: "Play";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 24px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 6px));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.game-card:hover img,
.game-card:focus-visible img {
  transform: scale(1.04);
}

.game-card:hover::before,
.game-card:focus-visible::before,
.game-card:hover::after,
.game-card:focus-visible::after {
  opacity: 1;
}

.game-card:hover::after,
.game-card:focus-visible::after {
  transform: translate(-50%, -50%);
}

.games-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
  font-size: 15px;
}

.games-section__more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.info-text {
  padding: 16px 20px 64px;
  max-width: 1040px;
}

.info-text__eyebrow {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}

.info-text__title {
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px;
}

.info-text__text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
}

.info-text > h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  color: #fff;
  letter-spacing: -0.2px;
  margin: 0 0 18px;
}

.info-text > p.info-text__meta,
.content p.info-text__meta {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  margin: -6px 0 20px;
  opacity: 0.75;
}

.info-text__meta a,
.content p.info-text__meta a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.info-text__meta a:hover,
.content p.info-text__meta a:hover {
  text-decoration: underline;
}

.info-text > h2 {
  font-size: clamp(21px, 2.6vw, 27px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin: 52px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.info-text > h2:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.info-text > h3 {
  font-size: clamp(17px, 1.8vw, 19px);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.35;
  margin: 30px 0 12px;
}

.info-text > p {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.85;
  letter-spacing: 0.1px;
  margin: 0 0 20px;
}

.info-text > ul,
.info-text > ol {
  color: var(--text-muted);
  font-size: 16.5px;
  line-height: 1.75;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-text > ul > li,
.info-text > ol > li {
  position: relative;
  padding-left: 30px;
}

.info-text > ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.info-text > ol {
  counter-reset: info-ol;
}

.info-text > ol > li {
  counter-increment: info-ol;
  padding-left: 38px;
}

.info-text > ol > li::before {
  content: counter(info-ol);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: #1d1d20;
  font-weight: 800;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-text strong {
  color: #fff;
  font-weight: 700;
}

.info-text a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(233, 175, 27, 0.45);
  text-underline-offset: 3px;
}

.info-text a:hover {
  text-decoration-color: var(--gold);
}

.info-text > h2#toc + ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 100%;
}

.info-text > h2#toc + ul > li {
  padding-left: 0;
}

.info-text > h2#toc + ul > li::before {
  display: none;
}

.info-text > h2#toc + ul > li a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.info-text > h2#toc + ul > li a::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.info-text > h2#toc + ul > li a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.info-figure {
  margin: 32px auto;
  max-width: 540px;
}

.info-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.info-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

.info-figure--left,
.info-figure--right {
  margin-top: 4px;
  margin-bottom: 16px;
  max-width: 320px;
}

.info-figure--left {
  float: left;
  margin-right: 26px;
}

.info-figure--right {
  float: right;
  margin-left: 26px;
}

.info-figure--left figcaption,
.info-figure--right figcaption {
  text-align: left;
}

.info-figure--lobby {
  max-width: 520px;
}

.info-figure--wide {
  max-width: 640px;
}

.info-figure--doc {
  max-width: 320px;
}

.info-figure--compact {
  max-width: 320px;
}

.info-figure--portrait.info-figure--left,
.info-figure--portrait.info-figure--right {
  max-width: 220px;
}

.info-figure--wide.info-figure--left,
.info-figure--wide.info-figure--right {
  max-width: 460px;
}

.info-text > h1,
.info-text > h2,
.info-text > h3,
.info-text > .table-scroll,
.info-text > ul,
.info-text > ol {
  clear: both;
}

.info-text > .table-scroll {
  width: 100%;
  max-width: 100%;
  margin: 0 0 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--surface-light);
}

.info-text > .table-scroll::-webkit-scrollbar {
  height: 8px;
}

.info-text > .table-scroll::-webkit-scrollbar-track {
  background: var(--surface-light);
}

.info-text > .table-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.info-text > .table-scroll > table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
  margin: 0;
}

.info-text .table-scroll th,
.info-text .table-scroll td {
  padding: 13px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.info-text .table-scroll thead th {
  background: var(--surface-light);
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.info-text .table-scroll td {
  color: var(--text-muted);
  line-height: 1.55;
}

.info-text .table-scroll td:first-child {
  color: var(--text);
  font-weight: 700;
}

.info-text .table-scroll tbody tr:last-child td {
  border-bottom: none;
}

.info-text .table-scroll tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.site-footer {
  padding: 40px 0 30px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-links__col li {
  margin-bottom: 6px;
  line-height: 1.3;
  text-align: center;
}

.footer-links__col a {
  color: var(--text-muted);
  font-size: 12.5px;
}

.footer-links__col a:hover {
  color: var(--gold);
}

.footer-divider {
  width: 85%;
  border: none;
  border-top: 2px solid var(--border);
  margin: 0 auto 26px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.age-badge {
  width: 36px;
  height: 36px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.social-links__item svg {
  width: 100%;
  height: 100%;
}

.social-links__item:nth-child(1) {
  transform: translateY(-2px);
}

.social-links__item:nth-child(2) {
  transform: translateY(2px);
}

.social-links__item:nth-child(3) {
  transform: translateY(1px);
}

.social-links__item:hover {
  color: var(--gold);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  z-index: 2000;
}

.modal-overlay[hidden] {
  display: none;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
  background: var(--bg-darkest);
  border: none;
  border-radius: 0;
  padding: 18px 30px 34px;
}

.modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -12px 6px 0;
}

.modal__eyebrow {
  color: var(--gold);
  font-size: 17px;
  font-weight: 700;
}

.modal__close {
  background: transparent;
  border: none;
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
  padding: 0 4px;
}

.modal__logo {
  display: flex;
  justify-content: center;
  margin: 26px 0 30px;
}

.modal__logo img {
  height: 56px;
  width: auto;
}

.modal__subtitle {
  text-align: center;
  color: #4B515F;
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 6px;
}

.modal__hint {
  text-align: center;
  color: #4B515F;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 34px;
}

.modal__foot {
  margin: 22px 0 0;
}

.modal__link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
}

.modal__link--btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-field {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 15px;
  outline: none;
}

.modal-field::placeholder {
  color: #4B515F;
}

.modal-field:focus,
.modal-field:focus-within {
  border-color: var(--gold);
}

.modal-field--pw {
  display: flex;
  align-items: center;
  padding: 0;
}

.modal-field__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 0 13px 15px;
  outline: none;
}

.modal-field__input::placeholder {
  color: #4B515F;
}

.modal-field__eye {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  padding: 0 15px;
}

.modal-select {
  color: #4B515F;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg-darkest);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234B515F' stroke-width='2'%3E%3Cpath d='M5 8l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}

.modal-select option {
  background-color: var(--surface);
  color: var(--text);
}

.modal-select option:checked,
.modal-select option:hover {
  background-color: var(--surface-light);
  color: var(--text);
}

.modal-check {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.modal-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.modal-check__switch {
  flex: none;
  width: 19px;
  height: 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.modal-check input:checked + .modal-check__switch {
  background: var(--gold);
  border-color: var(--gold);
}

.modal-check__label {
  flex: 1;
  color: #4B515F;
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.4;
}

.modal-submit {
  align-self: center;
  margin-top: 10px;
  padding: 11px 26px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  max-width: calc(100% - 32px);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 3000;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .banner {
    aspect-ratio: 3.2 / 1;
  }

  .banner__content {
    width: 52%;
  }

  .banner__title {
    white-space: normal;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .footer-links {
    gap: 30px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .site-header__inner {
    gap: clamp(6px, 2vw, 10px);
    padding: 0 clamp(12px, 4vw, 20px);
  }

  .logo--header .logo__img {
    height: clamp(42px, 13vw, 55px);
  }

  .site-header__actions {
    gap: clamp(8px, 3vw, 16px);
  }

  .site-header__actions .btn--sm {
    padding: 9px clamp(8px, 3vw, 14px);
    font-size: clamp(10.5px, 3.2vw, 12.5px);
  }

  .banner {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .banner picture {
    display: block;
    overflow: hidden;
  }

  .banner__img {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 2.6 / 1;
    object-position: 82% 25%;
    transform: scale(1.65);
    transform-origin: 82% 25%;
  }

  .banner__content {
    position: static;
    width: 100%;
    height: auto;
    background: var(--bg-darkest);
    padding: 16px 18px 20px;
    gap: 6px;
  }

  .banner__eyebrow {
    font-size: 18px;
  }

  .banner__title {
    font-size: 29px;
  }

  .banner__cta {
    margin-top: 6px;
    padding: 10px 20px;
    font-size: 13px;
  }

  .tabs-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: #262832;
    margin-left: -20px;
    margin-right: -20px;
    padding: 10px 20px;
  }

  .tabs {
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: #3a3b42 transparent;
  }

  .tabs::-webkit-scrollbar {
    height: 4px;
  }

  .tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .tabs::-webkit-scrollbar-thumb {
    background: #3a3b42;
    border-radius: 2px;
  }

  .tab {
    padding: 10px 14px;
    font-size: 13px;
    gap: 6px;
    background: #1a1b20;
  }

  .tab__icon {
    width: 15.5px;
    height: 15.5px;
  }

  .search-form {
    order: -1;
    flex: none;
    align-self: flex-start;
    width: 66.6%;
    background: #1a1b20;
    padding: 8px 14px;
  }

  .search-form__input {
    width: 100%;
    font-size: 13px;
  }

  .search-form__submit svg {
    width: 14px;
    height: 14px;
  }

  .games-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .info-text {
    padding: 12px 16px 40px;
  }

  .info-text > h1 {
    font-size: 25px;
  }

  .info-text > h2 {
    font-size: 20px;
    margin: 40px 0 14px;
    padding-top: 22px;
  }

  .info-text > h3 {
    font-size: 16.5px;
  }

  .info-text > p,
  .info-text > ul,
  .info-text > ol {
    font-size: 15.5px;
    max-width: none;
  }

  .info-text > h2#toc + ul {
    grid-template-columns: 1fr;
  }

  .info-figure {
    float: none;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .info-figure--portrait {
    max-width: 220px;
  }

  .info-figure--left figcaption,
  .info-figure--right figcaption {
    text-align: center;
  }

  .info-text .table-scroll th,
  .info-text .table-scroll td {
    padding: 11px 12px;
    font-size: 13.5px;
  }

  .info-text > .table-scroll {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
}

.page-hero {
  padding: 28px 20px 6px;
  max-width: 900px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb__sep {
  color: var(--border);
}

.page-hero__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  margin: 0 0 12px;
  color: #fff;
  line-height: 1.25;
}

.page-hero__lead {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.author-hero {
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-hero__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

@media (max-width: 640px) {
  .author-hero {
    align-items: flex-start;
  }

  .author-hero__photo {
    width: 64px;
    height: 64px;
  }
}

.content {
  max-width: 900px;
  margin: 0 auto;
  padding: 6px 20px 56px;
}

.content h2 {
  font-size: 21px;
  font-weight: 800;
  color: #fff;
  margin: 34px 0 12px;
}

.content h2:first-child {
  margin-top: 6px;
}

.content h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--gold);
  margin: 22px 0 8px;
}

.content p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}

.content ul,
.content ol {
  margin: 0 0 16px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.75;
}

.content li {
  margin-bottom: 6px;
}

.content a {
  color: var(--gold);
  text-decoration: underline;
}

.content strong {
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 560px;
}

.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table th {
  background: var(--surface);
  color: var(--gold);
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.data-table td {
  color: var(--text-muted);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td:first-child,
.data-table th:first-child {
  color: var(--text);
  font-weight: 700;
  white-space: normal;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 26px 0;
}

.cta-banner__title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.cta-banner__desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.cta-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.faq {
  margin: 0 0 16px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--surface);
  overflow: hidden;
}

.faq__item summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 18px;
  flex: none;
}

.faq__item[open] summary::after {
  content: "\2212";
}

.faq__item p {
  padding: 0 16px 16px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.domain-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 700;
}

.step-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-list li {
  position: relative;
  padding: 0 0 18px 40px;
  counter-increment: step;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #1d1d20;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-list li strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.contact-card__icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 12px;
  color: var(--gold);
}

.contact-card__title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.contact-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.contact-card__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
}

.author-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}

.author-links__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.author-links__card:hover,
.author-links__card:focus-visible {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.author-links__icon {
  color: var(--gold);
  margin: 0 0 10px;
}

.author-links__title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.author-links__desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

.org-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.org-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.org-list strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 640px) {
  .cta-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .data-table {
    min-width: 480px;
  }
}
