﻿:root {
  --bg: #0a0a22;
  --bg-2: #0f0f2e;
  --surface: #17164a;
  --surface-2: #211c5e;
  --surface-3: #2c2378;
  --border: #2f2a72;
  --border-light: #4a3fb0;

  --purple: #6b3cf0;
  --purple-2: #8f5cff;
  --violet-glow: rgba(143, 92, 255, 0.45);
  --blue: #3d7bff;
  --green: #8fe04a;
  --red: #ff3b4f;

  --yellow: #ffdc1f;
  --yellow-2: #ffb400;
  --yellow-glow: rgba(255, 196, 0, 0.45);

  --text: #ffffff;
  --text-2: #d6d3f5;
  --muted: #9b97cf;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  --header-h: 58px;
  --mobile-bar-h: 64px;
  --container: 1320px;
  --gutter: 24px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font:
    "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Reset ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-2);
  background:
    radial-gradient(
      900px 500px at 85% -10%,
      rgba(107, 60, 240, 0.28),
      transparent 70%
    ),
    radial-gradient(
      700px 400px at -10% 30%,
      rgba(61, 123, 255, 0.14),
      transparent 70%
    ),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

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

.btn--primary {
  color: #1a1033;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 6px 20px var(--yellow-glow);
}

.btn--primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 8px 28px var(--yellow-glow);
}

.btn--secondary {
  color: var(--text);
  background: rgba(10, 10, 34, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Layout ---------- */

.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: var(--container);
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 20px;
  background: linear-gradient(180deg, #0d1033 0%, #0a0b26 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.header__burger {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: #1a1033;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 3px 12px var(--yellow-glow);
  transition: transform 0.15s ease;
}

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

.header__burger svg {
  width: 18px;
  height: 18px;
}

.header__sport {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid #3b4a8f;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.header__sport:hover {
  border-color: var(--purple-2);
  background: rgba(143, 92, 255, 0.12);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.header__nav::-webkit-scrollbar {
  display: none;
}

.header__nav-link {
  position: relative;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  opacity: 0.9;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--yellow);
  opacity: 1;
}

.header__logo {
  justify-self: center;
}

.header__logo img {
  width: auto;
  height: 40px;
  filter: drop-shadow(0 2px 10px rgba(107, 60, 240, 0.5));
}

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

.header__search {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 6px;
  border-radius: 7px;
  color: var(--text);
  transition: background-color 0.2s ease;
}

.header__search:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header__search svg {
  width: 18px;
  height: 18px;
}

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

.header__actions .btn {
  min-height: 32px;
  padding: 0 16px;
  border-radius: 7px;
  font-size: 13px;
}

.header__actions .btn--secondary {
  background: transparent;
  border-width: 1.5px;
}

.header__signup {
  position: relative;
}

.header__badge {
  position: absolute;
  top: -9px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  background: linear-gradient(90deg, var(--purple) 0%, var(--blue) 100%);
  box-shadow: 0 2px 8px rgba(61, 123, 255, 0.5);
}

.header__badge svg {
  width: 10px;
  height: 10px;
}

.header__lang {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-left: 4px;
  overflow: hidden;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface-2);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.2);
}

.header__lang:empty {
  display: none;
}

.header__lang img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

[dir="rtl"] .header__badge {
  right: auto;
  left: -8px;
}

/* ---------- Sidebar ---------- */

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 300px;
  max-width: 86vw;
  padding: 16px;
  overflow-y: auto;
  background: linear-gradient(180deg, #14123f 0%, var(--bg-2) 100%);
  border-right: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

[dir="rtl"] .sidebar {
  inset: 0 0 0 auto;
  border-right: 0;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
}

.sidebar.is-open {
  transform: none !important;
}

.sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sidebar__logo img {
  width: auto;
  height: 40px;
}

.sidebar__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
}

.sidebar__close svg {
  width: 18px;
  height: 18px;
}

.sidebar__banner {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: 0 6px 24px rgba(107, 60, 240, 0.3);
}

