/* =========================================================
   CASINO 2026 — Premium Dark Luxury Design
   Font: Outfit · Palette: Deep Navy · Gold · Green CTA
   ========================================================= */

/* ── Reset ─────────────────────────────────────────────── */
html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

article,
aside,
footer,
header,
nav,
section,
main,
figure,
figcaption {
  display: block;
}

figure {
  margin: 0;
}

a {
  background-color: transparent;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font-family: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
}

textarea {
  overflow: auto;
}

[hidden] {
  display: none;
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
  outline: none;
}

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

body {
  margin: 0;
}

input:not([type='checkbox']):not([type='radio']),
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input::-ms-clear {
  display: none;
}

svg {
  transform: translateZ(0);
}

/* ── Tokens ──────────────────────────────────────────────
   Variable names match style.css / SiteMeta JSON (class → --class). */
:root {
  --max-w: 1320px;
  --header-h: 70px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 100px;

  /* SiteMeta theme (naming as in style_1) */
  --main-theme-color: #05060f;
  --text-color: #9da4bc;
  --title-color: #eef0f8;
  --button-bg-color: #11ec95;
  --button-bg-hover: #0fd688;
  --button-text-color: #05060f;
  --border-color: #1d2240;
  --table-1-color: #0b0d1f;
  --table-2-color: #0f122a;
  /* table header: second color layer (content tables) */
  --table-header-color: #0f122a;
  --fh-bg-color: #030409;
  --menu-color: #c0c6de;
  --mobile-bg-color: #11182c;
  --footer-text-color: #5a6080;
  --footer-menu-color: #9da4bc;
  --updated-block-color: #9da4bc;
  --games-nav-bg-color: #0b0d1f;
  --games-nav-border-color: #1d2240;
  --games-nav-text-color: #c0c6de;
  --rate-image-border: #1d2240;
  --rate-counter-bg: #141830;
  --rate-counter-bg-top: #e5b84e;
  --login-btn: #111630;
  --login-btn-color: #eef0f8;
  --registr-btn: #e5b84e;

  --s3-content-max: var(--max-w);
  --s3-header-max: 1440px;
  --s3-article-narrow: 920px;
  --s3-font-body: 'Outfit', system-ui, sans-serif;
  --s3-radius-sm: var(--r-sm);
  --s3-radius-md: var(--r-md);
  --s3-radius-lg: var(--r-lg);
  --s3-radius-xl: var(--r-xl);

  /* decorative palette (not in theme JSON) */
  --gold: #e5b84e;
  --gold-lt: #f5d070;
  --gold-dim: rgba(229, 184, 78, 0.08);
  --gold-glow: rgba(229, 184, 78, 0.25);
  --bd-gold: rgba(229, 184, 78, 0.35);
  --s3-focus-ring: var(--gold);

  --bg-header: color-mix(in srgb, var(--fh-bg-color) 88%, transparent);
}

/* ── Base ──────────────────────────────────────────────── */
body {
  font-family: var(--s3-font-body);
  background: var(--main-theme-color);
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.6;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(100, 60, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(229, 184, 78, 0.04) 0%, transparent 60%);
}

a {
  cursor: pointer;
  -webkit-text-decoration-skip: objects;
}

input,
textarea {
  font-family: var(--s3-font-body);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* heading defaults */
h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 auto 28px;
  color: var(--title-color);
  letter-spacing: -0.025em;
}

h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 auto 24px;
  color: var(--title-color);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 auto 20px;
  color: var(--title-color);
}

h4 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 auto 18px;
  color: var(--title-color);
}

h5 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 auto 16px;
  color: var(--title-color);
}

h6 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  margin: 0 auto 14px;
  color: var(--title-color);
}

@media (max-width: 767px) {
  h1 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  h3 {
    font-size: 20px;
    margin-bottom: 14px;
  }

  h4 {
    font-size: 18px;
  }

  h5 {
    font-size: 16px;
  }

  h6 {
    font-size: 15px;
  }
}

.wrapper {
  overflow: hidden;
  min-height: 100vh;
  position: relative;
  padding: var(--header-h) 0 0;
}

@media (max-width: 767px) {
  .wrapper {
    padding-top: 58px;
  }
}

.hidden-text {
  position: absolute;
  pointer-events: none;
  visibility: hidden;
}

.add-cursor {
  cursor: pointer;
}

.se-image-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.se-image-container figure {
  margin: 0;
}

.se-image-container.__se__float-left {
  justify-content: flex-start;
  margin-right: 4px;
}

.se-image-container.__se__float-right {
  justify-content: flex-end;
  margin-left: 4px;
}

.se-image-container.__se__float-center {
  justify-content: center;
}

/* Utility: clip text to title color (SiteMeta --title-color) */
.grad-text,
.best-games > h1,
.best-games > h2,
.reviews > h1,
.reviews > h2,
.faq > h1,
.faq > h2,
.recommend-section__title,
.download-section-title,
.main-section__title,
.review-hero__heading,
.error-page h1 {
  background: var(--title-color);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* fallback for elements that shouldn't get gradient */
.content-section__title,
.content-table__head,
.table-content__head {
  color: var(--title-color);
}

/* ── CTA Button ────────────────────────────────────────── */
.main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(100%, 300px);
  min-height: 56px;
  height: 56px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: var(--button-bg-color);
  color: var(--button-text-color);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    transform 0.15s;
}

.main-button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

@media (min-width: 1025px) {
  .main-button:hover {
    background: var(--button-bg-hover);
    box-shadow:
      0 0 36px rgba(17, 236, 149, 0.35),
      0 4px 16px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
  }

  .main-button:hover::after {
    transform: translateX(120%);
  }
}

/* ── Error ─────────────────────────────────────────────── */
.error-page {
  max-width: 800px;
  width: 100%;
  padding: 0 16px;
  text-align: center;
  margin: 60px auto 200px;
}

