/* ZOMBILLION-BUILD-5.6 — if this line is missing in style.css on the server, an old file is cached */
:root {
  /* ===== Base / Neutrals — Zombillion: graveyard black ===== */
  --color-bg: #0a0b08;

  /* text */
  --color-text: #f4f2ea;
  --color-text-strong: #ffffff;
  --color-text-muted: #c9c8bd;
  --color-text-dim: rgba(244, 242, 234, 0.62);
  --color-text-subtle: rgba(244, 242, 234, 0.42);
  --color-text-accent: #f6c933;

  --color-header: rgba(10, 11, 8, 0.86);
  --color-footer: #0d0e0a;
  --color-sidebar-bg: #0f110c;

  --color-card-bg: rgba(255, 255, 255, 0.025);
  --color-card-border: rgba(246, 201, 51, 0.12);

  --color-surface: #13150f;
  --color-surface-2: #1b1e15;
  --color-bg-deep: #060705;

  --color-border-soft: rgba(255, 255, 255, 0.07);
  --color-border-softer: rgba(255, 255, 255, 0.045);
  --color-border-strong: rgba(246, 201, 51, 0.28);

  /* ===== Brand: gold (buttons) + zombie green (accents) ===== */
  --color-primary: #f6c933;
  --color-primary-hover: #ffd84f;
  --color-primary-active: #e2b21c;
  --color-primary-pressed: #c99a0f;

  --color-secondary: #7ce04a;
  --color-secondary-hover: #8ff05c;
  --color-secondary-active: #63c334;

  --color-link: #f6c933;
  --color-link-hover: #ffe17a;

  --color-btn-text-dark: #141208;
  --color-btn-text-light: #ffffff;

  --gradient-btn-primary: linear-gradient(180deg, #ffe066 0%, #f6c933 45%, #e0a917 100%);
  --gradient-btn-secondary: linear-gradient(180deg, #9cf06a 0%, #7ce04a 50%, #5cbc2f 100%);

  --gradient-hero-left: radial-gradient(circle at top left, rgba(124, 224, 74, 0.12), transparent 55%);
  --gradient-hero-right: radial-gradient(circle at top right, rgba(246, 201, 51, 0.12), transparent 55%);

  --color-jackpot-bg1: #13150f;
  --color-jackpot-bg2: #060705;
  --color-games-bg: rgba(12, 13, 10, 0.98);
  --color-games-thumb-bg: #13150f;

  --color-banner-bg: #0f110c;
  --color-banner-dot: rgba(10, 11, 8, 0.7);
  --color-banner-dot-border: rgba(255, 255, 255, 0.5);
  --color-banner-dot-active: #f6c933;

  --color-link-underline-from: #f6c933;
  --color-link-underline-to: #7ce04a;

  --focus-ring: rgba(246, 201, 51, 0.45);
  --color-success: #7ce04a;
  --color-error: #ef4444;
  --color-warning: #f6c933;

  --color-badge-live: #e63946;
  --color-badge-fast: #7ce04a;

  /* new tokens */
  --zb-green: #7ce04a;
  --zb-green-dim: rgba(124, 224, 74, 0.14);
  --zb-gold: #f6c933;
  --zb-gold-dim: rgba(246, 201, 51, 0.14);
  --zb-radius: 18px;
  --zb-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.8);
  --zb-font-display: "Bungee", "Impact", system-ui, sans-serif;
  --zb-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ====== RESET / БАЗА ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  position: relative;
  padding-bottom: 60px;
}

/* Посилання, кнопки */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ====== ЛЕЙАУТ ====== */

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
}

.content {
  min-height: 60vh;
}

/* ====== КНОПКИ ====== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 15px;
  border: none;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  background: var(--gradient-btn-primary);
  color: var(--color-btn-text-dark);
  text-decoration: none;
  transition: 0.2s all;
  white-space: nowrap;
  border: 1px solid #ffffff;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px 2px rgba(108, 108, 108, 0.4);
  background-color: var(--color-btn-text-light);
  color: var(--color-btn-text-dark);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--color-btn-text-light);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  transform: none;
  box-shadow: none;
}

.btn--primary {
  background: var(--color-secondary);
  color: #ffffff;
  border: none;
}

.btn--primary:hover {
  background: var(--color-secondary-hover);
  box-shadow: 0 4px 14px rgba(124, 224, 74, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ====== ХЕДЕР ====== */

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(14px);
  background: var(--color-header);
  border-bottom: 1px solid var(--color-border-soft);
  overflow: visible;
}

.scrolled {
  position: fixed !important;
}

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

/* ЛОГО */

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-img {
  height: auto;
  width: 160px;
  max-height: 52px;
  display: block;
  object-fit: contain;
  mix-blend-mode: lighten;
}

.header__locale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--color-border-soft);
  border-radius: 999px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}

/* КОНТЕЙНЕР МЕНЮ + КНОПОК (десктоп) */

.header-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 24px;
}

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

.main-nav__item a {
  font-size: 14px;
  opacity: 0.84;
  position: relative;
  padding: 4px 0;
}

.main-nav__item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-link-underline-from), var(--color-link-underline-to));
  transition: width 0.18s ease;
}

.main-nav__item a:hover::after,
.main-nav__item a.active::after {
  width: 100%;
}

/* КНОПКИ У ХЕДЕРІ (праворуч) */

.auth {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.auth a {
  font-size: 14px;
}

/* ПЕРЕМИКАЧ МОВИ — DROPDOWN (хедер) */

.lang-dropdown {
  position: relative;
}

.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border-soft);
  border-radius: 10px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  white-space: nowrap;
  line-height: 1;
}

.lang-dropdown__toggle:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.15);
}

.lang-dropdown__chevron {
  color: var(--color-text-dim);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  z-index: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.lang-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-dim);
  text-decoration: none;
  transition:
    background 0.12s,
    color 0.12s;
}

.lang-dropdown__item + .lang-dropdown__item {
  border-top: 1px solid var(--color-border-soft);
}

.lang-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  text-decoration: none;
}

.lang-dropdown__item.is-active {
  color: var(--color-primary);
  background: rgba(246, 201, 51, 0.07);
}

.lang-dropdown__flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* ПЕРЕМИКАЧ МОВИ — SIDEBAR */

.lang-switcher__flag {
  font-size: 14px;
  line-height: 1;
}

/* БУРГЕР */

.header-burger {
  display: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-burger span,
.header-burger span::before,
.header-burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text-strong);
  position: relative;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    top 0.18s ease,
    bottom 0.18s ease;
}

.header-burger span::before,
.header-burger span::after {
  content: "";
  position: absolute;
}

.header-burger span::before {
  top: -5px;
}

.header-burger span::after {
  bottom: -5px;
}

.header-burger.active span {
  transform: rotate(45deg);
}

.header-burger.active span::before {
  top: 0;
  transform: rotate(-90deg);
}

.header-burger.active span::after {
  bottom: 0;
  opacity: 0;
}

/* ====== МОБІЛЬНИЙ ХЕДЕР ====== */

@media (max-width: 768px) {
  .header__inner {
    padding: 10px 12px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 8px;
  }

  body {
    padding-bottom: 240px;
  }

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

  .header-burger {
    display: inline-flex;
    justify-self: center;
  }

  .auth {
    justify-self: end;
    display: flex;
    flex-direction: row;
    gap: 8px;
  }

  .auth .btn {
    padding-inline: 14px;
    white-space: nowrap;
  }

  .header-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-header);
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
    z-index: 40;
  }

  .header-menu.header-menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ====== HERO ====== */

