body {
  margin: 0;
  padding: 0;
  background-color: #100f0c;
  font-family: 'Cormorant Garamond', serif;
  color: #faf9e7;
  overflow: hidden;
    height: 100%;
  min-height: 100vh;
}

.wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
}

/* Логотип */
.lumo {
  position: absolute;
  top: 3vh;
  left: 10vw;
  font-weight: 150;
  font-size: clamp(3rem, 4vw, 7rem); /* ≈90px */
  color: #d2c9a7;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}
.copyright {
  position: absolute;
  bottom: 0.2cm;
  left: 50%;
  transform: translateX(-50%);
  color: #a98b4c;
  font-size: 17px;
  font-weight: 200;
  font-family: 'Cormorant Garamond', serif;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  white-space: nowrap;

}
 .select {
  background-color: rgba(213, 203, 173, 0.15) !important;
  color: #d5cbad !important;
  border: 1px solid #d5cbad !important;
  /* убрать стандартную стрелку на некоторых браузерах */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 30px; /* место под кастомную стрелку */
  cursor: pointer;
  border-radius: 8px;
}

/* Для стрелки внизу справа сделаем псевдоэлемент */
 .select::-ms-expand {
  display: none; /* IE10+ */
}

.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #d5cbad;
  font-size: 0.7rem;
  font-weight: bold;
}



.filters {
  position: absolute;
  top: 22vh;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(213, 203, 173, 0.08);
  border: 1px solid rgba(213, 203, 173, 0.4);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #d5cbad;
  font-size: 1rem;
  z-index: 1001;
  backdrop-filter: blur(8px);
  width: 280px;
}

.filter {
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none;
}


/* Стили модалки поиска */
.search-modal {
  width: 90%;
  max-width: 600px;
  border-radius: 16px;
  padding: 30px;
  background: rgba(213, 203, 173, 0.1);
  box-shadow: 0 0 25px rgba(213, 203, 173, 0.4), 0 0 60px rgba(213, 203, 173, 0.2);
  backdrop-filter: blur(8px);
}

.search-form label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #d5cbad;
}

.search-form select {
  width: 100%;
  padding: 10px;
  background-color: #1a1a1a !important;
  color: #d5cbad;
  border: 1px solid #d5cbad;
  border-radius: 8px;
  font-size: 1rem;
  appearance: none; /* 🔥 Это отключает дефолтные стрелки и стили */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none; /* 🔥 Убирает дефолтную иконку в некоторых браузерах */
}
 
.search-form select option {
  background-color: #1a1a1a;
  color: #d5cbad;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
}
/* Стилизация скроллбара для select — WebKit */
.search-form select::-webkit-scrollbar {
  width: 10px;
}

.search-form select::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.search-form select::-webkit-scrollbar-thumb {
  background-color: #d5cbad;
  border-radius: 8px;
  border: 2px solid #1a1a1a;
}

/* Стилизация для Firefox */
.search-form select {
  scrollbar-width: thin;
  scrollbar-color: #d5cbad #1a1a1a;
}

.age-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-range select {
  flex: 1;
}

.age-dash {
  color: #d5cbad;
  font-weight: bold;
}

.separator-line {
  position: absolute;
  top: 11vh; /* или 13.5vh для мобилки */
  left: 0;
  width: 100vw;
  height: 3px;
  background: linear-gradient(
    to right, 
    rgba(213, 203, 173, 0.4) 0%,    /* чуть ярче слева */
    rgba(213, 203, 173, 0.15) 50%,  /* мягче по центру */
    rgba(213, 203, 173, 0.2) 100%   /* обычный цвет справа */
  );
  box-shadow:
    0 0 10px rgba(213, 203, 173, 0.3); /* легкое свечение вокруг */
  pointer-events: none;
  z-index: 0;
}

/* Слоган с точкой */
.slogan-container {
  position: absolute;
  top: 5.5vh;
  left: 32vw;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 85vw;
}