.error-page h1 {
  font-size: 160px;
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.error-page p {
  color: var(--text-color);
  font-size: 20px;
  margin: 0 0 48px;
}

@media (max-width: 767px) {
  .error-page {
    margin: 30px auto 100px;
  }

  .error-page h1 {
    font-size: 90px;
  }
}

/* ─────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-color);
  z-index: 99;
}

@media (max-width: 767px) {
  .header {
    height: 58px;
  }
}

.header__inner {
  max-width: 1440px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 32px;
}

@media (max-width: 1400px) {
  .header__inner {
    padding: 0 20px;
  }
}

@media (max-width: 1023px) {
  .header__inner {
    justify-content: flex-start;
  }
}

.logo img {
  max-height: 46px;
  width: auto;
}

@media (max-width: 1023px) {
  .logo {
    order: -2;
  }
}

@media (max-width: 767px) {
  .header__inner .logo img {
    max-width: 88px;
  }
}

.main-nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.main-nav__list li {
  font-size: 15px;
  font-weight: 500;
}

.main-nav__list li a {
  color: var(--menu-color);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition:
    color 0.2s,
    background 0.2s;
  display: block;
}

@media (min-width: 1025px) {
  .main-nav__list li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 1023px) {
  .main-nav {
    display: none;
  }

  .main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    height: 100%;
    width: 300%;
    background: rgba(0, 0, 0, 0.75);
    pointer-events: none;
  }

  .main-nav__list {
    display: block;
  }

  .main-nav__list li {
    margin: 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav__list li a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    position: relative;
  }

  .main-nav__list li a::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 18px;
    border: 5px solid transparent;
    border-left: 5px solid var(--menu-color);
  }

  .main-nav__list li:first-of-type {
    border-top: 1px solid var(--border-color);
  }

  .menu-toggle:checked ~ .main-nav {
    display: block;
    position: absolute;
    height: 100vh;
    background: var(--fh-bg-color);
    top: 0;
    right: 0;
    max-width: 300px;
    width: 100%;
    z-index: 9;
    padding: 90px 0;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle:checked + .burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }

  .menu-toggle:checked + .burger span:nth-child(2) {
    display: none;
  }

  .menu-toggle:checked + .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1023px) {
  .header-buttons {
    order: -1;
    margin-left: auto;
  }
}

.header-buttons.right {
  margin-right: 0;
}

.login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
  height: 40px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  background: var(--login-btn);
  color: var(--login-btn-color);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--border-color);
  transition:
    background 0.2s,
    border-color 0.2s;
}

@media (min-width: 1025px) {
  .login-btn:hover {
    background: var(--table-2-color);
    border-color: var(--bd-gold);
  }
}

@media (max-width: 767px) {
  .login-btn {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }
}

.registr-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  white-space: nowrap;
  height: 40px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--registr-btn);
  color: var(--button-text-color);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
  position: relative;
  overflow: hidden;
}

.registr-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.3) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

@media (min-width: 1025px) {
  .registr-btn:hover {
    background: var(--button-bg-hover);
    box-shadow: 0 0 28px var(--gold-glow);
    transform: translateY(-1px);
  }

  .registr-btn:hover::after {
    transform: translateX(120%);
  }
}

@media (max-width: 767px) {
  .registr-btn {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }
}

/* Language */
.language {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1023px) {
  .language {
    top: 10px;
    transform: none;
    right: auto;
    left: 0;
  }
}

.language:hover > ul,
.language:focus > ul,
.language:focus-within > ul {
  display: flex;
}

.language__current {
  position: relative;
  border-radius: var(--r-pill);
  height: 40px;
  padding: 5px 32px 5px 14px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-left: 8px;
  cursor: pointer;
  background: var(--login-btn);
  color: var(--login-btn-color);
  gap: 6px;
  border: 1px solid var(--border-color);
}

.language__current::after {
  border-bottom: 1.5px solid var(--login-btn-color);
  border-right: 1.5px solid var(--login-btn-color);
  content: '';
  height: 6px;
  width: 6px;
  pointer-events: none;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
}

.language ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 2;
  border-radius: var(--r-md);
  min-width: 80px;
  display: none;
  max-height: 480px;
  overflow-y: auto;
  flex-direction: column;
  width: max-content;
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
}

.language ul li {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  color: var(--login-btn-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  transition: background 0.15s;
}

.language ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--login-btn-color);
  text-decoration: none;
}

@media (min-width: 1025px) {
  .language ul li:hover {
    background: var(--table-2-color);
  }
}

.menu-toggle {
  display: none;
}

.burger {
  width: 40px;
  height: 40px;
  display: none;
  cursor: pointer;
  border-radius: var(--r-sm);
  background: var(--table-2-color);
  padding: 12px 8px;
  z-index: 99;
  margin-left: 8px;
  border: 1px solid var(--border-color);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1023px) {
  .burger {
    display: flex;
  }
}

.burger span {
  display: block;
  height: 1.5px;
  border-radius: 4px;
  width: 22px;
  background: var(--menu-color);
  transition:
    transform 0.25s,
    opacity 0.25s;
}

/* ── Breadcrumbs ───────────────────────────────────────── */
.breadcrumbs {
  max-width: var(--max-w);
  width: 100%;
  list-style: none;
  margin: 14px auto;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

@media (max-width: 1200px) {
  .breadcrumbs {
    padding: 0 16px;
  }
}

.breadcrumbs li {
  font-size: 14px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumbs li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.2s;
}

@media (min-width: 1025px) {
  .breadcrumbs li a:hover {
    color: var(--gold);
  }
}

.breadcrumbs li span {
  opacity: 0.5;
}

.breadcrumbs li + li::before {
  content: '/';
  color: var(--border-color);
  font-size: 16px;
}

/* ─────────────────────────────────────────────────────────
   MAIN SECTION (block-main / hero)
───────────────────────────────────────────────────────── */
.main-section {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 100px;
  padding: 28px 0 0;
}

@media (max-width: 1200px) {
  .main-section {
    padding: 20px 16px 0;
  }
}

@media (max-width: 767px) {
  .main-section {
    margin-bottom: 60px;
  }
}

.main-section__title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto 24px;
}

@media (max-width: 991px) {
  .main-section__title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .main-section__title {
    font-size: 28px;
  }
}

.main-section__img-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 28px;
}

.main-section__img-wrap img,
.main-section img {
  width: 100%;
  display: block;
  border-radius: var(--r-lg);
  margin-bottom: 24px;
}

.main-section p {
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}

@media (max-width: 767px) {
  .main-section p {
    font-size: 15px;
  }
}

/* block-image: centered in column */
.content-section .main-section__image {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.content-section .main-section__image a {
  display: block;
  max-width: 100%;
  line-height: 0;
}

.content-section .main-section__image picture,
.content-section .main-section__image img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: var(--r-lg);
}

/* ── Rich content ──────────────────────────────────────── */
.content {
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.7;
}

.content p {
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.7;
}

.content p:first-of-type {
  margin-top: 0;
}

.content p:last-of-type {
  margin-bottom: 0;
}

.content ul {
  padding: 0 0 0 22px;
}

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

@media (max-width: 767px) {
  .content,
  .content p {
    font-size: 15px;
    line-height: 1.65;
  }
}

.content table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-md);
  overflow: hidden;
}

.content table tr td {
  padding: 13px 22px;
  font-size: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  background: var(--table-1-color);
}

.content table tr th {
  padding: 13px 22px;
  font-size: 15px;
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--title-color);
  background: var(--table-header-color);
  font-weight: 700;
}

.content table tr:nth-child(even) td {
  background: var(--table-2-color);
}

.content iframe {
  max-width: 100%;
  width: 100%;
  height: 560px;
  border: none;
  margin: 0 0 20px;
  border-radius: var(--r-md);
}

@media (max-width: 767px) {
  .content table tr td,
  .content table tr th {
    padding: 9px 6px;
    font-size: 14px;
  }

  .content iframe {
    height: 200px;
  }
}

/* ── Content section ───────────────────────────────────── */
.content-section {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .content-section {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .content-section {
    margin-bottom: 56px;
  }
}

.content-section__title {
  color: var(--title-color);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: -0.015em;
}

@media (max-width: 767px) {
  .content-section__title {
    font-size: 22px;
    margin-bottom: 18px;
  }
}

.content-section__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 28px;
}

@media (max-width: 767px) {
  .content-section__wrap {
    grid-template-columns: 1fr;
  }
}

.content-section__image {
  margin: 0 0 24px;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.content-section__image img {
  width: 100%;
  display: block;
}

.content-section__text {
  margin: 0 0 24px;
}

.content-section h2 {
  color: var(--title-color);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 24px;
}

@media (max-width: 767px) {
  .content-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }
}

.main-section .main-button,
.content-section .main-button {
  margin-top: 28px;
}

.content-section__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Table of contents ─────────────────────────────────── */
.table-content {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-color);
  background: var(--table-1-color);
  overflow: hidden;
}

@media (max-width: 1200px) {
  .table-content {
    margin: 0 16px 80px;
    max-width: calc(100% - 32px);
  }
}

@media (max-width: 767px) {
  .table-content {
    margin-bottom: 56px;
  }
}

.table-content__head {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  font-size: 17px;
  font-weight: 700;
  background: var(--table-2-color);
  color: var(--title-color);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.table-content__head span {
  height: 30px;
  display: flex;
  align-items: center;
  transition: transform 0.25s;
}

.table-content__head.close span {
  transform: scaleY(-1);
}

@media (max-width: 767px) {
  .table-content__head {
    padding: 0 16px;
    font-size: 15px;
    height: 56px;
  }
}

.table-content__list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.table-content__list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-color);
  padding: 10px 24px;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
  border-left: 3px solid transparent;
  font-size: 15px;
}