.hero {
  padding: 40px 0 32px;
  background: var(--gradient-hero-left), var(--gradient-hero-right);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero p {
  font-size: 15px;
  max-width: 520px;
  color: rgba(244, 242, 234, 0.88);
  margin-bottom: 20px;
}

.hero .hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-side {
  justify-self: end;
}

.jackpot-widget {
  min-width: 260px;
  max-width: 320px;
  padding: 16px 18px;
  border-radius: 18px;
  background: radial-gradient(circle at top, var(--color-jackpot-bg1), var(--color-jackpot-bg2));
  border: 1px solid var(--color-border-soft);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
}

.jackpot-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
  margin-bottom: 10px;
}

.jackpot-amount {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.jackpot-timer {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 14px;
}

/* ====== СЕКЦІЇ ====== */

section {
  padding: 32px 0;
}

section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

section p {
  font-size: 14px;
  color: rgba(244, 242, 234, 0.9);
}

/* ====== ПРОМО-КАРТКИ ====== */

.promos .promo-list {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.promo-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
}

.promo-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.promo-card p {
  font-size: 14px;
  margin-bottom: 10px;
}

/* ====== ІГРИ / СІТКА ====== */

.games {
  border-top: 1px solid var(--color-border-softer);
}

.games-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.games-header a {
  font-size: 13px;
  opacity: 0.8;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.game-card {
  background: var(--color-games-bg);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border-softer);
  display: flex;
  flex-direction: column;
  min-height: 190px;
}

.game-thumb {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
  background: var(--color-games-thumb-bg);
}

.game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-name {
  font-size: 14px;
  font-weight: 600;
}

.game-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

/* ====== КОНТЕНТНІ СТОРІНКИ ====== */

.page-content {
  padding-bottom: 32px;
  padding-top: 32px;
  margin-top: 0;
}

.page-content h1 {
  font-size: 28px;
  margin-bottom: 14px;
}

.page-content p + p {
  margin-top: 10px;
}

/* ===== ФУТЕР ===== */

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  background:
    linear-gradient(180deg, rgba(26, 29, 20, 0.62), rgba(12, 13, 10, 0.96)),
    radial-gradient(circle at top left, rgba(108, 181, 255, 0.07), transparent 24%);
  padding: 20px 0;
  margin-top: 40px;
  border-top: 1px solid var(--color-border-soft);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__inner p {
  font-size: 13px;
  color: var(--color-text-dim);
  margin: 0;
  max-width: 500px;
  line-height: 1.55;
}

.footer__links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__col {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li + li {
  margin-top: 6px;
}

.footer__col a {
  font-size: 13px;
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer__links {
    flex-direction: column;
    gap: 16px;
  }

  .footer__inner p {
    max-width: 100%;
  }
}

/* ====== ОБГОРТКА БАНЕРА ====== */

.banner-carousel-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto 0;
}

/* ===== БАНЕР ===== */

.banner-carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--color-banner-bg);
}

.banner-carousel__viewport {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  pointer-events: none;
}

.banner-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.banner-slide__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.banner-slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-slide__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  text-align: left;
  margin-left: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.banner-slide__content p {
  color: #efefef;
}

.banner-slide__content h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.banner-slide__content p {
  font-size: 16px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.banner-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-banner-dot-border);
  background: var(--color-banner-dot);
  cursor: pointer;
  transition: all 0.2s ease;
}

.banner-dot.is-active {
  background: var(--color-banner-dot-active);
  border-color: var(--color-text-strong);
  transform: scale(1.15);
}

.banner-slide__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.1) 100%);
}

@media (max-width: 600px) {
  .banner-slide__content .btn {
    width: auto;
    max-width: 100%;
    display: inline-flex;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .banner-slide__content .btn {
    width: auto;
    max-width: 100%;
  }
}

.page-text,
.content-box {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--color-text-dim);
  font-size: 16px;
  line-height: 1.65;
}

.content-box > ol li,
.content-box > ul li {
  margin-left: 15px;
}

.page-text h1,
.content-box h1,
.page-text h2,
.content-box h2,
.page-text h3,
.content-box h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 28px 0 12px;
  color: var(--color-text);
}

.page-text h1,
.content-box h1 {
  font-size: 26px;
  margin-top: 0;
}

.page-text h2,
.content-box h2 {
  font-size: 20px;
  margin-top: 0;
}

.page-text h3,
.content-box h3 {
  font-size: 17px;
}

.page-text p,
.content-box p {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--color-text-dim);
}

.page-text ul,
.content-box ul {
  list-style: none;
  margin: 10px 0 20px 0;
  padding-left: 0;
}

.page-text ul li,
.content-box ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--color-text-dim);
}

.page-text ul li::before,
.content-box ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.content-box {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* ====== АДАПТИВ ====== */

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side {
    justify-self: start;
  }

  .main-nav__list {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .header__inner {
    padding-inline: 12px;
  }

  .logo-img {
    height: 40px;
  }

  .header-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--color-header);
    padding: 0 16px 16px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
    z-index: 40;
  }

  .header-menu.header-menu--open {
    transform: translateY(16px);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .auth {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }

  .auth .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .banner-carousel-wrapper {
    padding: 0 12px;
  }

  .banner-carousel {
    width: 100%;
    height: 260px;
    border-radius: 12px;
  }

  .banner-slide__content {
    margin-left: 16px;
    margin-right: 16px;
    max-width: none;
    top: 50%;
    transform: translateY(-50%);
  }

  .banner-slide__content h1 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .banner-slide__content p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .btn--primary {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero .hero-actions {
    flex-direction: column;
  }

  .game-card {
    min-height: 170px;
  }
}

/* ===== FAQ ===== */

.faq {
  position: relative;
}

.faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(124, 224, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.faq__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  text-align: center;
  color: var(--color-text);
  -webkit-text-fill-color: unset;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
}

.faq__item {
  background: linear-gradient(180deg, rgba(26, 29, 20, 0.96), rgba(12, 13, 10, 0.98));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-card-border);
  position: relative;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.faq__item::before{
  display: none;
}
.faq__item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--color-secondary);
  border-radius: 16px 0 0 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.faq__item:hover::after,
.faq__item.open::after {
  opacity: 1;
}

.faq__item:hover {
  border-color: rgba(124, 224, 74, 0.4);
}

.faq__item.open {
  background: linear-gradient(180deg, rgba(26, 29, 20, 0.96), rgba(12, 13, 10, 0.98));
  border-color: rgba(124, 224, 74, 0.55);
  box-shadow: 0 4px 28px rgba(124, 224, 74, 0.12);
}

.faq__question {
  width: 100%;
  padding: 22px 24px 22px 28px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.faq__question:hover {
  background: rgba(124, 224, 74, 0.06);
}

.faq__item.open .faq__question {
  color: var(--color-secondary);
}

.faq__answer {
  overflow: hidden;
  padding: 0 24px 0 28px;
  transition:
    height 0.35s ease,
    padding 0.35s ease;
}

.faq__item.open .faq__answer {
  padding: 0 24px 24px 28px;
}

.faq__answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-dim) !important;
  border-top: 1px solid var(--color-border-soft);
  padding: 16px 0;
  margin: 0;
}

.faq__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(124, 224, 74, 0.1);
  border: 1px solid rgba(124, 224, 74, 0.3);
  position: relative;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.faq__item:hover .faq__icon {
  border-color: rgba(124, 224, 74, 0.55);
  box-shadow: 0 0 8px rgba(124, 224, 74, 0.2);
}

.faq__item.open .faq__icon {
  background: var(--color-secondary);
  border-color: transparent;
  box-shadow: 0 0 14px rgba(124, 224, 74, 0.45);
}