.menu-icon {
  all: unset; /* обнуляет ВСЕ браузерные стили и наследования */
  position: absolute;
  top: 5vh;
  left: 4vw;
  font-weight: 100; /* тонкий шрифт */
  font-size: 2.3rem;
  color: #d5cbad;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}



.dot {
  width: clamp(2.1rem, 2vw, 2.8rem); /* адаптивно ≈ 2.5rem */
  height: clamp(2.1rem, 2vw, 2.8rem);
  border-radius: 50%;
  background-color: #f5eac1;
  box-shadow:
    0 0 30px #d5cbad,
    0 0 1.5px 1.5px #100f0c inset;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.slogan {
  font-size: clamp(1.7rem, 1.8vw, 4rem);
  color: #faf9e7;
  line-height: 1.3;
  flex: 1;
  text-align: left;
  white-space: wrap;
}

.buttons {
    position: absolute;
    top: 6vh;      /* чуть ниже линии (которая 13.5vh) */
    left: 78%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;  /* расположить в линию */
    gap: 3rem;
    justify-content: center;
    flex-wrap: nowrap;    /* не переносить */
    width: auto;          /* ширина по контенту */
}
.menu-button {
  position: absolute;
  top: 9vh;
  left: 23%;
  background: rgba(213, 203, 173, 0.12);
  color: #a98b4c;
  font-size: 2rem;
  border: 1px solid #332f27;
  border-radius: 26px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 1001;
}

.start-search-button {
  position: relative;
  top: 13.3vh;
  left: 47%;
  transform: translateX(-50%);
  display: inline-block; /* важно! */
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-stretch: semi-expanded; /* немного растянутый текст */
  padding: 7px 70px; /* ещё более вытянутая форма */
  font-size: 1.3rem; /* чуть больше */
  color: #1c170b; /* тёмный текст */
  background: radial-gradient(circle at 30% 30%, #3c352c, #1f1a16);
  border-radius: 999px; /* кругленькая капсула */
  border: 1px solid #d5cbad;
  cursor: pointer;
  z-index: 1;
  transition: all 0.4s ease;
  white-space: nowrap;
  letter-spacing: 1px; /* растянем пробелы между буквами */
  overflow: visible;
  box-shadow:
    0 0 8px rgba(255, 243, 200, 0.25),
    inset 0 0 6px rgba(255, 243, 200, 0.1);
    text-transform: uppercase;
}
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background-color: rgba(27, 26, 23, 0.75);
  z-index: 1000;
  padding: 40px 20px; /* более комфортные отступы */
  box-sizing: border-box;
  overflow-y: auto; 
}
.modal#text-modal {
  z-index: 11000 !important;
}
.modal-content {
  background-color: #1b1a17;
  color: #faf9e7;
  border: 1px solid #d5cbad;
  border-radius: 16px;
  padding: 1.3rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 0 20px rgba(213, 203, 173, 0.15);
  position: relative;
  font-family: 'Cormorant Garamond', serif;
  box-sizing: border-box;
  font-size: 2rem;
  max-height: 90vh;       /* увеличиваем до 90% экрана */
  overflow-y: auto;

  /* Ограничение по высоте и прокрутка (базовые) */
  max-height: 74vh;
  overflow-y: auto;
}

.modal h2 {
  text-align: center;
  font-weight: 300;
  color: #d5cbad;
  margin-bottom: 0.8rem;
    font-size: 1.7rem;
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  font-size: 2rem;
  color: #d5cbad;
  cursor: pointer;
}


/* Форма внутри модального окна */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Поля ввода */
.modal-form input[type="text"],
.modal-form input[type="password"] {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid #d5cbad;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  background-color: #2a2924;
  color: #faf9e7;
  box-sizing: border-box;
}

/* Лейблы с чекбоксами и кастомными точками */
.modal-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  font-size: 1.1rem;
  color: #d5cbad;
}

/* Скрываем стандартный чекбокс */
.modal-checkbox input[type="checkbox"] {
  display: none;
}

