@font-face {
  font-family: Montserrat;
  src: url(./fonts/Montserrat-Regular.woff2) format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: Montserrat;
  src: url(./fonts/Montserrat-Medium.woff2) format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: Montserrat;
  src: url(./fonts/Montserrat-SemiBold.woff2) format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Bona Nova SC";
  src: url(./fonts/BonaNovaSC-Bold-az.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap
}

:root {
  --font-main: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
}

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

html {
  font-size: 16px
}

body {
  font-family: var(--font-main);
  line-height: 1.4;
  color: #fff;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: linear-gradient(rgba(79, 22, 105, .75), rgba(79, 22, 105, .75)), url(./assets/hero_bg.webp);
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat
}

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

.main {
  flex: 1;
  position: relative;
  overflow: hidden
}

.main__content {
  position: absolute;
  left: 10%;
  top: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2
}

.hero-characters,
.hero-coins,
.hero-treasure {
  position: absolute;
  bottom: 0;
  pointer-events: none;
  user-select: none
}

.hero-characters--mobile {
  display: none;
  pointer-events: none;
  user-select: none
}

.hero-characters {
  right: 0;
  height: 80vh;
  width: auto;
  max-width: none;
  bottom: -100px
}

.hero-coins {
  right: 0;
  height: 23vh;
  width: auto;
  max-width: none;
  bottom: -120px;
  z-index: 1
}

.hero-treasure {
  left: 0;
  height: 30vh;
  width: auto;
  max-width: none;
  bottom: -45px
}

.main__tagline {
  font-size: 24px;
  font-weight: 400
}

.main__title {
  leading-trim: both;
  text-edge: cap;
  font-family: "Bona Nova SC", serif;
  font-size: 48px;
  background: var(--Box-Gradient, radial-gradient(217.94% 50% at 50% 50%, #F5F1FB 0%, #D0BDEF 100%));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  font-weight: 700;
  line-height: 63px
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
  background-color: #4F1669;
  position: relative;
  z-index: 1;
  border-top: 1px solid;
  border-image-source: radial-gradient(50% 217.94% at 50% 50%, #F5F1FB 0%, #D0BDEF 100%);
  border-image-slice: 1
}

.footer__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2rem;
  height: 37px;
  margin-bottom: 20px
}

.footer__trust-item {
  display: flex;
  align-items: center;
  gap: .5rem
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 37px
}

.footer__icon {
  display: flex;
  flex-shrink: 0
}

.footer__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain
}

@media(max-width:1440px) {
  body {
    background-position: 50%
  }

  .main__content {
    left: 5%
  }
}

@media(max-width:1300px) {
  body {
    background-position: 70%
  }

  .main__content {
    left: 2.5%;
    top: 20%;
    transform: scale(.75);
    transform-origin: left top
  }
}

@media(max-width:1000px) {
  .main__content {
    left: 2%;
    top: 15%;
    transform: scale(.62);
    transform-origin: left top
  }
}

@media(max-width:800px) {
  .main {
    flex: none;
    min-height: 100vh;
    position: relative;
    overflow: hidden
  }

  .hero-characters,
  .hero-treasure {
    display: none
  }

  .hero-coins {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    height: 25vh;
    bottom: -100px;
    z-index: 3
  }

  .hero-characters--mobile {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: none;
    z-index: 2
  }

  .main__content {
    position: relative;
    z-index: 3;
    margin-top: 3rem;
    padding: 0 1.5rem;
    left: auto;
    top: auto;
    transform: none;
    align-items: center;
    text-align: center
  }

  .main__tagline {
    font-size: 16px;
    line-height: 25px;
    letter-spacing: 0;
    text-align: center
  }

  .main__title {
    font-size: 40px;
    line-height: 52px
  }

  .footer__trust {
    height: auto;
    gap: 0 2rem;
    margin-bottom: 0
  }

  .footer__trust-item {
    height: 37px;
    justify-content: center;
    font-size: 14px
  }

  .footer__legal {
    padding-top: 1rem;
    flex-direction: column;
    height: auto;
    gap: 0
  }

  .footer__legal>* {
    height: 37px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 37px
  }

  .footer__sep {
    display: none
  }
}
