.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 35, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 999;
  padding: 0.8rem 2rem;
  animation: fadeInDown 0.8s ease-out;
}


.header-container {
  max-width: 2800px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  justify-content: space-between;
}


.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: 1px;

  margin-right: auto;
}

.logo a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  font-size: inherit;
}

.logo a:hover {
  color: #ffe600;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-left: auto;
  margin-right: 3rem;
}

.nav-links a {
  color: #cfd8e5;
  text-decoration: none;
  font-weight: 500;
  font-size: 2rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav-links a:hover {
  color: #ffe600;
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.5);
}

.header-btn {
  background: linear-gradient(90deg, #ffd600, #ffb300);
  color: #1a223f;
  font-weight: 900;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  border: none;
  border-radius: 20px;
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(1.8rem, 4vw, 2.8rem);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.header-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 230, 0, 0.55);
  background: linear-gradient(90deg, #ffea00, #ffc400);
}


/* 🔹 Анимация появления */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .logo {
    font-size: clamp(1.4rem, 5vw, 2.5rem);
  }

  .nav-links {
    gap: clamp(1rem, 4vw, 2rem);
    margin-left: auto;
    margin-right: clamp(1rem, 4vw, 3rem);
  }

  .nav-links a {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  }

  .header-btn {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    padding: clamp(0.5rem, 2.5vw, 1rem) clamp(1rem, 3vw, 2rem);
    margin-left: 0;
    width: auto;
  }
}

@media (max-width: 480px) {
  .header-container {
    gap: 0.3rem;
  }

  .logo {
    font-size: clamp(1rem, 6vw, 1.5rem);
  }

  .nav-links {
    gap: clamp(0.5rem, 3vw, 1rem);
    margin-right: clamp(0.3rem, 2vw, 1rem);
  }

  .nav-links a {
    font-size: clamp(0.8rem, 4vw, 1.2rem);
  }

  .header-btn {
    font-size: clamp(0.8rem, 4vw, 1rem);
    padding: clamp(0.3rem, 1.5vw, 0.6rem) clamp(0.5rem, 3vw, 1rem);
  }
}