.sidebar__banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sidebar__banner:hover img {
  transform: scale(1.04);
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 800;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.sidebar__link svg {
  width: 16px;
  height: 16px;
  color: var(--purple-2);
}

.sidebar__link:hover {
  color: var(--text);
  border-color: var(--border-light);
}

.sidebar__link.active {
  color: var(--text);
  background: linear-gradient(90deg, var(--purple) 0%, var(--surface-3) 100%);
  border-color: var(--purple-2);
}

.sidebar__link.active svg {
  color: var(--yellow);
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 5, 20, 0.7);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

body.menu-open .sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

/* ---------- Banner slider ---------- */

.banners {
  margin-bottom: 24px;
}

.slider {
  position: relative;
}

.slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
}

.slider__track::-webkit-scrollbar {
  display: none;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  aspect-ratio: 1024 / 384;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  scroll-snap-align: start;
  background: linear-gradient(120deg, #3b1d9e 0%, #6b3cf0 55%, #2a1670 100%);
  isolation: isolate;
}

.slide__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(40, 14, 120, 0.85) 0%,
    rgba(60, 24, 160, 0.55) 38%,
    transparent 65%
  );
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.slide__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 55%;
  padding: 32px 56px;
}

.slide__tag {
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
}

.slide__subtitle {
  font-size: clamp(18px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
}

.slide__title {
  font-size: clamp(30px, 4.6vw, 60px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  background: linear-gradient(
    180deg,
    #fff27a 0%,
    var(--yellow) 45%,
    var(--yellow-2) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 3px 0 rgba(90, 30, 0, 0.35));
}

.slide__note {
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text);
}

.slide__btn {
  min-width: 200px;
  min-height: 46px;
  margin-top: 18px;
  font-size: 16px;
}

.slide .btn--secondary {
  color: #1a1033;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
  border: 0;
  box-shadow: 0 6px 20px var(--yellow-glow);
}

.slide__content:has(> .slide__btn:only-child) {
  align-self: flex-end;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.slider__dot {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  transition:
    background-color 0.2s ease,
    width 0.2s ease;
}

.slider__dot.is-active {
  width: 40px;
  background: var(--purple-2);
}

/* ---------- Section nav (TOC pills) ---------- */

.sports {
  margin-bottom: 28px;
}

.sports__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.sports__list::-webkit-scrollbar {
  display: none;
}

.sports__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  background: rgba(10, 10, 34, 0.6);
  border: 1.5px solid var(--border-light);
  scroll-snap-align: start;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sports__item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.sports__item:first-child,
.sports__item:hover {
  background: linear-gradient(180deg, #4a2fc0 0%, #3a2499 100%);
  border-color: var(--purple-2);
  box-shadow: 0 4px 18px rgba(107, 60, 240, 0.35);
}

/* ---------- Page content ---------- */

.page-content {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(33, 28, 94, 0.55) 0%,
    rgba(15, 15, 46, 0.55) 100%
  );
  border: 1px solid var(--border);
}

.page-content > *:first-child {
  margin-top: 0;
}

.page-content > *:last-child {
  margin-bottom: 0;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--text);
  font-weight: 900;
  line-height: 1.2;
}

.page-content h1 {
  margin: 0 0 20px;
  font-size: clamp(26px, 3.4vw, 40px);
  text-transform: uppercase;
}

.page-content h2 {
  position: relative;
  margin: 40px 0 16px;
  padding-left: 16px;
  font-size: clamp(22px, 2.6vw, 30px);
  text-transform: uppercase;
}

.page-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--yellow), var(--purple-2));
}

.page-content h3 {
  margin: 28px 0 12px;
  font-size: clamp(19px, 2vw, 23px);
  color: var(--yellow);
}

.page-content h4 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.page-content p {
  margin: 0 0 16px;
}

.page-content strong,
.page-content b {
  color: var(--text);
  font-weight: 800;
}

.page-content a {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: rgba(255, 220, 31, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.page-content a:hover {
  text-decoration-color: var(--yellow);
}

.page-content ul,
.page-content ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.page-content li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}

.page-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(143, 224, 74, 0.6);
}

.page-content ol {
  counter-reset: item;
}

.page-content ol li {
  counter-increment: item;
}

.page-content ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  color: #1a1033;
  background: var(--yellow);
}

.page-content img {
  margin: 24px auto;
  max-width: 800px;
  width: 100%;
  max-height: 550px;
  height: auto;
  object-fit: contain;
}

