:root {
  --bg: #08111f;
  --bg-alt: #102039;
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: rgba(247, 251, 255, 0.74);
  --accent: #f4b942;
  --accent-strong: #ff9f1a;
  --site-header-height: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font: 16px / 1.6 "Roboto", Arial, sans-serif;
  color: var(--text);
  background: #262c32;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(8, 17, 31, 0.84);
  border-bottom: 1px solid var(--panel-border);
}

.site-header .container,
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-width: 0;
  gap: 20px;
  padding: 18px 0;
}

.logo {
  order: 1;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
}

.bonus-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  color: #101010;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 30px rgba(255, 159, 26, 0.2);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.bonus-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.bonus-cta--header {
  order: 3;
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.bonus-cta-block {
  display: flex;
  justify-content: center;
  min-width: 0;
}

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

.lang-switcher {
  order: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: rgba(16, 32, 57, 0.62);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.lang-switcher__link:hover {
  transform: translateY(-1px);
  border-color: rgba(244, 185, 66, 0.48);
}

.lang-switcher__link.is-active,
.lang-switcher__link[aria-current="true"] {
  border-color: rgba(244, 185, 66, 0.62);
  background: rgba(244, 185, 66, 0.12);
}

.lang-switcher__link img {
  display: block;
  width: 24px;
  height: 18px;
  border-radius: 2px;
}

.site-nav-toggle {
  order: 4;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.site-nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  order: 2;
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: relative;
}

.site-nav__menu {
  position: relative;
}

.site-nav__summary,
.site-nav__link,
.site-footer a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav__summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
}

.site-nav__summary::-webkit-details-marker {
  display: none;
}

.site-nav__summary::after {
  content: "";
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 7px solid currentColor;
  transition: transform 0.18s ease;
}

.site-nav__menu[open] .site-nav__summary::after {
  transform: rotate(180deg);
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 280px;
  max-height: calc(100vh - var(--site-header-height) - 32px);
  margin: 0;
  padding: 12px 0;
  list-style: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 32, 57, 0.98), rgba(9, 18, 32, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  z-index: 20;
}

.site-nav__menu:not([open]) .site-nav__submenu {
  display: none;
}

.site-nav__submenu a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  text-decoration: none;
}

.site-nav__submenu a:hover {
  background: rgba(244, 185, 66, 0.08);
  color: var(--accent);
}

.site-nav__submenu a[aria-current="page"] {
  background: rgba(244, 185, 66, 0.14);
  color: var(--accent);
}

.site-nav__summary:hover,
.site-nav__link:hover,
.site-footer a:hover {
  color: var(--text);
}

main {
  padding: 32px 0 56px;
}

section {
  padding: 18px 0;
}

section .container {
  display: grid;
  gap: 24px;
  min-width: 0;
  padding: 28px;
  background: rgba(18, 36, 58, 0.86);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.section--toc {
  position: sticky;
  top: var(--site-header-height);
  z-index: 9;
  padding: 10px 0;
  background: #262c32;
}

.breadcrumbs-section {
  padding: 0 !important;
}

.breadcrumbs-section .container {
  display: block;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.breadcrumbs {
  min-width: 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(247, 251, 255, 0.42);
}

.breadcrumbs__item a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}

.breadcrumbs__item a:hover {
  color: var(--text);
}

.breadcrumbs__item[aria-current="page"] {
  color: var(--text);
}

.page-toc {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: var(--bg);
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.page-toc__nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-padding-inline: 12px;
  -webkit-overflow-scrolling: touch;
}

.page-toc__nav::-webkit-scrollbar {
  display: none;
}

.page-toc__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(16, 32, 57, 0.86);
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.page-toc__link:hover,
.page-toc__link.is-current {
  border-color: rgba(244, 185, 66, 0.6);
  color: var(--accent);
  background: rgba(244, 185, 66, 0.08);
}

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

h1,
h2 {
  line-height: 1.1;
}

h1 {
  font-size: clamp(28px, 4vw, 40px);
}

h2 {
  font-size: clamp(24px, 3vw, 32px);
}

h3 {
  font-size: 1.1rem;
}

.content-placeholder {
  color: var(--muted);
}

.mainpage-content {
  display: grid;
  gap: 18px;
  color: var(--muted);
}

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

.info-page__content {
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.info-page__content h1,
.info-page__content h2 {
  color: var(--text);
}

.info-page__content p {
  max-width: none;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form__field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field span {
  color: var(--text);
  font-weight: 700;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 17, 31, 0.66);
  color: var(--text);
  font: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 180px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(244, 185, 66, 0.62);
  box-shadow: 0 0 0 3px rgba(244, 185, 66, 0.12);
}

.contact-form__field.is-invalid input,
.contact-form__field.is-invalid select,
.contact-form__field.is-invalid textarea,
.contact-form__field.is-invalid .contact-form__check {
  border-color: rgba(255, 107, 107, 0.8);
}

.contact-form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(8, 17, 31, 0.42);
}

.contact-form__check input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  flex: 0 0 auto;
}

