*,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
button,
input hr a {
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
  border: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  -webkit-tap-highlight-color: transparent;
}
.header-section {
  background: url(./img/header-bg.jpg) no-repeat center;
  background-size: auto 100%;
}
.text-gradient {
  background-image: linear-gradient(90deg, #f68d2b 0%, #d745ba 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 44px;
  line-height: 100%;
  letter-spacing: 0px;
}
body,
html {
  background: black;
  overflow-x: hidden;
}
.container {
  margin: 0 auto;
  max-width: 1020px;
}
.btn {
  background: #f68d2b;
  border-radius: 4px;
  width: 240px;
  height: 48px;
  font-family: Montserrat;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0px;
  cursor: pointer;
}
header {
  height: 60px;
}
header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}
nav ul a {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0px;
}
.intro {
  padding: 70px 0 224px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}
.intro h1 {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0px;
}

.intro p {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0px;
}

.about {
  padding-top: 26px;
}
.about .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
}
.about * {
  z-index: 1;
}
.about .container::after {
  width: 257px;
  content: "";
  aspect-ratio: 1;
  position: absolute;
  right: -25px;
  z-index: 0;
  top: -85px;
  background: url(./img/dice.png) no-repeat center/contain;
}
.about .container img {
  width: 100%;
}
.about .container img.mobile {
  display: none;
}
.about .container p {
  max-width: 700px;
  font-family: Montserrat;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}
