.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.6rem 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  /* font-size: clamp(1.8rem, 4vw, 3rem); */
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  text-transform: none;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.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; */
  gap: 2rem;
}

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

.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;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.3s ease;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;

  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border-radius: 14px;
  letter-spacing: 1px;
}

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

.site-header.scrolled {
  padding: 0.4rem 1.5rem;
  backdrop-filter: blur(16px);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 0.8rem 1.5rem;
  }
  
  .nav-links {
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0.7rem 1rem;
  }
  
  .header-container {
    flex-wrap: nowrap;
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.8rem;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
  }
  
  .nav-links {
    gap: 1.5rem;
    justify-content: center;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .nav-links a {
    font-size: 1.5rem;
    white-space: nowrap;
  }
  
  .header-btn {
    font-size: 1.3rem;
    padding: 0.6rem 1.2rem;
    flex-shrink: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.6rem 0.8rem;
  }
  
  .header-container {
    gap: 0.8rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a {
    font-size: 1.3rem;
  }
  
  .header-btn {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.5rem;
  }
  
  .header-container {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0;
  }
  
  .logo {
    font-size: 0.92rem;
    flex: 0 1 auto;
    min-width: 60px;
  }
  
  .logo a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  
  .nav-links {
    gap: 0.5rem;
    flex: 0 1 auto;
    justify-content: flex-start;
    margin: 0;
  }
  
  .nav-links a {
    font-size: 0.79rem;
    white-space: nowrap;
  }
  
  .header-btn {
    font-size: 0.68rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    flex: 0 0 auto;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 1rem;
  }
  
  .nav-links {
    gap: 0.3rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
  }
  
  .header-btn {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}