/* ALMATJARR SIMPLE NAV */

#almatjarr-simple-nav {
  position: fixed;
  left: 7px;
  bottom: 22px;
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 3px;

  padding: 5px 4px;

  border: 1px solid rgba(183, 128, 38, 0.10);
  border-radius: 13px;

  background: rgba(255, 252, 247, 0.14);

  box-shadow:
    0 6px 18px rgba(45, 34, 20, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.almatjarr-simple-nav__item {
  width: 20px;
  height: 20px;

  padding: 0;
  border: 0;
  border-radius: 7px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: rgba(72, 58, 41, 0.32);
  background: transparent;

  font: inherit;
  font-size: 6px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;

  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.almatjarr-simple-nav__item.is-active {
  color: #fff8ec;

  background:
    linear-gradient(
      135deg,
      rgba(215, 164, 71, 0.92),
      rgba(185, 122, 31, 0.92)
    );

  transform: translateX(2px);

  box-shadow:
    0 4px 10px rgba(174, 112, 25, 0.14);
}

/* Refined INKKA-style scroll hint */

#almatjarr-scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 9998;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 6px;

  color: rgba(124, 86, 31, 0.62);

  pointer-events: none;

  transform: translateX(-50%);

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s ease;
}

#almatjarr-scroll-hint.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
}

.almatjarr-scroll-hint__motion {
  position: relative;

  width: 14px;
  height: 25px;

  display: block;
}

.almatjarr-scroll-hint__line {
  position: absolute;
  left: 50%;
  top: 0;

  width: 1px;
  height: 15px;

  border-radius: 999px;

  background:
    linear-gradient(
      to bottom,
      rgba(167, 111, 31, 0.12),
      rgba(167, 111, 31, 0.72)
    );

  transform: translateX(-50%);

  animation: almatjarrHintLine 1.6s ease-in-out infinite;
}

.almatjarr-scroll-hint__chevron {
  position: absolute;
  left: 50%;
  bottom: 1px;

  width: 7px;
  height: 7px;

  border-right: 1px solid rgba(167, 111, 31, 0.78);
  border-bottom: 1px solid rgba(167, 111, 31, 0.78);

  transform: translateX(-50%) rotate(45deg);

  animation: almatjarrHintChevron 1.6s ease-in-out infinite;
}

.almatjarr-scroll-hint__text {
  display: block;

  font-size: 7px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: 0.34em;

  transform: translateX(0.17em);

  opacity: 0.78;
}

@keyframes almatjarrHintLine {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0) scaleY(0.82);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 3px) scaleY(1);
  }
}

@keyframes almatjarrHintChevron {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 3px) rotate(45deg);
  }
}

@media (max-width: 900px) {
  #almatjarr-simple-nav {
    left: 5px;
    bottom: 18px;

    gap: 2px;
    padding: 4px 3px;

    border-radius: 11px;

    background: rgba(255, 252, 247, 0.10);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .almatjarr-simple-nav__item {
    width: 18px;
    height: 18px;

    border-radius: 6px;

    font-size: 5.5px;
  }

  #almatjarr-scroll-hint {
    bottom: 10px;
    gap: 5px;
  }

  .almatjarr-scroll-hint__motion {
    width: 12px;
    height: 22px;
  }

  .almatjarr-scroll-hint__line {
    height: 13px;
  }

  .almatjarr-scroll-hint__chevron {
    width: 6px;
    height: 6px;
  }

  .almatjarr-scroll-hint__text {
    font-size: 6px;
    letter-spacing: 0.30em;
  }
}