.table-content__list li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  flex-shrink: 0;
  transition: background 0.2s;
}

@media (min-width: 1025px) {
  .table-content__list li a:hover {
    color: var(--gold);
    background: var(--gold-dim);
    border-left-color: var(--gold);
  }

  .table-content__list li a:hover::before {
    background: var(--gold);
  }
}

.table-content__list.hidden {
  display: none;
}

@media (max-width: 767px) {
  .table-content__list li a {
    padding: 9px 16px;
    font-size: 14px;
  }
}

/* Block games: only one tab panel visible — height:0 + overflow does not fully collapse grid children */
.best-games-body .tab:not(.active) {
  display: none;
}

.best-games-body .tab.active {
  display: block;
}

/* ── Content table ─────────────────────────────────────── */
.content-table {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .content-table {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .content-table {
    margin-bottom: 56px;
  }
}

.content-table__head {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--table-2-color);
  color: var(--title-color);
  font-size: 20px;
  font-weight: 700;
  padding: 20px 24px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin: 0;
  border: 1px solid var(--border-color);
  border-bottom: none;
}

@media (max-width: 767px) {
  .content-table__head {
    padding: 14px;
    font-size: 16px;
  }
}

.content-table table,
.content-table__table,
.content-table__table table {
  width: 100%;
  border-collapse: collapse;
}

@media (max-width: 500px) {
  .content-table__table {
    display: block;
    overflow-x: auto;
  }
}

.content-table table tr td,
.content-table__table tr td {
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  border: 1px solid var(--border-color);
  background: var(--table-1-color);
}

.content-table table tr th,
.content-table__table tr th {
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  text-align: center;
  border: 1px solid var(--border-color);
  background: var(--table-header-color);
}

.content-table table tr:nth-child(even) td,
.content-table__table tr:nth-child(even) td {
  background: var(--table-2-color);
}

.content-table p {
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.65;
}

.content-table__wrap table tr td {
  color: var(--text-color);
  background: var(--table-1-color);
  border-color: var(--border-color);
}

.content-table__wrap table tr:nth-child(even) td {
  background: var(--table-2-color);
}

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

.content-table__table:not(:has(> p)) + * {
  margin-top: 24px;
}

@media (max-width: 767px) {
  .content-table table tr td,
  .content-table table tr th,
  .content-table__table tr td {
    padding: 9px 6px;
    font-size: 14px;
  }
}

/* ── Updated block ─────────────────────────────────────── */
.updated-block {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .updated-block {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .updated-block {
    margin-bottom: 56px;
  }
}

.updated-block__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 500;
  background: var(--fh-bg-color);
  color: var(--updated-block-color);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--button-bg-color);
}

.updated-block__box::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--button-bg-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20A10 10 0 0 0 12 2zm.5 11H8v-2h3V8h2v5z'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20A10 10 0 0 0 12 2zm.5 11H8v-2h3V8h2v5z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}

/* ─────────────────────────────────────────────────────────
   FAQ  (JS accordion — open class on h3 click)
───────────────────────────────────────────────────────── */
.faq {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .faq {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .faq {
    margin-bottom: 56px;
  }
}

.faq > h1,
.faq > h2 {
  text-align: center;
  margin-bottom: 28px;
}

.faq__item {
  border-radius: var(--r-md);
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq__item:hover,
.faq__item.open,
.faq__item.active {
  border-color: var(--bd-gold);
}

.faq__item h3 {
  position: relative;
  color: var(--title-color);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  padding: 18px 52px 18px 22px;
  user-select: none;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq__item h3::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transition: transform 0.3s;
}

.faq__item.open h3,
.faq__item.active h3 {
  color: var(--title-color);
}

.faq__item.open h3::after,
.faq__item.active h3::after {
  transform: translateY(-20%) rotate(-135deg);
}

.faq__item p {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color);
  display: none;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.faq__item.open p,
.faq__item.active p {
  display: block;
}

@media (max-width: 767px) {
  .faq__item h3 {
    font-size: 14px;
    padding: 14px 44px 14px 16px;
  }

  .faq__item p {
    font-size: 14px;
    padding: 0 16px 14px;
    padding-top: 12px;
  }
}

/* ─────────────────────────────────────────────────────────
   GAMES · PROVIDERS · PAYMENT SYSTEMS
───────────────────────────────────────────────────────── */
.best-games {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .best-games {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .best-games {
    margin-bottom: 56px;
  }
}

.best-games h1,
.best-games h2,
.best-games h3,
.best-games h4 {
  text-align: center;
  margin: 0 auto 24px;
}

/* Nav tabs */
.best-games-nav {
  list-style: none;
  padding: 5px;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--games-nav-bg-color);
  border: 1px solid var(--games-nav-border-color);
  border-radius: var(--r-pill);
}

@media (max-width: 767px) {
  .best-games-nav {
    overflow-x: auto;
    scrollbar-width: none;
    border-radius: var(--r-lg);
    padding: 4px;
    margin-bottom: 14px;
  }
}

.best-games-nav::-webkit-scrollbar {
  display: none;
}

.best-games-nav li {
  flex: 1;
}

.best-games-nav li a {
  font-size: 14px;
  font-weight: 600;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
  gap: 7px;
  color: var(--games-nav-text-color);
  white-space: nowrap;
  padding: 0 14px;
}

.best-games-nav li a svg {
  fill: currentColor;
  width: 18px;
  height: 18px;
  transition: fill 0.2s;
}

.best-games-nav li a.active,
.best-games-nav li a:hover {
  color: var(--games-nav-text-color);
  background: var(--games-nav-border-color);
}

@media (max-width: 767px) {
  .best-games-nav li a {
    font-size: 13px;
    height: 36px;
    padding: 0 10px;
  }
}

/* Games: horizontal slider (arrow buttons + scroll-snap) */
.best-games-slider {
  position: relative;
  display: block;
  overflow: visible;
  /* nav buttons: position absolute, out of flow */
  width: 100%;
  margin: 0 0 4px;
  padding: 0 52px;
  /* space for side nav buttons */
}

@media (max-width: 1200px) {
  .best-games-slider {
    margin-left: -4px;
    margin-right: -4px;
    padding: 0 48px;
  }
}

@media (max-width: 480px) {
  .best-games-slider {
    padding: 0 40px;
  }
}

/* Arrow position: DOM order = button, .best-games-list, button; structure > button (reliable after BEM uniquify) */
.best-games-slider > button {
  position: absolute;
  z-index: 4;
  /* vertical center within slider (top/bottom + margin auto) */
  top: 0;
  bottom: 0;
  left: auto;
  right: auto;
  margin-top: auto;
  margin-bottom: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  color: var(--gold);
  cursor: pointer;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--table-1-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition:
    background 0.2s,
    border-color 0.2s,
    opacity 0.2s,
    color 0.2s;
}

.best-games-slider > button:first-of-type {
  left: 2px;
  right: auto;
}

.best-games-slider > button:last-of-type {
  right: 2px;
  left: auto;
}

@media (hover: hover) and (min-width: 1025px) {
  .best-games-slider > button:hover:not(:disabled) {
    background: var(--table-2-color);
    border-color: var(--bd-gold);
  }
}

.best-games-slider > button:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 480px) {
  .best-games-slider > button {
    width: 36px;
    height: 36px;
  }

  .best-games-slider > button:first-of-type {
    left: 0;
  }

  .best-games-slider > button:last-of-type {
    right: 0;
  }
}

.best-games-list {
  /* container-type: desktop only (avoids broken % grid on mobile) */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 4px;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
  /* hide scrollbars; scroll via buttons or drag */
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  touch-action: pan-x;
  min-width: 0;
  /* cap width in grid; avoid min-content blowout */
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .best-games-list {
    container-type: inline-size;
    container-name: best-games-list;
  }
}

.best-games-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (hover: hover) and (min-width: 1025px) {
  .best-games-list {
    scrollbar-gutter: auto;
  }
}

.best-games-item {
  position: relative;
  flex: 0 0 auto;
  /* mobile: width below; desktop: min-width 768px + 100cqi */
  width: 263px;
  max-width: 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 16px;
  background: #1a1f2e;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.2s;
}

@media (hover: hover) and (min-width: 1025px) {
  .best-games-item:hover {
    border-color: var(--bd-gold);
    box-shadow:
      0 12px 32px rgba(0, 0, 0, 0.45),
      0 0 0 1px var(--bd-gold);
    transform: translateY(-2px);
  }
}

/* Desktop/tablet: one row, 4–5 tiles (width from list track / cqi) */
@media (min-width: 768px) {
  .best-games-item {
    width: min(263px, calc((100cqi - 4 * 12px) / 5));
  }
}

/* Mobile: 2 cards per column, columns in a row, horizontal scroll (100cqi = .best-games-slider width) */
@media (max-width: 767px) {
  .best-games-slider {
    min-width: 0;
    container-type: inline-size;
    container-name: best-games-mob;
  }

  .best-games-slider .best-games-list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    /* 2 cards per column: extra height for card footer/border (64→72) to avoid row overlap */
    height: calc(2 * ((100cqi - 8px) * 0.5 * 156 / 263 + 72px) + 8px);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .best-games-item {
    width: calc((100cqi - 8px) / 2);
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
  }

  .best-games-item:nth-child(4n + 1) {
    scroll-snap-align: start;
  }

  .best-games-slider {
    padding: 0 40px;
  }

  .best-games-slider > button:first-of-type {
    left: 0;
  }

  .best-games-slider > button:last-of-type {
    right: 0;
  }
}

@media (min-width: 768px) {
  .best-games-slider {
    container-type: normal;
    container-name: none;
  }
}

.best-games-item-img {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* media area ~263×156 wide */
  aspect-ratio: 263 / 156;
  width: 100%;
  min-height: 0;
  align-self: stretch;
  background: var(--table-2-color);
  flex-shrink: 0;
}

.best-games-item-img picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.best-games-item-img img {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s;
}

@media (hover: hover) and (min-width: 1025px) {
  .best-games-item:hover .best-games-item-img img {
    transform: scale(1.04);
  }
}

/* Overlay: Play + Demo (visual; click on game <a>) */
.best-games-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 12px 10px 16px;
  background: linear-gradient(180deg, rgba(5, 6, 15, 0.5) 0, rgba(5, 6, 15, 0.9) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

@media (max-width: 767px) {
  .best-games-item-overlay {
    padding: 10px 8px 14px;
  }
}

.best-games-item-overlay-title {
  flex: 0 0 auto;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  margin: 0 0 10px;
  padding: 0 4px;
}

.best-games-item-actions {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0 6px;
}

@media (hover: hover) and (min-width: 1025px) {
  .best-games-item:hover .best-games-item-overlay {
    opacity: 1;
  }
}

.best-games-item:focus-within .best-games-item-overlay {
  opacity: 1;
}

/* Both overlay buttons */
.best-games-item .best-games-item-btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 5px;
  text-align: center;
  line-height: 1.15;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: inherit;
  border: 0 solid transparent;
  -webkit-tap-highlight-color: transparent;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s,
    filter 0.2s;
}

.best-games-item .best-games-item-btn-play {
  background: var(--button-bg-color);
  color: var(--button-text-color);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(17, 236, 149, 0.28);
}

.best-games-item .best-games-item-btn-demo {
  background: rgba(5, 6, 15, 0.55);
  color: var(--title-color);
  border: 1px solid var(--bd-gold);
  box-shadow: inset 0 0 0 1px rgba(229, 184, 78, 0.15);
}

@media (hover: hover) and (min-width: 1025px) {
  .best-games-item:hover .best-games-item-btn-play {
    background: var(--button-bg-hover);
    box-shadow:
      0 2px 0 rgba(0, 0, 0, 0.22),
      0 6px 20px rgba(17, 236, 149, 0.4);
  }

  .best-games-item:hover .best-games-item-btn-demo {
    border-color: var(--gold);
    color: #fff;
  }
}

/* Card footer: title + provider, always visible */
.best-games-item-foot {
  margin-top: auto;
  padding: 10px 10px 12px;
  text-align: center;
  background: var(--button-bg-color);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.best-games-item-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--button-text-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 4px;
}

.best-games-item-provider {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--button-text-color);
  opacity: 0.9;
  margin: 0;
}

