@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueBlack.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueBlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueBoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueHeavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueHeavyItalic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueItalic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueLightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueMediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueRoman.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueThin.otf") format("opentype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueThinItalic.otf") format("opentype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueUltraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Helvetica Neue";
  src: url("./fonts/HelveticaNeueUltraLightItalic.otf") format("opentype");
  font-weight: 200;
  font-style: italic;
}

* {
  font-family: "Helvetica Neue", serif !important;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

._scale_hover {
  transition: all 0.4s ease 0s;
  cursor: pointer;
}

._scale_hover:hover {
  transform: scale(1.1);
}

.networks {
  display: flex;
  align-items: center;
  gap: 30px;
}

.networks a {
  display: block;
}

.ca {
  word-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
  margin-top: 50px;
  color: #fff;
  font-family: "Helvetica Neue";
  font-size: 48.51px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -1.94px;
}

._container {
  max-width: 1600px;
  padding: 0 20px;
  margin: 0 auto;
}

.wrapper {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.bg__wrap {
  position: relative;
}

.bg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-copy] {
  cursor: pointer;
}

.copied_modal {
  position: fixed;
  top: 50%;
  color: #000;
  left: 50%;
  z-index: 100;
  background: #fff;
  font-family: "Knewave", system-ui;
  padding: 10px 30px;
  white-space: nowrap;
  border-radius: 20px;
  transform: translate(-50%, -50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease 0s;
}

.copied_modal._show {
  opacity: 1;
  visibility: visible;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 140px;
}

.video {
  border-radius: 40px;
  max-width: 353px;
  max-height: 279px;
}

.videos__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  max-width: 1400px;
}

.video__item_title {
  color: #fe9900;
  font-family: "Helvetica Neue";
  font-size: 18px;
  word-wrap: break-word;
  word-break: normal;
  overflow-wrap: break-word; /* стандартный способ переноса слов */

  max-width: 353px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.48px;
  margin: 12px 0;
}

.views {
  color: #fff;
  font-family: "Helvetica Neue";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -0.36px;
  opacity: 0.4;
}

.video__item_bottom {
  display: flex;
  align-items: center;
  gap: 46px;
}

.procent {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #fff;
  font-family: "Helvetica Neue";
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: -0.36px;
}

.house {
  margin-top: 20px;
}

.videos {
  margin-top: 300px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 60px;
}

.age-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Helvetica Neue", sans-serif;
  padding: 20px; /* добавим отступ чтобы контент не упирался */
  overflow: auto; /* 💡 важно! — позволяет скроллить модалку */
}

.age-modal__content {
  background-color: #1c1c1c;
  padding: 30px;
  border-radius: 65.955px;
  border: 0.835px solid rgba(255, 255, 255, 0.1);
  background: #171717;
  text-align: center;
  max-width: 950px;
  max-height: 100%; /* 💡 ограничим высоту */
  overflow-y: auto; /* 💡 включаем вертикальную прокрутку */
  color: #ccc;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.modal__text {
  color: #fff;
  text-align: center;
  font-family: "Helvetica Neue";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26.716px; /* 114.286% */
  letter-spacing: -0.468px;
  opacity: 0.5;
}

.age-modal__logo {
  margin-bottom: 10px;
  max-width: 148px;
}

.age-modal__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.age-modal__buttons button {
  padding: 30px 38px;
  text-align: center;
  font-family: "Helvetica Neue";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.534px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
  border-radius: 22.542px;
}

._lock {
  overflow: hidden;
  height: 100vh;
}

.btn-enter {
  border-radius: 22.542px;
  background: #f7971d;
  color: black;
}

.btn-exit {
  background: #2f2f2f;
  color: white;
}

.btn-enter:hover {
  background: #ffa733;
  box-shadow: 0 0 10px #f7971d80;
  transform: scale(1.03);
  transition: all 0.2s ease;
}

.btn-exit:hover {
  background: #444;
  box-shadow: 0 0 10px #ffffff20;
  transform: scale(1.03);
  transition: all 0.2s ease;
}

.age-modal__footer {
  margin-top: 30px;
  color: #fff;
  text-align: center;
  font-family: "Helvetica Neue";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 26.716px; /* 114.286% */
  letter-spacing: -0.468px;
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .house {
    width: 60vw;
  }
}

@media (max-width: 1000px) {
  .age-modal__content {
    max-width: 95vw;
  }
}

.show-800 {
  display: none;
}

