@font-face {
  font-display: swap;
  font-family: Dokdo;
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/Dokdo-Regular.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: Jua;
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/Jua-Regular.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: Julee;
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/Julee-Regular.woff") format("woff");
}
@font-face {
  font-display: swap;
  font-family: Nerko;
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/NerkoOne-Regular.woff") format("woff");
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}

body {
  font-weight: 400;
  margin: 0;
  margin: 0 auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: normal;
}

button {
  color: inherit;
  font-weight: inherit;
  font-family: inherit;
}

p {
  margin: 0;
}

#star-container {
  position: absolute;
}
/* BLOB BUTTON */

.main__sqreen {
  position: relative;
  background-image: url("./assets/img/main-bg.png");
  background-size: cover; /* или contain, в зависимости от задачи */
  background-repeat: no-repeat;
  width: 100%; /* или фиксированная ширина */
  height: 1496px;
  overflow-x: hidden;
  background-position: right;
}

.main-dragon {
  width: 780px;
  position: absolute;
  bottom: 6%;
}

.container {
  max-width: 1800px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.main-bg {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.header__inner {
  padding-top: 91px;
}

.header__btn {
  font-weight: 400;
  font-size: 60px;
  line-height: 121%;
  font-family: Nerko;
  border-radius: 43px;
  padding: 6px 12px;
  background: #fff;
  opacity: 0.7;
  color: transparent;
  -webkit-text-stroke: 3px #006fa5;
  /* text-stroke: 1.5px black; */
}

.info {
  padding-top: 120px;
  padding-bottom: 77px;
}

.info__title {
  font-family: Julee;
  font-weight: 400;
  font-size: 95px;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 86px;
  text-align: center;
}
.info__subtitle {
  font-family: Dokdo;
  font-weight: 400;
  font-size: 31px;
  color: #000;
  max-width: 1700px;
  margin-bottom: 60px;
}

.info__items {
  display: flex;
  justify-content: space-between;
  column-gap: 10px;
}

.info__item {
  max-width: 845px;
}

.info__item-title {
  font-family: Julee;
  font-weight: 400;
  font-size: 47px;
  color: #000;
  text-align: center;
  margin-bottom: 60px;
}

.info__item-text {
  font-family: Dokdo;
  font-weight: 400;
  font-size: 31px;
  color: #000;
}

.info_item-img-dragon {
  max-width: 852px;
  height: 471px;
  margin: 57px 0 59px;
  width: 100%;
}

.info_item-img-sheap {
  max-width: 434px;
  height: 533px;
  width: 100%;
}
.info__item-text__wrapper {
  display: flex;
  column-gap: 40px;
  margin: 25px 0 25px;
}

.how {
  background-color: #ff97ad;
  border-top: 12px solid #03004e;
  border-bottom: 12px solid #03004e;
  padding: 74px 0 80px;
  position: relative;
  overflow-x: hidden;
}

.how__title {
  font-family: Nerko;
  font-weight: 400;
  font-size: 155px;
  color: #fff;
  text-shadow: 6px 6px 2px rgba(3, 0, 78, 0.25);
  -webkit-text-stroke: 4px #03004e;
  text-align: center;
  margin-bottom: 98px;
}

.how__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 32px;
}

.how__item {
  border: 13px solid #03004e;
  border-radius: 150px;
  background: #fff;
  height: 539px;
  padding: 89px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 44px;
}

.how__item-title {
  font-family: Nerko;
  font-weight: 400;
  font-size: 43px;
  text-align: center;
  color: #03004e;
  border-radius: 40px;
  padding: 10px;
  width: 279px;
  height: 131px;
  background: #ffe0e7;
}

.how__item-text {
  font-family: Jua;
  font-weight: 400;
  font-size: 29px;
  text-align: center;
  color: #000;
  padding: 0 20px;
}

.how__item-text a {
  text-decoration: underline;
}

.island {
  position: relative;
}

.island img {
  display: block;
  max-width: 100%;
  height: auto;
}

.tail {
  width: 150px;
  position: absolute;
  z-index: 2;
  left: 150px;
  bottom: 180px;
}

.closed-chest {
  width: 190px;
  position: absolute;
  z-index: 5;
  right: 36%;
  bottom: 27%;
}

.opened-chest {
  width: 190px;
  position: absolute;
  z-index: 2;
  right: 36%;
  bottom: 27%;
  opacity: 0;
}
.note {
  width: 76px;
  position: absolute;
  z-index: 4;
  right: 39%;
  bottom: 34%;
  opacity: 0;
}
.crab {
  width: 116px;
  position: absolute;
  z-index: 4;
  right: 20%;
  bottom: 25%;
}
.shell {
  width: 76px;
  position: absolute;
  z-index: 3;
  left: 34%;
  bottom: 19%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.penguin {
  width: 216px;
  position: absolute;
  z-index: 3;
  left: 41%;
  bottom: 29%;
  cursor: pointer;
}

@keyframes flySpinDisappear {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  70% {
    transform: translate(-150px, 100px) rotate(-1080deg); /* 3 оборота (360*3) и подлет влево вверх */
    opacity: 1;
  }
  100% {
    transform: translate(-200px, 150px) rotate(-1080deg);
    opacity: 0; /* Исчезает */
  }
}

.animate-fly-spin {
  animation: flySpinDisappear 1.5s forwards ease-in;
}

.key {
  width: 53px;
  position: absolute;
  z-index: 1;
  left: 35%;
  bottom: 20%;
  cursor: grab;
}

.tokens {
  border-top: 12px solid #03004e;
  border-bottom: 12px solid #03004e;
  background: #ffcb63;
  padding: 90px 0 130px;
  position: relative;
  z-index: 1;
}

.tokens__container {
  z-index: 3;
  position: relative;
}
.tokens__title {
  font-family: Nerko;
  font-weight: 400;
  font-size: 155px;
  color: #fff;
  text-shadow: 5px 5px 1px rgba(3, 0, 78, 0.25);
  -webkit-text-stroke: 4px #03004e;
  text-align: center;
  margin-bottom: 122px;
}
.tokens__items {
  display: grid;
  grid-template-columns: repeat(2, 447px);
  gap: 64px 48px;
  margin-bottom: 38px;
  justify-content: center;
}
.tokens__item {
  border: 6px solid #03004e;
  border-radius: 40px;
  padding: 50px 20px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #fff;
  height: 174px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tokens__item-title {
  font-family: Nerko;
  font-weight: 400;
  font-size: 68px;
  line-height: 44%;
  color: #03004e;
  margin-bottom: 20px;
}

.tokens__item-text {
  font-family: Jua;
  font-weight: 400;
  font-size: 38px;
  color: #000;
}
.tokens__subtitle-wrap {
  display: flex;
  justify-content: center;
}
.tokens__subtitle {
  font-family: Jua;
  font-weight: 400;
  font-size: 46px;
  color: #fff;
  text-align: center;
  position: relative;
  display: inline;
}

/* Contract Address Styling */
.tokens__subtitle .copied {
  background: #28c8ff;
  color: #000;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 12px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 20px rgba(40, 200, 255, 0.6);
  border: 2px solid #fff;
  display: inline-block;
  margin-left: 10px;
  transition: all 0.3s ease;
}

.tokens__subtitle .copied:hover {
  box-shadow: 0 0 30px rgba(40, 200, 255, 0.9);
  cursor: pointer;
}

.tokens__fish {
  position: absolute;
  z-index: 2;
  width: 330px;
}
.tokens__fish1 {
  top: -30px;
  left: 180px;
}
.tokens__fish2 {
  bottom: -30px;
  left: 20px;
}
.tokens__fish3 {
  top: 100px;
  right: 20px;
}
.team {
  padding: 69px 0;
  background: #b2ffea;
}

.team__letter {
  display: flex;
  flex-direction: column;
  align-items: center; /* по желанию, для центрирования */
  font-family: Nerko;
  font-weight: 400;
  font-size: 245px;
  -webkit-text-stroke: 4px #03004e;
  color: #fff;
  text-shadow: 7px 7px 2px rgba(3, 0, 78, 0.25);
  line-height: 0.9;
}
.team__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 10px;
}

.team__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(380px, 441px));
  gap: 43px 48px;
}

