/* =========================
   RESET / BASE
   ========================= */

:root {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-xxl: 1320px;

  --bg-main: #0f1126;
  --line: #192f76;
  --line-soft: #2c2c35;
  --text: #ffffff;
  --text-muted: #70707c;
  --link: #8690ec;

  --btn-border: #39b0ff;
  --btn-bg-1: #3e71ff;
  --btn-bg-2: #2952ff;
  --btn-bg-hover-1: #2952ff;
  --btn-bg-hover-2: #182da4;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: Ubuntu, sans-serif;
  font-weight: 500;
}

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

body {
  position: relative;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg-main);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
}

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

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: transparent;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  font-size: 28px;
  line-height: 1.25;
}

h3 {
  font-size: 26px;
  line-height: 1.25;
}

h4 {
  font-size: 24px;
  line-height: 1.3;
}

.aligncenter,
img.aligncenter {
  display: block;
  clear: both;
  margin-right: auto;
  margin-left: auto;
  max-width: 100%;
  height: auto;
}

/* =========================
   CONTAINER / GRID
   ========================= */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
}

@media (min-width: 576px) {
  .container {
    max-width: var(--container-sm);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}

@media (min-width: 992px) {
  .container {
    max-width: var(--container-lg);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container-xl);
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: var(--container-xxl);
  }
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: calc(var(--bs-gutter-y) * -1);
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

.row > * {
  width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  margin-top: var(--bs-gutter-y);
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--btn-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--btn-bg-1), var(--btn-bg-2));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn:hover {
  border-color: #1885ff;
  background: linear-gradient(
    180deg,
    var(--btn-bg-hover-1),
    var(--btn-bg-hover-2)
  );
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 2px 6px rgba(23, 57, 186, 0.6);
}

.welcome__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  min-width: 0;
  min-height: 56px;
  margin: 16px auto 0;
  padding: 8px;
  border: 1px double transparent;
  border-radius: 100px;
  background-image:
    linear-gradient(180deg, #092f0b, #092f0b),
    linear-gradient(180deg, #092f0b, #00b700);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 0 15px #154e26,
    inset 0 2px 4px 0 #000;
  color: #fff !important;
  text-decoration: none;
  overflow: hidden;
}

.welcome__button::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  box-shadow: 0 1px 10px 3px #20b726;
}

.btn__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: inherit;
}

.btn__text {
  text-align: center;
  font-size: 18px;
  line-height: 1.1;
  word-break: break-word;
}

@media (max-width: 767px) {
  .welcome__button {
    max-width: 100%;
    min-height: 54px;
    height: auto;
  }

  .btn__text {
    font-size: 16px;
    -webkit-text-stroke-width: 1px;
  }
}

/* =========================
   HEADER
   ========================= */

.header {
  background: linear-gradient(180deg, #111540, #161d73);
  padding: 12px 0;
  width: 100%;
  z-index: 9999;
}

.header_menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.header_menu a {
  text-decoration: none;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
  white-space: nowrap;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 767.98px) {
  .header__logo {
    font-size: 14px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.header__btns {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.header__btn_signin,
.header__btn_signup {
  flex: 0 0 auto;
}

/* =========================
   MAIN / ENTRY
   ========================= */

.entry-content {
  margin-top: 30px;
}

.entry-content a {
  color: var(--link);
}

.entry-content ol,
.entry-content ul {
  margin: 15px 0;
  padding-left: 20px;
}

.entry-content table {
  border: 1px solid var(--line-soft);
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--line-soft);
  padding: 10px;
}

.entry-content img {
  margin: 0 0 1.5em;
}

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

.faq {
  margin-top: 20px;
  color: #fff;
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}

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

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

.faq__item {
  padding-bottom: 21px;
  border-bottom: 1px solid #d0d0da;
}

.faq__item + .faq__item {
  margin-top: 16px;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
}

.faq__btn {
  border-radius: 100%;
  background-position: center;
  background-size: cover;
  transition: 0.2s;
  cursor: pointer;
}

.faq__answer {
  display: none;
  margin-top: 21px;
  color: #fff;
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
}

.open .faq__btn {
  transform: rotate(180deg);
}

.open + .faq__answer {
  display: block;
}

/* =========================
   FOOTER
   ========================= */

.footer {
  margin-top: 60px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #151937, #0f1126);
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

.payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.payments img {
  width: 86px;
  height: auto;
}

.footer__text {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 180%;
  font-weight: 400;
}

/* =========================
   SHORT BANNER
   ========================= */

.short_banner {
  padding: 40px 20px;
  background-position: center;
  background-size: cover;
}

.short_banner_inner {
  width: fit-content;
  margin: 0 auto;
  padding: 35px 10px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.51);
  text-align: center;
  font-size: 30px;
  line-height: 33px;
  font-weight: 600;
}

.short_banner_bonus {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.short_banner_bonus_name {
  padding: 10px 20px 11px;
  border: 1px solid #192f76;
  border-radius: 86px;
  background: #111540;
  color: #21deff;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 120%;
}

/* =========================
   GAMES
   ========================= */

/* Skip layout/paint/decode for off-screen game grids until scrolled near */
.games_section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

ul.games__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.games__list_item {
  width: 100%;
  max-width: 235px;
}

.game__wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 1px solid #242c42;
  border-radius: 5px;
}

.game__banner {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.game__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(5, 8, 15, 0.84);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.games__list_item:hover .game__overlay {
  opacity: 1;
}

a.game_btn {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px 20px;
  border-radius: 5px;
  background: #2a4dd0;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  transform: translate(-50%, -50%);
  transition: background 0.3s ease;
}

a.game_btn:hover {
  background: #3c5dd8;
}

/* show more */
.games__more_btn {
  display: none;
}

/* =========================
   RESPONSIVE
   ========================= */

@media screen and (max-width: 1919px) {
  .welcome__button {
    --button-top-gap: 16px;
  }
}

@media screen and (max-width: 767px) {
  .btn__text {
    font-size: 16px;
    letter-spacing: 0.5px;
    -webkit-text-stroke-width: 1px;
  }

  .welcome__button {
    max-width: 100%;
    min-height: 54px;
    height: auto;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 22px;
  }
  h4 {
    font-size: 20px;
  }

  .entry-content table {
    display: block;
    width: 100%;
    overflow: auto;
  }

  .container {
    max-width: 680px;
  }

  .short_banner_inner {
    font-size: 25px;
    line-height: 27px;
  }

  .games__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .games__list_item {
    display: none;
    width: 100%;
    max-width: 235px;
  }

  .games__list_item.is-visible {
    display: block;
  }

  .games__more_btn {
    display: block;
    margin: 16px auto 0;
    padding: 12px 20px;
    border: 1px solid var(--btn-border);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--btn-bg-1), var(--btn-bg-2));
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .games__more_btn.is-hidden {
    display: none;
  }
}