/* block-providers / block-payment-systems: same slider + 2×2 on mobile (via .best-games-slider) */
.best-games-logo-row .best-games-item-img-contain img {
  object-fit: contain;
  object-position: center;
  padding: 14px 16px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .best-games-logo-row .best-games-item-img-contain img {
    padding: 10px 12px;
  }
}

.best-games-item-foot-logo {
  margin-top: auto;
  padding: 8px 10px 10px;
  min-height: 0;
  text-align: center;
  background: var(--button-bg-color);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.best-games-logo-row .best-games-item-foot-logo .best-games-item-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--button-text-color);
  text-align: center;
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
}

/* ─────────────────────────────────────────────────────────
   REVIEWS
───────────────────────────────────────────────────────── */
.reviews {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .reviews {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .reviews {
    margin-bottom: 56px;
  }
}

.reviews > h1,
.reviews > h2,
.reviews > h3 {
  text-align: center;
  margin: 0 0 24px;
}

.reviews__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .reviews__box {
    padding: 16px;
    gap: 12px;
  }
}

.reviews__box-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.reviews__box-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

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

.reviews__rate > span {
  font-size: 34px;
  font-weight: 900;
  color: var(--title-color);
  letter-spacing: -0.025em;
}

.reviews__stars svg {
  display: block;
  width: 120px;
  height: 22px;
  flex-shrink: 0;
}

.reviews__stars svg .star {
  fill: var(--table-2-color);
}

.reviews__stars svg[rating='1'] .star:nth-child(-n + 1),
.reviews__stars svg[rating='2'] .star:nth-child(-n + 2),
.reviews__stars svg[rating='3'] .star:nth-child(-n + 3),
.reviews__stars svg[rating='4'] .star:nth-child(-n + 4),
.reviews__stars svg[rating='5'] .star:nth-child(-n + 5) {
  fill: var(--gold);
}

.reviews__rate small {
  font-size: 13px;
  color: var(--text-color);
}

.reviews__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--bd-gold);
  color: var(--title-color);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .reviews__button:hover {
    background: var(--gold-dim);
  }
}

.reviews__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.reviews__item {
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: border-color 0.2s;
}

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

.reviews__item.hide {
  display: none;
}

.reviews__item-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.reviews__item-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%);
  color: var(--button-text-color);
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.reviews__item-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.reviews__item-box span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
}

.reviews__item-box small {
  font-size: 12px;
  color: var(--text-color);
}

.reviews__item-rate {
  margin-bottom: 8px;
}

.reviews__item-rate svg {
  display: block;
  width: 100px;
  height: 18px;
  flex-shrink: 0;
}

.reviews__item-rate svg .star {
  fill: var(--table-2-color);
}

.reviews__item-rate svg[rating='1'] .star:nth-child(-n + 1),
.reviews__item-rate svg[rating='2'] .star:nth-child(-n + 2),
.reviews__item-rate svg[rating='3'] .star:nth-child(-n + 3),
.reviews__item-rate svg[rating='4'] .star:nth-child(-n + 4),
.reviews__item-rate svg[rating='5'] .star:nth-child(-n + 5) {
  fill: var(--gold);
}

.reviews__item-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-color);
}

