@import url("https://fonts.googleapis.com/css2?family=Audiowide&display=swap");

header.top-header {
  height: 130px;
  width: 100%;
  position: sticky;
  top: 0;
  background-color: #010521;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

header.top-header .logo-container {
  position: absolute;
  left: 0;
  top: 0;
  height: 130px;
  width: auto;
}

header.top-header .logo-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

header.top-header .gradient-overlay {
  position: absolute;
  right: 0;
  top: 0;
  height: 130px;
  width: 25px;
  background: linear-gradient(to left, #010521, transparent);
  pointer-events: none;
}

.header-content {
  position: absolute;
  left: 140px;
  right: 0;
  top: 0;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 0;
  gap: 16px;
}

header.top-header h1,
header.top-header .site-title {
  margin: 0;
  font-family: "Audiowide", "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #f4fbff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(34, 229, 255, 0.4);
}

header.top-header h1 a,
header.top-header .site-title a {
  color: inherit;
  text-decoration: none;
}

header.top-header h1 a:hover,
header.top-header h1 a:focus,
header.top-header .site-title a:hover,
header.top-header .site-title a:focus {
  text-decoration: none;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.desktop-nav {
  margin-left: auto;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
}

.desktop-nav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  color: #d4e7ff;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 0;
  position: relative;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22e5ff 0%, #ff3bbf 100%);
  transition: width 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus {
  color: #ffffff;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  margin-left: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #22e5ff 0%, #ff3bbf 100%);
  margin-bottom: 3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu-toggle span:last-child {
  margin-bottom: 0;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1200px) {
  header.top-header h1,
  header.top-header .site-title {
    font-size: 1.4rem;
    letter-spacing: 0.11em;
  }

  .desktop-nav ul {
    gap: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .header-content {
    padding-right: 16px;
    gap: 12px;
  }

  header.top-header h1,
  header.top-header .site-title {
    font-size: 1.3rem;
    letter-spacing: 0.1em;
  }

  .desktop-nav a {
    font-size: 0.78rem;
    letter-spacing: 0.055em;
  }
}

@media (max-width: 796px) {
  .header-content {
    left: 130px;
    padding-right: 10px;
    gap: 15px;
  }
  .desktop-nav ul {
    gap: 0.6rem;
  }
  .desktop-nav a {
    font-size: 0.76rem;
    letter-spacing: 0.055em;
  }
}

@media (max-width: 768px) {
  .header-content {
    left: 125px;
    padding-right: 14px;
    gap: 10px;
  }

  header.top-header h1,
  header.top-header .site-title {
    font-size: 1.15rem;
    letter-spacing: 0.09em;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .header-content {
    left: 125px;
    padding-right: 10px;
  }

  header.top-header h1,
  header.top-header .site-title {
    font-size: 1.05rem;
    letter-spacing: 0.085em;
  }
}