.page-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(107, 60, 240, 0.16);
  border-left: 4px solid var(--purple-2);
}

.page-content blockquote p:last-child {
  margin-bottom: 0;
}

.page-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 15px;
}

.page-content th,
.page-content td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.page-content th {
  color: var(--text);
  font-weight: 900;
  background: var(--surface-3);
}

.page-content tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.025);
}

.page-content tr:last-child td {
  border-bottom: 0;
}

.page-content hr {
  margin: 32px 0;
  border: 0;
  height: 1px;
  background: var(--border);
}

[dir="rtl"] .page-content h2 {
  padding-left: 0;
  padding-right: 16px;
}

[dir="rtl"] .page-content h2::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .page-content li {
  padding-left: 0;
  padding-right: 30px;
}

[dir="rtl"] .page-content li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .page-content th,
[dir="rtl"] .page-content td {
  text-align: right;
}

/* ---------- CMS: review block (casino toplist) ---------- */

.review-block {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-block__header,
.review-block__row {
  display: grid;
  grid-template-columns: minmax(200px, 1.1fr) 1.4fr 190px;
  align-items: center;
  gap: 16px;
}

.review-block__header {
  padding: 0 20px 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.review-block__row {
  position: relative;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.review-block__row:hover {
  border-color: var(--border-light);
}

.review-block__row--highlighted {
  background: linear-gradient(
    90deg,
    #3a2499 0%,
    var(--surface-2) 60%,
    var(--surface) 100%
  );
  border-color: var(--purple-2);
  box-shadow:
    0 0 0 1px rgba(143, 92, 255, 0.35),
    0 8px 26px rgba(107, 60, 240, 0.35);
}

.review-block__label {
  position: absolute;
  top: -9px;
  left: 16px;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--red);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.review-block__casino {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-block__number {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--border-light);
}

.review-block__row:nth-child(-n + 4) .review-block__number {
  color: #1a1033;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-2));
  border-color: transparent;
}

.review-block__logo-wrapper {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 92px;
  height: 48px;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(5, 5, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.review-block .review-block__logo {
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}

.review-block__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
}

.review-block__bonus {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--yellow);
}

.review-block__code {
  display: block;
  width: fit-content;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text-2);
  border: 1px dashed var(--border-light);
  background: rgba(255, 255, 255, 0.03);
}

.review-block__action {
  display: flex;
  justify-content: flex-end;
}

.review-block .review-block__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #1a1033;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.25) inset,
    0 6px 18px var(--yellow-glow);
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.review-block .review-block__button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 8px 26px var(--yellow-glow);
}

[dir="rtl"] .review-block__label {
  left: auto;
  right: 16px;
}

@media (max-width: 768px) {
  .review-block__header {
    display: none;
  }

  .review-block__row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 14px 14px;
  }

  .review-block__name {
    font-size: 16px;
  }

  .review-block__logo-wrapper {
    width: 80px;
    height: 42px;
  }
}

/* ---------- CMS: responsive table (lexical) ---------- */

.lexical-table-container {
  margin: 24px 0;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(10, 10, 34, 0.35);
}

.lexical-table-container .lexical-table {
  display: table;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  border-collapse: collapse;
  font-size: 15px;
}

.lexical-table-container .lexical-table-cell {
  padding: 12px 16px !important;
  vertical-align: top;
  border: 0 !important;
  border-bottom: 1px solid var(--border) !important;
}

.lexical-table-container .lexical-table-row:last-child .lexical-table-cell {
  border-bottom: 0 !important;
}

.lexical-table-container .lexical-table-cell:first-child {
  width: 34%;
  font-weight: 900;
  color: var(--text);
  background: rgba(107, 60, 240, 0.14);
  border-right: 1px solid var(--border) !important;
}

.lexical-table-container
  .lexical-table-row:nth-child(even)
  .lexical-table-cell {
  background-color: rgba(255, 255, 255, 0.025);
}

.lexical-table-container
  .lexical-table-row:nth-child(even)
  .lexical-table-cell:first-child {
  background-color: rgba(107, 60, 240, 0.2);
}

.lexical-table-container .lexical-table-cell p {
  margin: 0;
}

.lexical-table-container .lexical-table-cell p + p {
  margin-top: 8px;
}