.contact-form__check span {
  color: var(--muted);
  font-weight: 400;
}

.contact-form__error {
  color: #ff8c8c;
  font-size: 0.88rem;
  line-height: 1.4;
}

.contact-form__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.contact-form__feedback {
  width: 100%;
  max-width: 78ch;
  padding: 14px 16px;
  border: 1px solid rgba(87, 214, 124, 0.42);
  border-radius: 12px;
  background: rgba(87, 214, 124, 0.12);
  color: #c7ffd7;
}

.site-footer p {
  color: var(--muted);
}

.home-promo .container {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  grid-template-areas:
    "title image"
    "copy image"
    "actions image";
  align-items: center;
  gap: 16px;
  padding: 40px 28px;
  background:
    radial-gradient(circle at right top, rgba(244, 185, 66, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(16, 32, 57, 0.96), rgba(18, 36, 58, 0.92));
}

.home-promo h1 {
  grid-area: title;
}

.home-promo p {
  grid-area: copy;
  max-width: 72ch;
  color: var(--muted);
}

.home-promo__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.home-promo__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: auto;
  height: 340px;
}

.promo-section .container {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  grid-template-areas:
    "title thumb"
    "copy thumb"
    "actions thumb";
  align-content: start;
  align-items: start;
  column-gap: 36px;
  row-gap: 12px;
  padding: 28px;
  background:
    radial-gradient(circle at right top, rgba(244, 185, 66, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(16, 32, 57, 0.96), rgba(18, 36, 58, 0.92));
}

.promo-section h1 {
  grid-area: title;
}

.promo-thumbnail {
  grid-area: thumb;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  justify-self: end;
  height: 270px;
  object-fit: contain;
}

.promo-copy {
  grid-area: copy;
  min-width: 0;
  max-width: 72ch;
  color: var(--muted);
}

.promo-actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  margin-top: 2px;
  gap: 12px;
}

.demo-link,
.demo-trigger,
.demo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  color: #101010;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.demo-link {
  color: #101010;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #101010;
}

.demo-cta-secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--panel-border);
}

.demo-link:hover,
.demo-trigger:hover,
.demo-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.demo-fancybox .fancybox__content {
  padding: 0;
  background: transparent;
}

