html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    background-color: #020617;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #020617;
  background-image: radial-gradient(80% 65% at -8% -2%, lab(27.4132% 25.6029 -75.2709 / .55) 0%, transparent 60%), radial-gradient(65% 55% at 108% -4%, lab(27.5197% 60.5598 -80.4323 / .45) 0%, transparent 58%), radial-gradient(50% 35% at 50% 42%, lab(37.3622% -43.9173 -32.2305 / .18) 0%, transparent 68%), radial-gradient(70% 45% at 50% 102%, lab(81.8453% -64.7188 55.2919 / .1) 0%, transparent 62%), linear-gradient(lab(27.9331% -.250235 -10.3054 / .08) 1px, transparent 1px), linear-gradient(90deg, lab(27.9331% -.250235 -10.3054 / .08) 1px, transparent 1px);
  background-position: 0 0, 0 0, 0 0, 0 0, top, top;
  background-size: auto, auto, auto, auto, 72px 72px, 72px 72px;
  background-attachment: fixed;
}
.main-nav-1{
  margin-left:20px;
}
.site-logo {
  display: none;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(48px) saturate(1.4);
  -webkit-backdrop-filter: blur(48px) saturate(1.4);
  background: rgba(10, 12, 20, 0.35);
}

header .navbar {
  border-bottom: 1px solid rgba(107, 114, 128, 0.22);
  background: transparent !important;
  min-height: 56px;
  padding: 0;
}

header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff !important;
  text-decoration: none;
  padding: 0;
  margin-right: 16px;
  flex-shrink: 0;
}

.navbar-brand-text {
  font-family: "Geist", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.navbar-brand-accent {
  color: #56f56c;
}

header .nav-link {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 13.5px;
  font-weight: 500;
  padding: 6px 12px !important;
  border-radius: 8px;
  margin-left: 2px;
  transition: color 150ms ease, background 150ms ease;
}

header .nav-link:hover {
  color: #f8fafc !important;
  background: rgba(255, 255, 255, 0.06);
}

header .nav-link.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ── Profile Dropdown ─────────────────────────────── */
.nav-profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin-right: 10px;
  background: rgba(67, 233, 89, 0.08);
  border: 1px solid rgba(67, 233, 89, 0.22);
  border-radius: 999px;
  font-size: 0.82rem;
  text-decoration: none;
  color: inherit;
  transition: background 180ms ease, border-color 180ms ease;
}
.nav-wallet-pill:hover,
.nav-wallet-pill:focus-visible {
  background: rgba(67, 233, 89, 0.16);
  border-color: rgba(67, 233, 89, 0.4);
  text-decoration: none;
  outline: none;
}
.nav-wallet-pill-lbl {
  color: rgba(156, 163, 175, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.66rem;
  font-weight: 600;
}
.nav-wallet-pill-val {
  color: #43E959;
  font-weight: 700;
}

.nav-profile-btn:hover,
.nav-profile-btn:focus-visible {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.10);
  color: #f8fafc;
  outline: none;
}

.nav-profile-icon {
  flex-shrink: 0;
}

.nav-profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 210px;
  background: rgba(15, 18, 30, 0.95);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.97);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
  z-index: 100;
}

.nav-profile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.nav-profile-menu-header {
  padding: 10px 14px 6px;
}

.nav-profile-menu-email {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

.nav-profile-menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 4px 0;
}

.nav-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.nav-profile-menu-item:hover {
  background: rgba(255,255,255,0.06);
  color: #f8fafc;
}

.nav-profile-menu-item--danger {
  color: rgba(248,113,113,0.85);
}

.nav-profile-menu-item--danger:hover {
  background: rgba(248,113,113,0.08);
  color: #f87171;
}

.nav-profile-menu-form {
  margin: 0;
}