@media (max-width: 767px) {
  .reviews__item {
    padding: 14px;
  }
}

.load-reviews {
  display: flex;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────
   AUTHOR
───────────────────────────────────────────────────────── */
.author {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 0 80px;
}

@media (max-width: 1200px) {
  .author {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .author {
    margin-bottom: 56px;
  }
}

.author__block {
  position: relative;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
}

@media (max-width: 767px) {
  .author__block {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    gap: 14px;
  }
}

.author__image {
  max-width: 200px;
  width: 100%;
  flex-basis: 200px;
  border-radius: var(--r-md);
  overflow: hidden;
}

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

@media (max-width: 767px) {
  .author__image {
    max-width: 80px;
    flex-basis: auto;
  }
}

.author__content {
  max-width: 900px;
  width: 100%;
  flex: 1;
  min-width: 0;
}

.author__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.author__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--title-color);
}

@media (max-width: 767px) {
  .author__title {
    font-size: 17px;
  }
}

.author__title a {
  width: 26px;
  height: 26px;
  background: #4a6cf7;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.author__title a svg {
  fill: #fff;
}

@media (min-width: 1025px) {
  .author__title a:hover {
    background: #3d5ce8;
  }
}

.author__info {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-dim);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--bd-gold);
}

.author__text {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.65;
}

.author__text p {
  margin: 0;
}

/* ─────────────────────────────────────────────────────────
   REVIEW HERO
───────────────────────────────────────────────────────── */
.review-hero {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .review-hero {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .review-hero {
    margin-bottom: 56px;
  }
}

.review-hero__heading {
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0 0 24px;
}

@media (max-width: 767px) {
  .review-hero__heading {
    font-size: 26px;
  }
}

.review-hero__author {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-pill);
  padding: 6px 16px 6px 6px;
  margin-bottom: 20px;
}

.review-hero__author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0;
  background: var(--table-2-color);
  flex-shrink: 0;
}

.review-hero__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-hero__author-avatar-placeholder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #b8932e 100%);
  color: var(--button-text-color);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-hero__author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.review-hero__author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--title-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-hero__verified-badge {
  margin: 0;
  display: flex;
  align-items: center;
}

.review-hero__verified-badge svg path:not(:first-of-type) {
  fill: var(--gold);
}

.review-hero__verified-badge svg circle {
  fill: var(--table-1-color);
}

.review-hero__author-updated {
  font-size: 12px;
  color: var(--text-color);
}

.review-hero__author-updated strong {
  font-weight: 600;
  color: var(--gold);
}

.review-hero__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
}

.review-hero__text p {
  margin-bottom: 14px;
}

@media (max-width: 767px) {
  .review-hero__text {
    font-size: 15px;
  }
}

/* ─────────────────────────────────────────────────────────
   CASINO RATING  (table-rate / rate-card)
───────────────────────────────────────────────────────── */
.table-rate {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  counter-reset: rate-row;
}

/* New card-based layout */
.rate-card {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  counter-increment: rate-row;
}

@media (min-width: 1025px) {
  .rate-card:hover {
    border-color: var(--bd-gold);
    transform: translateX(4px);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35);
  }
}

/* #1 — glowing gold card */
.rate-card:first-child {
  background: linear-gradient(120deg, rgba(229, 184, 78, 0.07) 0%, var(--table-1-color) 60%);
  border-color: var(--bd-gold);
  box-shadow:
    0 0 0 1px var(--bd-gold),
    0 8px 40px rgba(229, 184, 78, 0.12);
}

/* animated glow pulse on #1 */
@keyframes gold-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px var(--bd-gold),
      0 8px 40px rgba(229, 184, 78, 0.12);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(229, 184, 78, 0.5),
      0 8px 52px rgba(229, 184, 78, 0.22);
  }
}

.rate-card:first-child {
  animation: gold-pulse 3s ease-in-out infinite;
}

.rate-card__num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rate-counter-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rate-card:nth-child(-n + 3) .rate-card__num {
  background: var(--rate-counter-bg-top);
  border-color: transparent;
  color: var(--button-text-color);
}

.rate-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 56px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--rate-image-border);
  flex-shrink: 0;
  background: #fff;
}

.rate-card__logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.rate-card__logo img {
  max-width: 80px;
  max-height: 40px;
  object-fit: contain;
  display: block;
}

.rate-card__info {
  flex: 1;
  min-width: 0;
}

.rate-card__description {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.5;
}

.rate-card__cta {
  flex-shrink: 0;
}

.rate-card__cta .button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  padding: 0 22px;
  height: 46px;
  font-weight: 700;
  font-size: 14px;
  color: var(--button-text-color);
  background: var(--button-bg-color);
  transition:
    background 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .rate-card__cta .button:hover {
    background: var(--button-bg-hover);
    box-shadow: 0 0 24px rgba(17, 236, 149, 0.3);
  }
}

.rate-card__cta .link {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
  color: var(--text-color);
}

@media (max-width: 767px) {
  .rate-card {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 12px;
  }

  .rate-card__info {
    grid-column: 2;
  }

  .rate-card__cta {
    grid-column: 1/-1;
  }

  .rate-card__cta .button {
    width: 100%;
  }
}

/* Legacy <table> fallback */
.table-rate > tbody {
  display: contents;
}

.table-rate tbody tr {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.25s;
  counter-increment: table-row;
}

@media (min-width: 1025px) {
  .table-rate tbody tr:hover {
    border-color: var(--bd-gold);
  }
}

.table-rate tbody tr:first-of-type {
  border-color: var(--bd-gold);
  background: linear-gradient(120deg, rgba(229, 184, 78, 0.07) 0%, var(--table-1-color) 60%);
  animation: gold-pulse 3s ease-in-out infinite;
}

.table-rate tbody tr:first-of-type::before,
.table-rate tbody tr:first-of-type::after {
  display: none;
}

.table-rate tbody tr td:first-of-type {
  flex-shrink: 0;
}

.table-rate tbody tr td:first-of-type > a {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--rate-image-border);
  width: 96px;
  height: 56px;
  background: #fff;
  position: relative;
}

.table-rate tbody tr td:first-of-type > a::before {
  content: counter(table-row);
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 0 0 var(--r-sm) 0;
  padding: 2px 8px;
  color: var(--button-text-color);
  font-weight: 800;
  font-size: 11px;
  background: var(--gold);
}

.table-rate tbody tr td:first-of-type > a img {
  max-width: 78px;
  max-height: 38px;
  object-fit: contain;
}

.table-rate tbody tr td:last-of-type {
  margin-left: auto;
}

