:root,
:root.dark {
  --background: 240 18% 4%;
  --foreground: 210 40% 98%;
  --card: 240 18% 7%;
  --card-foreground: 210 40% 98%;
  --popover: 240 18% 6%;
  --popover-foreground: 210 40% 98%;
  --primary: 196 100% 61%;
  --primary-foreground: 240 20% 5%;
  --secondary: 262 70% 17%;
  --secondary-foreground: 210 40% 98%;
  --muted: 240 15% 13%;
  --muted-foreground: 226 15% 72%;
  --accent: 296 78% 45%;
  --accent-foreground: 210 40% 98%;
  --destructive: 355 88% 61%;
  --destructive-foreground: 210 40% 98%;
  --border: 252 34% 20%;
  --input: 252 34% 20%;
  --ring: 196 100% 61%;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(234, 43, 220, 0.24), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(52, 185, 255, 0.2), transparent 34rem),
    linear-gradient(135deg, #050506 0%, #0b0a16 48%, #050506 100%) !important;
}

#global {
  background: transparent !important;
  min-height: 100vh;
}

header {
  background: linear-gradient(90deg, rgba(5, 5, 6, 0.96), rgba(17, 14, 32, 0.92)) !important;
  border-bottom: 1px solid rgba(159, 92, 244, 0.34) !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

header img {
  filter: drop-shadow(0 0 18px rgba(52, 185, 255, 0.28));
}

header h1 {
  background: linear-gradient(90deg, #ea2bdc 0%, #9f5cf4 52%, #34b9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  letter-spacing: -0.04em;
}

html:not(.dark) {
  --background: 220 44% 98%;
  --foreground: 230 20% 10%;
  --card: 0 0% 100%;
  --card-foreground: 230 20% 10%;
  --popover: 0 0% 100%;
  --popover-foreground: 230 20% 10%;
  --primary: 198 96% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 263 74% 96%;
  --secondary-foreground: 252 38% 20%;
  --muted: 220 28% 94%;
  --muted-foreground: 226 14% 42%;
  --accent: 298 80% 45%;
  --accent-foreground: 0 0% 100%;
  --destructive: 355 82% 53%;
  --destructive-foreground: 0 0% 100%;
  --border: 240 28% 88%;
  --input: 240 28% 88%;
  --ring: 198 96% 45%;
}

html:not(.dark) body {
  background:
    radial-gradient(circle at 8% 0%, rgba(249, 38, 225, 0.16), transparent 30rem),
    radial-gradient(circle at 92% 6%, rgba(42, 181, 251, 0.2), transparent 34rem),
    linear-gradient(135deg, #fbfcff 0%, #f6f3ff 48%, #f7fbff 100%) !important;
}

html:not(.dark) header {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(246, 243, 255, 0.94)) !important;
  border-bottom: 1px solid rgba(159, 92, 244, 0.24) !important;
  box-shadow: 0 18px 54px rgba(55, 45, 95, 0.14);
}

html:not(.dark) .endpoint {
  background: rgba(255, 255, 255, 0.86) !important;
  border-color: rgba(159, 92, 244, 0.2) !important;
  box-shadow: 0 22px 60px rgba(55, 45, 95, 0.12);
}

html:not(.dark) .endpoint-header {
  border-bottom: 1px solid rgba(55, 45, 95, 0.08);
}

html:not(.dark) footer {
  background: rgba(255, 255, 255, 0.78) !important;
  border-top: 1px solid rgba(159, 92, 244, 0.22) !important;
}

main::before {
  background: linear-gradient(90deg, #ea2bdc, #9f5cf4, #34b9ff);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(159, 92, 244, 0.5);
  content: "";
  display: block;
  height: 3px;
  margin: 0 auto 1.5rem;
  max-width: 68rem;
  opacity: 0.95;
}

.endpoint {
  background: rgba(10, 10, 18, 0.84) !important;
  border: 1px solid rgba(159, 92, 244, 0.22) !important;
  border-radius: 1.1rem !important;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.endpoint:hover {
  border-color: rgba(52, 185, 255, 0.45) !important;
}

.endpoint-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bg-success {
  background: linear-gradient(90deg, #16a34a, #22c55e) !important;
}

.bg-destructive,
.bg-red-500 {
  background-color: #ef4444 !important;
}

footer {
  background: rgba(5, 5, 6, 0.76) !important;
  border-top: 1px solid rgba(159, 92, 244, 0.24) !important;
}