[dir="rtl"] .lexical-table-container .lexical-table-cell:first-child {
  border-right: 0 !important;
  border-left: 1px solid var(--border) !important;
}

@media (max-width: 600px) {
  .lexical-table-container .lexical-table,
  .lexical-table-container tbody,
  .lexical-table-container .lexical-table-row,
  .lexical-table-container .lexical-table-cell {
    display: block;
    width: 100%;
  }

  .lexical-table-container .lexical-table-row {
    border-bottom: 1px solid var(--border);
  }

  .lexical-table-container .lexical-table-row:last-child {
    border-bottom: 0;
  }

  .lexical-table-container .lexical-table-cell,
  .lexical-table-container .lexical-table-row:last-child .lexical-table-cell {
    padding: 10px 14px !important;
    border: 0 !important;
  }

  .lexical-table-container .lexical-table-cell:first-child {
    width: 100%;
    padding-bottom: 8px !important;
    font-size: 14px;
  }

  .lexical-table-container .lexical-table-cell:not(:first-child) {
    padding-top: 8px !important;
  }
}

/* ---------- CMS: FAQ block ---------- */

.faq-block {
  margin: 40px 0;
}

.faq-block__item {
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-block__item:hover {
  border-color: var(--border-light);
}

.faq-block__item[open] {
  border-color: var(--purple-2);
  box-shadow: 0 6px 22px rgba(107, 60, 240, 0.25);
}

.faq-block__summary {
  position: relative;
  display: flex;
  align-items: center;
  padding: 16px 56px 16px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-block__summary::-webkit-details-marker {
  display: none;
}

.faq-block__summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 7px;
  background:
    linear-gradient(#1a1033, #1a1033) center / 12px 2.5px no-repeat,
    linear-gradient(#1a1033, #1a1033) center / 2.5px 12px no-repeat,
    linear-gradient(180deg, var(--yellow), var(--yellow-2));
  transition: background-size 0.2s ease;
}

.faq-block__item[open] .faq-block__summary::after {
  background-size:
    12px 2.5px,
    2.5px 0,
    auto;
}

.page-content .faq-block__question {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
  color: var(--text);
}

.faq-block__answer {
  padding: 0 20px 18px;
  color: var(--text-2);
}

.page-content .faq-block__answer p {
  margin: 0 0 10px;
}

.page-content .faq-block__answer p:last-child {
  margin-bottom: 0;
}

[dir="rtl"] .faq-block__summary {
  padding: 16px 20px 16px 56px;
}

[dir="rtl"] .faq-block__summary::after {
  right: auto;
  left: 18px;
}

/* ---------- CMS: author block ---------- */

.author-block {
  margin: 36px 0 0;
}

.author-block__inner {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      400px 160px at 0% 0%,
      rgba(143, 92, 255, 0.25),
      transparent 70%
    ),
    linear-gradient(90deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-light);
}

.author-block__inner::before {
  content: "";
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8.5' r='4' fill='%231a1033'/%3E%3Cpath d='M4 20.5c0-4 3.6-6.5 8-6.5s8 2.5 8 6.5z' fill='%231a1033'/%3E%3C/svg%3E")
      center / 30px no-repeat,
    linear-gradient(180deg, var(--yellow), var(--yellow-2));
  box-shadow:
    0 0 0 3px rgba(255, 220, 31, 0.2),
    0 6px 18px var(--yellow-glow);
}

.author-block__body {
  min-width: 0;
}

.author-block__name {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text);
}

.page-content .author-block__bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 600px) {
  .author-block__inner {
    flex-direction: column;
    gap: 12px;
    padding: 18px 16px;
  }

  .author-block__inner::before {
    width: 48px;
    height: 48px;
    background-size: 26px, auto;
  }
}

/* ---------- Footer ---------- */

.footer {
  margin-top: auto;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--gutter);
}

.footer__logo img {
  width: auto;
  height: 52px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--yellow);
}

.footer__legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.footer__age {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
  border: 2px solid var(--red);
}

.footer__disclaimer {
  flex: 1 1 320px;
}

.footer__disclaimer p {
  margin: 0 0 8px;
}

.footer__copyright {
  flex: 1 0 100%;
  margin: 0;
}

