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

@font-face {
  font-family: "Myriad Pro Bold It";
  src: url("/fonts/MYRIADPRO-BOLDIT.OTF") format("truetype");
}

@font-face {
  font-family: "Myriad Pro Regular";
  src: url("/fonts/MYRIADPRO-REGULAR.OTF") format("truetype");
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/roboto/Roboto-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Tactic Sans";
  src: url("/fonts/tactic/TacticSans-Reg.eot");
  src: local("Tactic Sans"), local("TacticSans-Reg"),
    url("/fonts/tactic/TacticSans-Reg.eot?#iefix") format("embedded-opentype"),
    url("/fonts/tactic/TacticSans-Reg.woff2") format("woff2"),
    url("/fonts/tactic/TacticSans-Reg.woff") format("woff"),
    url("/fonts/tactic/TacticSans-Reg.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: Arial, sans-serif;
  position: relative;
  /* width: 360px; */
  /* max-width: 360px; */
  /* height: 100vh; */
  /* background-color: #dfc9a2; */
  background: rgb(223, 201, 162);

  margin: 0;
  display: flex;
  justify-content: center;
  /* align-items: center; */
}

.page-header-2 {
  display: flex;
  justify-content: center;
  align-items: center;

  margin-left: 20px;
  margin-right: 20px;
}

.page-header-2 img {
  width: 67px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  position: relative;
  height: 65px;
  background-color: #000;
}

.page-header-logo {
  width: 46px;
  height: 35px;

  margin: 11px 0 0 20px;
  background: url("/images/logologo.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.page-header-lang {
  width: 62px;
  height: 26px;

  margin: 17px 20px 0 20px;
  background: url("/images/lang_rus.jpg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* footer  */

.page-footer {
  position: relative;
  background-color: #000;
  margin-top: 20px;
  /* height: 65px; */
}

.page-footer hr {
  /* position: absolute; */
  width: 320px;
  height: 0px;

  opacity: 0.2;
  border: 3px solid #ffffff;

  margin-top: 2.25rem;
  margin-bottom: 2.25rem;
  margin-left: 20px;

  border-top: 3px solid var(--hr-color);
}

.footer-container {
  display: flex;
  flex-wrap: wrap; /* Позволяет перенос элементов */
  justify-content: space-between;
  color: #fff;
  margin: 0 auto;
  gap: 10px; /* Расстояние между колонками и рядами */

  margin-top: 30px;

  padding-right: 20px;
  padding-left: 20px;
}

.footer-container-column {
  flex: 0 0 calc(50% - 10px); /* Колонка занимает 50% ширины с учетом отступа */
  min-width: 0; /* Убираем минимальную ширину */
}

.hr-line {
  border: 0 !important;
  height: 2px !important; /* Толщина линии */
  background-color: black !important; /* Цвет линии */
}

h3 {
  font-family: "Tactic Sans";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #967d9a;
}

ul {
  font-family: "Roboto";
  padding-top: 20px;
  /* margin-bottom: 10px; */
  list-style: none;
  /* padding: 0; */
  /* margin: 0; */
}

li {
  font-size: 11px;
  /* margin-top: 10px; */
  line-height: 1.5;
  margin-bottom: 9px;
}

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

.footer .column:last-child h3 {
  color: #a29bfe; /* Другой цвет для последнего заголовка */
}

.page-footer-copyrigth {
  padding: 0px 20px 0 20px;
  /* width: 205px; */
  height: 21px;
  /* left: 20px; */
  /* top: 940px; */

  font-family: "Myriad Pro Regular";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;

  color: #bfbfbf;
}

/* Main  */

.main-container {
  display: flex;
  flex-direction: column;

  width: 360px;
}

.loto-wrapper {
  position: relative;
}

.loto-container_top {
  position: absolute;
  z-index: 111;
  width: 360px;
  height: 24px;
  left: 0px;
  top: 27px;

  background: #dfc9a2;
  filter: blur(9.95px);
}

.loto-container {
  position: relative;

  /* margin-top: 41px; */

  width: 360px;
  height: 427px;
  /* left: -22px; */
  /* top: 41px; */
  background: url("/images/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.terassa {
  position: absolute;
  z-index: 222;
  width: 125.05px;
  height: 36px;
  left: 4px;
  top: 23px;

  font-weight: 900;
  font-size: 26px;
  letter-spacing: -2px;
  /* line-height: 48px; */

  height: 36px;
  /* display: block; */
  width: 156px;
  background: url("/images/terassa.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.title-name {
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;

  position: absolute;
  width: 132px;
  height: 65px;
  left: 117.23px;
  top: 104px;
}

/* Лотерея */
.title-name-top {
  width: 132px;
  height: 17px;

  font-family: "Myriad Pro Bold It";
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  line-height: 17px;
  /* identical to box height */
  text-align: center;

  color: #e74129;

  /* Inside auto layout */
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

/* Хунбао */
.title-name-bottom {
  width: 132px;
  height: 48px;

  font-family: "Myriad Pro Bold It";
  font-style: italic;
  font-weight: 700;
  font-size: 40px;
  line-height: 40px;
  /* identical to box height */
  text-align: center;

  color: #e74129;

  /* Inside auto layout */
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

.loto-reg-form {
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  gap: 9px;

  position: absolute;
  width: 174px;
  height: 119px;
  left: 96px;
  top: 174px;
}

.logo-reg-form-title {
  width: 175.38px;
  height: 17px;

  font-family: "Myriad Pro Regular";
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  /* identical to box height */
  text-align: center;

  color: #404040;

  /* Inside auto layout */
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

.logo-reg-form-form {
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 14px;

  width: 175.38px;
  height: 93px;

  /* Inside auto layout */
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

/* 55 */
.logo-reg-form-form-name {
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 7px;

  width: 175.38px;
  height: 55px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  align-self: stretch;
  flex-grow: 0;
}

/* 57 */
.logo-reg-form-form-name-2 {
  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 4px;

  position: absolute;
  width: 118px;
  height: 18px;
  left: 3.69px;
  top: 3.31px;
}

/* 80 */
.logo-reg-form-form-name-wrapper {
  position: absolute;
  width: 176px;
  height: 24px;
  left: calc(50% - 176px / 2 + 0.31px);

  background: #f7e9d0;
  border-radius: 2px;
}

/* 54 */
.logo-reg-form-form-name-left-wrapper {
  position: absolute;
  z-index: 333;
  top: 26px;

  width: 18px;
  height: 18px;

  background: #ebd9b9;
  border-radius: 2.30769px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}

/* 114 */
.logo-reg-form-form-name-left {
  z-index: 333;
  top: 3px;
  left: 3px;
  position: absolute;

  width: 12px;
  height: 12px;

  background: url("/images/logo-name.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.logo-reg-form-form-name-left-input {
  position: absolute;
  left: 20px;

  border: none;

  /* font-family: "Myriad Pro Regular"; */
  font-size: 12px;
  width: 140px;
  background-color: #f7e9d0;
}

input:focus {
  outline: none; /* Убираем рамку при фокусе */
  color: #404040; /* Меняем цвет текста при вводе */
}

/* 55 */
.logo-reg-form-form-phone {
  /* Auto layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 7px;

  /* Frame 56 */

  width: 175.38px;
  height: 24px;

  /* Inside auto layout */
  flex: none;
  order: 1;
  align-self: stretch;
  flex-grow: 0;
}

/* 57 */
.logo-reg-form-form-phone-2 {
  /* Frame 57 */

  /* Auto layout */
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0px;
  gap: 4px;

  position: absolute;
  width: 152px;
  height: 18px;
  left: 3.69px;
  top: 3.31px;
}

/* 80 */
.logo-reg-form-form-phone-wrapper {
  /* Rectangle 80 */

  position: absolute;
  width: 176px;
  height: 24px;
  left: calc(50% - 176px / 2 + 0.31px);
  top: 57px;

  background: #f7e9d0;
  border-radius: 2px;
}

/* 54 */
.logo-reg-form-form-phone-left-wrapper {
  position: absolute;
  z-index: 333;
  top: 57px;

  /* Frame 54 */

  width: 18px;
  height: 18px;

  background: #ebd9b9;
  border-radius: 2.30769px;

  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}

/* 114 */
.logo-reg-form-form-phone-left {
  z-index: 333;
  top: 3px;
  left: 3px;
  position: absolute;

  width: 12px;
  height: 12px;

  background: url("/images/logo-phone.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.logo-reg-form-form-phone-left-input {
  position: absolute;
  left: 20px;

  border: none;

  /* font-family: "Myriad Pro Regular"; */
  font-size: 12px;
  width: 145px;
  background-color: #f7e9d0;
}

input:focus {
  outline: none; /* Убираем рамку при фокусе */
  color: #404040; /* Меняем цвет текста при вводе */
}

.loto-reg-form-reg-button {
  position: absolute;
  top: 95px;
  width: 175.38px;
  height: 24px;
  gap: 0px;
  opacity: 0px;

  background: url("/images/Rectangle 37.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/* ЗАРЕГИСТРИРОВАТЬСЯ */
.loto-reg-form-reg-button span {
  position: absolute;
  width: 139.62px;
  /* height: 6.92px; */
  left: 19px;
  top: 5.5px;

  font-family: "Myriad Pro Regular";
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.7px;

  leading-trim: both;
  text-edge: cap;
  text-align: center;

  color: #ffffff;
}

.footer-wrapper {
  width: 360px;
  height: 427px;

  /* margin-top: 40px; */

  background: url("/images/footer.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-menu {
  position: fixed;
  display: flex;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;

  height: 63px;

  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);

  background: rgba(24, 27, 31, 0.85);
  backdrop-filter: blur(2px);

  /* background: url("/images/Rectangle77.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; */
}

.footer-menu-1 {
  position: relative;
  display: flex;
  left: 20px;

  width: 82px;
  height: 39px;

  background: url("/images/specified_segment_1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-menu-2 {
  position: relative;
  display: flex;
  left: 20px;

  width: 82px;
  height: 39px;

  background: url("/images/specified_segment_2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-menu-3 {
  position: relative;
  display: flex;
  left: 20px;

  width: 82px;
  height: 39px;

  background: url("/images/specified_segment_3.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.footer-menu-4 {
  position: relative;
  display: flex;
  left: 20px;

  width: 82px;
  height: 39px;

  background: url("/images/specified_segment_4.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.ligth-grey {
  color: #bfbfbf;
}

.fs-10 {
  font-size: 10px;
}

.btn.disabled {
  pointer-events: none; /* Отключает все клики */
  opacity: 0.5; /* Уменьшает видимость для наглядности */
  text-decoration: none; /* Убирает подчеркивание (опционально) */
}

.alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f44336;
  color: white;
  padding: 20px;
  border-radius: 10px; /* Закругленные углы */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  z-index: 1000;
  display: none; /* Скрыто по умолчанию */
}

.alert-success {
  background-color: green;
}

.alert-warning {
  background-color: orange;
}

.alert-error {
  background-color: #f44336;
}

.alert button {
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  background-color: white;
  color: #f44336;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.alert button:hover {
  background-color: #ffe0e0;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}