.team__card-wrap {
  position: relative;
  margin-bottom: 32px;
  -webkit-transition: -webkit-transform 0.23s
    cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: -webkit-transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1),
    -webkit-transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 2200px;
  perspective: 2200px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.team__card {
  /* border: 10px solid #03004e;
  border-radius: 60px;
  background: #fff;
  padding: 34px 21px;
  transition: transform 0.25s cubic-bezier(0.39, 0.575, 0.565, 1),
    -webkit-transform 0.25s cubic-bezier(0.39, 0.575, 0.565, 1); */

  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  border: 2px solid #000;
  background-color: #477dfd;
  border-radius: 25px;
  z-index: 1;
  -webkit-transition: transform 0.21s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.21s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.team-tile-wrapper {
  position: relative;
  /* width: calc(33.33333% - 21px); */
  margin-bottom: 32px;
  -webkit-transition: -webkit-transform 0.23s
    cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: -webkit-transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1),
    -webkit-transform 0.23s cubic-bezier(0.39, 0.575, 0.565, 1);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 2200px;
  perspective: 2200px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

html:not(.touch) .team-tile-wrapper:hover {
  -webkit-transform: rotate(-2deg);
  transform: rotate(-2deg);
}

.team-tile {
  position: relative;
  background: #fff;
  border: 8px solid #03004e;
  border-radius: 60px;
  padding: 24px 24px 27px;
  z-index: 3;
  height: 100%;
  -webkit-transition: -webkit-transform 0.25s
    cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: -webkit-transform 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.25s cubic-bezier(0.39, 0.575, 0.565, 1),
    -webkit-transform 0.25s cubic-bezier(0.39, 0.575, 0.565, 1);
}

html:not(.touch) .team-tile-wrapper:hover .team-tile {
  -webkit-transform: translateZ(22px) translate(-5px, 5px);
  transform: translateZ(22px) translate(-5px, 5px);
}

.team__card-img {
  max-width: 378px;
  width: 100%;
  height: 378px;
  margin-bottom: 17px;
}

.team__card-name {
  font-family: Nerko;
  font-weight: 400;
  font-size: 55px;
  line-height: 80%;
  text-align: center;
  color: #060096;
  text-align: left;
}

.team__card-post {
  font-family: Nerko;
  font-weight: 400;
  font-size: 35px;
  line-height: 80%;
  text-align: center;
  color: #2820ff;
  text-align: left;
}

.tile-shadow {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  border: 2px solid #03004e;
  border-radius: 60px;
  background-color: #477dfd;
  z-index: 1;
  -webkit-transition: transform 0.21s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition: transform 0.21s cubic-bezier(0.39, 0.575, 0.565, 1);
}

html:not(.touch) .team-tile-wrapper:hover .tile-shadow {
  -webkit-transform: translate(5px, -5px);
  transform: translate(5px, -5px);
}

html:not(.touch) .team__card-wrap:hover .tile-shadow {
  -webkit-transform: translate(5px, -5px);
  transform: translate(5px, -5px);
}
html:not(.touch) .team__card-wrap:hover {
  -webkit-transform: rotate(-2deg);
  transform: rotate(-2deg);
}

html:not(.touch) .team__card-wrap:hover .team__card {
  -webkit-transform: translateZ(22px) translate(-5px, 5px);
  transform: translateZ(22px) translate(-5px, 5px);
}
.ceremoni {
  background: linear-gradient(180deg, #0700b4 0%, #03004e 100%);
  position: relative;
  z-index: -1;
}

.ceremoni img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer {
  border-top: 12px solid #03004e;
  background: linear-gradient(180deg, #0700b4 0%, #03004e 100%);
  position: relative;
  z-index: 1;
}

.footer__fish {
  position: absolute;
  width: 300px;
}
.footer__fish1 {
  left: 0;
  top: 0;
}
.footer__fish2 {
  right: 30%;
  bottom: 15%;
}
.footer__fish3 {
  right: 0;
  top: 0;
}

.footer__inner {
  display: flex;
  position: relative;
  z-index: 3;
  justify-content: space-between;
}

.footer__info {
  margin-top: 100px;
  width: 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__title {
  font-family: Nerko;
  font-weight: 400;
  font-size: 64px;
  -webkit-text-stroke: 2px #fff;
  color: transparent;
  margin-bottom: 40px;
}

.footer__dragon {
  width: 60%;
}

.footer__links {
  display: flex;
  align-items: center;
  margin-bottom: 90px;
  column-gap: 50px;
}

.footer__title-second {
  margin-bottom: 150px;
  transition: all 0.3s;
}
.footer__title:hover {
  -webkit-text-stroke: 2px #28c8ff;
  cursor: pointer;
}

.footer__title a {
  color: inherit;
  text-decoration: none;
}

.footer__title a:hover {
  color: inherit;
}

.footer__subtitle {
  font-family: Jua;
  font-weight: 400;
  font-size: 43px;
  text-align: center;
  color: #fff;
  max-width: 273px;
}

#menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 926px;
  background: linear-gradient(180deg, #0700b4 0%, #03004e 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 150px 150px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease;
  z-index: 1000;
}

/* Класс для открытого меню */
#menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.menu__list {
  padding-top: 88px;
  display: flex;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1400px;
  row-gap: 65px;
  justify-content: space-between;
  margin-left: 146px;
}

.menu__item {
  font-family: Nerko;
  font-weight: 400;
  font-size: 135px;
  line-height: 81%;
  color: #fff;
  text-align: left;
  transition: color 0.3s;
}

.menu__item:hover {
  color: #28c8ff;
  transition: color 0.3s;
}

.exit {
  background: transparent;
  border: none;
  position: absolute;
  top: 70px;
  right: 75px;
  cursor: pointer;
}

.menu-peng1 {
  position: absolute;
  bottom: 0;
  left: 20%;
}
.menu-peng2 {
  position: absolute;
  bottom: 0;
  right: 3%;
}

.menu-info {
  position: absolute;
  bottom: 100px;
  right: 32%;
}

.menu-info__title {
  font-family: Nerko;
  font-weight: 400;
  font-size: 51px;
  -webkit-text-stroke: 3px #fff;
  color: transparent;
  margin-bottom: 55px;
}
.menu__links {
  display: flex;
  column-gap: 50px;
  justify-content: center;
}

.menu-tg {
  width: 80px;
  height: 67px;
}
.menu-x {
  width: 67px;
  height: 67px;
}

/* Фон модального окна */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Активное состояние - показываем окно */
.modal.open {
  opacity: 1;
  pointer-events: auto;
}

/* Содержимое модального окна */
.modal-content {
  padding: 20px 30px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  transform: translateY(-30px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* При открытии модального окна */
.modal.open .modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* Кнопка закрытия */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.modal-note {
  width: 500px;
  height: 690px;
}

.team__mobile-title {
  display: none;
}

.penguin {
  animation: jump 1s ease-in-out infinite;
}
@keyframes jump {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}

.coin1 {
  position: absolute;
  left: 140px;
  top: 58px;
  width: 250px;
}

.coin2 {
  position: absolute;
  right: 60px;
  top: 76px;
  width: 270px;
}

.navbar ul {
  list-style-type: none;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  max-width: 1600px;
  padding: 0 20px;
}

.navbar ul li {
  --c: #006fa5;
  color: var(--c);
  font-size: 16px;
  border: 1px solid var(--c);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: 0.5s;
  position: relative;
  font-weight: 400;
  font-size: 60px;
  line-height: 121%;
  font-family: Nerko;
  border-radius: 43px;
  padding: 6px 12px;
  background: #fff;
  color: transparent;
  -webkit-text-stroke: 3px #006fa5;
  cursor: pointer;
  z-index: 999;
}

.navbar ul li span {
  position: absolute;
  width: 25%;
  height: 100%;
  background-color: var(--c);
  transform: translateY(150%);
  border-radius: 50%;
  left: calc((var(--n) - 1) * 25%);
  transition: 0.5s;
  transition-delay: calc((var(--n) - 1) * 0.1s);
  z-index: -1;
}

.navbar ul li:hover {
  -webkit-text-stroke: 3px #006fa5;
  color: #fff;
}

.navbar ul li:hover span {
  transform: translateY(0) scale(2);
}

.navbar ul li span:nth-child(1) {
  --n: 1;
}

.navbar ul li span:nth-child(2) {
  --n: 2;
}

.navbar ul li span:nth-child(3) {
  --n: 3;
}

.navbar ul li span:nth-child(4) {
  --n: 4;
}

.popup {
  font-family: Jua;
  border: 2px solid #fff;
  font-size: 20px;
  border-radius: 10px;
  height: 40px;
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -50px;
  color: #fff;
  width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  padding: 5px;
  background: #081113;
}

.popup-active {
  width: auto;
  top: 25px;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: top 0.3s ease;
  padding-top: 91px;
  z-index: 999;
}
.navbar.hidden {
  top: -500px;
}

@media (max-width: 1600px) {
  .footer__fish3 {
    display: none;
  }
  .menu__list {
    margin-left: 50px;
    width: 100%;
  }
  .menu__item {
    font-size: 95px;
  }
  .exit {
    top: 20px;
    right: 25px;
  }
  .penguin {
    width: 136px;
  }
  .closed-chest {
    width: 100px;
  }
  .opened-chest {
    width: 100px;
  }
  .note {
    width: 42px;
    bottom: 32%;
    right: 38%;
  }
}
@media (max-width: 1500px) {
  .tokens__subtitle {
    font-size: 36px;
  }
  .info__item-text {
    font-size: 25px;
  }
  .info__item-text__wrapper {
    flex-direction: column;
  }
  .info__item-text__wrapper {
    align-items: center;
  }
  .info__item-text {
    order: 1;
  }
  .info__item-text__wrapper {
    row-gap: 37px;
  }
  .how__items {
    grid-template-columns: repeat(2, 380px);
    justify-content: center;
    row-gap: 20px;
  }
  .how {
    padding: 34px 0;
  }
  .how__title {
    line-height: 80%;
    margin-bottom: 28px;
  }
  .coin1 {
    left: 30px;
    top: 18px;
    width: 200px;
  }
  .coin2 {
    right: 20px;
    top: 36px;
    width: 220px;
  }
}

@media (max-width: 1400px) {
  .note {
    width: 42px;
    bottom: 33%;
    right: 39%;
  }
  .crab {
    width: 86px;
  }
  .info__title {
    font-size: 85px;
  }
  .tail {
    width: 60px;
    bottom: 110px;
  }
  .menu-peng1 {
    left: 7%;
  }
  .menu-info {
    right: 37%;
  }
  .info_item-img-sheap {
    height: 413px;
  }
  .tokens__fish1 {
    left: 0;
  }
  .tokens__fish2 {
    left: 0;
    bottom: -60px;
  }
  .tokens__fish3 {
    right: 0;
  }
  .info__item-title {
    font-family: Julee;
    font-weight: 400;
    font-size: 35px;
    color: #000;
    text-align: center;
    margin-bottom: 60px;
  }
  .footer__dragon {
    width: 550px;
    height: 830px;
  }
  .footer__fish {
    display: none;
  }
  .footer__info {
    width: auto;
  }
  .tokens__fish2 {
    display: none;
  }
}
@media (max-width: 1150px) {
  .team__cards {
    grid-template-columns: repeat(1, minmax(320px, 441px));
  }
  .coin1 {
    left: -10px;
    top: 28px;
    width: 160px;
  }
  .coin2 {
    right: -7px;
    top: 36px;
    width: 190px;
  }
}
@media (max-width: 1024px) {
  .tokens__subtitle {
    font-size: 26px;
  }
  .coin1 {
    display: none;
  }
  .coin2 {
    display: none;
  }
  .crab {
    width: 56px;
  }
  .penguin {
    width: 86px;
    left: 43%;
    bottom: 30%;
  }
  .closed-chest {
    width: 70px;
  }
  .opened-chest {
    width: 70px;
  }
  .note {
    width: 35px;
    right: 38%;
    bottom: 32%;
  }
  .shell {
    width: 45px;
  }
  .key {
    width: 34px;
  }
  .how__items {
    grid-template-columns: repeat(2, 350px);
    justify-content: center;
    row-gap: 20px;
  }
  .tokens__fish {
    display: none;
  }
  .tokens {
    padding: 40px 0 50px;
  }
  .tokens__title {
    line-height: 80px;
  }
  .tokens__items {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-peng1 {
    left: 7%;
    width: 240px;
  }
  .info__item-text {
    font-size: 21px;
  }
  .info_item-img-dragon {
    margin: 37px 0 32px;
    height: 300px;
  }
  .info_item-img-sheap {
    height: 365px;
  }
  .menu-peng2 {
    width: 240px;
  }
  .menu-info {
    right: 37%;
    bottom: 20px;
  }
  .menu__item {
    font-size: 55px;
  }
  #menu {
    height: 596px;
    border-radius: 0 0 80px 80px;
  }
  .exit img {
    width: 40px;
  }
  .menu__list {
    padding-top: 38px;
  }
  .menu-x {
    width: 47px;
    height: 47px;
  }
  .menu-tg {
    width: 60px;
    height: 50px;
  }
  .menu-info__title {
    font-size: 41px;
    -webkit-text-stroke: 1px #fff;
    margin-bottom: 25px;
  }

  .header__inner {
    padding-top: 41px;
  }
  .navbar ul li {
    font-size: 43px;
    line-height: 121%;
    border-radius: 43px;
    padding: 2px 24px;
    -webkit-text-stroke: 2px #006fa5;
  }
}
@media (max-width: 900px) {
  .footer__dragon {
    width: 400px;
    height: 600px;
  }
  .footer__title-second {
    margin-bottom: 40px;
  }
  .footer__links {
    margin-bottom: 10px;
  }
  .footer__info {
    margin-top: 50px;
  }
}
@media (max-width: 768px) {
  .navbar {
    padding-top: 30px;
  }
  .tokens__subtitle {
    font-size: 16px;
  }
  .main__sqreen {
    background-image: url("./assets/img/main-mobile-bg.PNG");
    height: 1016px;
  }
  .penguin {
    width: 56px;
  }
  .modal-note {
    max-width: 600px;
    width: 100%;
    height: 500px;
  }
  .opened-chest {
    width: 50px;
  }
  .closed-chest {
    width: 50px;
  }
  .note {
    width: 29px;
  }
  .tail {
    width: 50px;
    bottom: 80px;
    left: 60px;
  }
  .footer__title {
    font-size: 54px;
    margin-bottom: 20px;
  }
  .footer__link img {
    width: 80px;
  }
  .footer__subtitle {
    font-size: 33px;
  }
  .footer__dragon {
    width: 260px;
    height: 430px;
  }
  .team {
    padding: 29px 0;
  }
  .team__mobile-title {
    display: block;
    font-family: Nerko;
    font-weight: 400;
    font-size: 105px;
    color: #fff;
    text-shadow: 5px 5px 1px rgba(3, 0, 78, 0.25);
    -webkit-text-stroke: 4px #03004e;
    text-align: center;
    margin-bottom: 22px;
    line-height: 80%;
  }
  .team__inner {
    justify-content: center;
  }
  .team__letter {
    display: none;
  }
  .tokens__title {
    font-size: 105px;
    margin-bottom: 40px;
  }
  .tokens__items {
    grid-template-columns: repeat(1, 1fr);
  }
  .how__items {
    grid-template-columns: repeat(1, 1fr);
  }
  .how__title {
    font-size: 105px;
  }
  .info {
    padding-top: 40px;
    padding-bottom: 37px;
  }
  .info__title {
    font-size: 45px;
    margin-bottom: 20px;
  }
  .info__subtitle {
    font-size: 21px;
    margin-bottom: 40px;
  }
  .info__item-title {
    margin-bottom: 20px;
  }

  .exit img {
    width: 26px;
  }
  .buttons {
    width: 218px;
    text-align: start;
  }
  .info__items {
    flex-direction: column;
    row-gap: 20px;
  }
  .info-line {
  }
  .info-line img {
    display: none;
  }
  .exit {
    top: 10px;
    right: 11px;
  }
  .menu__list {
    padding-top: 38px;
    row-gap: 35px;
  }
  .menu__item {
    font-size: 35px;
  }
  .menu-peng2,
  .menu-peng1 {
    width: 170px;
  }
  #menu {
    height: 416px;
  }
  .menu-info__title {
    font-size: 32px;
  }
  .menu-x {
    width: 27px;
    height: 27px;
  }
  .menu-tg {
    width: 35px;
    height: 30px;
  }
  .menu__links {
    column-gap: 20px;
  }
  #menu {
    border-radius: 0 0 40px 40px;
  }
}
@media (max-width: 600px) {
  .crab {
    width: 36px;
  }
  .tokens__title {
    font-size: 80px;
  }
  .footer__dragon {
    display: none;
  }
  .footer__inner {
    justify-content: center;
  }
  .tail {
    bottom: 40px;
    left: 30px;
  }
  .penguin {
    left: 36%;
  }
  .shell {
    width: 34px;
    left: 31%;
    bottom: 17%;
  }
  .key {
    width: 24px;
    left: 33%;
    bottom: 19%;
  }
  .note {
    bottom: 34%;
  }
}
@media (max-width: 500px) {
  .tokens__subtitle {
    font-size: 12px;
  }
  .island img {
    height: 400px;
  }
  .menu-peng2,
  .menu-peng1 {
    width: 110px;
  }
  .menu__list {
    width: auto;
  }
  .menu__item {
    font-size: 25px;
  }
  .menu__list {
    margin-left: 30px;
  }
  .menu-info {
    right: 32%;
  }
  .menu-info__title {
    font-size: 25px;
    margin-bottom: 15px;
  }
  .navbar ul li {
    font-size: 32px;
  }
  .buttons {
    width: 175px;
  }
  .how__item-title {
    font-size: 33px;
    width: 278px;
    height: 111px;
  }
  .how__item-text {
    font-size: 29px;
  }
  .tokens__title {
    font-size: 70px;
  }
  .team__card-img {
    height: 338px;
  }
  .how__title {
    font-size: 70px;
  }
  .team__mobile-title {
    font-size: 70px;
  }
  .info_item-img-dragon {
    height: 250px;
  }
  .container-height {
    height: 700px;
    overflow-y: hidden;
  }
  .tail {
    width: 35px;
    bottom: 70px;
    left: 18px;
  }
  .note {
    bottom: 32%;
  }
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4b95b1; /* или любой цвет фона */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.preloader-container {
  position: relative;
}

.buble1 {
  position: absolute;
  width: 7px;
  bottom: 63%;
  left: 59%;
}

.buble2 {
  position: absolute;
  width: 10px;
  bottom: 74%;
  left: 52%;
}
.buble3 {
  position: absolute;
  width: 10px;
  bottom: 87%;
  left: 59%;
}

.buble {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: ease-in-out;
}

.buble1 {
  animation-name: appear1;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.buble2 {
  animation-name: appear2;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.buble3 {
  animation-name: appear3;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes appear1 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes appear2 {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes appear3 {
  0% {
    opacity: 0;
  }
  70% {
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.load-dragon {
  width: 200px;
}