.about .container span {
  font-weight: 700;
}
.conditions {
  padding: 150px 0 18px;
}
.conditions .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.conditions .container ul {
  width: 100%;
  height: 230px;
  align-items: stretch;
  gap: 20px;
  display: flex;
}
.conditions .container ul li {
  flex: 1;
  border-radius: 20px;
  background: #191919;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
}
.conditions .container ul p {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  color: #716f6f;
}
.conditions .container ul h4 {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 44px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}
.advantages {
  padding-top: 132px;
  background: url("./img/poker-bg.png") no-repeat center top;
  background-size: 1020px auto;
}
.advantages .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.advantages .container > ul {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 140px;
}
.advantages .container > ul li {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
.advantages .container > ul h3 {
  font-family: Montserrat;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}
.advantages .container > ul p {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
}
.available-currencies {
  position: relative;
  text-align: center;
  padding: 290px 0 480px;
}
.available-currencies-row {
  width: max-content;
  position: absolute;
  display: flex;
  left: 50%;
  bottom: 100px;
  gap: 20px;
  transform: translate(-50%, -50%) rotate(15deg);
}
.available-currencies-row.gradient {
  transform: translate(-50%, -50%) rotate(-15deg);
}
.available-currencies-row.gradient li {
  background: linear-gradient(90deg, #f68d2b 0%, #d745ba 100%);
  padding: 1px;
}
.available-currencies-row.gradient li div {
  width: 100% !important;
  height: 100% !important;
  background: #191919;
}
.available-currencies-row li,
.available-currencies-row.gradient li div {
  border-radius: 20px;
  background: #191919;
  height: 150px;
  width: 213px;
  font-family: Montserrat;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}
.territtory {
  padding: 150px 0;
}
.territtory .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}
.territtory .container img {
  width: 100%;
}
.cta {
  padding: 142px 0;
  background: url(./img/cta-bg.jpg) no-repeat center;
  background-size: auto 100%;
}
.cta .container {
  max-width: 1080px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cta .container h3 {
  font-weight: 700;
  font-size: 54px;
  line-height: 100%;
  letter-spacing: 0px;
}
.cta .container p {
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0px;
}
.cta .container span {
  font-weight: 700;
}
footer {
  padding: 180px 0 30px;
}
footer .container {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 40px;
}
.footer-socials {
  display: flex;
  gap: 20px;
}
.footer-socials li {
  width: 34px;
  height: 34px;
}
.footer-socials li a,
.footer-socials li img {
  width: 100%;
  height: 100%;
}
footer p {
  font-family: Montserrat;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0px;
  color: #aaaaaa;
}
.modal{
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: #000000b2;
  backdrop-filter: blur(2px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.modal.opened{
  display: flex;
  animation: OpenedModalBG 0.3s linear forwards;
}
@keyframes OpenedModalBG {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 1;
  }
}
.modal.closed{
  animation: ClosedModalBG 0.3s linear forwards;
}

@keyframes ClosedModalBG {
  0%{
    opacity: 1;
  }
  100%{
    opacity: 0;
  }
}
.modal-body{
  background: #191919;
  border-radius: 20px;
  padding: 20px;
  position: relative;
}
.modal.opened .modal-body{
animation: OpenedModal 0.2s ease-in forwards;
}
@keyframes OpenedModal {
  0%{
    transform: translateY(-50px);
  }
  100%{
    transform: translateY(0);
  }
}
.modal.closed .modal-body{
  animation: ClosedModal 0.2s ease-in forwards;
}
@keyframes ClosedModal {
  0%{
    transform: translateY(0px);
  }
  100%{
    transform: translateY(50px);
  }
}
.modal-body form{
  display: flex;
  width: 100%;
  width: 300px;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.modal-body form button{
  width: 100%;
}
.modal-body form button.success{
  position: relative;
}
.modal-body form button.success p{
  display: none;
}
.modal-body form button.success:after{
  content: 'Успешно ✅';
}
.modal-body input,.modal-body textarea{
  padding: 14px 20px;
  width: 100%;
  border-radius: 10px;
  resize: none;
  border: 1px solid #6f6f6f;
}
.modal-close{
  position: absolute;
  top: 0px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24px' height='24px' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10.0303 8.96965C9.73741 8.67676 9.26253 8.67676 8.96964 8.96965C8.67675 9.26255 8.67675 9.73742 8.96964 10.0303L10.9393 12L8.96966 13.9697C8.67677 14.2625 8.67677 14.7374 8.96966 15.0303C9.26255 15.3232 9.73743 15.3232 10.0303 15.0303L12 13.0607L13.9696 15.0303C14.2625 15.3232 14.7374 15.3232 15.0303 15.0303C15.3232 14.7374 15.3232 14.2625 15.0303 13.9696L13.0606 12L15.0303 10.0303C15.3232 9.73744 15.3232 9.26257 15.0303 8.96968C14.7374 8.67678 14.2625 8.67678 13.9696 8.96968L12 10.9393L10.0303 8.96965Z' fill='%23FFFFFF'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12 1.25C6.06294 1.25 1.25 6.06294 1.25 12C1.25 17.9371 6.06294 22.75 12 22.75C17.9371 22.75 22.75 17.9371 22.75 12C22.75 6.06294 17.9371 1.25 12 1.25ZM2.75 12C2.75 6.89137 6.89137 2.75 12 2.75C17.1086 2.75 21.25 6.89137 21.25 12C21.25 17.1086 17.1086 21.25 12 21.25C6.89137 21.25 2.75 17.1086 2.75 12Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
  right: 0px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px;
}
@media (max-width: 1060px) {
  .container {
    padding: 0 20px;
  }
  .header-section {
    background-size: auto 80%;
    background-position: top;
  }
  .conditions .container ul h4 {
    font-size: 30px;
  }
  .conditions .container ul p {
    max-width: 200px;
  }
  .advantages .container > ul {
    gap: 10px;
    justify-content: space-between;
  }
  .advantages .container > ul li {
    width: 100%;
    max-width: 250px;
  }
}
@media (max-width: 760px) {
  h2 {
    font-size: 36px;
  }
  .about .container p {
    font-size: 18px;
  }
  .btn {
    width: 180px;
    height: 40px;
    font-weight: 600;
  }
  .intro p {
    font-size: 16px;
  }
  .intro h1 {
    font-size: 48px;
  }
  .intro {
    padding-bottom: 150px;
  }
  .about .container::after {
    top: -120px;
    width: 200px;
    right: 0;
  }
  .conditions {
    padding-top: 100px;
  }
  .conditions .container ul {
    height: 130px;
  }
  .conditions .container ul li {
    justify-content: start;
    padding-top: 20px;
  }
  .conditions .container ul p {
    height: 36px;
    font-size: 14px;
    max-width: 170px;
  }
  .conditions .container ul h4 {
    font-size: 24px;
  }
  .advantages {
    padding-top: 100px;
  }
  .available-currencies {
    padding: 70px 0 300px;
  }
  .available-currencies-row li,
  .available-currencies-row.gradient li div {
    height: 100px;
    width: 170px;
  }
  .available-currencies-row {
    bottom: 50px;
  }
  .cta {
    background-size: auto 70%;
  }
  .cta .container h3 {
    font-size: 48px;
  }
  .cta .container p {
    font-size: 20px;
  }
  .cta .container {
    gap: 30px;
  }
  .territtory {
    padding: 100px 0;
  }
  footer {
    padding: 100px 0 30px;
  }
}
@media (max-width: 600px) {
  h2 {
    font-size: 24px;
  }
  .conditions .container ul {
    flex-direction: column;
    align-items: center;
    height: auto;
  }
  .conditions .container ul li {
    padding: 20px 0;
    width: 100%;
    max-width: 250px;
    gap: 10px;
  }
  .conditions .container ul p {
    width: auto;
    height: auto;
  }
  .conditions {
    padding-top: 50px;
  }
  .advantages {
    padding-top: 50px;
  }
  .advantages .container > ul {
    flex-direction: column;
    gap: 20px;
  }
  .advantages .container > ul h3 {
    font-size: 20px;
  }
  .territtory {
    padding: 80px 0 0;
  }
  .territtory .container {
    gap: 40px;
  }
  .cta {
    background-size: auto 60%;
  }
  .cta .container h3 {
    font-size: 36px;
    max-width: 300px;
  }
}
@media (max-width: 510px) {
  .intro h1 {
    font-size: 36px;
  }
  .about .container {
    gap: 20px;
  }
  .about .container p {
    font-size: 16px;
  }
  header .container {
    padding-top: 15px;
    flex-direction: column;
  }
  .header-section {
    background-size: auto 60%;
  }
  .intro {
    padding-bottom: 100px;
  }
  .about .container::after {
    width: 150px;
    top: -160px;
  }
  .about .container img {
    display: none;
  }
  .about .container img.mobile {
    display: block;
    width: 70%;
  }
  .available-currencies-row li,
  .available-currencies-row.gradient li div {
    height: 80px;
    width: 130px;
    font-size: 18px;
  }
  .available-currencies {
    padding: 70px 0 200px;
  }
  .available-currencies-row {
    bottom: 0px;
  }
  .territtory .container img {
    transform: translateX(-15vw);
    width: 150vw;
  }
  .cta .container p {
    font-size: 16px;
  }
  .cta {
    padding: 70px 0;
    background-size: auto 80%;
  }
  .cta .container h3 {
    font-size: 26px;
  }
  footer {
    padding: 50px 0 30px;
  }
  .footer-socials li {
    width: 24px;
    height: 24px;
  }
}
