/* Сброс стилей */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

/* Фоновое изображение на весь экран */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Хедер с переключателем языка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 40px;
  display: flex;
  justify-content: flex-end;
  z-index: 100;
}

/* Переключатель языка */
.lang-switcher {
  position: relative;
  width: 76px;
  height: 34px;
  background: #fe0000;
  border: none;
  border-radius: 17px;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.lang-switcher:hover {
  opacity: 0.9;
}

/* Круг внутри переключателя */
.lang-switcher__circle {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: #ffffe0;
  border-radius: 50%;
  transition: left 0.3s ease;
  z-index: 2;
}

/* Когда выбран татарский язык, круг справа */
.lang-switcher[data-lang="tt"] .lang-switcher__circle {
  left: calc(100% - 30px);
}

/* Тексты языков */
.lang-switcher__text {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  font-family: "Golos Text", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffe0;
  white-space: nowrap;
  transition: opacity 0.2s ease;
  z-index: 1;
}

/* Текст "Рус" - справа, виден когда выбран RU */
.lang-switcher__text--ru {
  right: 12px;
  opacity: 1;
}

/* Текст "ТаТ" - слева, скрыт когда выбран RU */
.lang-switcher__text--tt {
  left: 12px;
  opacity: 0;
}

/* Когда выбран татарский язык */
.lang-switcher[data-lang="tt"] .lang-switcher__text--ru {
  opacity: 0;
}

.lang-switcher[data-lang="tt"] .lang-switcher__text--tt {
  opacity: 1;
}

/* Основной контент */
.content {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.title {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 70px;
  transform: translateX(-50%);
  font-family: "UnlimitedPie", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 86px;
  line-height: 83%;
  letter-spacing: 0;
  text-align: center;
  color: #fe0000;
}

@media screen and (max-width: 800px) {
  .title {
    top: 120px;
    font-size: 64px;
  }
}

@media screen and (max-width: 600px) {
  .title {
    top: 195px;
    font-size: 64px;
  }
}

.development_wrap {
  display: flex;
  align-items: center;
  column-gap: 6px;
}

.developement_text {
  font-family: Inter;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: #6a5f5d;
}

.develop_logo {
}

.logo_wrapper {
  position: absolute;
  left: 34px;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logo {
  width: 206px;
  pointer-events: none;
}

.placats {
  position: absolute;
  left: 73px;
  top: 189px;
  pointer-events: none;
}

@media (max-width: 1700px) {
  .placats {
    left: 50%;
    transform: translateX(-50%);
    top: 290px;
    width: 1200px;
  }
}

@media screen and (max-width: 800px) {
  .placats {
    transform: translateX(-55%);
  }
}

@media screen and (max-width: 700px) {
  .placats {
    width: 1000px;
    top: auto;
    bottom: -200px;
  }
}

@media screen and (max-width: 600px) {
  .placats {
    width: 600px;
    bottom: -100px;
  }
}

.red_button {
  position: absolute;
  pointer-events: none;
}

.naushniki {
  top: 190px;
  right: 220px;
}

.multfilm {
  right: 52px;
  bottom: 56px;
}

.film {
  left: 15px;
  top: 468px;
}

@media (max-width: 1700px) {
  .naushniki {
    width: 208px;
    right: 120px;
  }

  .multfilm {
    width: 195px;
  }

  .film {
    width: 190px;
  }
}

@media (max-width: 1500px) {
  .red_button {
    display: none;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }

  .subtitle {
    font-size: 16px;
  }

  .lang-switcher {
    width: 70px;
    height: 32px;
  }

  .lang-switcher__circle {
    width: 24px;
    height: 24px;
  }

  .lang-switcher[data-lang="tt"] .lang-switcher__circle {
    left: calc(100% - 28px);
  }

  .lang-switcher__text {
    font-size: 13px;
  }
}
