.site-header {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-black);

  & .header-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.7;
    transition: opacity var(--transition-slow);
  }

  & .header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
  }

  & .header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 80px 20px 60px;
    text-align: center;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
  }

  & .header-tagline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 48px;
    padding-top: 28px;

    & .header-tagline-title {
      color: var(--color-white);

      animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.9s both;
    }

    & .header-tagline-sub {
      color: var(--color-white-60);
      animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1.05s both;
    }
  }

  & .header-title {
    font-family: var(--font-h1-family);
    font-weight: var(--font-h1-weight);
    font-size: var(--font-h1-size);
    line-height: var(--font-h1-line-height);
    letter-spacing: var(--font-h1-letter-spacing);
    color: var(--color-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
  }

  & .header-subtitle {
    font-family: var(--font-p-large-family);
    font-size: var(--font-p-large-size);
    line-height: var(--font-p-large-line-height);
    color: var(--color-white-60);
    max-width: 600px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
  }

  & .header-countdown {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
    transition: opacity var(--transition-medium), transform var(--transition-medium);

    &.hidden {
      display: none;
    }
  }

  & .countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 64px;

    & .countdown-value {
      font-family: var(--font-h4-family);
      font-weight: var(--font-h4-weight);
      font-size: var(--font-h4-size);
      line-height: 1;
      color: var(--color-white);
      background: var(--color-black-30);
      border: 1px solid var(--color-white-30);
      border-radius: var(--radius-md);
      padding: 12px 16px;
      min-width: 64px;
      text-align: center;
      transition: color var(--transition-fast);
    }

    & .countdown-label {
      font-family: var(--font-p-tiny-family);
      font-size: var(--font-p-tiny-size);
      line-height: var(--font-p-tiny-line-height);
      color: var(--color-white-60);
      text-transform: uppercase;
      letter-spacing: 1px;
    }
  }

  & .header-release {
    color: var(--color-white-60);
    max-width: 480px;
    margin-top: -8px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
  }

}

.header-scroll-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: headerScrollBounce 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;

  & span {
    font-family: var(--font-p-tiny-family);
    font-size: var(--font-p-tiny-size);
    line-height: var(--font-p-tiny-line-height);
    color: var(--color-white-60);
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  & .scroll-arrow {
    width: 15px;
    height: 15px;
    border-right: 1.5px solid var(--color-white-60);
    border-bottom: 1.5px solid var(--color-white-60);
    transform: rotate(45deg);
  }

  &.visible {
    opacity: 1;
  }
}

@keyframes headerScrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(-8px);
  }

  50% {
    transform: translateX(-50%) translateY(0px);
  }
}

.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-nav);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  box-shadow: none;

  & .nav-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  & .nav-logo {
    width: 87px;
    height: auto;
    display: block;
  }

  & .nav-links {
    display: none;
    gap: 32px;
    list-style: none;

    & a {
      font-family: Arial, sans-serif;
      font-weight: 400;
      font-size: 14px;
      line-height: 19.6px;
      letter-spacing: 0px;
      color: var(--color-black);
      text-decoration: none;
      transition: color var(--transition-fast);

      &:hover {
        color: var(--color-orange);
      }
    }
  }

  & .nav-lang {
    display: flex;
    align-items: center;
    gap: 8px;

    & .nav-lang-item {
      font-family: Arial, sans-serif;
      font-weight: 400;
      font-size: 14px;
      line-height: 19.6px;
      letter-spacing: 0px;
      color: var(--color-white);
      text-decoration: none;
      transition: color var(--transition-fast);

      &:hover,
      &.active {
        color: var(--color-orange);
      }
    }

    & .nav-lang-sep {
      width: 2px;
      background: currentColor;
      align-self: stretch;
      font-size: 0;
      color: var(--color-white-60);
    }
  }
}