.table-rate tbody tr td .controls {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.table-rate tbody tr td .button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  padding: 0 22px;
  min-width: 140px;
  height: 44px;
  font-weight: 700;
  font-size: 14px;
  color: var(--button-text-color);
  background: var(--button-bg-color);
  transition: background 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

@media (min-width: 1025px) {
  .table-rate tbody tr td .button:hover {
    background: var(--button-bg-hover);
  }
}

.table-rate tbody tr td .link {
  margin-top: 6px;
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
  color: var(--text-color);
}

@media (max-width: 767px) {
  .table-rate tbody tr {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .table-rate tbody tr td:last-of-type {
    grid-column: 1/-1;
    margin-left: 0;
  }

  .table-rate tbody tr td .button {
    width: 100%;
    margin: 0 auto;
  }
}

/* ─────────────────────────────────────────────────────────
   RECOMMEND SECTION
───────────────────────────────────────────────────────── */
.recommend-section {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .recommend-section {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .recommend-section {
    margin-bottom: 56px;
  }
}

.recommend-section__title {
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 24px;
  text-align: center;
  letter-spacing: -0.015em;
}

@media (max-width: 767px) {
  .recommend-section__title {
    font-size: 22px;
    margin-bottom: 16px;
  }
}

.recommend-section__list {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.recommend-section__item {
  max-width: calc(25% - 16px);
  width: 100%;
  flex-basis: calc(25% - 16px);
  margin: 0 8px 16px;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  transition:
    border-color 0.25s,
    transform 0.2s;
}

@media (min-width: 1025px) {
  .recommend-section__item:hover {
    border-color: var(--bd-gold);
    transform: translateY(-3px);
  }
}

@media (max-width: 991px) {
  .recommend-section__item {
    max-width: calc(33.33% - 16px);
    flex-basis: calc(33.33% - 16px);
  }
}

@media (max-width: 640px) {
  .recommend-section__item {
    max-width: calc(50% - 16px);
    flex-basis: calc(50% - 16px);
  }
}

.recommend-section__item img {
  width: 100%;
  display: block;
  transition: transform 0.35s;
}

@media (min-width: 1025px) {
  .recommend-section__item:hover img {
    transform: scale(1.04);
  }
}

.recommend-section__item p {
  margin: 0;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  text-align: center;
}

.download-section {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
  padding: 0;
}

@media (max-width: 1200px) {
  .download-section {
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .download-section {
    margin-bottom: 56px;
  }
}

.download-section-title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 28px;
  text-align: center;
  letter-spacing: -0.025em;
  cursor: pointer;
}

@media (max-width: 991px) {
  .download-section-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
}

.download-section-body {
  max-width: var(--s3-article-narrow);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.download-section-media {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.download-section-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 5 tiles per row; narrow viewports: horizontal scroll */
.download-section-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .download-section-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 4px;
    max-width: calc(100% + 16px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .download-section-cards .download-section-card {
    flex: 0 0 min(132px, 32vw);
    min-width: 100px;
  }
}

@media (max-width: 400px) {
  .download-section-cards .download-section-card {
    min-width: 92px;
  }
}

.download-section-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  min-width: 0;
  padding: 12px 6px;
  text-align: center;
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  box-sizing: border-box;
}

.download-section-card-brand {
  padding-left: 8px;
  padding-right: 8px;
}

.download-section-card-metric {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold);
}

.download-section-card-metric .download-section-card-star {
  order: 0;
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.download-section-card-metric-solo {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.download-section-card-metric-icon {
  margin-bottom: 0;
  min-height: 22px;
}

.download-section-card-ico {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--gold);
}

.download-section-card-caption {
  margin: 6px 0 0;
  max-width: 100%;
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-color);
  text-align: center;
}

.download-section-card-foot {
  margin: 4px 0 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--gold);
}

.download-section-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 480px;
  margin-top: 4px;
  padding: 0;
}

.download-section-button {
  flex: 1 1 180px;
  min-width: 0;
  max-width: 220px;
  height: 50px;
  border-radius: var(--r-md);
  background: #fff;
  transition:
    box-shadow 0.2s,
    transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .download-section-button:hover {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
  }
}

.download-section-button.is-black {
  background: #000;
}

/* ─────────────────────────────────────────────────────────
   REGISTRATION FORM
───────────────────────────────────────────────────────── */
.registration-form {
  padding: 0 0 80px;
}

@media (max-width: 1200px) {
  .registration-form {
    padding: 0 16px 80px;
  }
}

@media (max-width: 767px) {
  .registration-form {
    padding: 0 16px 56px;
  }
}

.registration-form__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  gap: 32px;
}

.registration-form__inner:has(.registration-form__image) {
  justify-content: space-between;
}

.registration-form__inner:not(:has(.registration-form__image)) .registration-form__form {
  flex: 0 1 640px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .registration-form__inner {
    padding: 0;
  }
}

@media (max-width: 991px) {
  .registration-form__inner {
    flex-direction: column-reverse;
    gap: 24px;
  }
}

.registration-form__image {
  max-width: 480px;
  width: 100%;
  flex: 1 1 45%;
  min-width: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.registration-form__image img {
  width: 100%;
  display: block;
}

@media (max-width: 991px) {
  .registration-form__image {
    max-width: 100%;
    flex-basis: auto;
    margin-right: 0;
  }
}

.registration-form__form {
  max-width: 640px;
  min-width: 0;
  width: 100%;
  flex: 1 1 50%;
  border-radius: var(--r-lg);
  padding: 32px 32px 28px;
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.registration-form__form h2,
.registration-form__title {
  color: var(--title-color);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 22px;
  text-align: center;
}

.registration-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  align-items: start;
  width: 100%;
}

.registration-form__fields > .registration-form__input {
  min-width: 0;
  margin: 0;
}

@media (max-width: 991px) {
  .registration-form__form {
    flex-basis: auto;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .registration-form__form {
    padding: 22px 16px;
  }

  .registration-form__fields {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.registration-form__input {
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 0 16px;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--title-color);
  transition: border-color 0.2s;
}

.registration-form__input:hover,
.registration-form__input:focus-within {
  border-color: var(--bd-gold);
}

.registration-form__input input,
.registration-form__input select {
  background: none;
  border: none;
  width: 100%;
  color: var(--title-color);
  font-size: 15px;
  font-family: inherit;
  -webkit-appearance: none;
}

.registration-form__input input::placeholder {
  color: var(--text-color);
}

.registration-form__input input:focus {
  outline: none;
}

.registration-form__button {
  margin: 18px auto 0;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  border-radius: var(--r-pill);
  padding: 0;
  width: 100%;
  height: 52px;
  cursor: pointer;
  background: var(--button-bg-color);
  color: var(--button-text-color);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.registration-form__button::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.5s;
}

@media (min-width: 1025px) {
  .registration-form__button:hover {
    background: var(--button-bg-hover);
    box-shadow: 0 0 28px rgba(17, 236, 149, 0.3);
  }

  .registration-form__button:hover::after {
    transform: translateX(120%);
  }
}

.registration-form__text {
  max-width: 100%;
  width: 100%;
  margin: 16px auto 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-color);
}

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

.registration-form__text ul,
.registration-form__text ol {
  text-align: left;
}

/* ─────────────────────────────────────────────────────────
   VIDEO BLOCK
───────────────────────────────────────────────────────── */
.video {
  position: relative;
  max-width: 800px;
  height: 400px;
  width: 100%;
  margin: 0 auto 20px;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  background: var(--table-2-color);
}

@media (max-width: 520px) {
  .video {
    height: 200px;
  }
}

.video__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.3s;
}

.video__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: inherit;
}

.video:hover .video__bg {
  filter: brightness(0.7);
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  z-index: 2;
}

.video__play svg {
  fill: var(--button-text-color);
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.video:hover .video__play {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 0 48px var(--gold-glow);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
}

/* ─────────────────────────────────────────────────────────
   LIVE STREAM
───────────────────────────────────────────────────────── */
.live-stream {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 1200px) {
  .live-stream {
    padding: 0 16px;
  }
}

@media (max-width: 991px) {
  .live-stream {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .live-stream {
    margin-bottom: 56px;
  }
}

.live-stream__stream {
  max-width: 545px;
  width: 100%;
}

@media (max-width: 991px) {
  .live-stream__stream {
    max-width: 100%;
    margin-bottom: 20px;
  }
}

.live-stream__iframe {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: var(--r-lg);
}

.live-stream__iframe iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.live-stream__content {
  max-width: 540px;
  width: 100%;
}

@media (max-width: 991px) {
  .live-stream__content {
    max-width: 100%;
  }
}

.live-stream__box {
  padding: 20px;
  border-radius: var(--r-lg);
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  margin-bottom: 10px;
}

.live-stream__content h1,
.live-stream__content h2,
.live-stream__content h3 {
  font-size: 32px;
  font-weight: 700;
  margin: 10px 0 0;
  color: var(--title-color);
}

@media (max-width: 767px) {
  .live-stream__content h1,
  .live-stream__content h2,
  .live-stream__content h3 {
    font-size: 22px;
  }
}

.live-stream__options {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.live-stream__option {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-color);
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

.live-stream__option span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f04040;
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.stream-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.stream-item__image {
  width: 90px;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
}

.stream-item__image img {
  width: 100%;
  display: block;
}

.stream-item__content {
  flex: 1;
  min-width: 0;
}

.stream-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 4px;
}

.stream-item__text {
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.5;
}

.stream-item .main-button {
  max-width: 140px;
  min-height: 44px;
  height: 44px;
  width: min(100%, 140px);
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  align-self: center;
}

@media (max-width: 540px) {
  .stream-item .main-button {
    max-width: 100%;
    width: min(100%, 140px);
    margin: 10px auto 0;
  }
}

/* ─────────────────────────────────────────────────────────
   PLAY SECTION (block-full-game)
───────────────────────────────────────────────────────── */
.play-section {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .play-section {
    padding: 0 16px;
  }
}

.play-section .inner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.play-section .bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}

.play-section .iframe {
  position: relative;
  z-index: 1;
}

.play-section .iframe-game {
  display: block;
  width: 100%;
  height: 480px;
  border: none;
}

@media (max-width: 767px) {
  .play-section .iframe-game {
    height: 260px;
  }
}

.play-section .box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  flex-wrap: wrap;
}

.play-section .box .left {
  flex: 1;
  min-width: 0;
}

.play-section .title {
  font-size: 22px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 6px;
}

.play-section .text {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.65;
}

.play-section .box .right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.btn-gray.play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
  white-space: nowrap;
}