/* Кастомная точка вместо чекбокса */
.custom-dot {
  width: 16px;
  height: 16px;
  border: 1.5px solid #d5cbad;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Заполнение точки при включенном чекбоксе */
.modal-checkbox input[type="checkbox"]:checked + .custom-dot {
  background-color: #d5cbad;
  border-color: #d5cbad;
}

/* Кнопка "Создать анкету" */
.modal-submit {
  margin-top: 1.5rem;
  font-size: 1.2rem;
  padding: 1rem;
  background-color: #d5cbad;
  color: #1b1a17;
  font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-submit:hover {
  background-color: #c0b68f;
  }
  
/* Модальное окно */
#modal-welcome {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background-color: rgba(27, 26, 23, 0.85);
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

/* Содержимое модалки */
#modal-welcome .modal-content {
  width: 90vw;
  max-width: 1200px;
  max-height: 90vh;
  background-color: #1b1a17;
  color: #faf9e7;
  border: 1px solid #d5cbad;
  border-radius: 16px;
  padding: 2rem;
  box-sizing: border-box;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  overflow-y: auto;
}

/* Заголовок */
.modal-title {
  text-align: center;
  font-weight: 300;
  font-size: 2rem;
  color: #d5cbad;
  margin-bottom: 2rem;
}

/* Контейнер карточек */
.user-types {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* Карточка */
.user-card {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  max-width: calc(33.333% - 20px);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background-color: #2a2925;
  box-shadow: 0 0 10px rgba(213, 203, 173, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.user-card:hover {
  transform: scale(1.03);
}

/* Картинка */
.user-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  transition: 0.3s ease;
}

/* Оверлей */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 12, 0.92);
  color: #f0e9d6;
  font-size: 0.95rem;
  line-height: 1.4;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  padding: 1rem;
  text-align: center;
}

/* Заголовок внутри карточки */
.card-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #e6d9b8;
}

/* Список фич */
.card-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-overlay li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #faf9e7;
}

.card-overlay li.you-are-here {
  margin-top: 1rem;
  font-weight: bold;
  color: #d5cbad;
  font-size: 1.05rem;
}

/* Активация оверлея при ховере */
.user-card:hover .card-overlay {
  opacity: 1;
  pointer-events: auto;
}

.user-card:hover img {
  opacity: 0.15;
  filter: none;
}

/* Активный уровень */
.user-card.level-1.active {
  outline: 2px solid #d5cbad;
  outline-offset: -4px;
  box-shadow: 0 0 20px rgba(213, 203, 173, 0.5);
}

/* Подсветка уровней */
.user-card.level-2 {
  outline: 2px solid #997f5d;
  outline-offset: -4px;
  box-shadow: 0 0 15px rgba(153, 127, 93, 0.3);
}

.user-card.level-3 {
  outline: 2px solid #c98d66;
  outline-offset: -4px;
  box-shadow: 0 0 15px rgba(201, 141, 102, 0.3);
}

/* Затемнение неактивных */
.user-card:not(.active) img {
  opacity: 0.7;
  filter: grayscale(30%);
}

.user-card:not(.active):hover img {
  opacity: 0.2;
  filter: none;
}
.modal-footer {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.modal-light .form-intro-content {
  max-width: 800px;
  width: 90vw;
  max-height: 95vh;
  min-height: 75vh;
  background-color: #f9f7ef;
  color: #1b1a17;
  border: 1px solid #d5cbad;
  border-radius: 20px;
  padding: 20rem 2rem;
  position: relative;
  box-shadow: 
    0 0 25px rgba(213, 203, 173, 0.4),
    0 0 60px rgba(213, 203, 173, 0.25),
    inset 0 0 12px rgba(255, 255, 255, 0.05);
  font-size: 1.7rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.5rem;
}
.form-step {
  display: none;
  background-color: #f9f7ef;
  color: #1b1a17;
  border: 1px solid #d5cbad;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 0 30px rgba(213, 203, 173, 0.35);
  font-size: 1.3rem;
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  min-height: 75vh;
  position: relative;
}

.tags-clouds-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 1rem;
}

