.top-nav {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 15px 15px;
}

.nav-container {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  overflow-x: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(80, 80, 80, 0.7);
  text-decoration: none;
  padding: 10px 15px;
  font-size: 12px;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  min-width: 70px;
}

.nav-links a i {
  font-size: 20px;
  margin-bottom: 4px;
}

.nav-links a:hover {
  color: var(--primary-color);
  background: rgba(100, 170, 255, 0.1);
  transform: translateY(-2px);
}

.nav-links a.active {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  background: rgba(100, 170, 255, 0.15);
}

/* Light theme overrides - already using light theme by default now */
.light-theme .top-nav {
  background: rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(200, 200, 200, 0.4);
}

.light-theme .nav-links a {
  color: rgba(80, 80, 80, 0.8);
}

.light-theme .nav-links a:hover,
.light-theme .nav-links a.active {
  color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links a span {
    display: none;
  }
  
  .nav-links a {
    min-width: auto;
    padding: 10px 12px;
  }
  
  .nav-links a i {
    margin-bottom: 0;
  }
}

/* Dark mode adjustments */
.dark-theme .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}

.dark-theme .top-nav {
  background: rgba(30, 30, 30, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