.demo-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 24px;
  border-radius: 22px;
  background-color: rgba(8, 17, 31, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.demo-stage::before,
.demo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.demo-stage::before {
  background-image: url("../img/book_of_dead_thumb.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(10px);
  transform: scale(1.08);
}

.demo-stage::after {
  background: rgba(8, 17, 31, 0.48);
}

.demo-stage .demo-trigger,
.demo-stage .bonus-cta {
  position: relative;
  z-index: 1;
}

.demo-note {
  position: relative;
  margin: 16px 0 0;
  padding: 14px 16px 14px 60px;
  border: 1px solid rgba(244, 185, 66, 0.22);
  border-radius: 16px;
  background: rgba(8, 17, 31, 0.46);
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.94rem;
  line-height: 1.6;
}

.demo-note::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 16px;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  background-color: var(--accent);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14a1 1 0 0 1-1-1v-3a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1zm-1.5 2.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0z'/%3E%3Cpath d='M10.23 3.216c.75-1.425 2.79-1.425 3.54 0l8.343 15.852C22.814 20.4 21.85 22 20.343 22H3.657c-1.505 0-2.47-1.6-1.77-2.931L10.23 3.216zM20.344 20L12 4.147 3.656 20h16.688z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 14a1 1 0 0 1-1-1v-3a1 1 0 1 1 2 0v3a1 1 0 0 1-1 1zm-1.5 2.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0z'/%3E%3Cpath d='M10.23 3.216c.75-1.425 2.79-1.425 3.54 0l8.343 15.852C22.814 20.4 21.85 22 20.343 22H3.657c-1.505 0-2.47-1.6-1.77-2.931L10.23 3.216zM20.344 20L12 4.147 3.656 20h16.688z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.casino-slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.casino-slider__head h2 {
  max-width: 840px;
}

.casino-slider__controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.casino-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.78);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.casino-slider__button:hover {
  border-color: rgba(244, 185, 66, 0.58);
  background: rgba(244, 185, 66, 0.16);
}

.casino-slider__button:disabled {
  cursor: default;
  opacity: 0.42;
}

.casino-slider__button span {
  display: block;
  margin-top: -2px;
  font-size: 2rem;
  line-height: 1;
}

.casino-slider {
  min-width: 0;
}

.casino-slider__viewport {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.casino-slider__viewport::-webkit-scrollbar {
  display: none;
}

.casino-slider__track {
  display: flex;
  gap: 16px;
  min-width: 0;
}

.casino-offer-card {
  flex: 0 0 calc((100% - 48px) / 4);
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 18px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #111820;
  text-align: center;
}

.casino-offer-card:nth-child(5n + 1) {
  background: #20103a;
}

.casino-offer-card:nth-child(5n + 2) {
  background: #050505;
}

.casino-offer-card:nth-child(5n + 3) {
  background: #070b27;
}

.casino-offer-card:nth-child(5n + 4) {
  background: #111820;
}

.casino-offer-card:nth-child(5n + 5) {
  background: #2a2a2a;
}

.casino-offer-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 74px;
}

.casino-offer-card__logo img {
  width: auto;
  max-width: min(100%, 170px);
  max-height: 72px;
  object-fit: contain;
}

.casino-offer-card h3 {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.12rem;
  line-height: 1.2;
}

.casino-offer-card__bonus {
  min-height: 3.2em;
  display: flex;
  align-items: center;
  color: rgba(247, 251, 255, 0.9);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.casino-offer-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 170px);
  min-height: 48px;
  padding: 0 16px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--text);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.casino-offer-card__cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.casino-legal-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  color: rgba(247, 251, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.casino-legal-info span:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 50%;
  background: rgba(247, 251, 255, 0.42);
}

.casino-selection-note {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(8, 17, 31, 0.48);
}

.casino-selection-note summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 16px 54px 16px 18px;
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
  line-height: 1.3;
}

.casino-selection-note summary::-webkit-details-marker {
  display: none;
}

.casino-selection-note summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.18s ease;
}

.casino-selection-note[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.casino-selection-note__content {
  padding: 0 18px 18px;
}

.casino-selection-note__content p {
  color: var(--muted);
}

.demo-modal {
  width: min(1120px, calc(100vw - 24px), calc((100dvh - 152px) * 1.7778));
  display: grid;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: #08111f;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.demo-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100dvh - 152px);
  display: block;
  border: 0;
  border-radius: 16px;
  background: #000;
}

.card-grid,
.split-grid,
.slot-grid {
  display: grid;
  gap: 16px;
}

.casinos-section .container {
  gap: 18px;
}

.casinos-intro {
  max-width: 820px;
  color: var(--muted);
}

.casino-list {
  display: grid;
  gap: 18px;
}

.casino-card {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(190px, 230px) 210px;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(8, 17, 31, 0.52);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.casino-card:hover {
  border-color: rgba(244, 185, 66, 0.55);
  background: rgba(12, 25, 42, 0.82);
  transform: translateY(-1px);
}

.casino-card--featured {
  border-color: rgba(244, 185, 66, 0.62);
}

.casino-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 14px;
  border-bottom-left-radius: 18px;
  background: var(--accent);
  color: #101010;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.casino-card__logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.casino-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border: 2px solid rgba(244, 185, 66, 0.12);
  border-radius: 18px;
  background: #000;
  box-shadow: inset 0 0 28px rgba(244, 185, 66, 0.08);
}

.casino-card__logo img {
  display: block;
  width: auto;
  max-width: 92px;
  max-height: 58px;
}

.casino-card__rank {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.casino-card__content {
  min-width: 0;
}

.casino-card__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.casino-card h3 {
  margin: 0;
  font-size: 1.45rem;
}

.casino-card__rating {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 185, 66, 0.42);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  line-height: 1;
}

.casino-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.casino-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(247, 251, 255, 0.68);
  font-size: 0.78rem;
}

