/* Базовые стили, приближённые к приложению */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  font-family: "Outfit", sans-serif;
}

html {
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 1280px) {
  html {
    font-size: 50.5%;
  }
}

@media (max-width: 1024px) {
  html {
    font-size: 41.5%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 62.5%;
  }
}

body {
  margin: 0;
  min-width: 320px;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 2.8rem;
  background: #1A023D;
  background: linear-gradient(281deg, rgba(26, 2, 61, 1) 0%, rgba(28, 3, 64, 1) 50%, rgba(25, 2, 62, 1) 100%);
  color: #fff;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.3;
  }
}

img {
  max-width: 100%;
  max-height: 100%;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 112.9rem;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 7.2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 30px;
    max-width: 440px;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 15px;
  }
}

/* Кнопка как в hero */
.btn-hero {
  width: calc(100% - 4rem);
  height: 8.4rem;
  border-radius: 100px;
  font-weight: 800;
  text-transform: uppercase;
  color: #F4FFE4;
  text-decoration: none;
  font-size: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 0px 5px 35px rgba(37, 102, 15, 1);
  border: 2px solid transparent;
  background:
    linear-gradient(-180deg, #BF56BD 0%, #79127F 100%) padding-box,
    linear-gradient(90deg, #FFBA9E 0%, #FCA97E 100%) border-box;
  box-shadow:
    inset 0px 9px 9px rgba(255, 255, 255, 0.6),
    0px 3px 0px 1px rgba(196, 103, 90, 1);
}

@media (max-width: 768px) {
  .btn-hero {
    width: 192px;
    height: 51px;
    font-size: 20px;
    border: 1px solid transparent;
    box-shadow:
      inset 0px 5px 5px rgba(255, 255, 255, 0.6),
      0px 2px 0px 0.5px rgba(196, 103, 90, 1);
  }
}

.btn-hero-small {
  width: 21.1rem;
  height: 5rem;
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .btn-hero-small {
    width: 128px;
    height: 30px;
    font-size: 11px;
  }
}

/* Страница Restricted Access */
.not-found-page.restricted-access {
  min-height: 100vh;
}

.restricted-access {
  height: 68rem;
  position: relative;
  background: url('/geo-block/images/rest-access.jpg') bottom left / cover no-repeat;
}

@media (max-width: 768px) {
  .restricted-access {
    height: auto;
    padding-top: 100vw;
    padding-bottom: 46px;
    background: url('/geo-block/images/rest-access-mobile.jpg') center top / cover no-repeat;
  }
}

.restricted-access .container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

@media (max-width: 768px) {
  .restricted-access .container {
    padding-bottom: 0;
    display: block;
  }
}

.restricted-access__content {
  max-width: 52.7rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

@media (max-width: 768px) {
  .restricted-access__content {
    max-width: 100%;
  }
}

.restricted-access__title {
  font-size: 5rem;
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2.5rem;
  line-height: 125%;
  background: linear-gradient(to bottom, #A3F1FF 0%, #2093FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .restricted-access__title {
    font-size: 32px;
    margin-bottom: 24px;
    text-align: center;
  }
}

.restricted-access__sub {
  font-size: 1.4rem;
  line-height: 125%;
}

@media (max-width: 768px) {
  .restricted-access__sub {
    font-size: 14px;
    margin-bottom: 24px;
    text-align: center;
  }
}

.restricted-access__sub strong {
  display: block;
  font-weight: bold;
  font-size: 1.6rem;
  line-height: 2.4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .restricted-access__sub strong {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .restricted-access .btn-hero {
    margin: 0 auto;
  }
}

/* Оформление для страницы с неверным регионом */
.failed-region {
  background: url('/geo-block/images/failed-region.jpg') bottom left / cover no-repeat !important;
}

@media (max-width: 768px) {
  .failed-region {
    background: url('/geo-block/images/failed-region-mobile.jpg') center top / cover !important;
  }
}


.failed-region .restricted-access__content {
  max-width: 62rem;
}

@media (max-width: 768px) {

}