.faq__icon::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-right: 2.5px solid var(--color-secondary);
  border-bottom: 2.5px solid var(--color-secondary);
  top: 50%;
  left: 50%;
  border-radius: 1px;
  transform: translate(-50%, -68%) rotate(45deg);
  transition:
    transform 0.3s ease,
    border-color 0.25s ease;
}

.faq__icon::after {
  display: none;
}

.faq__item.open .faq__icon::before {
  transform: translate(-50%, -32%) rotate(-135deg);
  border-color: #fff;
}

@media (max-width: 900px) {
  .faq__list {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .faq__title {
    font-size: 22px;
  }

  .faq__question {
    padding: 18px 18px 18px 22px;
    font-size: 15px;
  }

  .faq__answer {
    padding: 0 18px 0 22px;
  }

  .faq__item.open .faq__answer {
    padding: 0 18px 20px 22px;
  }

  .faq__answer p {
    font-size: 14px;
  }
}

/* ===== ПОПУЛЯРНІ ІГРИ ===== */

.popular-games {
  padding: 0 16px 20px 16px;
}

.popular-games__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.popular-games__all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
}

.popular-games__all:hover {
  color: var(--color-text);
  text-decoration: none;
}

.popular-games__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.pg-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
}

.pg-card__thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
  background: #15170f;
}

.pg-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pg-card:hover .pg-card__thumb {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.pg-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
}

.pg-card__badge--hot {
  background: #e53935;
  color: #fff;
}
.pg-card__badge--new {
  background: var(--color-secondary);
  color: #fff;
}
.pg-card__badge--top {
  background: #f59e0b;
  color: #fff;
}

.pg-card__name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .popular-games__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .popular-games__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .popular-games__title {
    font-size: 17px;
  }
}

@media (max-width: 400px) {
  .popular-games__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== ВІДГУКИ ===== */

.reviews {
  padding: 32px 0 40px;
}

.reviews__title {
  font-size: 24px;
  margin-bottom: 18px;
  color: var(--color-text-strong);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.review-card {
  position: relative;
  padding: 18px 20px 20px;
  border-radius: 18px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.review-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-primary);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  border-color: rgba(124, 224, 74, 0.5);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.review-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.review-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-strong);
}

.review-card__meta {
  font-size: 12px;
  opacity: 0.75;
}

.review-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(244, 242, 234, 0.94);
}

@media (max-width: 600px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .review-card {
    padding: 16px 16px 18px;
  }

  .review-card__text {
    font-size: 13px;
  }
}

.img-center {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.img-center img {
  max-width: 100%;
  height: auto;
  display: block;
}

.content-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--gradient-btn-primary);
  color: var(--color-btn-text-dark);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.content-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  text-decoration: none;
}

.content-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.center-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.faq__question > h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  flex: 1;
}

table {
  display: block !important;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  margin-bottom: 30px;
  border: 1px solid var(--color-border-soft);
  border-radius: 10px;
  overflow: hidden;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

thead,
tbody {
  display: flex;
  flex-direction: column;
  width: 100%;
}

tr {
  display: flex;
  width: 100%;
}

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

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

table th,
table td {
  display: flex;
  width: 100%;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-soft);
  font-size: 14px;
  color: var(--color-text-dim);
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
  min-width: 110px;
  background-color: var(--color-surface);
}

table td:last-child {
  color: var(--color-text);
  font-weight: 500;
}

table thead th {
  background-color: var(--color-surface-2);
  color: var(--color-text);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.content-box > a > img {
  margin: 20px auto;
}

.banner-slide__content > .banner-slide__title {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 700;
}

.footer__navigation {
  width: 100%;
  padding: 0 16px;
  margin-bottom: 16px;
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer__item {
  padding: 0;
  background: none;
  margin: 0;
}

.footer__item::before {
  display: none;
}

.footer__link {
  font-size: 13px;
  color: var(--color-text-dim);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.footer__link:hover {
  color: var(--color-secondary);
  text-decoration: none;
}

.footer__bottom {
  width: 100%;
  padding: 0 16px;
  border-top: 1px solid var(--color-border-soft);
  padding-top: 16px;
  margin-top: 8px;
}

.footer__disclaimer {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-subtle);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .footer__list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer__disclaimer {
    font-size: 11px;
  }
}

/* ==============================================
   SIDEBAR
   ============================================== */

:root {
  --header-height: 64px;
  --sidebar-width: 200px;
  --sidebar-collapsed-width: 64px;
  --sidebar-bg: var(--color-sidebar-bg);
  --sidebar-border: rgba(255, 255, 255, 0.06);
  --sidebar-item-color: #8a93a6;
  --sidebar-item-hover: #ffffff;
  --sidebar-item-active: var(--color-primary);
  --sidebar-item-active-bg: rgba(124, 224, 74, 0.08);
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--header-height);
  background: var(--color-header);
  border-bottom: 1px solid var(--color-border-soft);
}

.header__inner {
  height: 100%;
  max-width: 100%;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-burger {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-burger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.layout {
  display: flex;
  padding-left: var(--sidebar-width);
  transition: padding-left 0.25s ease;
  flex: 1 0 auto;
  width: 100%;
  height: 100%;
  flex-direction: column;
  background: var(--color-bg);
}

body.sidebar-collapsed .layout {
  padding-left: var(--sidebar-collapsed-width);
}

.layout main {
  flex: 1 0 auto;
}

.sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
  z-index: 50;
  display: flex;
  flex-direction: column;
  padding: 14px 10px 60px;
  overflow-y: auto;
  overflow-x: hidden;
  transition:
    width 0.25s ease,
    transform 0.25s ease;
}

body.sidebar-collapsed .sidebar {
  width: var(--sidebar-collapsed-width);
}

body.sidebar-collapsed .sidebar__title {
  opacity: 0;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
}

body.sidebar-collapsed .sidebar__link {
  justify-content: center;
  padding: 10px 8px;
}

body.sidebar-collapsed .sidebar__collapse svg {
  transform: rotate(180deg);
}

.sidebar__nav {
  flex: 1;
}

.sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__item {
  position: relative;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--sidebar-item-color);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.sidebar__link:hover {
  color: var(--sidebar-item-hover);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}

.sidebar__item.is-active .sidebar__link {
  color: var(--sidebar-item-active);
  background: var(--sidebar-item-active-bg);
}

.sidebar__item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--sidebar-item-active);
}

.sidebar__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar__icon svg {
  width: 100%;
  height: 100%;
}

.sidebar__title {
  transition: opacity 0.2s ease;
}

.sidebar__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  border-top: 1px solid var(--color-border-soft);
  margin-top: auto;
}

.sidebar__lang .lang-switcher {
  width: 100%;
  justify-content: center;
}

.sidebar__lang-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-text-dim);
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
  line-height: 1;
}

.sidebar__lang-item:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.sidebar__lang-item.is-active {
  color: #fff;
  background: var(--color-primary);
}

.sidebar__collapse {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  height: 34px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sidebar-border);
  border-radius: 10px;
  color: var(--sidebar-item-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.sidebar__collapse:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--sidebar-item-hover);
}

