:root {
  --clr-bg-0: #0b1020;
  --clr-bg-1: #0f172a;
  --clr-surface: rgba(255, 255, 255, 0.04);
  --clr-surface-2: rgba(255, 255, 255, 0.06);
  --clr-border: rgba(255, 255, 255, 0.08);
  --clr-text: rgba(255, 255, 255, 0.92);
  --clr-text-muted: rgba(255, 255, 255, 0.68);
  --clr-text-faint: rgba(255, 255, 255, 0.52);
  --clr-accent: #6d5efc;
  --clr-accent-2: #7c3aed;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-md: 0 20px 60px rgba(0, 0, 0, 0.35);
}

 html[data-theme='light'] {
   --clr-bg-0: #e9edff;
   --clr-bg-1: #f8fafc;
   --clr-surface: rgba(255, 255, 255, 0.72);
   --clr-surface-2: rgba(255, 255, 255, 0.88);
   --clr-border: rgba(2, 6, 23, 0.12);
   --clr-text: rgba(2, 6, 23, 0.92);
   --clr-text-muted: rgba(2, 6, 23, 0.68);
   --clr-text-faint: rgba(2, 6, 23, 0.52);
   --shadow-md: 0 18px 50px rgba(2, 6, 23, 0.14);
 }

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--clr-text);
  background: radial-gradient(1200px 600px at 30% 0%, rgba(109, 94, 252, 0.22), transparent 50%),
    radial-gradient(900px 500px at 70% 20%, rgba(124, 58, 237, 0.18), transparent 55%),
    linear-gradient(180deg, var(--clr-bg-1), var(--clr-bg-0));
}

 html[data-theme='light'] body {
   background: radial-gradient(1200px 600px at 30% 0%, rgba(109, 94, 252, 0.16), transparent 55%),
     radial-gradient(900px 500px at 70% 20%, rgba(124, 58, 237, 0.12), transparent 60%),
     linear-gradient(180deg, var(--clr-bg-1), var(--clr-bg-0)) !important;
 }

 html[data-theme='light'] .muted {
   color: var(--clr-text-muted) !important;
 }

 html[data-theme='light'] .glass,
 html[data-theme='light'] .card {
   background: radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.85), transparent 45%),
     var(--clr-surface) !important;
   border-color: var(--clr-border) !important;
   box-shadow: var(--shadow-md) !important;
 }

 html[data-theme='light'] .navbar-dark .navbar-brand,
 html[data-theme='light'] .navbar-dark .navbar-nav .nav-link,
 html[data-theme='light'] .navbar-dark .navbar-text {
   color: rgba(2, 6, 23, 0.86) !important;
 }

 html[data-theme='light'] .navbar-dark .navbar-nav .nav-link[aria-current='page'] {
   color: rgba(2, 6, 23, 0.92) !important;
 }

 html[data-theme='light'] .navbar {
   background: rgba(248, 250, 252, 0.70) !important;
   border-color: var(--clr-border) !important;
 }

 html[data-theme='light'] .navbar a.nav-link.rounded-pill,
 html[data-theme='light'] .navbar button.nav-link.rounded-pill {
   border: 1px solid rgba(2, 6, 23, 0.26) !important;
   background: rgba(2, 6, 23, 0.06) !important;
   color: rgba(2, 6, 23, 0.86) !important;
 }

 html[data-theme='light'] .navbar a.nav-link.rounded-pill[style],
 html[data-theme='light'] .navbar button.nav-link.rounded-pill[style] {
   border: 1px solid rgba(2, 6, 23, 0.34) !important;
   outline: 1px solid rgba(2, 6, 23, 0.10) !important;
   outline-offset: -1px !important;
   box-shadow: inset 0 0 0 1px rgba(2, 6, 23, 0.10) !important;
 }

 html[data-theme='light'] .navbar a.nav-link.rounded-pill:hover,
 html[data-theme='light'] .navbar button.nav-link.rounded-pill:hover {
   border: 1px solid rgba(2, 6, 23, 0.34) !important;
   background: rgba(2, 6, 23, 0.09) !important;
 }

 html[data-theme='light'] .navbar a.nav-link.rounded-pill[aria-current='page'] {
   border: 1px solid rgba(2, 6, 23, 0.40) !important;
   background: rgba(2, 6, 23, 0.12) !important;
   color: rgba(2, 6, 23, 0.92) !important;
 }

 html[data-theme='light'] .btn-outline-light {
   border-color: rgba(2, 6, 23, 0.26) !important;
   color: rgba(2, 6, 23, 0.86) !important;
   background: rgba(2, 6, 23, 0.02) !important;
 }

 html[data-theme='light'] .btn-outline-light:hover {
   border-color: rgba(2, 6, 23, 0.34) !important;
   color: rgba(2, 6, 23, 0.92) !important;
   background: rgba(2, 6, 23, 0.06) !important;
 }

 html[data-theme='light'] .btn-outline-light:focus,
 html[data-theme='light'] .btn-outline-light:active {
   border-color: rgba(2, 6, 23, 0.34) !important;
   box-shadow: 0 0 0 .25rem rgba(109, 94, 252, 0.18) !important;
 }

 html[data-theme='light'] .btn-outline-danger {
   border-color: rgba(220, 38, 38, 0.55) !important;
   color: rgba(153, 27, 27, 0.92) !important;
   background: rgba(220, 38, 38, 0.04) !important;
 }

 html[data-theme='light'] .btn-outline-danger:hover {
   border-color: rgba(220, 38, 38, 0.70) !important;
   color: rgba(127, 29, 29, 0.96) !important;
   background: rgba(220, 38, 38, 0.08) !important;
 }

 html[data-theme='light'] .btn-outline-danger:focus,
 html[data-theme='light'] .btn-outline-danger:active {
   border-color: rgba(220, 38, 38, 0.70) !important;
   box-shadow: 0 0 0 .25rem rgba(220, 38, 38, 0.18) !important;
 }

 html[data-theme='light'] .muted {
   color: var(--clr-text-muted) !important;
 }

 html[data-theme='light'] .form-label {
   color: var(--clr-text-muted) !important;
 }

 html[data-theme='light'] .form-control,
 html[data-theme='light'] .form-select {
   background-color: rgba(255, 255, 255, 0.85) !important;
   border-color: var(--clr-border) !important;
   color: var(--clr-text) !important;
 }

 html[data-theme='light'] .form-control:focus,
 html[data-theme='light'] .form-select:focus {
   background-color: rgba(255, 255, 255, 0.92) !important;
   border-color: rgba(109, 94, 252, 0.50) !important;
   box-shadow: 0 0 0 .25rem rgba(109, 94, 252, 0.18) !important;
   color: var(--clr-text) !important;
 }

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--clr-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--clr-text);
  cursor: pointer;
}

.btn-primary {
  border-color: rgba(109, 94, 252, 0.35);
  background: linear-gradient(180deg, rgba(109, 94, 252, 0.95), rgba(109, 94, 252, 0.8));
  color: #0b1020;
  font-weight: 600;
}

.card {
  border: 1px solid var(--clr-border);
  background: radial-gradient(120% 120% at 10% 0%, rgba(255, 255, 255, 0.06), transparent 40%),
    rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