.casino-card__meta span[hidden] {
  display: none;
}

.casino-card__details-toggle {
  display: inline-flex;
  margin-top: 10px;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.25;
}

.casino-card__bonus-box {
  min-width: 0;
  padding: 0 18px;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.casino-card__bonus-box strong {
  display: block;
  color: var(--text);
  font-size: 1.42rem;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.casino-card__bonus-box span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.casino-card__bonus-box small {
  display: block;
  margin-top: 8px;
  color: rgba(247, 251, 255, 0.68);
}

.casino-card__action {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.casino-card__cta {
  width: 100%;
}

.casino-card__action span {
  color: rgba(247, 251, 255, 0.68);
  font-size: 0.78rem;
  text-align: center;
}

.casino-safety-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: rgba(247, 251, 255, 0.68);
  font-size: 0.88rem;
}

.casino-safety-note a {
  text-decoration: none;
}

.casino-safety-note span:not(:first-child)::before,
.casino-safety-note a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 10px;
  vertical-align: middle;
  border-radius: 50%;
  background: rgba(247, 251, 255, 0.42);
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.info-card,
.slot-card,
.faq-item {
  padding: 18px;
  background: rgba(8, 17, 31, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.info-card {
  display: grid;
  gap: 10px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.pros-cons-list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 10px;
  color: rgba(247, 251, 255, 0.84);
}

.info-card--pros {
  border-color: rgba(88, 242, 150, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 34, 24, 0.34), rgba(8, 17, 31, 0.52)),
    rgba(8, 17, 31, 0.52);
}

.info-card--cons {
  border-color: rgba(255, 107, 107, 0.22);
  background:
    linear-gradient(180deg, rgba(49, 18, 22, 0.34), rgba(8, 17, 31, 0.52)),
    rgba(8, 17, 31, 0.52);
}

.info-card--pros h3,
.info-card--cons h3 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.info-card--pros h3 {
  color: #58f296;
}

.info-card--cons h3 {
  color: #ff7c7c;
}

.info-card--pros h3::before,
.info-card--cons h3::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.info-card--pros h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2h4v10Z' fill='%2358f296'/%3E%3Cpath d='M9 11l3.2-7.1A1.5 1.5 0 0 1 13.57 3c.8 0 1.43.65 1.43 1.45V8h4.2A1.8 1.8 0 0 1 21 9.86l-1.2 8A2 2 0 0 1 17.82 19H9v-8Z' fill='%2358f296'/%3E%3C/svg%3E");
}

.info-card--cons h3::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-4V3Z' fill='%23ff7c7c'/%3E%3Cpath d='M15 13l-3.2 7.1a1.5 1.5 0 0 1-1.37.9C9.63 21 9 20.35 9 19.55V16H4.8A1.8 1.8 0 0 1 3 14.14l1.2-8A2 2 0 0 1 6.18 5H15v8Z' fill='%23ff7c7c'/%3E%3C/svg%3E");
}

.info-card--pros .pros-cons-list li::marker {
  color: #58f296;
}

.info-card--cons .pros-cons-list li::marker {
  color: #ff7c7c;
}

.pros-cons-list li {
  line-height: 1.6;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrap table {
  min-width: 640px;
}

.slot-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.slot-specs-table th,
.slot-specs-table td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.slot-specs-table th {
  width: 34%;
  background: #0e1b2b;
  font-weight: 700;
}

.slot-metrics {
  margin-top: 24px;
}

.slot-metrics h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  line-height: 1.08;
}

.slot-metrics__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.slot-metric-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px 22px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(42, 52, 69, 0.88), rgba(15, 24, 40, 0.94)),
    rgba(8, 17, 31, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.slot-metric-card__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slot-metric-card h4 {
  margin: 0;
  font-size: 1.15rem;
}

.slot-metric-card p {
  margin: 0;
  color: rgba(247, 251, 255, 0.78);
}

.slot-metric-card__tooltip-wrap {
  position: relative;
  flex: 0 0 auto;
}

.slot-metric-card__tooltip-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(82, 92, 116, 0.32);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.slot-metric-card__tooltip-toggle:hover,
.slot-metric-card__tooltip-toggle[aria-expanded="true"] {
  border-color: rgba(244, 185, 66, 0.36);
  background: rgba(244, 185, 66, 0.12);
  color: var(--accent);
}

.slot-metric-card__tooltip {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 3;
  width: min(290px, calc(100vw - 72px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #0e1b2b;
  color: rgba(247, 251, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.5;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
}

.slot-metric-dial {
  position: relative;
  width: 190px;
  aspect-ratio: 1;
  justify-self: end;
}

.slot-metric-dial::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    var(--metric-accent) calc(var(--metric-progress) * 1%),
    rgba(255, 255, 255, 0.1) 0
  );
}

.slot-metric-dial::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.96), rgba(19, 30, 48, 0.98));
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28);
}

