

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: 'Jua', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.site-wrapper {
  width: 100%;
}


.page {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}


.page-1 {
  background-image: url('bg_page1.png');
}

.page-2 {
  background-image: url('bg_page2.png');
}

.monkey-top-left {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 23%;
  max-width: 1000px;
  height: auto;
  animation: floatUpDown 3s ease-in-out infinite;
}


.top-logo {
  position: absolute;
  top: 25%;
  left: 52%;
  transform: translateX(-50%);
  width: 40%;
  max-width: 1000px;
  height: auto;
}


.about-block {
  position: absolute;
  right: 10%;
  top: 39%;
  max-width: 60%;
  text-align: right;
}


.about-title {
  font-size: 6.2rem;
  letter-spacing: 0.04em;
  color: #ffe9b2;

  -webkit-text-stroke: 2px #5c3a11;
  text-shadow:
    2px 2px 0 #5c3a11,
    -2px 2px 0 #5c3a11,
    2px -2px 0 #5c3a11,
    -2px -2px 0 #5c3a11;
  margin: 0 0 0.6rem 0;
}


.about-text {
  font-size: 2.3rem;
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
}


.icon-button {
  position: absolute;
  bottom: 4%;
  left: 4%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.icon-button img {
  display: block;
  width: 64px;
  height: auto;
}

.icon-button:hover {
  transform: translateY(-4px) scale(1.05);
  filter: brightness(1.1);
}


.arrow-button {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  animation: arrowBounce 1.6s ease-in-out infinite;
}

.arrow-button img {
  width: 72px;
  height: auto;
  display: block;
}

.arrow-button:hover {
  transform: translateX(-50%) translateY(-4px);
}



.chart-title {
  position: absolute;
  top: 8%;
  left: 6%;
  width: 29%;
  max-width: 320px;
  height: auto;
}


.chart-wrapper {
  position: relative;
  width: 70%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}


.chart-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}


@keyframes arrowBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 1024px) {
  .about-block {
    right: 6%;
    top: 35%;
    max-width: 48%;
  }

  .about-title {
    font-size: 2.6rem;
  }

  .about-text {
    font-size: 1.1rem;
  }

  .monkey-top-left {
    top: 12%;
    left: 4%;
    width: 26%;
  }

  .top-logo {
    top: 8%;
    width: 50%;
  }

  .chart-wrapper {
    width: 82%;
  }
}

@media (max-width: 768px) {
  .page {
    align-items: center;
    justify-content: center;
  }

  .monkey-top-left {
    top: 8%;
    left: 5%;
    width: 32%;
  }

  .top-logo {
    top: 5%;
    left: 50%;
    width: 70%;
  }

  .about-block {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    max-width: 80%;
    text-align: center;
  }

  .about-title {
    font-size: 2.3rem;
  }

  .about-text {
    font-size: 1rem;
  }

  .icon-button img {
    width: 48px;
  }

  .arrow-button img {
    width: 56px;
  }

  .chart-title {
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
  }

  .chart-wrapper {
    width: 90%;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 2rem;
  }

  .about-text {
    font-size: 0.9rem;
  }

  .monkey-top-left {
    width: 36%;
  }
}