.sidebar__collapse svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.sidebar__close {
  display: none;
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.sidebar__overlay {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 45;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.sidebar-mobile-open .sidebar__overlay {
  display: block;
  opacity: 1;
}

@media (max-width: 960px) {
  .layout {
    padding-left: 0;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 260px;
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6);
  }

  body.sidebar-mobile-open .sidebar {
    transform: translateX(0);
  }

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

  .sidebar__collapse {
    display: none;
  }

  .sidebar__title {
    display: inline-block !important;
    opacity: 1 !important;
    width: auto !important;
  }

  .sidebar__link {
    padding: 12px 14px;
    font-size: 14px;
  }

  .header-burger {
    display: inline-flex;
  }

  body.sidebar-collapsed .layout {
    padding-left: 0;
  }

  body.sidebar-collapsed .sidebar {
    width: 260px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }

  .header__inner {
    padding: 10px 12px;
    gap: 8px;
  }

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

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

/* ==============================================
   LIVE-CASINO
   ============================================== */

.live-casino-section {
  padding: 24px 0 40px;
}

.live-casino-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.live-casino-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.live-casino-header h1 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-casino-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.live-casino-tile {
  background: var(--color-surface);
  border-radius: 10px;
  border: 1px solid var(--color-border-softer);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.live-casino-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 224, 74, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.live-casino-tile__image {
  position: relative;
  aspect-ratio: 4 / 4;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--color-surface-2) 0%, var(--color-bg-deep) 70%);
}

.live-casino-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.3s ease,
    filter 0.2s ease;
}

.live-casino-tile:hover .live-casino-tile__image img {
  transform: scale(1.05);
  filter: blur(2px) brightness(0.55);
}

.live-casino-tile__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 3;
}

.live-casino-tile:hover .live-casino-tile__overlay {
  opacity: 1;
}

.live-casino-tile__play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-btn-text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.55),
    0 0 0 6px rgba(124, 224, 74, 0.18);
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.live-casino-tile:hover .live-casino-tile__play {
  transform: scale(1);
}

.live-casino-tile__play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

.live-casino-tile__meta {
  padding: 10px 12px 12px;
  background: var(--color-surface-2);
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--color-border-softer);
}

.live-casino-tile__provider {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-casino-tile__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-casino-tile__stake {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-dim);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-casino-tile__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--color-badge-live);
  color: #fff;
  border-radius: 3px;
  text-transform: uppercase;
  line-height: 1.3;
  z-index: 2;
}

.live-casino-tile__badge--fast {
  background: var(--color-badge-fast);
  color: var(--color-btn-text-dark);
}

@media (max-width: 1100px) {
  .live-casino-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .live-casino-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .live-casino-tile__provider {
    font-size: 9px;
  }
  .live-casino-tile__name {
    font-size: 12px;
  }
  .live-casino-tile__stake {
    font-size: 10px;
  }
  .live-casino-tile__meta {
    padding: 8px 10px 10px;
  }
}

@media (max-width: 420px) {
  .live-casino-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==============================================
   PROMOTIONS
   ============================================== */

.promotions-section {
  padding: 24px 0 40px;
}

.promotions-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.promotions-header {
  margin-bottom: 20px;
}

.promotions-header h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

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

.promo-banner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-banner__link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--color-border-soft);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
  background: var(--color-surface);
}

.promo-banner__link:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 224, 74, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
  text-decoration: none;
}

.promo-banner__image {
  position: relative;
  aspect-ratio: 1920 / 757;
  background: linear-gradient(135deg, var(--color-surface-2), var(--color-bg-deep));
  overflow: hidden;
}

.promo-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.promo-banner__link:hover .promo-banner__image img {
  transform: scale(1.03);
}

.promo-banner__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.15), transparent 60%),
    radial-gradient(circle at 15% 90%, rgba(0, 0, 0, 0.35), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.promo-banner__svg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.promo-banner__svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.promo-banner__text {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 55%;
  color: #fff;
  pointer-events: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promo-banner__title {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 2px;
}

.promo-banner__sub {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.promo-banner__amount {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.promo-banner__extra {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2px;
  line-height: 1.1;
}

.promo-banner__footer {
  background: var(--color-bg-deep);
  padding: 10px 16px;
  text-align: center;
}

.promo-banner__dates {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  display: inline-block;
  border: 1px solid var(--color-border-soft);
  letter-spacing: 0.02em;
}

.promo-banner__note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  padding: 0 4px;
  line-height: 1.3;
}

@media (max-width: 1100px) {
  .promo-banner__title {
    font-size: 20px;
  }
  .promo-banner__amount {
    font-size: 18px;
  }
  .promo-banner__sub {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .promotions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .promotions-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .promo-banner__title {
    font-size: 26px;
  }
  .promo-banner__amount {
    font-size: 20px;
  }
}

.header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ====== HERO BANNER (головна) ====== */
.hero-banner {
  position: relative;
  margin: 16px 16px 0;
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.hero-banner__bg {
  position: absolute;
  inset: 0;
  background-color: #0a0b08;
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 1;
}
.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 7, 0.98) 0%, rgba(12, 13, 10, 0.9) 34%, rgba(20, 22, 16, 0.5) 58%, rgba(22, 24, 18, 0.14) 100%),
    linear-gradient(180deg, rgba(30, 34, 24, 0.08), rgba(8, 9, 7, 0.22));
  z-index: 2;
}
.hero-banner__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 48px 56px;
  display: flex;
  align-items: center;
}
.hero-banner__content {
  max-width: 480px;
}
.hero-banner__title {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.hero-banner__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  font-weight: 500;
  font-style: normal;
  margin: 0 0 28px;
}

/* ===== Zombillion content refinements ===== */
.toc {
  margin: 24px 0 30px;
  padding: 20px 22px;
  border: 1px solid rgba(246, 201, 51, 0.34);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(246, 201, 51, 0.09), rgba(124, 224, 74, 0.05));
}

.toc .toc__title {
  margin: 0 0 12px;
  font-size: 18px;
}

.toc ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 22px;
  margin: 0;
}

.toc ul li {
  margin: 0;
}

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

.toc a:hover {
  color: var(--color-secondary);
}

.page-text table tr:has(> :nth-child(5)) {
  min-width: 940px;
}

.page-text table tr:has(> :nth-child(3)):not(:has(> :nth-child(5))) {
  min-width: 620px;
}

.footer__copyright {
  margin-top: 8px;
  text-align: center;
  color: var(--color-text-subtle);
  font-size: 12px;
}

.error-page {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 700px) {
  .toc ul {
    grid-template-columns: 1fr;
  }
}
.hero-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
  white-space: nowrap;
}
.hero-banner__btn:hover {
  background: var(--color-secondary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 224, 74, 0.4);
  text-decoration: none;
}

/* ====== CATEGORY FILTERS (chips під банером) ====== */
.category-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 16px 24px;
  margin: 0;
}

.category-filters__nav,
.category-filters__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 999px;
  color: var(--color-text);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
  padding: 0;
}

.category-filters__nav:hover,
.category-filters__search:hover {
  background: rgba(246, 201, 51, 0.12);
  border-color: rgba(246, 201, 51, 0.5);
  color: var(--color-primary);
}

.category-filters__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1 1 auto;
  min-width: 0;
}

.category-filters__scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  height: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border-soft);
  border-radius: 999px;
  color: #9eb0ca;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.category-chip:hover {
  background: rgba(246, 201, 51, 0.1);
  border-color: rgba(246, 201, 51, 0.4);
  color: var(--color-primary);
  text-decoration: none;
}

.category-chip.is-active {
  background: rgba(246, 201, 51, 0.18);
  border-color: rgba(246, 201, 51, 0.6);
  color: var(--color-primary);
}

.category-chip__live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-badge-live);
  box-shadow: 0 0 6px rgba(230, 57, 70, 0.6);
  flex-shrink: 0;
  display: inline-block;
}