.slot-metric-dial__value {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  padding: 26px;
  color: var(--metric-accent);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.slot-metric-dial--volatility .slot-metric-dial__value {
  font-size: 1.55rem;
}

.slot-metric-statbox {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(74, 163, 255, 0.75);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.98), rgba(19, 30, 48, 0.96));
  text-align: center;
}

.slot-metric-statbox__label {
  color: rgba(247, 251, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.slot-metric-statbox strong {
  color: #58f296;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.slot-metric-range {
  display: grid;
  gap: 12px;
}

.slot-metric-range__item {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(8, 17, 31, 0.46);
}

.slot-metric-range__item span {
  display: block;
  color: rgba(247, 251, 255, 0.66);
  font-size: 0.78rem;
}

.slot-metric-range__item strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 1.2rem;
}

.slot-metric-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: start;
}

.slot-metric-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.46);
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 700;
}

.symbols-paytable {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: rgba(8, 17, 31, 0.72);
  color: var(--text);
}

.symbols-paytable th,
.symbols-paytable td {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  vertical-align: middle;
}

.symbols-paytable thead th {
  background: #0e1b2b;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.symbols-paytable tbody td {
  background: rgba(8, 17, 31, 0.52);
}

.symbols-paytable tbody tr:nth-child(even) td {
  background: rgba(16, 32, 57, 0.58);
}

.symbols-paytable__symbol-cell {
  position: relative;
  width: 140px;
}

.symbols-paytable__symbol-media {
  width: 88px;
  height: 88px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 6px;
}

.symbols-paytable__symbol-cell img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.symbols-paytable__symbol-cell span {
  position: absolute;
  font-size: 0;
  line-height: 0;
}

.special-symbols-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: rgba(8, 17, 31, 0.72);
  color: var(--text);
}

.special-symbols-table th,
.special-symbols-table td {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: middle;
}

.special-symbols-table thead th {
  background: #0e1b2b;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
}

.special-symbols-table__symbol-cell {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.special-symbols-table__symbol-media {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 6px;
}

.special-symbols-table__symbol-cell img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.special-symbols-table__symbol-cell span {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.compare-table-wrap {
  position: relative;
}

.compare-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  background: rgba(8, 17, 31, 0.72);
  color: var(--text);
}

.compare-table th,
.compare-table td {
  min-width: 170px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  vertical-align: middle;
}

.compare-table thead th {
  background: #0e1b2b;
}

.compare-table td {
  background: rgba(8, 17, 31, 0.52);
}

.compare-table tbody tr:nth-child(even) td {
  background: rgba(16, 32, 57, 0.58);
}

.compare-table__corner,
.compare-table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  min-width: 220px;
  text-align: left;
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.08);
}

.compare-table__corner {
  z-index: 4;
  background: #0e1b2b;
}

.compare-table tbody th[scope="row"] {
  z-index: 2;
  background: #08111f;
}

.compare-table tbody tr:nth-child(even) th[scope="row"] {
  background: #102039;
}

.compare-table__game {
  min-width: 180px;
}

.compare-table__game-link {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.compare-table__game-link:hover span {
  color: var(--accent);
}

.compare-table__game-link img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}