@media (min-width: 1025px) {
  .btn-gray.play-btn:hover {
    border-color: var(--bd-gold);
    color: var(--gold);
  }
}

.btn-yellow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--button-text-color);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  white-space: nowrap;
}

.btn-yellow span {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (min-width: 1025px) {
  .btn-yellow:hover {
    background: var(--gold-lt);
    box-shadow: 0 0 24px var(--gold-glow);
  }
}

.play-section .table {
  padding: 0 24px 24px;
  position: relative;
  z-index: 1;
}

.play-section .table h2.title {
  font-size: 20px;
  margin-bottom: 14px;
}

.game-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.92);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.game-modal.active {
  display: flex;
}

.game-modal iframe {
  width: 90vw;
  height: 80vh;
  border: none;
  border-radius: var(--r-lg);
}

.game-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  color: var(--title-color);
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.game-modal .bottom {
  margin-top: 14px;
}

/* ─────────────────────────────────────────────────────────
   GAME BLOCK (game-block.handlebars)
───────────────────────────────────────────────────────── */
.play-block {
  display: grid;
  grid-template-areas: 'play-block__left play-block__right' 'content-section content-section';
  grid-template-columns: 65% 35%;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto 80px;
}

@media (max-width: 1200px) {
  .play-block {
    padding: 0 16px;
  }
}

@media (max-width: 991px) {
  .play-block {
    grid-template-areas: 'play-block__left' 'play-block__right' 'content-section';
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .play-block {
    margin-bottom: 56px;
  }
}

.play-block__left {
  grid-area: play-block__left;
  padding-right: 20px;
}

@media (max-width: 991px) {
  .play-block__left {
    padding-right: 0;
  }
}

.play-block__left h1,
.play-block__left h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 18px;
}

@media (max-width: 767px) {
  .play-block__left h1,
  .play-block__left h2 {
    font-size: 22px;
    margin-bottom: 14px;
  }
}

.play-block__box {
  width: 100%;
  min-height: 340px;
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
}

@media (max-width: 767px) {
  .play-block__box {
    min-height: 190px;
  }
}

.play-block__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: blur(4px) brightness(0.4);
}

.play-block__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.play-block__box-inner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  padding: 16px;
}

.play-block__box-inner.hide {
  display: none;
}

.play-block__iframe {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.play-block__iframe iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.play-block__iframe.show {
  opacity: 1;
  pointer-events: all;
}

.play-block__button {
  border: none;
  cursor: pointer;
  text-decoration: none;
  max-width: 240px;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  background: rgba(180, 180, 200, 0.2);
  color: var(--title-color);
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
}

@media (min-width: 1025px) {
  .play-block__button:hover {
    background: rgba(180, 180, 200, 0.35);
  }
}

.play-block__button + .play-block__button {
  margin-top: 0;
}

.play-block__button--casino {
  background: var(--gold);
  color: var(--button-text-color);
}

@media (min-width: 1025px) {
  .play-block__button--casino:hover {
    background: var(--gold-lt);
    box-shadow: 0 0 28px var(--gold-glow);
  }
}

@media (max-width: 767px) {
  .play-block__button {
    height: 42px;
    max-width: 200px;
  }
}

.play-block__right {
  grid-area: play-block__right;
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 991px) {
  .play-block__right {
    padding-left: 0;
    margin-top: 20px;
  }
}

.play-block__right h1,
.play-block__right h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 12px;
}

.play-block__right table {
  border-radius: var(--r-md);
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.play-block__right table tr td,
.play-block__right table tr th {
  padding: 10px 16px;
  font-size: 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  background: var(--table-1-color);
}

.play-block__right table tr th {
  color: var(--title-color);
  font-weight: 600;
  background: var(--table-header-color);
}

.play-block__right table tr:last-of-type td {
  border-bottom: none;
}

.play-block .content-section {
  padding: 0;
  grid-area: content-section;
  width: 100%;
  margin: 24px 0 0;
}

.play-block .content-section h1,
.play-block .content-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 20px;
}

@media (max-width: 767px) {
  .play-block .content-section h1,
  .play-block .content-section h2 {
    font-size: 22px;
    margin: 0 0 14px;
  }
}

/* ─────────────────────────────────────────────────────────
   MOBILE NAV
───────────────────────────────────────────────────────── */
.mobile-nav {
  display: none;
}

