/* Betzillo site-wide theme — matches header language */
:root {
  --bz-yellow: #F4EB2A;
  --bz-yellow-soft: #fff56a;
  --bz-ink: #0F0E02;
  --bz-bg: #23072F;
  --bz-surface: #371D42;
  --bz-surface-2: #2F1538;
  --bz-line: rgba(244, 235, 42, 0.18);
  --bz-line-strong: rgba(244, 235, 42, 0.35);
  --bz-clip-br: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  --bz-clip-bl: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  --bz-clip-geo: polygon(0 0, 100% 0, 100% 70%, 86% 100%, 0 100%);
}

body {
  background-color: var(--bz-bg) !important;
  color: rgba(255, 255, 255, 0.88);
}

/* ——— Shared AU geo chip ——— */
.header__geo,
.footer__geo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--bz-ink);
  background: var(--bz-yellow);
  clip-path: var(--bz-clip-geo);
  line-height: 1;
  user-select: none;
}

/* ——— Buttons (same language everywhere) ——— */
.btn,
.btn-secondary,
.header__button,
.main__link a,
a.btn,
button.btn {
  border-radius: 4px !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Filled yellow — default primary CTA */
.btn,
.main__link .btn,
.main__link a,
.header__button.btn-secondary,

.btn:hover,
.main__link .btn:hover,
.main__link a:hover,
.header__button.btn-secondary:hover,

/* Outline — secondary + header Login */
.btn-secondary,
.header__button.btn {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
  clip-path: var(--bz-clip-bl) !important;
}

.btn-secondary:hover,
.header__button.btn:hover {
  border-color: var(--bz-yellow) !important;
  color: var(--bz-yellow) !important;
  background: rgba(244, 235, 42, 0.06) !important;
  transform: translateY(-1px);
}

/* Header Sign Up must win over generic .btn-secondary outline */
.header__button.btn-secondary {
  background-color: var(--bz-yellow) !important;
  border: 1.5px solid var(--bz-yellow) !important;
  color: var(--bz-ink) !important;
  clip-path: var(--bz-clip-br) !important;
}
.header__button.btn-secondary:hover {
  background-color: var(--bz-yellow-soft) !important;
  border-color: var(--bz-yellow-soft) !important;
  color: var(--bz-ink) !important;
}

/* ——— Hero / main ——— */
.main__title,
.page-title,
.content-block__wrapper h1 {
  color: var(--bz-yellow) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.main__text {
  color: rgba(255, 255, 255, 0.9) !important;
}

.main__bg {
  background: var(--bz-bg) !important;
}

.breadcrumb__link {
  color: var(--bz-yellow) !important;
}

.breadcrumb__link:hover {
  color: var(--bz-yellow-soft) !important;
}

/* ——— Lobby chips / filters ——— */
.category__button,
.sort__button,
.filter__search,
.search__button {
  border-radius: 4px !important;
  border: 1px solid transparent;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease;
}

.category__button:hover,
.sort__button:hover {
  color: var(--bz-yellow) !important;
}

.category__button.active,
.sort__button.active {
  background-color: var(--bz-surface) !important;
  color: var(--bz-yellow) !important;
  border-color: var(--bz-line-strong) !important;
  clip-path: var(--bz-clip-br);
}

.search__button,
.filter__search {
  background-color: var(--bz-surface) !important;
  color: var(--bz-yellow) !important;
  border: 1px solid var(--bz-line) !important;
}

.search__button:hover,
.filter__search:hover {
  border-color: var(--bz-yellow) !important;
  color: var(--bz-yellow) !important;
}

/* ——— Games grid ——— */
.games__title--top,
.games__title {
  color: #fff;
  letter-spacing: 0.02em;
}

.games__slide,
.games__item,
.providers__slide {
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline-color 0.3s ease;
}

.games__link:hover,
.games__slide:hover,
.providers__slide:hover {
  outline: 1px solid var(--bz-line-strong);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(244, 235, 42, 0.12);
}

/* Studios carousel — compact tiles, no leftover empty band */
.providers {
  margin-bottom: 28px !important;
}
.providers__wrapper {
  margin-top: 12px !important;
  height: auto !important;
}
.providers__slider.swiper,
.providers__slider .swiper-wrapper {
  height: auto !important;
}
.providers__slide {
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 6px 10px !important;
  align-items: center !important;
  box-sizing: border-box;
}
.providers__slide img {
  width: auto !important;
  max-width: 96px !important;
  height: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: block;
}
.providers__buttons .swiper__button {
  width: 36px !important;
  height: 36px !important;
}

/* Payment methods carousel in footer — hug content, cut empty padding */
.footer__slider {
  margin-top: 20px !important;
  padding: 8px 72px !important;
  height: auto !important;
}
.footer__slider .swiper-wrapper,
.footer__wrapper.swiper-wrapper {
  height: auto !important;
}
.footer__slide {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  align-items: center !important;
  box-sizing: border-box;
}
.footer__slide img {
  width: auto !important;
  max-width: 80px !important;
  height: 28px !important;
  max-height: 28px !important;
  object-fit: contain !important;
  display: block;
}
.footer__slider .swiper__button {
  width: 36px !important;
  height: 36px !important;
  top: 50% !important;
  transform: translateY(-50%);
}

/* Full portrait slot art (415×559) — no crop */
.games__link {
  align-items: stretch !important;
  min-height: 0 !important;
  padding: 6px !important;
}
.games__content {
  width: 100%;
  min-height: 0 !important;
}
.games__image {
  position: relative !important;
  z-index: 0;
  width: 100%;
  padding-bottom: 0 !important;
  aspect-ratio: 415 / 559;
  overflow: hidden;
  border-radius: 6px;
  background: #1a0a24;
}
.games__image img {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  z-index: 0;
}
.games__info {
  margin-top: 8px;
  padding: 0 4px 4px;
}
/* Titles sit under the art — no overlay fade that hides the bottom of the poster */
.games__link::after {
  display: none !important;
}

/* ——— FAQ / spoilers / content ——— */
.spollers__title,
.faq__title,
.content-block__wrapper h2,
.content-block__wrapper h3,
.seo-block h2,
.seo-block h3,
.block__content h2,
.block__content h3 {
  color: #fff !important;
}

.spollers__title {
  border-bottom: 1px solid var(--bz-line) !important;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.spollers__title:hover,
.spollers__title._spoller-active {
  color: var(--bz-yellow) !important;
  border-bottom-color: var(--bz-yellow) !important;
}

.spollers__title::after,
.spollers__title::before {
  background-color: var(--bz-yellow) !important;
  color: var(--bz-yellow) !important;
}

.content-block__wrapper ul li::marker,
.block__content ul li::marker,
.block__content ol li::marker,
.content-block__wrapper ol li::marker {
  color: var(--bz-yellow) !important;
}

.content-block__wrapper a,
.block__content a,
.seo-block a {
  color: var(--bz-yellow);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-block__wrapper a:hover,
.block__content a:hover,
.seo-block a:hover {
  color: var(--bz-yellow-soft);
}

/* Tables */
.block__content table,
.content-block__wrapper table {
  border: 1px solid var(--bz-line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.block__content table thead th,
.block__content table tr:first-child td,
.content-block__wrapper table thead th,
.content-block__wrapper table tr:first-child td {
  background: var(--bz-yellow) !important;
  color: var(--bz-ink) !important;
  font-weight: 800;
}

.block__content table td,
.content-block__wrapper table td {
  border-bottom: 1px solid rgba(244, 235, 42, 0.08);
}

/* ——— Forms ——— */
input,
textarea,
select {
  border-radius: 4px !important;
  border: 1px solid var(--bz-line) !important;
  background-color: rgba(55, 29, 66, 0.55) !important;
  color: #fff !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

input:hover,
textarea:hover,
select:hover {
  background-color: rgba(55, 29, 66, 0.75) !important;
  border-color: var(--bz-line-strong) !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: var(--bz-yellow) !important;
  box-shadow: 0 0 0 3px rgba(244, 235, 42, 0.18) !important;
}

/* ——— Pagination / dots ——— */
.pagination__dotts {
  background-color: rgba(255, 255, 255, 0.25) !important;
  border-radius: 2px !important;
}

.pagination__dotts.active {
  background-color: var(--bz-yellow) !important;
}

/* ——— Steps / instructions accents ——— */
.steps__title,
.instructions__more,
.advantages__title {
  border-color: var(--bz-line) !important;
}

.steps__number,
.instructions__item::before {
  background-color: var(--bz-yellow) !important;
  color: var(--bz-ink) !important;
}

/* ——— Footer (Betzillo panel) ——— */
.footer.footer--bz {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 8% 0%, rgba(244, 235, 42, 0.09), transparent 55%),
    linear-gradient(165deg, #2a0c36 0%, var(--bz-bg) 42%, #1a0524 100%) !important;
  border-top: none;
  padding: 36px 0 28px !important;
}

.footer.footer--bz::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bz-yellow) 0%, var(--bz-yellow) 28%, transparent 72%);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  pointer-events: none;
}

.footer.footer--bz::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(244, 235, 42, 0.07), transparent 68%);
  pointer-events: none;
}

/* Top row: brand + contacts */
.footer.footer--bz .footer__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 28px 48px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer.footer--bz .footer__brand {
  flex: 1 1 280px;
  max-width: 420px;
  padding: 16px 18px;
  background: rgba(55, 29, 66, 0.55);
  border: 1px solid var(--bz-line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.footer.footer--bz .footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer.footer--bz .footer__logo img {
  height: 30px;
  width: auto;
  max-width: 180px;
  filter: drop-shadow(0 0 14px rgba(244, 235, 42, 0.28));
}

.footer.footer--bz .footer__tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
  max-width: 34ch;
}

.footer.footer--bz .footer__contacts {
  flex: 0 1 260px;
  padding: 16px 18px;
  background: rgba(35, 7, 47, 0.55);
  border: 1px solid var(--bz-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  align-self: stretch;
}

.footer.footer--bz .footer__list--contact .footer__link {
  word-break: break-all;
}

/* Nav as a separate band under brand */
.footer.footer--bz .footer__navigation,
.footer.footer--bz .footer__navigation--row {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
  width: 100%;
  margin: 0 0 8px;
  padding: 20px 22px;
  background: rgba(55, 29, 66, 0.35);
  border: 1px solid var(--bz-line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  justify-content: stretch !important;
}

.footer.footer--bz .footer__column {
  position: relative;
  width: auto !important;
}

.footer.footer--bz .footer__title {
  color: var(--bz-yellow) !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 14px !important;
  padding-left: 10px;
  border-left: 2px solid var(--bz-yellow);
  line-height: 1.2;
}

.footer.footer--bz .footer__item:not(:last-child) {
  margin-bottom: 8px !important;
}

.footer.footer--bz .footer__link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer.footer--bz .footer__link:hover {
  color: var(--bz-yellow) !important;
  transform: translateX(3px);
}

.footer.footer--bz .footer__slider {
  position: relative;
  z-index: 1;
  margin-top: 28px !important;
  padding: 12px 64px !important;
  background: rgba(55, 29, 66, 0.4);
  border: 1px solid var(--bz-line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.footer.footer--bz .footer__slide {
  opacity: 0.55;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.footer.footer--bz .footer__slide:hover {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(244, 235, 42, 0.2));
}

.footer.footer--bz .footer__slider .swiper__button {
  background: rgba(35, 7, 47, 0.9) !important;
  border: 1px solid var(--bz-line);
  clip-path: var(--bz-clip-br);
  border-radius: 0 !important;
  color: var(--bz-yellow);
}

.footer.footer--bz .footer__slider .swiper__button:hover {
  border-color: var(--bz-yellow);
  background: rgba(244, 235, 42, 0.12) !important;
}

.footer.footer--bz .footer__slider .swiper__button::before {
  opacity: 0.85;
  color: var(--bz-yellow);
}

.footer.footer--bz .footer__bottom {
  position: relative;
  z-index: 1;
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid var(--bz-line);
  align-items: flex-start;
  gap: 20px;
}

.footer.footer--bz .footer__policy {
  flex-shrink: 0;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bz-line);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

.footer.footer--bz .footer__policy img {
  display: block;
  opacity: 0.9;
}

.footer.footer--bz .footer__copyright,
.footer.footer--bz .footer__since {
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 12px;
  line-height: 1.55;
}

.footer.footer--bz .footer__since {
  color: rgba(255, 255, 255, 0.92) !important;
  letter-spacing: 0.02em;
}

.footer.footer--bz .sociales__link {
  border: 1px solid var(--bz-line);
  border-radius: 0;
  clip-path: var(--bz-clip-br);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.footer.footer--bz .sociales__link:hover {
  border-color: var(--bz-yellow);
  background: rgba(244, 235, 42, 0.08);
  transform: translateY(-1px);
}

@media (max-width: 61.99875em) {
  .footer.footer--bz .footer__top {
    flex-direction: column;
    gap: 16px;
  }
  .footer.footer--bz .footer__brand,
  .footer.footer--bz .footer__contacts {
    max-width: none;
    flex: 1 1 auto;
    width: 100%;
  }
  .footer.footer--bz .footer__navigation,
  .footer.footer--bz .footer__navigation--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }
  .footer.footer--bz .footer__slider {
    padding: 10px 52px !important;
  }
}

@media (max-width: 47.99875em) {
  .footer.footer--bz .footer__navigation,
  .footer.footer--bz .footer__navigation--row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer.footer--bz .footer__bottom {
    flex-direction: column;
  }
}


/* ——— Misc accents ——— */
.swiper__button:hover::before,
[data-showmore-button] {
  color: var(--bz-yellow) !important;
}

.header__link:hover,
.footer__link:hover,
.instructions__link:hover {
  color: var(--bz-yellow) !important;
}

@media (max-width: 767.98px) {
  .footer__geo {
    min-width: 28px;
    height: 18px;
    padding: 0 6px;
    font-size: 9px;
  }
}
