* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.top-bar {
  width: 100%;
  min-height: 75px;
  padding: 0 7%;
  background: rgba(10, 10, 18, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo::after {
  content: ".";
  color: #ff3b3b;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: #cfcfd8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.admin-link {
  color: #ffd166 !important;
  font-weight: 800;
}

.login-btn {
  background: #5865f2;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
}

.login-btn:hover {
  background: #6d78f5;
}

.login-btn.logout-mode {
  background: #ff3b3b;
}

.login-btn.logout-mode:hover {
  background: #ff5a5a;
}

.currency-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.currency-label {
  color: #aaaabb;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.currency-amount {
  color: #4dff9d;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.hidden {
  display: none !important;
}

.menu-btn {
  display: none;
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 1.9rem;
  cursor: pointer;
}

@media (max-width: 800px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #10101b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 25px;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .currency-bar {
    width: 100%;
    justify-content: center;
  }

  .login-btn {
    width: 100%;
    text-align: center;
  }
}