@media (max-width: 768px) {
  .content-figure img { aspect-ratio: 16 / 9; }
  .popular-games__title { font-size: 19px; }
  .hero-banner {
    margin: 12px 12px 0;
    min-height: 220px;
    border-radius: 14px;
  }
  .hero-banner__inner {
    padding: 28px 24px;
  }
  .hero-banner__bg {
    background-position: right center;
    background-size: contain;
  }
  .hero-banner__overlay {
    background: linear-gradient(90deg, rgba(8, 9, 7, 0.98) 0%, rgba(12, 13, 10, 0.9) 55%, rgba(20, 22, 16, 0.58) 100%);
  }
  .hero-banner__title {
    font-size: 26px;
  }
  .hero-banner__subtitle {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .hero-banner__btn {
    padding: 11px 24px;
    font-size: 14px;
  }

  .category-filters {
    padding: 14px 12px 6px;
    gap: 8px;
  }
  .category-filters__nav,
  .category-filters__search {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .category-chip {
    padding: 8px 14px;
    height: 34px;
    font-size: 12px;
  }
}
/* ====== END HERO + CATEGORIES ====== */

/* ==============================================
   PAGE CONTAINER (1440px) + HEADER NAV + ADAPTIVE SIDEBAR
   ============================================== */

/* --- 1440px container: header, main, footer inner blocks --- */
.header__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.content {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.footer__navigation,
.footer__bottom {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Layout: відмовляємось від резерву під фіксований сайдбар --- */
.layout,
body.sidebar-collapsed .layout {
  padding-left: 0;
}

/* --- Sidebar: off-canvas на ВСІХ розмірах, відкривається лише бургером --- */
.sidebar {
  transform: translateX(-100%);
  width: 280px;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6);
}

body.sidebar-mobile-open .sidebar {
  transform: translateX(0);
}

/* Кнопка згортання сайдбару більше не потрібна */
.sidebar__collapse {
  display: none !important;
}

/* Кнопка закриття всередині сайдбару — показуємо завжди */
.sidebar__close {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Заголовки пунктів сайдбару — завжди видимі */
.sidebar__title {
  opacity: 1 !important;
  width: auto !important;
  overflow: visible;
}

.sidebar__link {
  justify-content: flex-start;
  padding: 12px 14px;
}

/* --- Горизонтальне меню в хедері (desktop) --- */
.header-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.header-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
}

.header-nav__list::-webkit-scrollbar {
  display: none;
}

.header-nav__item {
  flex: 0 0 auto;
}

.header-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--color-text-dim);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.header-nav__link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}

.header-nav__item.is-active .header-nav__link {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

/* --- Адаптивність: ≤960px — горизонтальне меню ховаємо, бургер показуємо --- */
@media (max-width: 960px) {
  .header-nav {
    display: none;
  }

  .header-burger {
    display: inline-flex;
  }

  .lang-dropdown {
    display: none;
  }
}

/* --- ≥961px — бургер ховаємо, нав в хедері видно --- */
@media (min-width: 961px) {
  .header-burger {
    display: none;
  }
}

/* --- Менший паддінг хедеру на середніх ширинах --- */
@media (max-width: 1200px) {
  .header__inner {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }
  .header-nav__link {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* =====================================================================
   ZOMBILLION REDESIGN LAYER (v5.0)
   Graveyard black + gold buttons + zombie-green accents
   ===================================================================== */

body {
  font-family: var(--zb-font);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(124, 224, 74, 0.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(246, 201, 51, 0.05), transparent 60%),
    var(--color-bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--zb-gold); color: #141208; }
:focus-visible { outline: 2px solid var(--zb-gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.header,
.header.scrolled {
  position: sticky !important;
  top: 0;
  background: var(--color-header);
  border-bottom: 1px solid rgba(246, 201, 51, 0.14);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.9);
}
.header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 224, 74, 0.55), rgba(246, 201, 51, 0.55), transparent);
  pointer-events: none;
}
.logo-img { width: auto; height: 54px; max-height: 54px; }
.header-nav__link {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--color-text-muted);
  border-radius: 10px;
  transition: color .2s ease, background .2s ease;
}
.header-nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.header-nav__link.is-active { color: var(--zb-gold); background: var(--zb-gold-dim); }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 700; border: 0; }
.btn--primary,
.hero-banner__btn,
.content-btn {
  background: var(--gradient-btn-primary) !important;
  color: #141208 !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 0;
  box-shadow: 0 0 0 1px rgba(255, 224, 102, 0.55) inset, 0 8px 22px -8px rgba(246, 201, 51, 0.55);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.btn--primary:hover,
.hero-banner__btn:hover,
.content-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 236, 150, 0.8) inset, 0 12px 28px -8px rgba(246, 201, 51, 0.7);
  text-decoration: none;
}
.btn--outline {
  border: 1px solid rgba(124, 224, 74, 0.55);
  color: #e9ffdd;
  background: rgba(124, 224, 74, 0.06);
}
.btn--outline:hover { border-color: var(--zb-green); background: rgba(124, 224, 74, 0.14); color: #fff; }
.content-btn { padding: 14px 34px; font-size: 16px; border-radius: 14px; text-transform: uppercase; }

/* ---------- Hero ---------- */
.hero-banner {
  min-height: 340px;
  border-radius: 24px;
  border: 1px solid rgba(246, 201, 51, 0.16);
  box-shadow: var(--zb-shadow), 0 0 0 1px rgba(0, 0, 0, 0.6);
  isolation: isolate;
}
.hero-banner__bg {
  background-color: #000;
  background-size: cover;
  background-position: right center;
}
.hero-banner__overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.82) 32%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg, rgba(10, 11, 8, 0.6), transparent 40%);
}
.hero-banner__title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, #ffffff 0%, #fff3c4 60%, #f6c933 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-banner__subtitle { color: #e6e4d8; font-size: 17px; max-width: 440px; }
.hero-banner__btn { display: inline-flex; padding: 14px 30px; border-radius: 14px; text-transform: uppercase; font-size: 15px; }