@media (max-width: 800px) {
  .videos__wrapper {
    gap: 20px;
  }
  .content {
    padding-left: 10px;
    padding-right: 10px;
  }
  .video {
    max-width: 300px;
    height: auto;
  }
  .video__item_title {
    max-width: 300px;
    font-size: 16px;
  }
  .title {
    width: 80vw;
  }
  .age-modal__content {
    padding: 10px;
    border-radius: 20px;
  }
  .content {
    padding-bottom: 60px;
    padding-top: 20px;
  }
  .house {
    width: 40vw;
  }
  .show-800 {
    display: flex;
  }
  .hide-800 {
    display: none;
  }
}

@media (max-width: 800px) {
  ._lock {
    height: 200vh;
  }
  .networks img {
    width: 50px;
  }
  .networks {
    gap: 50px;
  }
  .ca {
    font-size: 30px;
  }
  .videos {
    margin-top: 60px;
  }
}

@media (max-width: 650px) {
  .video {
    max-width: 150px;
    height: auto;
  }
  .video__item_title {
    max-width: 150px;
  }
  .video__item_bottom {
    gap: 20px;
  }
  .like {
    width: 15px;
  }
  .video__item_title {
    font-size: 14px;
  }
}

.show-500 {
  display: none;
}

@media (max-width: 500px) {
  .age-modal__logo {
    width: 100px;
  }
  .age-modal__buttons button {
    white-space: nowrap;
    padding: 20px 25px;
  }
  .show-800 {
    display: none;
  }
  .show-500 {
    display: flex !important;
  }
  .video {
    border-radius: 15px;
  }
  .videos__wrapper {
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .video__item_bottom {
    flex-direction: column;
    align-items: start;
    gap: 10px;
  }
  .video__item_title {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .video {
    width: 145px;
  }
  .video__item_title {
    max-width: 145px;
  }
}

[data-anim-on-scroll] {
  transition: all 0.4s ease 0s;
  opacity: 0;
}

[data-anim-on-scroll]._animate {
  opacity: 1;
}

._right_anim_tr {
  transform: translateX(200%);
}

._left_anim_tr {
  transform: translateX(-200%);
}

._right_anim_tr._animate,
._left_anim_tr._animate {
  transform: translateX(0%);
}

._bottom_anim_tr {
  transform: translateY(200%);
}

._top_anim_tr {
  transform: translateY(-200%);
}

._top_anim_tr._animate,
._bottom_anim_tr._animate {
  transform: translateY(0%);
}

._scale_anim {
  transform: scale(0);
}

._scale_anim._animate {
  transform: scale(1);
}

.anim {
  animation: anim 3s ease-in-out infinite;
}

@keyframes anim {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }
}

/*.loop-images .image {
  position: absolute;
  z-index: 1;
  bottom: -100%;
  animation: moveUp 6s linear infinite;
}

.loop-images .right .image {
  right: 0;
}

.loop-images .right .image-4 {
  right: -15%;
  left: auto;
}

@keyframes moveUp {
  0% {
    bottom: -100%;
  }

  100% {
    bottom: 100%;
  }
}

.loop-images .image-2 {
  animation-delay: 2s;
  animation: moveUp 7s linear infinite;
}

.loop-images .image-3 {
  animation-delay: 3s;
  animation: moveUp 9s linear infinite;
}

.loop-images .image-4 {
  animation-delay: 6s;
  animation: moveUp 12s linear infinite;
}

.loop-images .right .image-1 {
  animation-delay: 0s;
  animation: moveUp 7s linear infinite;
}

.loop-images .right .image-2 {
  animation-delay: 4s;
  animation: moveUp 9s linear infinite;
}

.loop-images .right .image-3 {
  animation-delay: 7s;
  animation: moveUp 12s linear infinite;
}

.loop-images .right .image-4 {
  animation-delay: 10s;
  animation: moveUp 8s linear infinite;
}

.card {
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
   animation: none;
   transform: scale(1.1);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card-left {
   transform: translateX(-200%);
}

.card-right {
   transform: translateX(200%);
}

.card._animate {
   transform: translateX(0%);
}

.card:hover, .uniq:hover {
   transform: translateX(0%) scale(1.05);
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.uniq {
   transform: scale(0);
   opacity: 0;
   visibility: hidden; 
   transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.uniq:hover {
   transform: scale(1.05);
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.uniq._animate {
   transform: scale(1);
   opacity: 1; 
   visibility: visible;
}*/
