.navbar {
  background: var(--nav-color);
  height: 80px;
  width: 100%;
  border-radius: 0px 0px 20px 20px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 999;
}

.navbar * {
  display: flex;
  height: 90%;
  gap: 50px;
  align-items: center;
}

.nav__left a:first-of-type {
  display: flex;
  margin-left: 60px;
  justify-content: center;
  width: 180px;
  gap: 10px;
  height: 35px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  align-items: center;
  background: linear-gradient(225deg, #ff6fae 0%, #5966f2 100%);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
}

.nav__left a:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 111, 174, 0.3);
}

.nav__center {
  gap: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav__search__container .nav__search__bar {
  width: 320px;
  height: 25px;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 20px;
  background: var(--bg-input);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.nav__search__container .nav__search__bar:hover {
  background: var(--hover-bg);
  box-shadow: 0 2px 8px var(--shadow-color);
}

.nav__search__container .nav__search__bar:focus {
  outline: none;
  background: var(--hover-bg);
  box-shadow: 0 0 0 2px var(--text-primary);
}
  
.nav__link {
  height: 25px;
  background: var(--bg-input);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.nav__link:hover {
  background: var(--hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.nav__right {
  align-items: center;
  margin-right: 60px;
  gap: 20px;
}

.theme__btn {
  font-weight: 700;
  background: var(--bg-input);
  color: var(--text-primary);
  border: none;
  border-radius: 20px;
  width: 110px;
  height: 35px;
  cursor: pointer;
  justify-content: center;
  gap: 8px;
}

.theme__btn * {
  height: auto;
}

.theme__btn:hover {
  background: var(--hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.theme__dropdown {
  display: none;
  background: var(--nav-color);
  position: fixed;
  top: 100px;
  right: 320px;
  border-radius: 0rem 1rem 1rem 1rem;
  overflow-y: auto;
  height: 240px;
  scrollbar-width: thin;
  scrollbar-color: var(--text-primary) var(--bg-card);
}

.theme__dropdown__item {
  width: 150px;
  height: 50px;
  background-color: var(--bg-card);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin: 8px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.theme__dropdown__item:hover {
  background: var(--hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

/* Will need to eventually add theme menu css */

.login__button {
  background: #5865F2;
  color: white;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
}

.login__button i {
  height: auto;
}

.login__button:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

 /* USER PROFILE */
  
.user__profile {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  background: linear-gradient(225deg, #5966f2 0%, #5865f24d 100%);
  padding: 0rem 0.5rem;
  border-radius: 50px;
  text-decoration: none;
  color: inherit;
}
  
.user__profile:hover {
  background: linear-gradient(225deg, #5966f2 0%, #5865f24d 100%);
  cursor: pointer;
  transform: scale(1.05);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.2);
  text-decoration: none;
  color: inherit;
}
  
.user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #5865F2;
}
  
.user__name {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
  
.logout__button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #ED4245;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
}
  
.logout__button:hover {
  background-color: #c03537;
  transform: scale(1.05);
}
  
.logout__button i {
  display: flex;
  font-size: 1.1rem;
}
  
.preferences__button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #5865f2;
  color: white;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 0.5rem;
}
  
.preferences__button:hover {
  background-color: #4752c4;
  transform: scale(1.05);
}
  
.preferences__button i {
  display: flex;
  font-size: 1.1rem;
}

/* AUTOCOMPLETE SEARCH DROPDOWN */
.search__dropdown {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  width: 380px;
  height: auto;
  max-height: 300px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.2s ease;
  list-style: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--text-secondary) var(--bg-card);
}

.search__dropdown__item {
  display: flex;
  height: 50px;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-input);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin: 8px;
 }

.user__icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--user-primary);
}

.game__icon {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--game-primary);
}

.result__text {
  width: 100%;
  justify-content: space-between;
}

.search__user__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--user-primary);
}

.search__game__name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--game-primary);
}

.search__user__type {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--user-primary);
}

.search__game__type {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--game-primary);
}