.compare-table__game-link span {
  max-width: 160px;
  line-height: 1.3;
  text-align: center;
  transition: color 0.18s ease;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(8, 17, 31, 0.52);
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.screenshot-card:hover {
  border-color: rgba(244, 185, 66, 0.48);
  transform: translateY(-1px);
}

.screenshot-card img {
  aspect-ratio: 2012 / 1158;
  object-fit: cover;
  transition: transform 0.22s ease;
}

.screenshot-card:hover img {
  transform: scale(1.03);
}

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

.slot-card {
  display: grid;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.slot-card:hover {
  border-color: rgba(244, 185, 66, 0.48);
  background: rgba(12, 25, 42, 0.78);
  transform: translateY(-1px);
}

.slot-card[aria-current="page"] {
  border-color: rgba(244, 185, 66, 0.62);
  background: rgba(16, 32, 57, 0.82);
}

.slot-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.game-card {
  gap: 14px;
}

.game-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.game-card__media img {
  transition: transform 0.22s ease;
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(180deg, rgba(8, 17, 31, 0.32), rgba(8, 17, 31, 0.82));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.game-card__overlay-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(244, 185, 66, 0.52);
  border-radius: 999px;
  background: rgba(244, 185, 66, 0.14);
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.game-card__overlay-label {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

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

.site-footer {
  border-top: 1px solid var(--panel-border);
  background: rgba(8, 17, 31, 0.84);
}

.site-footer__nav-wrap {
  display: block !important;
  padding-bottom: 24px !important;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 251, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-footer__nav a:hover {
  color: var(--text);
  background: rgba(244, 185, 66, 0.14);
  transform: translateY(-1px);
}

.site-footer__disclaimer {
  display: block !important;
  padding: 25px 0 25px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__disclaimer p {
  margin: 0;
  color: rgba(247, 251, 255, 0.68);
  font-size: 0.9rem;
}

.site-footer__disclaimer p + p {
  margin-top: 10px;
}

.cookie-banner {
  position: fixed;
  right: 50%;
  bottom: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 24px), 1024px);
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(63, 69, 84, 0.98), rgba(49, 56, 70, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateX(50%);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__copy {
  display: grid;
  gap: 4px;
}

.cookie-banner__copy strong {
  font-size: 1.1rem;
  line-height: 1.3;
}

.cookie-banner__copy p {
  color: rgba(247, 251, 255, 0.82);
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.cookie-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 60px;
  padding: 0 28px;
  border-radius: 12px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

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

.cookie-banner__button--secondary {
  border: 1px solid rgba(244, 185, 66, 0.78);
  color: var(--text);
  background: transparent;
}

.cookie-banner__button--primary {
  border: 1px solid transparent;
  color: #101010;
  background: linear-gradient(135deg, var(--accent) 0%, #f8bf22 100%);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 31;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  background: rgba(20, 29, 63, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.back-to-top span {
  font-size: 1.6rem;
  line-height: 1;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(244, 185, 66, 0.5);
}

body.has-cookie-banner .back-to-top {
  bottom: 154px;
}

@media (max-width: 1023px) {
  .slot-metrics__grid {
    grid-template-columns: 1fr;
  }

  .slot-metric-card {
    grid-template-columns: 1fr;
  }

  .slot-metric-dial,
  .slot-metric-statbox {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(calc(100% - 24px), 1024px);
  }

  .breadcrumbs-section .container {
    padding: 0;
  }

  .site-header .container,
  .site-footer .container {
    align-items: center;
    padding: 16px 0;
  }

  .site-header .container {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 44px;
    justify-content: space-between;
    gap: 8px;
  }

  .logo img {
    height: 34px;
    max-width: 120px;
  }

  .bonus-cta--header {
    order: 2;
    justify-self: end;
    max-width: 100%;
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__nav {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
  }

  .site-footer__nav a {
    width: 100%;
    min-height: 56px;
    justify-content: flex-start;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .site-nav-toggle {
    order: 3;
    display: inline-flex;
    justify-self: end;
  }

  .lang-switcher {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    order: 4;
    grid-column: 1 / -1;
    width: 100%;
    display: none;
    max-height: calc(100vh - var(--site-header-height) - 16px);
    margin-left: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 0 4px;
  }

  .site-nav__summary,
  .site-nav__link {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav__item {
    width: 100%;
  }

  .site-nav__submenu {
    position: static;
    min-width: 0;
    max-height: min(50vh, 360px);
    margin-top: 12px;
  }

  main {
    padding: 24px 0 40px;
  }

  section {
    padding: 12px 0;
  }

  .section--toc {
    padding: 10px 0;
  }

  section .container,
  .promo-section .container,
  .home-promo .container {
    padding: 18px 16px;
    border-radius: 20px;
  }

  .home-promo .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "image"
      "copy"
      "actions";
  }

  .promo-section .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "thumb"
      "copy"
      "actions";
    row-gap: 10px;
  }

  .promo-section h1 {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .promo-thumbnail {
    position: static;
    transform: none;
    justify-self: center;
    width: min(100%, 360px);
    max-width: none;
    margin: -2px auto 0;
  }

  .promo-copy {
    max-width: none;
  }

  .promo-actions {
    margin-top: 0;
    gap: 10px;
  }

  .casino-slider__head {
    align-items: flex-end;
    gap: 10px;
  }

  .casino-slider__controls {
    gap: 6px;
  }

  .casino-slider__button {
    width: 38px;
    height: 38px;
  }

  .casino-slider__track {
    gap: 10px;
  }

  .casino-offer-card {
    flex-basis: calc((100% - 10px) / 2);
    min-height: 270px;
    gap: 12px;
    padding: 16px 10px;
  }

  .casino-offer-card__logo {
    min-height: 58px;
  }

  .casino-offer-card__logo img {
    max-width: min(100%, 128px);
    max-height: 56px;
  }

  .casino-offer-card h3 {
    min-height: 2.5em;
    font-size: 0.94rem;
  }

  .casino-offer-card__bonus {
    min-height: 3.8em;
    font-size: 0.84rem;
  }

  .casino-offer-card__cta {
    width: 100%;
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.78rem;
  }

  .casino-legal-info {
    justify-content: flex-start;
    text-align: left;
  }

  .casino-legal-info span {
    width: 100%;
  }

  .casino-legal-info span:not(:first-child)::before {
    display: none;
  }

  .casino-selection-note summary {
    padding: 14px 46px 14px 14px;
    font-size: 0.94rem;
  }

  .casino-selection-note__content {
    padding: 0 14px 14px;
  }

  .home-promo__image {
    display: none;
  }

  .compare-table th,
  .compare-table td {
    min-width: 148px;
    padding: 14px 12px;
  }

  .compare-table__corner,
  .compare-table tbody th[scope="row"] {
    min-width: 180px;
  }

  .compare-table__game-link img {
    width: 96px;
    height: 72px;
  }

  .compare-table__game-link span {
    max-width: 124px;
    font-size: 0.92rem;
  }

  .slot-metric-card {
    padding: 18px;
    gap: 16px;
  }

  .slot-metric-card__tooltip {
    left: 0;
    right: auto;
    width: min(260px, calc(100vw - 64px));
  }

  .slot-metric-dial,
  .slot-metric-statbox {
    width: min(100%, 210px);
    min-height: 0;
  }

  .card-grid,
  .three-up,
  .four-up,
  .split-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }

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

  .screenshots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .screenshot-card {
    border-radius: 12px;
  }

  .casino-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 42px;
    text-align: center;
  }

  .casino-card__title-row,
  .casino-card__meta,
  .casino-card__action {
    justify-content: center;
  }

  .casino-card__bonus-box {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .casino-card__action {
    flex-direction: column;
  }

  .demo-stage {
    padding: 16px;
    border-radius: 18px;
  }

  .demo-modal {
    width: min(100vw - 16px, 430px);
    height: calc(100dvh - 16px);
    grid-template-rows: minmax(0, 1fr) auto;
    padding: 8px;
    gap: 8px;
    border-radius: 18px;
  }

  .demo-frame {
    height: 100%;
    max-height: none;
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 12px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-banner__button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }

  .back-to-top {
    right: 16px;
    width: 48px;
    height: 48px;
  }

  body.has-cookie-banner .back-to-top {
    bottom: 214px;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .casino-offer-card {
    flex-basis: calc((100% - 32px) / 3);
  }

  .casino-card {
    grid-template-columns: 120px minmax(0, 1fr) minmax(170px, 220px);
  }

  .casino-card__action {
    grid-column: 2 / -1;
    flex-direction: row;
    justify-content: flex-end;
  }

  .casino-card__cta {
    width: min(260px, 100%);
  }
}
