:root {
  color-scheme: dark;
  --surface: #0f172a;
  --surface-strong: #0b1224;
  --accent: #22d3ee;
  --accent-2: #fbbf24;
}

body {
  background-color: #020617;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.12), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(251, 191, 36, 0.1), transparent 40%),
    radial-gradient(1300px 1300px at 50% 0%, rgba(255, 255, 255, 0.03), transparent 60%);
  min-height: 100vh;
}

a {
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

button,
input,
select,
textarea {
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

input,
select,
textarea {
  background: var(--surface);
  border: 1px solid #1e293b;
  color: #e2e8f0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.25);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 0 6px rgba(34, 211, 238, 0.15);
}

button:active,
input:active,
select:active,
textarea:active {
  transform: translateY(1px);
}

.glow-card {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.04), rgba(251, 191, 36, 0.05));
  border: 1px solid rgba(226, 232, 240, 0.08);
  border-radius: 14px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.frosted {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.07);
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

pre {
  background: var(--surface-strong);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.08);
  overflow: auto;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #e0f2fe;
  font-size: 0.9rem;
}

.link-pill:hover {
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.5);
}

/* Markdown content styling */
.prose {
  color: #e2e8f0;
  line-height: 1.7;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
  color: #f1f5f9;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

.prose h1:first-child,
.prose h2:first-child,
.prose h3:first-child,
.prose h4:first-child,
.prose h5:first-child,
.prose h6:first-child {
  margin-top: 0;
}

.prose h1 {
  font-size: 1.75em;
}

.prose h2 {
  font-size: 1.5em;
}

.prose h3 {
  font-size: 1.25em;
}

.prose ul,
.prose ol {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.625em;
}

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose li p {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose ul ul,
.prose ul ol,
.prose ol ul,
.prose ol ol {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose strong {
  color: #f1f5f9;
  font-weight: 600;
}

.prose em {
  font-style: italic;
}

.prose blockquote {
  border-left: 4px solid #334155;
  padding-left: 1em;
  color: #cbd5e1;
  font-style: italic;
  margin: 1.5em 0;
}

.prose code {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.prose pre {
  background: var(--surface-strong);
  border-radius: 12px;
  padding: 1em;
  border: 1px solid rgba(226, 232, 240, 0.08);
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose pre code {
  background: transparent;
  padding: 0;
  color: #e2e8f0;
  font-size: 0.875em;
}

.prose a {
  color: #22d3ee;
  text-decoration: underline;
}

.prose a:hover {
  color: #67e8f9;
}

.prose hr {
  border-top: 1px solid #334155;
  margin: 2em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose th {
  background: rgba(51, 65, 85, 0.3);
  padding: 0.75em;
  text-align: left;
  font-weight: 600;
  border: 1px solid #334155;
}

.prose td {
  padding: 0.75em;
  border: 1px solid #334155;
}