.tag-bubble {
  padding: 12px 18px;
  background: rgba(213, 203, 173, 0.15);
  color: #1b1a17;
  border: 1px solid #d5cbad;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.tag-bubble:hover {
  background: rgba(213, 203, 173, 0.3);
  transform: scale(1.05);
}

.tag-bubble.selected {
  background-color: #d5cbad;
  color: #1b1a17;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(213, 203, 173, 0.4);
}
.skip-button {
  background: none;
  border: 1px dashed #d5cbad;
  border-radius: 20px;
  padding: 10px 20px;
  color: #1b1a17;
  font-size: 1rem;
  margin-top: 1.2rem;
  cursor: pointer;
  align-self: center;
  transition: background 0.3s ease;
}

.skip-button:hover {
  background-color: rgba(213, 203, 173, 0.2);
}
.photo-upload-button {
  position: relative;
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-stretch: semi-expanded;
  padding: 7px 70px;
  font-size: 1.3rem;
  color: #c7bb9d;
  background: radial-gradient(circle at 30% 30%, #3c352c, #1f1a16);
  border-radius: 999px;
  border: 1px solid #d5cbad;
  cursor: pointer;
  z-index: 1;
  transition: all 0.4s ease;
  white-space: nowrap;
  letter-spacing: 1px;
  overflow: visible;
  box-shadow:
    0 0 8px rgba(255, 243, 200, 0.25),
    inset 0 0 6px rgba(255, 243, 200, 0.1);
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.photo-preview {
  display: flex;
  gap: 16px;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.photo-item {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  overflow: hidden;
  width: 130px;
  height: 130px;
  transition: border 0.2s ease;
}

.photo-item.main {
  border-color: #00bcd4;
  border-width: 3px;
  border-radius: 50%;
}

.photo-item:not(.main) {
  border-radius: 12px;
  width: 110px;
  height: 140px;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-item .remove-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
  .photo-preview-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px 0;
  }
  .photo-bubble {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    border: 2px solid #d5cbad;
    box-shadow: 0 0 10px rgba(255, 243, 200, 0.2);
  }
  .photo-wrapper {
    position: relative;
  }
  .remove-photo {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #3c352c;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .styled-upload-button {
    margin: 0 auto;
    display: inline-block;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    padding: 7px 60px;
    font-size: 1.2rem;
    color: #1c170b;
    background: radial-gradient(circle at 30% 30%, #3c352c, #1f1a16);
    border-radius: 999px;
    border: 1px solid #d5cbad;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 8px rgba(255, 243, 200, 0.25), inset 0 0 6px rgba(255, 243, 200, 0.1);
  }
#modal-form-intro .modal-title {
  color: #1b1a17;
  font-weight: 600;
  text-align: center;
  font-size: 2.3rem;
  margin: 0;
}
#modal-form-intro .modal-description {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #44403c;
  text-align: center;
  margin: 0;
  
}
.modal-form-input {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  border: 1px solid #d5cbad;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  background-color: #f5f4ea;
  color: #1b1a17;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}
.form-step.active {
    display: flex;
  align-items: center;
  justify-content: center;
}
.input-error {
  border-color: #c98d66;
  box-shadow: 0 0 0 2px rgba(201, 141, 102, 0.3);
}
/* Кнопка стрелки вправо */
.modal-next-wrapper {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
}
.form-step-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
.modal-arrow-button {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #1b1a17;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal-arrow-button:hover {
  transform: translateX(4px);
}
.age-clouds-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.age-cloud {
  padding: 10px 20px;
  background: rgba(213, 203, 173, 0.15);
  color: #1b1a17;
  border: 1px solid #d5cbad;
  border-radius: 999px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.age-cloud:hover {
  background: rgba(213, 203, 173, 0.3);
  transform: scale(1.05);
}
.city-clouds-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-height: 300px;
  overflow-y: auto;
  margin-top: 1rem;
}

.city-cloud {
  padding: 10px 16px;
  background: rgba(213, 203, 173, 0.15);
  color: #1b1a17;
  border: 1px solid #d5cbad;
  border-radius: 999px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.city-cloud:hover {
  background: rgba(213, 203, 173, 0.3);
  transform: scale(1.05);
}

.city-cloud.selected {
  background-color: #d5cbad;
  color: #1b1a17;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(213, 203, 173, 0.4);
}

.age-cloud.selected {
  background-color: #d5cbad;
  color: #1b1a17;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(213, 203, 173, 0.4);
}


#start-register.modal-submit {
  font-size: 1.2rem;
  padding: 1rem 2rem;
  background-color: #d5cbad;
  color: #1b1a17;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  transition: background-color 0.3s ease;
}

#start-register.modal-submit:hover {
  background-color: #c0b68f;
}

@media (max-width: 768px) {
  #modal-welcome .card-overlay {
    display: none; /* скрываем overlay на мобильных */
  }
}

/* Оверлей всегда виден у активной карточки */
/* Контейнер карточек (модифицировано для мобильных и десктопа) */
#modal-welcome .user-types {
  display: flex;
  flex-wrap: wrap;
}