.footer__payments {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__pay {
  display: grid;
  place-items: center;
  height: 48px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.footer__pay img {
  width: auto;
  height: 32px;
}

/* ---------- Mobile bottom bar ---------- */

.mobile-bar {
  display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .header__nav {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --gutter: 14px;
  }

  body {
    padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom));
  }

  .header {
    grid-template-columns: auto 1fr;
    gap: 10px;
    padding: 0 var(--gutter);
  }

  .header__left,
  .header__search,
  .header__lang {
    display: none;
  }

  .header__logo {
    justify-self: start;
  }

  .header__logo img {
    height: 38px;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }

  .main {
    padding-top: 14px;
  }

  .slide {
    aspect-ratio: 16 / 11;
    min-height: 0;
    align-items: flex-start;
  }

  .slide::before {
    background: linear-gradient(
      90deg,
      rgba(40, 14, 120, 0.9) 0%,
      rgba(60, 24, 160, 0.55) 55%,
      transparent 85%
    );
  }

  .slide__img {
    object-position: 70% center;
  }

  .slide__content {
    max-width: 72%;
    height: 100%;
    padding: 18px;
  }

  .slide__btn {
    min-width: 0;
    min-height: 42px;
    margin-top: auto;
    padding: 0 22px;
    font-size: 15px;
  }

  .sports__list {
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    scroll-padding-inline: var(--gutter);
  }

  .sports__item {
    min-height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }

  .page-content {
    padding: 20px 16px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    padding: 32px var(--gutter);
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: linear-gradient(180deg, #14123f 0%, #0d0c2e 100%);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.4);
  }

  .mobile-bar__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    font-size: 11px;
    font-weight: 800;
    color: var(--text);
    transition: color 0.2s ease;
  }

  .mobile-bar__icon {
    position: relative;
    display: grid;
    place-items: center;
  }

  .mobile-bar__item svg {
    width: 22px;
    height: 22px;
  }

  .mobile-bar__item > span:last-child {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bar__item:hover,
  .mobile-bar__item.active {
    color: var(--yellow);
  }

  .mobile-bar__item--accent {
    justify-content: flex-end;
    padding-bottom: 9px;
  }

  .mobile-bar__item--accent .mobile-bar__icon {
    width: 46px;
    height: 46px;
    margin-top: -22px;
    border-radius: 12px;
    color: #1a1033;
    background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-2) 100%);
    box-shadow:
      0 0 0 4px #14123f,
      0 6px 18px var(--yellow-glow);
  }

  .mobile-bar__item--accent:hover {
    color: var(--text);
  }

  .mobile-bar__count {
    position: absolute;
    top: -7px;
    right: -10px;
    display: grid;
    place-items: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    background: var(--red);
    box-shadow: 0 0 0 2px #14123f;
  }
}

@media (max-width: 400px) {
  .header__logo img {
    height: 32px;
  }

  .header__actions .btn {
    padding: 0 10px;
    font-size: 13px;
  }

  .slide__content {
    max-width: 80%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* --- Slots Block Styles --- */
.slots-wrapper {
  margin: 30px 0;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  align-items: start;
}
.slot-card {
  text-align: center;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1;
}
.slot-image {
  border-radius: 6px;
  overflow: hidden;
}
.slot-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
}
.slot-name {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: calc(100% - 16px);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  background: #450C88;
  color: #FFFFFF;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
}
.slot-card:hover .slot-name{
  opacity: 1;
}
.slot-card:hover::before {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
}
@media (max-width: 600px) {
  .slots-grid {
    gap: 10px;
  }
  .slot-name {
    font-size: 12px;
  }
}


/* --- Review Block Styles --- */
#review-block {
  margin: 32px 0;
  background: #151b3a;
  border-radius: 14px;
  padding: 20px 16px 16px;
  overflow: hidden;
}
#review-block .review-block__header {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 16px;
  padding: 0 24px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}
.review-block__header span:first-child{
  padding-left: 32px;
}
.review-block__header span:nth-child(2){
  text-align: center;
}
#review-block .review-block__row {
  display: grid;
  grid-template-columns: 280px 1fr 200px;
  gap: 16px;
  align-items: center;
  padding: 16px 24px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
