.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 72px;

    background: rgba(5, 12, 22, 0.95);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;

    z-index: 9999999;

    border-bottom: 1px solid rgba(46, 161, 255, 0.2);
}

.nav-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 20px;
}

.nav-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-title {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2da1ff;
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav-center a {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.discord-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.discord-profile {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.discord-profile:hover {
    background: rgba(46,161,255,0.12);
}

.nav-right a {
    text-decoration: none;
    color: white;
}

.nav-right a:visited {
    color: white;
}

.nav-right a:hover {
    opacity: 0.8;
}

.nav-center a {
  position: relative;
  color: #cfdfff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 6px 4px;
  transition: color 0.25s ease;
}

.nav-center a:hover {
  color: #1e90ff;
}

.nav-center a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #1e90ff;
  border-radius: 4px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.nav-center a:hover::after {
  width: 100%;
}

.profile-menu {
    position: relative;
}

.profile-dropdown {
    position: absolute;
    right: 0;
    top: 55px;
    background: #0f172a;
    border: 1px solid #1e3a5f;
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    min-width: 180px;
    z-index: 9999999;
}

.profile-dropdown a {
    display: block;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
}

.profile-dropdown a:hover {
    background: #1e293b;
}

.profile-dropdown.show {
    display: block;
}

.profile-dropdown-wrapper {
    position: relative;
}

.nav-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}