/* Устанавливаем ширину карточек: 2 в ряд, 3-я центрируется */
#modal-welcome .user-types .user-card {
  flex: 1 1 calc(50% - 10px); /* две на ряд */
  max-width: calc(50% - 10px);
}

/* Для экранов побольше — возвращаем на 3 в ряд */
@media (min-width: 900px) {
  #modal-welcome .user-types .user-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}

/* Центрируем третью, если она на новой строке */
#modal-welcome .user-types .user-card:nth-child(3) {
  margin-left: auto;
  margin-right: auto;
}
/* Мобильная адаптация */
@media (max-width: 900px) {
  .user-card {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}


.start-search-button::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 999px; /* делаем форму такой же капсульной */
  border: 4px solid transparent;
  background: linear-gradient(90deg,
    rgba(255, 243, 200, 0.6),
    rgba(255, 243, 200, 1),
    rgba(255, 243, 200, 0.6));
  background-size: 300% 100%;
  animation: wave-border 16s linear infinite;
  pointer-events: none;
  z-index: -1;
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255, 243, 200, 0.5));
}

/* Анимация движения "волны" по рамке */
@keyframes wave-border {
  0% {
    background-position: 300% 50%;
  }
  100% {
    background-position: -300% 50%;
  }
}


.start-search-button:hover {
  color: #fffbe2;
  box-shadow:
    0 0 15px rgba(255, 243, 200, 0.5),
    inset 0 0 10px rgba(255, 243, 200, 0.2);
   
}

.button-lumo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: #d5cbad;
  background: rgba(213, 203, 173, 0.12); /* чуть плотнее фон */
  border: 1px solid #d5cbad;
  border-radius: 26px;
  padding: 6px 24px;
  cursor: pointer;
  transition: background 0.3s;
  line-height: 1.2;
  height: 40px;               /* фиксируем высоту */
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-lumo:hover {
  background: rgba(213, 203, 173, 0.25);
}

