/* HEADER */
.main-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: rgba(3, 18, 43, 0.94);
  border-bottom: 1px solid rgba(71, 169, 255, 0.15);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
}

.nav-container {
  width: calc(100% - 30px);
  max-width: 720px;
  margin: 0 auto;
}

.main-nav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
}

/* NAV LINKS */
.nav-link,
.bahasa-button {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: var(--blue-400);
}

.nav-link:hover::after {
  width: 100%;
}

/* LANGUAGE */
.bahasa-dropdown {
  position: relative;
}

.bahasa-button {
  gap: 7px;
  user-select: none;
}

.dropdown-arrow {
  font-size: 9px;
  color: var(--blue-400);
  transition: transform 0.2s ease;
}

.bahasa-menu {
  position: absolute;
  top: calc(100% - 2px);
  right: 0;
  z-index: 1000;
  width: 150px;
  padding: 7px;
  background: #071b3d;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.bahasa-dropdown:hover .bahasa-menu,
.bahasa-dropdown:focus-within .bahasa-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bahasa-dropdown:hover .dropdown-arrow,
.bahasa-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg);
}

.bahasa-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--text-soft);
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s ease;
}

.bahasa-menu a:hover {
  color: #fff;
  background: linear-gradient(135deg, #075bc7, #1597ff);
}