@media (max-width: 767px) {
  .mobile-nav {
    display: flex;
    justify-content: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    height: 64px;
    border-top: 1px solid var(--border-color);
    background: color-mix(in srgb, var(--mobile-bg-color) 95%, transparent);
    backdrop-filter: blur(14px);
    padding: 0 30px;
  }
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.mobile-nav__list li a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 3px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-nav__list li a img {
  max-width: 22px;
}

@media (min-width: 1025px) {
  .mobile-nav__list li a:hover {
    color: var(--gold);
  }
}

/* ─────────────────────────────────────────────────────────
   PROMOPANEL
───────────────────────────────────────────────────────── */
/* Panel visible by default. Background on <a> (same as gold/dark-blue); in style.css some colors
   are on .promopanel__inner — here background lives on the panel row. */
.promopanel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  /* fallback when promopanelBlock.style is empty/unknown or BEM-unique in prod */
  background: linear-gradient(90deg, #1a1200 0%, #2a1e00 100%);
  border-top: 1px solid var(--bd-gold);
}

.promopanel.hide {
  display: none;
}

.promopanel.green {
  background: linear-gradient(90deg, #0a2a1c 0%, #0d3522 100%);
  border-top: 1px solid rgba(17, 236, 149, 0.3);
}

/* as in style.css: template uses class "promopanel blue" / "promopanel orange" */
.promopanel.blue {
  background: linear-gradient(90deg, #1d2ba5 0%, #3d22c4 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.promopanel.orange {
  background: linear-gradient(90deg, #ff5f1b 0%, #ff422d 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.promopanel.gold,
.promopanel.dark-blue {
  /* same as default .promopanel — kept for explicit CMS class match */
  background: linear-gradient(90deg, #1a1200 0%, #2a1e00 100%);
  border-top: 1px solid var(--bd-gold);
}

.promopanel.red {
  background: linear-gradient(90deg, #2a0000, #3a0000);
  border-top: 1px solid rgba(200, 50, 50, 0.3);
}

.promopanel__inner {
  max-width: var(--max-w);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
}

.promopanel__left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
}

.promopanel__left img {
  max-height: 34px;
  width: auto;
}

.promopanel__main {
  font-size: 17px;
  font-weight: 700;
  color: var(--title-color);
  flex: 1;
  text-align: center;
}

.promopanel__button {
  background: var(--button-bg-color);
  color: var(--button-text-color);
  border-radius: var(--r-pill);
  padding: 0 20px;
  height: 40px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.promopanel__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────
   POPUP (Reviews)
───────────────────────────────────────────────────────── */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}

.popup.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.popup__holder {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  margin: 16px;
}

.popup__content {
  background: var(--table-1-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-xl);
  padding: 32px;
}

.review-popup__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 18px;
}

.review-popup__field {
  margin-bottom: 14px;
}

.review-popup__field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 4px;
}

.review-popup__field small {
  display: block;
  font-size: 12px;
  color: var(--text-color);
  margin-bottom: 7px;
}

.review-popup__field input {
  width: 100%;
  height: 46px;
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  color: var(--title-color);
  font-size: 14px;
  padding: 0 14px;
  font-family: var(--s3-font-body);
  transition: border-color 0.2s;
}

.review-popup__field input:focus {
  border-color: var(--bd-gold);
  outline: none;
}

.comments-rating {
  border: none;
  padding: 0;
  margin: 0 0 14px;
}

.rating-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
}

.rating-container input {
  display: none;
}

.rating-container label {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-sm);
  color: var(--text-color);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.rating-container input:checked ~ label,
.rating-container label:hover,
.rating-container label:hover ~ label {
  background: var(--gold);
  border-color: transparent;
  color: var(--button-text-color);
}

.review-popup__comment textarea {
  width: 100%;
  height: 110px;
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  color: var(--title-color);
  font-size: 14px;
  padding: 12px 14px;
  font-family: var(--s3-font-body);
  resize: vertical;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}

.review-popup__comment textarea:focus {
  border-color: var(--bd-gold);
  outline: none;
}

.review-popup__buttons {
  display: flex;
  gap: 10px;
}

.review-popup__cancel,
.review-popup__submit {
  flex: 1;
  height: 46px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.review-popup__cancel {
  background: var(--table-2-color);
  border: 1px solid var(--border-color);
  color: var(--text-color);
}

.review-popup__submit {
  background: var(--button-bg-color);
  color: var(--button-text-color);
  border: none;
}

@media (min-width: 1025px) {
  .review-popup__cancel:hover {
    border-color: var(--bd-gold);
    color: var(--gold);
  }

  .review-popup__submit:hover {
    background: var(--button-bg-hover);
  }
}

.review-success {
  text-align: center;
}

.review-success img {
  margin-bottom: 14px;
}

.review-success__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 18px;
}

.review-success .review-popup__cancel {
  max-width: 180px;
  margin: 0 auto;
}

.hide {
  display: none;
}

/* ─────────────────────────────────────────────────────────
   FOOTER (centered brand + badge row + socials + 4 link columns)
───────────────────────────────────────────────────────── */
.footer {
  --footer-surface: #000000;
  --footer-link: #ffffff;
  --footer-link-muted: rgba(255, 255, 255, 0.6);
  background: var(--footer-surface);
  border-top: none;
  padding: 56px 0 0;
  color: var(--footer-link);
}

@media (max-width: 1200px) {
  .footer {
    padding: 48px 20px 0;
  }
}

@media (max-width: 767px) {
  .footer {
    /* extra bottom space when fixed promopanel is shown */
    padding: 40px 16px 80px;
  }
}

.footer__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-sizing: border-box;
}

/* Top: logo, trust badges, socials */
.footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 0 0 8px;
}

.footer__brand {
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.footer__logo img {
  max-width: min(100%, 400px);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

/* Trust / compliance badges (horizontal row) */
.footer__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex: 0 0 auto;
}

.footer__badge img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Socials: visible row under badges */
.footer__socials.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px 14px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  transition:
    background 0.2s,
    transform 0.2s;
}

@media (min-width: 1025px) {
  .footer__social-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.08);
  }
}

.footer__social-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.95;
}

/* Two CMS blocks → 4 visual columns (2×2 column-flow per block) */
.footer__link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 4vw, 56px);
  row-gap: 40px;
  width: 100%;
  margin: 40px 0 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hide when no nav blocks rendered (whitespace-only still has no .footer-nav) */
.footer__link-grid:not(:has(.footer-nav)) {
  display: none;
  margin: 0;
  min-height: 0;
}

.footer__link-grid .footer-nav {
  min-width: 0;
  text-align: left;
}

.footer__link-grid .footer-nav:only-child {
  grid-column: 1 / -1;
}

.footer__link-grid .footer-nav:only-child .footer-nav__list {
  column-count: 2;
  column-gap: 32px;
}

@media (min-width: 1024px) {
  .footer__link-grid .footer-nav .footer-nav__list {
    column-count: 2;
    column-gap: clamp(20px, 3vw, 36px);
  }

  .footer__link-grid .footer-nav:only-child .footer-nav__list {
    column-count: 4;
  }
}

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

  .footer__link-grid .footer-nav:only-child .footer-nav__list,
  .footer__link-grid .footer-nav .footer-nav__list {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .footer__link-grid .footer-nav .footer-nav__list,
  .footer__link-grid .footer-nav:only-child .footer-nav__list {
    column-count: 1;
  }
}

.footer__link-grid .footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__link-grid .footer-nav__list li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.footer__link-grid .footer-nav__list li + li {
  margin-top: 10px;
}

.footer-nav__title {
  color: var(--footer-link);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  padding: 0;
  break-inside: avoid;
}

.footer__link-grid .footer-nav__list li a {
  color: var(--footer-link);
  text-decoration: none;
  transition:
    color 0.2s,
    opacity 0.2s;
}

@media (min-width: 1025px) {
  .footer__link-grid .footer-nav__list li a:hover {
    color: var(--gold);
  }
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 40px;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .footer__bottom {
    justify-content: center;
    padding: 20px 16px 32px;
  }
}

.copyright {
  color: var(--footer-link-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  max-width: 64ch;
}

/* Legacy: keep .socials if used without footer__ prefix */
.footer .socials li svg {
  transition: transform 0.2s;
}

:root {
--login-btn: rgba(255, 80, 79, 1);
--login-btn-color: rgba(255,255,255, 1);
--registr-btn: rgba(57, 204, 89, 1);
--button-bg-color: rgba(57, 204, 89, 1);
--button-text-color: #FFFFFF;
--fh-bg-color: #FFFFFF;
--text-color: rgba(24, 41, 71, 1);
--title-color: rgba(24, 41, 71, 1);
--menu-color: rgba(24, 41, 71, 1);
--mobile-bg-color: #FFFFFF;
--table-header-color: rgba(226, 249, 255, 1);
--table-1-color: rgba(226, 249, 255, 1);
--table-2-color: rgba(255, 255, 255, 1);
--main-theme-color: rgba(255, 255, 255, 1);
--button-bg-hover: #11ea41;
--border-color: rgba(76, 157, 232, 0.07);
--rate-image-border: #3B3B3B;
--rate-counter-bg: #11182C;
--rate-counter-bg-top: linear-gradient(90deg, #184fff 0%, #0aa5ff 100%);
--footer-menu-color: rgba(255,255,255, 1);
--footer-text-color: rgba(255,255,255, 1);
--games-nav-bg-color: rgba(57, 204, 89, 1);
--games-nav-border-color: rgba(12, 90, 201, 1);
--games-nav-text-color: rgba(255,255,255, 1);
--updated-block-color: rgba(0,0,0,1);
}