@charset "UTF-8";
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Thin.ttf") format("truetype");
  font-style: normal;
  font-weight: 100;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: linear-gradient(168.54deg, #009244 0%, #00B956 100%);
  width: 100%; /* Добавляем 100% ширины */
}
.wrapper header,
.wrapper footer,
.wrapper main {
  position: relative;
  z-index: 2;
}

.container {
  max-width: 390px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
@media (max-height: 827px) {
  .container {
    padding: 0 18px;
  }
}

.header {
  padding: 12px 0;
  position: relative;
  background: #9c9c9c;
  border-bottom: 1px solid rgba(109, 109, 109, 0.6235294118);
  flex-shrink: 0;
}
.header__container {
  display: flex;
  justify-content: center;
  position: relative;
  align-items: center;
  min-height: 40px;
}
.header__danger {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  height: 24px;
  width: auto;
}
.header img[alt=МегаФон] {
  height: 24px;
  width: auto;
}

.footer {
  padding: 8px 0;
  background: #9c9c9c;
  flex-shrink: 0;
}
.footer__container {
  max-width: 390px;
  text-align: center;
  margin: 0 auto;
}
.footer__container p {
  font-size: 11px;
  font-weight: 400;
  color: #333333;
  opacity: 0.8;
  margin: 0;
  line-height: 1.4;
}
.footer__container p a {
  color: #333333;
  text-decoration: underline;
  transition: color 0.2s ease;
}
.footer__container p a:hover {
  color: #000000;
}

.main {
  background: #494949;
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.main__content {
  position: relative;
  padding: 15px 20px 20px; /* Увеличиваем нижний отступ */
  max-width: 390px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main__image {
  display: block;
  object-fit: contain;
  max-width: 100%;
  max-height: 160px; /* Немного уменьшаем максимальную высоту */
  margin: 30px auto 0; /* Добавляем отступ сверху 30px, чтобы опустить кубок */
  padding: 0;
}
.main__title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 900;
  color: #FFFFFF;
  text-align: center;
  text-wrap: balance;
  margin-bottom: 8px;
  flex-shrink: 0;
}
.main__title span {
  display: inline-block;
  font-size: 20px;
  font-weight: 900;
  color: #FFFFFF;
  margin: 8px auto;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(80, 79, 79, 0.25);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.3);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
.main__subtitle {
  font-size: 14px;
  font-weight: 400;
  color: #FFFFFF;
  opacity: 0.8;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
  flex-shrink: 0;
}
.main__button {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 10px;
}
.main__link {
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  max-width: 220px;
  margin: 0 auto;
  color: #FFFFFF;
  width: 100%;
  padding: 14px 18px;
  border-radius: 190px;
  background: rgba(40, 162, 36, 0.6666666667);
  text-align: center;
  margin-bottom: 8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}
.main__link:hover {
  background: #6e6e6e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.main__link:active {
  transform: scale(0.98);
}
.main__pay {
  opacity: 0.5;
  text-align: center;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 10px;
  flex-shrink: 0;
}
.main__back {
  margin: 0 auto;
  max-width: max-content;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.main__back:hover {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 320px) and (max-width: 374.9px) {
  .container {
    padding: 0 12px;
  }
  .header {
    padding: 10px 0;
  }
  .header__danger {
    height: 20px;
  }
  .header img[alt=МегаФон] {
    height: 20px;
  }
  .main__image {
    max-height: 140px;
    margin-top: 60px; /* Отступ для кубка на маленьких экранах */
  }
  .main__title {
    font-size: 16px;
  }
  .main__title span {
    font-size: 18px;
  }
  .main__link {
    font-size: 16px;
    padding: 12px 16px;
    max-width: 200px;
  }
}
@media (min-width: 375px) and (max-width: 424.9px) {
  .container {
    max-width: 375px;
  }
  .header {
    padding: 12px 0;
  }
  .header__danger {
    height: 22px;
  }
  .header img[alt=МегаФон] {
    height: 22px;
  }
  .main__image {
    max-height: 150px;
    margin-top: 50px; /* Увеличиваем отступ */
  }
  .footer__container p {
    font-size: 12px;
  }
}
@media (min-width: 425px) and (max-width: 767.9px) {
  .container {
    max-width: 425px;
  }
  .header {
    padding: 14px 0;
  }
  .header__danger {
    height: 24px;
  }
  .header img[alt=МегаФон] {
    height: 24px;
  }
  .main__image {
    max-height: 160px;
    margin-top: 50px; /* Увеличиваем отступ */
  }
  .main__title {
    font-size: 18px;
  }
  .main__title span {
    font-size: 20px;
  }
  .main__link {
    font-size: 18px;
    padding: 14px 20px;
  }
  .footer {
    padding: 10px 0;
  }
}
@media (min-width: 768px) {
  .wrapper {
    max-width: none;
    margin: 0;
  }
  .container {
    max-width: 768px;
    padding: 0 20px;
  }
  .header {
    padding: 16px 0;
  }
  .header__danger {
    height: 26px;
    right: 20px;
  }
  .header img[alt=МегаФон] {
    height: 26px;
  }
  .main__content {
    max-width: 768px;
  }
  .main__image {
    max-height: 180px;
    margin-top: 50px; /* Увеличиваем отступ на планшетах */
  }
  .main__title {
    font-size: 20px;
  }
  .main__title span {
    font-size: 22px;
    margin: 10px auto;
    padding: 6px 12px;
  }
  .main__subtitle {
    font-size: 15px;
  }
  .main__link {
    font-size: 20px;
    padding: 16px 24px;
    max-width: 250px;
  }
  .footer {
    padding: 12px 0;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding: 0 30px;
  }
  .header {
    padding: 18px 0;
  }
  .header__danger {
    right: 30px;
  }
  .header__danger {
    height: 28px;
  }
  .header img[alt=МегаФон] {
    height: 28px;
  }
  .main__content {
    max-width: 1024px;
  }
  .main__image {
    max-height: 200px;
    margin-top: 50px; /* Еще больше опускаем на десктопах */
  }
  .main__title {
    font-size: 22px;
  }
  .main__title span {
    font-size: 24px;
  }
  .main__link {
    max-width: 280px;
  }
  .footer__container {
    max-width: 1024px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 0 40px;
  }
  .header__danger {
    right: 40px;
  }
  .header {
    padding: 20px 0;
  }
  .header__danger {
    height: 30px;
  }
  .header img[alt=МегаФон] {
    height: 30px;
  }
  .main__content {
    max-width: 1200px;
  }
  .main__image {
    max-height: 220px;
    margin-top: 80px;
  }
  .main__title {
    font-size: 24px;
  }
  .main__title span {
    font-size: 26px;
  }
  .footer__container {
    max-width: 1200px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
    padding: 0 50px;
  }
  .header__danger {
    right: 50px;
  }
  .header {
    padding: 22px 0;
  }
  .header__danger {
    height: 32px;
  }
  .header img[alt=МегаФон] {
    height: 32px;
  }
  .main__content {
    max-width: 1440px;
  }
  .main__image {
    max-height: 240px;
    margin-top: 90px;
  }
  .main__title {
    font-size: 26px;
  }
  .main__title span {
    font-size: 28px;
    padding: 8px 16px;
  }
  .main__link {
    max-width: 300px;
  }
  .footer__container {
    max-width: 1440px;
  }
}
@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
    padding: 0 60px;
  }
  .header__danger {
    right: 60px;
  }
  .header {
    padding: 24px 0;
  }
  .header__danger {
    height: 34px;
  }
  .header img[alt=МегаФон] {
    height: 34px;
  }
  .main__content {
    max-width: 1920px;
  }
  .main__image {
    max-height: 260px;
    margin-top: 80px;
  }
  .main__title {
    font-size: 28px;
  }
  .main__title span {
    font-size: 30px;
    padding: 10px 20px;
  }
  .main__link {
    max-width: 320px;
    font-size: 22px;
    padding: 18px 28px;
  }
  .footer {
    padding: 15px 0;
  }
  .footer__container {
    max-width: 1920px;
  }
  .footer__container p {
    font-size: 14px;
  }
}
@media (max-height: 700px) {
  .main__image {
    max-height: 140px;
    margin-top: 60px; /* Уменьшаем отступ при маленькой высоте */
    padding: 0;
  }
  .main__title {
    font-size: 16px;
  }
  .main__title span {
    font-size: 18px;
    margin: 5px auto;
    padding: 3px 8px;
  }
  .main__subtitle {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .main__link {
    padding: 10px 16px;
    font-size: 16px;
  }
}
@media (max-height: 600px) {
  .main__image {
    max-height: 120px;
    margin-top: 50px; /* Еще меньше отступ */
  }
  .main__title {
    font-size: 14px;
  }
  .main__title span {
    font-size: 16px;
  }
}

/*# sourceMappingURL=style8.css.map */