/* ---------- Categories + game tiles ---------- */
.category-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-muted);
  font-weight: 600;
}
.category-chip:hover { background: var(--zb-green-dim); border-color: rgba(124, 224, 74, 0.45); color: #fff; text-decoration: none; }
.category-chip.is-active { background: var(--zb-gold); border-color: var(--zb-gold); color: #141208; }
.popular-games__title { font-size: 22px; font-weight: 800; color: #fff; }
.popular-games__all { color: var(--zb-gold); font-weight: 700; white-space: nowrap; flex: 0 0 auto; }
.pg-card__thumb {
  border: 1px solid rgba(246, 201, 51, 0.14);
  box-shadow: 0 12px 26px -16px rgba(0, 0, 0, 0.9);
}
.pg-card:hover .pg-card__thumb { transform: translateY(-4px) scale(1.02); border-color: rgba(124, 224, 74, 0.6); box-shadow: 0 16px 30px -14px rgba(124, 224, 74, 0.45); }
.pg-card__name { background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0)); font-weight: 700; }
.pg-card__badge--hot { background: #ff5a36; color: #fff; }
.pg-card__badge--new { background: var(--zb-green); color: #0e1a07; }
.pg-card__badge--top { background: var(--zb-gold); color: #141208; }
.pg-card__badge--live { background: #e63946; color: #fff; }

/* ---------- Content ---------- */
.page-content { margin-top: 28px; }
.page-text,
.content-box {
  font-family: var(--zb-font);
  color: var(--color-text-muted);
}
.content-box.page-text {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: clamp(20px, 3.4vw, 44px);
  box-shadow: var(--zb-shadow);
  max-width: 1080px;
  margin: 0 auto;
}
.page-text::after { content: ""; display: block; clear: both; }
.page-text p,
.page-text ul li,
.page-text ol li { color: #cfcdc2; font-size: 16px; }
.page-text h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 850;
  color: #fff;
  margin: 44px 0 14px;
  padding-left: 16px;
  position: relative;
  scroll-margin-top: 90px;
}
.page-text h2::before {
  content: "";
  position: absolute; left: 0; top: 0.18em; bottom: 0.18em; width: 5px; border-radius: 4px;
  background: linear-gradient(180deg, var(--zb-gold), var(--zb-green));
}
.page-text h3 { color: var(--zb-gold); font-size: 19px; margin: 28px 0 10px; }
.page-text a { color: var(--zb-gold); text-decoration: underline; text-decoration-color: rgba(246, 201, 51, 0.4); text-underline-offset: 3px; }
.page-text a:hover { color: #ffe17a; }
.page-text ul li::before { background: var(--zb-green); box-shadow: 0 0 10px rgba(124, 224, 74, 0.7); }
.page-text ol { counter-reset: zb; list-style: none; margin: 12px 0 22px; padding: 0; }
.page-text ol li { counter-increment: zb; position: relative; padding: 12px 14px 12px 54px; margin-bottom: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 14px; }
.page-text ol li::before {
  content: counter(zb);
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900; font-size: 14px; color: #141208;
  background: var(--gradient-btn-primary);
}

/* figures: banner images inside H2 sections + official screenshots on the right */
.content-figure { margin: 6px 0 22px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(246, 201, 51, 0.16); box-shadow: var(--zb-shadow); background: #000; }
.content-figure img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 35%; }
.content-shot { float: right; width: min(40%, 360px); margin: 4px 0 18px 26px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(124, 224, 74, 0.25); box-shadow: var(--zb-shadow); }
.content-shot img { display: block; width: 100%; height: auto; }

/* tables: full width, no empty space on the right */
.table-wrap { width: 100%; overflow-x: auto; margin: 16px 0 24px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.08); -webkit-overflow-scrolling: touch; }
.page-text .table-wrap table { display: table !important; width: 100%; min-width: 520px; border-collapse: collapse; margin: 0; border: 0; }
.page-text .table-wrap table tr { min-width: 0 !important; }
.page-text .table-wrap th { background: linear-gradient(180deg, rgba(246, 201, 51, 0.16), rgba(246, 201, 51, 0.08)); color: #fff3c4; text-align: left; font-weight: 800; font-size: 14px; padding: 12px 14px; border: 0; border-bottom: 1px solid rgba(246, 201, 51, 0.25); }
.page-text .table-wrap td { padding: 11px 14px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: #d7d5ca; font-size: 15px; vertical-align: top; }
.page-text .table-wrap tr:last-child td { border-bottom: 0; }
.page-text .table-wrap tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }
.page-text .table-wrap tbody tr:hover td { background: rgba(124, 224, 74, 0.05); }
.page-text .table-wrap td:first-child { color: #fff; font-weight: 600; }

/* TOC */
.toc { background: rgba(124, 224, 74, 0.05) !important; border: 1px solid rgba(124, 224, 74, 0.22) !important; border-radius: 18px; padding: 18px 22px; margin: 8px 0 26px; }
.toc .toc__title { font-weight: 800; color: #fff; font-size: 16px; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.toc ul { columns: 2; column-gap: 28px; }
.toc ul li::before { background: var(--zb-gold) !important; box-shadow: none !important; }
.toc a { color: #e6e4d8 !important; text-decoration: none !important; }
.toc a:hover { color: var(--zb-gold) !important; }

/* FAQ */
.faq { max-width: 1080px; margin: 34px auto 0; }
.faq__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 850; }
.faq__item { border-radius: 16px !important; border-color: rgba(255, 255, 255, 0.07) !important; background: rgba(255, 255, 255, 0.025) !important; }
.faq__item.is-open, .faq__item.active { border-color: rgba(246, 201, 51, 0.45) !important; box-shadow: 0 8px 26px -12px rgba(246, 201, 51, 0.35) !important; }
.faq__question { font-weight: 700; color: #fff; }

/* ---------- Sportsbook block (/betting/) ---------- */
.sportsbook { margin: 6px 0 30px; padding: 0 !important; }
.sb-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; scrollbar-width: none; }
.sb-tabs::-webkit-scrollbar { display: none; }
.page-text .sb-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); color: #e6e4d8; font-weight: 700; font-size: 14px; text-decoration: none; }
.page-text .sb-tab:hover { border-color: rgba(124, 224, 74, 0.5); color: #fff; }
.page-text .sb-tab.is-active { background: var(--zb-gold); color: #141208; border-color: var(--zb-gold); }
.sb-tab--live { color: #ffb3b9 !important; border-color: rgba(230, 57, 70, 0.4) !important; }
.sb-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #e63946; box-shadow: 0 0 0 0 rgba(230, 57, 70, .7); animation: zbPulse 1.6s infinite; }
@keyframes zbPulse { 0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, .7); } 70% { box-shadow: 0 0 0 8px rgba(230, 57, 70, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); } }
.sb-body { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: start; }
.sb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sb-card { background: linear-gradient(180deg, #16190f, #0e100b); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px; padding: 12px; }
.sb-card__head { display: flex; gap: 8px; align-items: center; font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-text .sb-card__markets { margin: 0; }
.page-text .sb-card__markets li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0 6px 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; }
.page-text .sb-card__markets li::before { display: none; }
.page-text .sb-pick { flex: 0 0 auto; padding: 4px 12px; border-radius: 8px; background: rgba(124, 224, 74, 0.12); border: 1px solid rgba(124, 224, 74, 0.35); color: #c9ffb0; font-weight: 800; font-size: 13px; text-decoration: none; }
.page-text .sb-pick:hover { background: var(--zb-green); color: #0e1a07; }
.sb-slip { position: sticky; top: 90px; background: linear-gradient(180deg, #1c1a0e, #100f08); border: 1px solid rgba(246, 201, 51, 0.35); border-radius: 18px; padding: 16px; box-shadow: 0 16px 36px -18px rgba(246, 201, 51, 0.35); }
.sb-slip__title { font-weight: 900; color: var(--zb-gold); text-transform: uppercase; letter-spacing: .06em; font-size: 14px; margin-bottom: 10px; }
.sb-slip__row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.1); color: #d7d5ca; font-size: 14px; }
.sb-slip__row b { color: #fff; }
.sb-slip__row--total b { color: var(--zb-green); font-size: 18px; }
.page-text .sb-slip__btn { display: block; text-align: center; margin: 14px 0 8px; padding: 12px; border-radius: 12px; background: var(--gradient-btn-primary); color: #141208; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.page-text .sb-slip__note { font-size: 12px; color: var(--color-text-subtle); margin: 0; }

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(180deg, rgba(14, 16, 11, 0.9), #070806);
  border-top: 1px solid rgba(246, 201, 51, 0.14);
  text-align: center;
  padding: 34px 16px 26px;
}
.footer__brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 16px; }
.footer__brand img { height: 64px; width: auto; mix-blend-mode: lighten; }
.footer__age { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid #e63946; color: #fff; font-weight: 900; font-size: 13px; }
.footer__navigation { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; list-style: none; }
.footer__list--legal .footer__link { color: var(--color-text-subtle); font-size: 13px; }
.footer__link { color: var(--color-text-muted); font-weight: 600; }
.footer__link:hover { color: var(--zb-gold); text-decoration: none; }
.footer__bottom { max-width: 860px; margin: 18px auto 0; }
.footer__disclaimer { color: var(--color-text-subtle); font-size: 13px; line-height: 1.6; text-align: center; }

/* ---------- Sidebar (mobile) ---------- */
.sidebar { border-right: 1px solid rgba(246, 201, 51, 0.12); }
.sidebar__item.is-active .sidebar__link { color: var(--zb-gold); background: var(--zb-gold-dim); }

/* ---------- Cookie bar ---------- */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(16, 18, 12, 0.96); border: 1px solid rgba(246, 201, 51, 0.3); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.9); backdrop-filter: blur(10px); }
.cookie-bar[hidden] { display: none; }
.cookie-bar__text { margin: 0; font-size: 14px; color: #d7d5ca; flex: 1; }
.cookie-bar__text a { color: var(--zb-gold); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cookie-bar__btn { cursor: pointer; border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 800; background: var(--gradient-btn-primary); color: #141208; }
.cookie-bar__btn--ghost { background: transparent; color: #e6e4d8; border: 1px solid rgba(255, 255, 255, 0.2); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sb-body { grid-template-columns: 1fr; }
  .sb-slip { position: static; }
}
@media (max-width: 960px) {
  .logo-img { height: 42px; max-height: 42px; }
  .sb-grid { grid-template-columns: repeat(2, 1fr); }
  .toc ul { columns: 1; }
}
@media (max-width: 768px) {
  .content-figure img { aspect-ratio: 16 / 9; }
  .popular-games__title { font-size: 19px; }
  .hero-banner { min-height: 300px; border-radius: 18px; }
  .hero-banner__bg { background-position: 70% center; }
  .hero-banner__bg { background-size: cover; }
  .hero-banner__overlay { background: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.2) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 60%); }
  .hero-banner__subtitle { font-size: 15px; }
  .content-box.page-text { border-radius: 18px; padding: 18px; }
  .content-shot { float: none; width: 100%; max-width: 420px; margin: 8px auto 18px; }
  .cookie-bar { flex-direction: column; align-items: stretch; }
  .cookie-bar__actions { justify-content: flex-end; }
}
@media (max-width: 560px) {
  .sb-grid { grid-template-columns: 1fr; }
  .page-text p, .page-text ul li, .page-text ol li { font-size: 15px; }
}

/* =====================================================================
   v5.1: 1 cm page margins + themed graveyard background
   ===================================================================== */
:root { --zb-edge: 1cm; }

/* page edges: 1 cm on every side */
.container,
.popular-games.container,
.faq.container,
.sportsbook.container { max-width: none; padding-left: var(--zb-edge); padding-right: var(--zb-edge); }
.page-text .sportsbook.container { padding-left: 0; padding-right: 0; }
.header__inner { padding-left: var(--zb-edge) !important; padding-right: var(--zb-edge) !important; max-width: none; }
.hero-banner { margin: 16px var(--zb-edge) 0; }
.category-filters { padding-left: var(--zb-edge); padding-right: var(--zb-edge); }
.content-box.page-text { max-width: none; padding: 28px 32px; }
.faq { max-width: none; }
.footer { padding-left: var(--zb-edge); padding-right: var(--zb-edge); }

/* background: graveyard night */
html { background: #050604; }
body {
  background:
    radial-gradient(900px 520px at 88% -6%, rgba(246, 201, 51, 0.16), transparent 62%),
    radial-gradient(700px 420px at 92% 2%, rgba(255, 244, 200, 0.07), transparent 40%),
    radial-gradient(1100px 700px at -10% 40%, rgba(124, 224, 74, 0.10), transparent 62%),
    radial-gradient(1000px 600px at 110% 85%, rgba(124, 224, 74, 0.08), transparent 60%),
    linear-gradient(180deg, #0a0c08 0%, #080907 45%, #050604 100%);
  background-attachment: fixed;
}
/* icon pattern: coins, skulls, tombstones, bones */
body::before {
  content: "";
  position: fixed; inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("/assets/images/bg-pattern.svg");
  background-size: 260px 260px;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(ellipse 120% 90% at 50% 40%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 120% 90% at 50% 40%, #000 30%, transparent 85%);
}
/* drifting toxic fog + graveyard silhouette at the bottom */
body::after {
  content: "";
  position: fixed; left: 0; right: 0; bottom: 0; height: 240px;
  z-index: -1;
  pointer-events: none;
  background:
    url("/assets/images/bg-graveyard.svg") center bottom / 1600px 240px repeat-x,
    radial-gradient(60% 120% at 20% 100%, rgba(124, 224, 74, 0.16), transparent 70%),
    radial-gradient(50% 120% at 80% 100%, rgba(124, 224, 74, 0.12), transparent 70%);
  opacity: 0.9;
  animation: zbFog 28s ease-in-out infinite alternate;
}
@keyframes zbFog { from { background-position: center bottom, 0 0, 0 0; } to { background-position: calc(50% + 120px) bottom, 60px 0, -60px 0; } }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } }

/* content panels: readable over the pattern */
.content-box.page-text { background: linear-gradient(180deg, rgba(14, 16, 11, 0.9), rgba(10, 11, 8, 0.88)); backdrop-filter: blur(6px); }
.faq__item { background: rgba(14, 16, 11, 0.88) !important; }
.footer { background: linear-gradient(180deg, rgba(10, 12, 8, 0.6), #050604 70%); position: relative; }

@media (max-width: 768px) {
  :root { --zb-edge: 12px; }
  .content-box.page-text { padding: 18px 16px; }
  body::after { height: 150px; background-size: 1000px 150px, auto, auto; }
}

/* v5.1 tuning: let the background show through */
body::before { opacity: 0.3; -webkit-mask-image: none; mask-image: none; }
.content-box.page-text { background: linear-gradient(180deg, rgba(14, 17, 11, 0.74), rgba(9, 10, 7, 0.8)); backdrop-filter: none; border-color: rgba(124, 224, 74, 0.12); }
.content-figure { max-width: 1040px; margin-left: auto; margin-right: auto; }
.page-text .table-wrap { background: rgba(10, 11, 8, 0.85); }
.toc { background: rgba(16, 24, 11, 0.85) !important; }
.footer { background: linear-gradient(180deg, rgba(8, 10, 6, 0.35), rgba(5, 6, 4, 0.55)); }

/* =====================================================================
   v5.2: side images, expressive background, extra design details
   ===================================================================== */

/* ---- background: blurred crypt scene + pattern + fog + graveyard ---- */
html { background: #050604; }
body {
  background:
    linear-gradient(180deg, rgba(5, 6, 4, 0.35) 0%, rgba(5, 6, 4, 0.55) 55%, rgba(5, 6, 4, 0.75) 100%),
    url("/assets/images/bg-scene.webp") center top / cover no-repeat fixed,
    #050604;
}
body::before { opacity: 0.22; mix-blend-mode: screen; }
body::after { height: 300px; opacity: 1; }
.content-box.page-text {
  background: linear-gradient(180deg, rgba(9, 11, 7, 0.86), rgba(7, 8, 6, 0.9));
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid rgba(124, 224, 74, 0.22);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 60px -30px rgba(124, 224, 74, 0.35);
  position: relative;
}
/* slime drip on top of the content panel */
.content-box.page-text::before {
  content: "";
  position: absolute; left: 24px; right: 24px; top: -1px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='22' viewBox='0 0 240 22'%3E%3Cpath fill='%237ce04a' d='M0 0h240v3c-8 0-9 6-14 6s-5-5-12-5-6 13-12 13-6-12-13-12-7 4-14 4-6-6-14-6-6 9-12 9-7-8-14-8-7 15-13 15-6-15-13-15-7 6-14 6-6-5-13-5-6 3-12 3-8-3-14-3-6 10-13 10-6-10-14-10-6 4-12 4-7-4-12-4V0z' opacity='.85'/%3E%3C/svg%3E") repeat-x top / 240px 22px;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(124, 224, 74, 0.45));
  border-radius: 0 0 6px 6px;
}
.faq__item { background: rgba(9, 11, 7, 0.9) !important; backdrop-filter: blur(8px); }

/* ---- images beside the text (alternating sides) ---- */
.content-figure { max-width: none; margin: 4px 0 18px; }
.content-figure--right { float: right; width: min(44%, 520px); margin-left: 28px; }
.content-figure--left { float: left; width: min(44%, 520px); margin-right: 28px; }
.content-figure img { aspect-ratio: 16 / 10; object-position: center 30%; }
.content-figure { transform: rotate(0.6deg); transition: transform .3s ease; }
.content-figure--left { transform: rotate(-0.6deg); }
.content-figure:hover { transform: rotate(0) scale(1.01); }
.content-figure::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(246, 201, 51, 0.25), inset 0 -40px 60px -30px rgba(0, 0, 0, 0.6); pointer-events: none; }
.content-figure { position: relative; }
/* blocks that must not slide under a floated image */
.page-text h2 { clear: both; }
.page-text .table-wrap { clear: both; }
.page-text ol, .page-text ul, .page-text .toc { display: flow-root; }
.page-text .sportsbook { clear: both; }

/* ---- key facts strip (home) ---- */
.zb-stats { margin-top: 18px; }
.zb-stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.zb-stat {
  position: relative;
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(28, 34, 18, 0.92), rgba(10, 12, 8, 0.92));
  border: 1px solid rgba(246, 201, 51, 0.22);
  overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}
.zb-stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 224, 74, 0.28), transparent 70%); }
.zb-stat__ico { font-size: 22px; line-height: 1; margin-bottom: 6px; }
.zb-stat__val { font-size: 20px; font-weight: 900; color: var(--zb-gold); letter-spacing: -0.01em; }
.zb-stat__lbl { font-size: 13px; color: #cfcdc2; line-height: 1.35; }

/* ---- hero: glowing frame + sparkles ---- */
.hero-banner { border: 1px solid rgba(246, 201, 51, 0.35); box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 0 50px -12px rgba(246, 201, 51, 0.35), 0 30px 60px -30px rgba(0, 0, 0, 0.9); }
.hero-banner::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 12% 30%, rgba(255, 230, 140, .9), transparent 60%),
    radial-gradient(1.5px 1.5px at 28% 70%, rgba(255, 230, 140, .8), transparent 60%),
    radial-gradient(2px 2px at 44% 22%, rgba(190, 255, 160, .8), transparent 60%),
    radial-gradient(1.5px 1.5px at 8% 82%, rgba(255, 230, 140, .7), transparent 60%),
    radial-gradient(2px 2px at 36% 48%, rgba(255, 230, 140, .7), transparent 60%);
  animation: zbSparkle 6s ease-in-out infinite alternate;
}
@keyframes zbSparkle { from { opacity: .35; transform: translateY(0); } to { opacity: 1; transform: translateY(-8px); } }
.hero-banner__btn { position: relative; overflow: hidden; }
.hero-banner__btn::after, .content-btn::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: zbShine 3.8s ease-in-out infinite;
}
.content-btn { position: relative; overflow: hidden; }
@keyframes zbShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }

/* ---- headings ---- */
.page-text h2 { text-shadow: 0 0 24px rgba(124, 224, 74, 0.25); }
.page-text h2::after { content: ""; display: block; width: 72px; height: 2px; margin-top: 10px; border-radius: 2px; background: linear-gradient(90deg, var(--zb-gold), transparent); }

/* ---- back to top ---- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 300; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #141208; background: var(--gradient-btn-primary); box-shadow: 0 10px 24px -8px rgba(246, 201, 51, 0.7); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { text-decoration: none; filter: brightness(1.06); }

@media (max-width: 1200px) { .zb-stats__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .content-figure--right, .content-figure--left { float: none; width: 100%; margin: 6px 0 18px; transform: none; }
  .zb-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .zb-stat { padding: 12px; }
  .zb-stat__val { font-size: 17px; }
  body { background-attachment: scroll; background-size: auto 100vh; }
  .content-box.page-text::before { left: 12px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .hero-banner::after, .hero-banner__btn::after, .content-btn::after { animation: none; } }

/* v5.2 tuning: background clearly visible through the panels */
body {
  background:
    linear-gradient(180deg, rgba(5, 6, 4, 0.1) 0%, rgba(5, 6, 4, 0.3) 100%),
    url("/assets/images/bg-scene.webp") center top / cover no-repeat fixed,
    #050604;
}
body::before { opacity: 0.32; }
.content-box.page-text { background: linear-gradient(180deg, rgba(8, 10, 6, 0.7), rgba(6, 7, 5, 0.76)); backdrop-filter: blur(7px) saturate(1.15); -webkit-backdrop-filter: blur(7px) saturate(1.15); }
.page-text .table-wrap { background: rgba(8, 9, 6, 0.82); }
.zb-stats, .popular-games, .category-filters { position: relative; }
.popular-games__title, .popular-games__all { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }
.layout { background: transparent !important; }
/* v5.3: let the body background cover the whole canvas (it was cut at 100vh) */
html { background: none !important; }
body { background-color: #050604; }
/* v5.4: two-column tables are fully adaptive (no sideways scroll on phones) */
.page-text .table-wrap--c2 table { min-width: 0 !important; table-layout: fixed; }
.page-text .table-wrap--c2 td:first-child, .page-text .table-wrap--c2 th:first-child { width: 38%; }
.page-text .table-wrap--c2 td { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .page-text .table-wrap--c2 td, .page-text .table-wrap--c2 th { padding: 10px 10px; font-size: 14px; }
}

/* =====================================================================
   v5.5: solid readable footer + compact FAQ placed closer to the text
   ===================================================================== */
.footer {
  background: linear-gradient(180deg, #0d100a 0%, #080a06 100%) !important;
  border-top: 1px solid rgba(246, 201, 51, 0.28);
  box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, 0.9);
}
.footer__link { color: #e9e7dc; }
.footer__list--legal .footer__link { color: #bdbbb0; }
.footer__disclaimer { color: #b9b7ac; }
.footer__copyright { color: #9a988e; }

/* FAQ: compact two-column block right under the text */
.page-content + .faq,
.faq { margin-top: 14px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.faq::before { display: none; }
.faq__title { margin: 0 0 12px !important; font-size: clamp(20px, 2vw, 24px) !important; text-align: left; padding-left: 16px; position: relative; }
.faq__title::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--zb-gold), var(--zb-green)); }
.faq__list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px !important; align-items: start; }
.faq__item { border-radius: 12px !important; }
.faq__question { padding: 12px 14px 12px 16px !important; font-size: 15px !important; gap: 10px !important; line-height: 1.35; }
.faq__icon { width: 24px !important; height: 24px !important; }
.faq__answer { padding: 0 14px 0 16px !important; }
.faq__item.open .faq__answer { padding: 0 14px 12px 16px !important; }
.faq__answer p { font-size: 14px !important; line-height: 1.6 !important; padding: 10px 0 0 !important; }
.faq + .center-btn { margin-top: 16px; }
@media (max-width: 860px) { .faq__list { grid-template-columns: 1fr; } }
.page-content { padding-bottom: 0 !important; }

/* v5.6: semi-transparent footer + FAQ closed by default (even before JS loads) */
.footer {
  background: linear-gradient(180deg, rgba(13, 16, 10, 0.72) 0%, rgba(8, 10, 6, 0.82) 100%) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.faq__item:not(.open) .faq__answer { height: 0; }
.footer { backdrop-filter: none; -webkit-backdrop-filter: none; background: linear-gradient(180deg, rgba(13, 16, 10, 0.78) 0%, rgba(8, 10, 6, 0.86) 100%) !important; }