@media (orientation: landscape) and (max-height: 645px) {
  /* Стили для модалки */
  .modal {
  max-height: 80vh;
  overflow-y: auto; 
  }
  .menu-icon {
  all: unset; /* обнуляет ВСЕ браузерные стили и наследования */
  position: absolute;
  top: 9vh;
  left: 3vw;
  font-weight: 100; /* тонкий шрифт */
  font-size: 2.3rem;
  color: #d5cbad;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  }
}

@media (max-width: 480px) and (orientation: portrait) {
  .lumo {
    position: absolute;
    top: 3vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(2.3rem, 9vw, 3.5rem);
  }
 .start-search-button {
  position: relative;
  top: 18.4vh;
  left: 50%;
    padding: 4px 60px; /* ещё более вытянутая форма */
  font-size: 1.2rem; /* чуть больше */
  }
  .separator-line {
    top: 10.5vh; /* сдвинуть вниз под слоган на мобилках */
    width: 100vw;
    height: 2.5px;
  }
  .slogan-container {
    position: absolute;
    top: 6.5vh;
    left: 45%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
  }
  .menu-icon {
  position: absolute;
top: 2vh;
left: 89%;
font-size: 2rem;
width: 1.9rem;
height: 1.9rem;
padding: 0;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
color: #d5cbad;
border: none; /* убрали рамку */
background: NONE;
cursor: pointer;
z-index: 1001;
border-radius: 50%;
 }
  .dot {
    width: 1.8rem;  /* гибко настраивай здесь */
    height: 1.8rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #f5eac1;
    box-shadow:
      0 0 30px #d5cbad,
      0 0 1.8px 1.5px #100f0c inset;
  }

  .slogan {
    font-size: 1.3rem; /* настраиваемый размер текста */
    line-height: 1.2;
    white-space: nowrap; /* не переносим текст */
    text-align: left;
  }

  .buttons {
    position: absolute;
    top: 12.1vh;      /* чуть ниже линии (которая 13.5vh) */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;  /* расположить в линию */
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;    /* не переносить */
    width: auto;          /* ширина по контенту */
  }
 .button-lumo {
  background: rgba(213, 203, 173, 0.12); /* плотнее */
  border: 1px solid #d5cbad;
  border-radius: 26px;
  padding: 6px 18px;
  font-size: 1.3rem;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
min-width: max-content;
  }

   .modal-checkbox {
    align-items: center; /* вернуть выравнивание */
  }

  .modal-checkbox span:last-child {
    display: inline-block;
    max-width: 90%;      /* ограничиваем ширину текста */
    line-height: 1;
    word-break: break-word;
  }
}
  
@media (max-width: 480px) and (orientation: landscape) {
  .lumo {
    top: 2vh;
    font-size: clamp(1.8rem, 6vw, 2.8rem);
    left: 50%;
    transform: translateX(-50%);
  }

  .slogan-container {
    top: 6.5vh;
    gap: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .dot {
    width: 1.5rem;
    height: 1.5rem;
  }

  .slogan {
    font-size: 1.1rem;
    line-height: 1.2;
  }

  .separator-line {
    top: 12vh;
    height: 2px;
  }

  .buttons {
    top: 13.5vh;
    gap: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .button-lumo {
    padding: 4px 14px;
    font-size: 1.1rem;
    height: 36px;
  }

  .modal-content {
    padding: 1.5rem;
    font-size: 1rem;
  }

  .modal h2 {
    font-size: 1.5rem;
  }

  .modal-form input[type="text"],
  .modal-form input[type="password"] {
    font-size: 1rem;
    padding: 0.8rem 1rem;
  }

  .modal-submit {
    font-size: 1rem;
    padding: 0.8rem;
  }

}
@media (min-width: 601px) and (max-width: 940px) and (orientation: landscape) {
   .lumo {
    top: 2.5vh;
    left: 30%;
    transform: translateX(-50%);
    font-size: clamp(3rem, 6vw, 5rem);
  }
 .start-search-button {
  position: relative;
  top: 25vh;
  left: 50%;
    padding: 4px 60px; /* ещё более вытянутая форма */
  font-size: 1.2rem; /* чуть больше */
  }
  .slogan-container {
    top: 11.3vh;
    left: 29.48%;
    transform: translateX(-50%);
    gap: 0.2rem;
  }

  .dot {
    width: 2.2rem;
    height: 2.2rem;
  }

  .slogan {
    font-size: 1.4rem;
    text-align: center;
  }

  .separator-line {
    top: 21.8vh;
  }
.menu-icon {
  position: absolute;
  top: 1vh;
  left: 2%;
  font-size: 2rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50%;
  
  }
  .buttons {
    top: 9vh;
    left: 78%;
    transform: translateX(-50%);
    gap: 0.5rem;
  }

  .button-lumo {
    font-size: 1.4rem;
    padding: 8px 20px;
    height: 42px;
    white-space: nowrap;
    width: auto;
    min-width: max-content;
  }

}

@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  .lumo {
    position: absolute;
    top: 2vh;
    left: 27%;
    transform: translateX(-50%);
    font-size: clamp(2.3rem, 9vw, 3.5rem);
  }
 .start-search-button {
  position: relative;
  top: 11.5vh;
  left: 50%;
    padding: 4px 60px; /* ещё более вытянутая форма */
  font-size: 1.2rem; /* чуть больше */
  }
  .separator-line {
    top: 10vh; /* сдвинуть вниз под слоган на мобилках */
    width: 100vw;
    height: 2.5px;
  }
  .slogan-container {
    position: absolute;
    top: 6.5vh;
    left: 25%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
  }

  .dot {
    width: 1.8rem;  /* гибко настраивай здесь */
    height: 1.8rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #f5eac1;
    box-shadow:
      0 0 30px #d5cbad,
      0 0 1.5px 1.5px #100f0c inset;
  }

  .slogan {
    font-size: 1.3rem; /* настраиваемый размер текста */
    line-height: 1.2;
    white-space: nowrap; /* не переносим текст */
    text-align: left;
  }
.menu-icon {
  position: absolute;
top: 6vh;
left: 95%;
font-size: 2rem;
width: 1.9rem;
height: 1.9rem;
padding: 0;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
color: #d5cbad;
border: none; /* убрали рамку */
background: NONE;
cursor: pointer;
z-index: 1001;
border-radius: 50%;
 }
  .buttons {
    position: absolute;
    top: 6vh;      /* чуть ниже линии (которая 13.5vh) */
    left: 77%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;  /* расположить в линию */
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;    /* не переносить */
    width: auto;          /* ширина по контенту */
  }
 .button-lumo {
  background: rgba(213, 203, 173, 0.12); /* плотнее */
  border: 1px solid #d5cbad;
  border-radius: 26px;
  padding: 6px 18px;
  font-size: 1.3rem;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
min-width: max-content;
  }

   .modal-checkbox {
    align-items: center; /* вернуть выравнивание */
  }

  .modal-checkbox span:last-child {
    display: inline-block;
    max-width: 90%;      /* ограничиваем ширину текста */
    line-height: 1;
    word-break: break-word;
  }
}
@media (min-width: 940px) and (max-width: 1081px) and (orientation: landscape) {
  .lumo {
    position: absolute;
    top: 2vh;
    left: 27%;
    transform: translateX(-50%);
    font-size: clamp(2.3rem, 9vw, 3.5rem);
  }
 .start-search-button {
  position: relative;
  top: 15vh;
  left: 50%;
    padding: 4px 60px; /* ещё более вытянутая форма */
  font-size: 1.2rem; /* чуть больше */
  }
  .separator-line {
    top: 12vh; /* сдвинуть вниз под слоган на мобилках */
    width: 100vw;
    height: 2.5px;
  }
  .slogan-container {
    position: absolute;
    top: 7.5vh;
    left: 25%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    white-space: nowrap;
  }

  .dot {
    width: 1.8rem;  /* гибко настраивай здесь */
    height: 1.8rem;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #f5eac1;
    box-shadow:
      0 0 30px #d5cbad,
      0 0 1.5px 1.5px #100f0c inset;
  }

  .slogan {
    font-size: 1.3rem; /* настраиваемый размер текста */
    line-height: 1.2;
    white-space: nowrap; /* не переносим текст */
    text-align: left;
  }

  .buttons {
    position: absolute;
    top: 6vh;      /* чуть ниже линии (которая 13.5vh) */
    left: 77%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;  /* расположить в линию */
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;    /* не переносить */
    width: auto;          /* ширина по контенту */
  }
 .button-lumo {
  background: rgba(213, 203, 173, 0.12); /* плотнее */
  border: 1px solid #d5cbad;
  border-radius: 26px;
  padding: 6px 18px;
  font-size: 1.3rem;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
min-width: max-content;
  }

   .modal-checkbox {
    align-items: center; /* вернуть выравнивание */
  }

  .modal-checkbox span:last-child {
    display: inline-block;
    max-width: 90%;      /* ограничиваем ширину текста */
    line-height: 1;
    word-break: break-word;
  }
  
}