#review-block .review-block__row:last-child{
  margin: 0;
}
#review-block .review-block__row:hover {
  background: rgba(255, 255, 255, 0.05);
}
#review-block .review-block__row--highlighted {
  background: rgba(80, 100, 200, 0.18);
  border-color: rgba(100, 120, 220, 0.25);
}
#review-block .review-block__row--highlighted:hover {
  background: rgba(80, 100, 200, 0.24);
}
#review-block .review-block__label {
  position: absolute;
  top: -1px;
  left: 0;
  width: 120px;
  transform: rotate(-46deg) translate(-36px, -11px);
  height: 20px;
  padding: 0;
  font-size: 7px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 20px;
  color: #fff;
}
#review-block .review-block__casino {
  display: flex;
  align-items: center;
  gap: 12px;
}
#review-block .review-block__number {
  font-weight: 700;
  font-size: 15px;
  min-width: 20px;
  color: rgba(255, 255, 255, 0.7);
}
#review-block .review-block__logo-wrapper{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 90px;
}
#review-block .review-block__logo {
  object-fit: contain;
  box-shadow: none;
  max-height: 90px;
  margin: 0;
}
#review-block .review-block__name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  flex-grow: 1;
}
#review-block .review-block__bonus {
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
#review-block .review-block__bonus:has(span:nth-child(2)) span:first-child{
  color: #FFDA03;
}
#review-block .review-block__bonus strong,
#review-block .review-block__bonus b {
  color: #fff;
  font-weight: 700;
}
#review-block .review-block__code {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}
#review-block .review-block__action {
  display: flex;
  justify-content: flex-end;
}
#review-block .review-block__button {
  display: inline-block;
  padding: 12px 32px;
  background: #e91e63;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
}
#review-block .review-block__button:hover {
  background: #d81b60;
  transform: translateY(-1px);
}
@media (max-width: 750px) and (min-width: 601px) {
  #review-block .review-block__header {
    grid-template-columns: 1fr 1fr;
  }
  #review-block .review-block__row {
    grid-template-columns: 1fr 1fr;
  }
  .review-block__action {
    grid-column-start: 1;
    grid-column-end: 3;
  }
  #review-block .review-block__button {
    width: 100%;
  }
}
@media (max-width: 600px) {
  #review-block {
    padding: 8px;
  }
  #review-block .review-block__header {
    display: none;
  }
  #review-block .review-block__row {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding: 20px 16px;
  }
  #review-block .review-block__logo-wrapper {
    height: auto;
  }
  #review-block .review-block__casino {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  #review-block .review-block__name {
    font-size: 15px;
  }
  #review-block .review-block__bonus {
    font-size: 15px;
  }
  #review-block .review-block__action {
    justify-content: center;
  }
  #review-block .review-block__button {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
  }
}


/* --- Author block --- */
.content .author-block {
  margin: 24px 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.02);
}
.content .author-block__inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.content .author-block--no-bio .author-block__inner {
  align-items: center;
}
.content .author-block--no-bio .author-block__name {
  margin-bottom: 0;
}
.content .author-block__photo {
  flex-shrink: 0;
  align-self: flex-start;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
}
.content .author-block--no-bio .author-block__photo {
  align-self: center;
}
.content .author-block__photo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  aspect-ratio: 1;
}
.content .author-block__body {
  min-width: 0;
  flex: 1;
}
.content .author-block__name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 6px;
}
.content .author-block__bio {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}


/* --- FAQ block (no font-family; inherits theme) --- */
.faq-block {
  margin: 28px 0;
  max-width: 100%;
}
.faq-block__item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.faq-block__item:last-child {
  margin-bottom: 0;
}
.faq-block__summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  padding-right: 32px;
}
.faq-block__summary::-webkit-details-marker {
  display: none;
}
.faq-block__summary::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  opacity: 0.55;
}
.faq-block__item[open] .faq-block__summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.faq-block__summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 6px;
}
.faq-block__question {
  all: unset !important;
}
.faq-block__answer {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1.55;
}
.faq-block__answer > *:first-child {
  margin-top: 12px;
}


.content .post-date {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.8;
}
.content .post-date__label {
  margin-inline-end: 0.35em;
}
.content .post-date time {
  font-weight: 500;
}
