:root {
  --nav-bg: rgba(11, 13, 16, 0.75);
  --nav-border: rgba(255, 255, 255, 0.08);
  --primary: #5865F2;
  --text-main: #EDEDED;
  --text-muted: #9AA0A6;
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nav-border);
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LADO ESQUERDO */
.nav-left {
  display: flex;
  align-items: center;
  gap: 48px;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo span {
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.nav-right {
  display: flex;
  align-items: center;
}

.login-btn {
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.login-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--nav-border);
  border-radius: 50px; /* Formato de pílula */
  text-decoration: none;
  transition: all 0.2s;
}

.user-menu:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.user-name {
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}