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

:root {
  --container: 1600px;
  --color: #c8b379;
}

body {
  font-family: "Arial", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
  background-color: #000;
  background-image: url("../img/bg.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  overflow-x: hidden;
  transform-origin: left top;
}

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

main {
  transform-origin: left top;
  width: 100%;
}

img {
  max-width: 100%;
}

section {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

section.logo {
  position: relative;
  display: grid;
  place-items: center;
  z-index: 1;
  margin-top: 2em;
}

section.logo a {
  display: grid;
  place-items: center;
}

header {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  background-image: url("../img/header-bg.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
  aspect-ratio: 1.82;
  position: relative;
}

header .info {
  position: absolute;
  top: 25%;
  left: 10%;
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 3em;
}

.centered {
  display: flex;
  justify-content: center;
}

h1,
h2 {
  font-weight: 400;
  line-height: 1.2;
}

strong {
  font-weight: 900;
}

h1 strong,
h2 strong,
section.casino .katil .title strong,
.promo section .content .title strong,
.promo section .content p strong {
  color: #c8b379;
}

header .info h1 {
  font-size: 2.5rem;
}

header .info p {
  font-size: 1.5rem;
}
.mobile-buttons {
  display: none;
}
header .info .buttons {
  display: flex;
  gap: 1em;
}

header .info .buttons img,
.mobile-buttons img {
  width: 240px;
}

header .info .buttons a,
.mobile-buttons a {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
}

header .info .buttons a .text,
.mobile-buttons a .text {
  font-family: "Bely Display";
  position: absolute;
  font-size: 2em;
  left: 3em;
  color: #fff;
}

section.casino {
  padding: 4em 0;
}

section.casino h2 {
  font-size: 2.5rem;
  margin-bottom: 2em;
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

section.casino .grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2em;
  justify-content: space-between;
  align-items: center;
  margin: 2em 0;
}

section.casino .grid a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.casino .grid .title {
  font-family: "Alfarn 2";
  color: #fff;
  position: absolute;
  bottom: 6em;
  text-align: center;
  width: 40%;
  margin: 0 auto;
  font-size: 1.5em;
  line-height: 1;
}

section.casino .katil {
  position: relative;
  display: grid;
  place-items: center;
}

section.casino .katil .title {
  position: absolute;
  font-size: 2em;
  bottom: 1.75em;
}

.promo .head {
  width: 100%;
  background-image: url("../img/promo-divider.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 140px;
}

.promo .head .title {
  font-size: 3.5rem;
  margin-bottom: 2em;
  width: 50%;
  margin: 0 auto;
  text-align: center;
  font-family: "Bely Display";
  padding-top: 0.6em;
}

.promo section {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: center;
  gap: 2em;
}

.promo section .content {
  display: flex;
  flex-direction: column;
  gap: 2em;
  width: 50%;
}

.promo section .content .title {
  font-size: 3.5rem;
  line-height: 1.2;
}

.promo section .content p {
  font-size: 1.5em;
  text-wrap: pretty;
}

.promo section .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4em;
  margin: 4em 0;
}

.promo section .grid a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo section .grid a .char {
  position: absolute;
  top: 2em;
}

.promo section .grid a .detail {
  position: absolute;
  bottom: 3px;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  padding-left: 1.5em;
  font-size: 0.875em;
}

.promo section .grid a .info {
  position: absolute;
  bottom: 1em;
  padding: 2em 0;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  line-height: 1;
}

.promo section .grid a .info .percent {
  font-family: "Bely Display";
  font-size: 4em;
  color: var(--color);
}

.promo section .grid a .info .title {
  font-size: 2em;
  font-weight: 400;
}
.promo section .grid a .info .desc {
  font-size: 2em;
  color: var(--color);
  font-weight: 700;
}

footer {
  position: relative;
  display: block;
  height: 279px;
  width: 100%;
  background-image: url("../img/footer-bg.webp");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

footer section {
  position: relative;
  height: 100%;
}

footer section .content {
  position: absolute;
  bottom: 0;
  text-align: center;
  padding: 2em;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: center;
}

.mobile-login-button {
  display: none;
}

@media screen and (max-width: 1600px) {
  :root {
    --container: 100%;
  }
  body {
    width: calc(var(--container));
    margin: 0 auto;
    overflow: auto;
  }
}

@media screen and (max-width: 1366px) {
  body {
    width: calc(var(--container));
    margin: 0 auto;
    overflow: auto;
  }

  .logo img {
    max-width: 50%;
    margin: 0 auto;
  }
  header .info {
    transform: scale(80%);
    transform-origin: top left;
    width: 50%;
  }
  section.casino .grid {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .promo section .grid {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 640px) {
  .mobile-buttons {
    display: flex;
    flex-direction: row;
    zoom: 60%;
    gap: 2em;
    justify-content: center;
    margin-top: 2em;
  }
  header {
    background-image: url("../img/mobile-header-bg.png");
    background-size: cover;
    aspect-ratio: 1 / 1.3;
  }
  header .info .buttons {
    flex-direction: row;
    display: none;
  }
  .mobile-login-button {
    position: relative;
    height: 38px;
    display: flex;
	transform: scale(1.5);
    transform-origin: left;
  }
  .mobile-login-button .text {
    position: absolute;
    top: 7px;
    left: 43px;
    color: #000;
    font-weight: 700;
  }
  header .info .buttons a {
    justify-content: start;
    zoom: 60%;
  }
  header .info {
    top: 22%;
    width: 75%;
    gap: 1em;
    left: 5%;
  }
  header .info h1 {
    font-size: 1.75em;
    text-wrap: balance;
  }
  header .info p {
    font-size: 1.25em;
  }
  section.casino h2 {
    font-size: 1.5em;
    width: 100%;
  }
  section.casino .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  section.casino .grid .title {
    width: 60%;
    bottom: 4em;
    font-size: 1.25em;
  }
  section.casino .grid a:last-child {
    grid-column: span 2;
  }
  section.casino .grid a:last-child .title {
    bottom: 6em;
    width: 40%;
    font-size: 1.5em;
  }
  section.casino .katil {
    zoom: 60%;
  }
  .promo .head .title {
    font-size: 2em;
    padding-top: 1.5em;
  }
  .promo section {
    padding: 0 2em;
  }
  .promo section .content {
    width: 100%;
    text-align: center;
  }
  .promo section .content .title {
    font-size: 2em;
  }
  .promo section .grid {
    grid-template-columns: 1fr;
  }
  .promo section .grid a .info .title {
    font-size: 1.5em;
  }
  .promo section .grid a .detail {
    padding-left: 1.5em;
    font-size: 0.6em;
    bottom: 1px;
  }
  footer {
    margin-top: 4em;
  }
  section.casino {
    padding: 2em 0;
  }
}

@media screen and (max-width: 375px) {
  header .info {
    transform: scale(70%);
    width: 90%;
  }
}
