/* cache-bust 2026-07-31T08:14:34.9243096-06:00 */
/* VampCode Docs — Vampelium design system (glass + pink/fuchsia) */

:root {
  --bg: #000000;
  --fg: #ffffff;
  --muted: #d1d5db; /* gray-300 */
  --muted-2: #9ca3af; /* gray-400 */
  --pink-400: #ec4899;
  --pink-500: #db2777;
  --fuchsia-400: #e879f9;
  --fuchsia-500: #d946ef;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --sidebar-w: 280px;
  --nav-h: 72px;
  --radius: 0.75rem;
  --radius-xl: 0.75rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --max-content: 820px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Ambient orbs (about-page style) ── */
.orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}
.orb-1 {
  top: 5rem;
  left: 5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(236, 72, 153, 0.3);
}
.orb-2 {
  bottom: 5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(168, 85, 247, 0.2);
}
.orb-3 {
  top: 50%;
  left: 33%;
  width: 16rem;
  height: 16rem;
  background: rgba(217, 70, 239, 0.2);
  transform: translate(-50%, -50%);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}
::-webkit-scrollbar-thumb {
  background: rgba(236, 72, 153, 0.5);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(236, 72, 153, 0.8);
}

/* ── Glass ── */
.glass {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-xl);
}

/* ── Typography helpers ── */
.gradient-text {
  background: linear-gradient(90deg, var(--pink-500), var(--fuchsia-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

a {
  color: var(--pink-400);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--fuchsia-400);
}

code,
kbd {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.12em 0.4em;
  color: #fce7f3;
}
pre {
  margin: 0;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.55;
  color: #fce7f3;
}
pre code {
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

/* ── Fixed glass navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem 1rem 0;
  transition: padding 0.3s ease;
}
.navbar.scrolled {
  padding: 0.5rem 1rem 0;
}
.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem;
  transition: background 0.3s ease;
}
.navbar.scrolled .navbar-inner {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--pink-500), var(--fuchsia-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover {
  opacity: 0.92;
  color: transparent;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-desktop a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-desktop a:hover {
  color: var(--pink-400);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--pink-500), var(--fuchsia-500));
  color: #fff !important;
  padding: 0.45rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.btn-cta:hover {
  opacity: 0.9;
  color: #fff !important;
}

.menu-btn {
  display: none;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 0.35rem;
  line-height: 0;
}
.menu-btn:hover {
  color: var(--pink-400);
}
.menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ── Layout ── */
.page {
  position: relative;
  z-index: 10;
  padding-top: calc(var(--nav-h) + 0.75rem);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
  width: 100%;
  flex: 1;
}

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 0.5rem);
  height: fit-content;
  max-height: calc(100vh - var(--nav-h) - 1.5rem);
  overflow-y: auto;
  padding: 1.15rem 0.85rem 1.35rem;
  align-self: start;
}
.sidebar h2 {
  margin: 1.15rem 0 0.4rem;
  padding: 0 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-400);
  font-weight: 700;
}
.sidebar h2:first-child {
  margin-top: 0.15rem;
}
.sidebar a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  margin: 0.08rem 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.sidebar a:hover {
  color: var(--pink-400);
  background: rgba(236, 72, 153, 0.08);
}
.sidebar a.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.18), transparent);
  border-left: 2px solid var(--pink-400);
  padding-left: calc(0.7rem - 2px);
}

/* ── Content ── */
.content {
  min-width: 0;
  max-width: var(--max-content);
  padding: 0.25rem 0.5rem 1rem;
}
.content > .glass-panel {
  padding: 1.75rem 1.75rem 2rem;
}

.content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  line-height: 1.15;
  background: linear-gradient(90deg, var(--pink-500), var(--fuchsia-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.content h2 {
  margin: 2.25rem 0 0.85rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink-400);
  padding-top: 0.75rem;
  border-top: 1px solid var(--glass-border);
}
.content h2:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.content h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 40rem;
  margin: 0 0 1.35rem;
}
p {
  margin: 0.8rem 0;
  color: var(--muted);
}
ul,
ol {
  margin: 0.65rem 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}
li {
  margin: 0.35rem 0;
}
li::marker {
  color: var(--pink-400);
}
strong {
  color: #fff;
  font-weight: 600;
}

/* ── Cards / tiles ── */
.card,
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  padding: 1.25rem 1.35rem;
  margin: 1rem 0 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover,
.glass-card:hover {
  border-color: rgba(236, 72, 153, 0.35);
}
.card h3,
.glass-card h3 {
  margin-top: 0;
  color: var(--pink-400);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin: 1.15rem 0 1.5rem;
}

.tile {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  padding: 1.25rem 1.3rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(217, 70, 239, 0.05));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.tile:hover {
  transform: scale(1.03);
  border-color: rgba(236, 72, 153, 0.4);
  text-decoration: none;
  color: inherit;
}
.tile:hover::before {
  opacity: 1;
}
.tile strong {
  display: block;
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.tile span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 0.92rem;
}
.tile .tile-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.85rem;
  color: var(--pink-400);
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform 0.2s ease;
}
.tile:hover .tile-link {
  transform: translateX(4px);
}

/* ── Code blocks ── */
.cmd {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 0.65rem;
  overflow: hidden;
  margin: 0.85rem 0 1.15rem;
  backdrop-filter: blur(8px);
}
.cmd pre {
  flex: 1;
  padding: 0.95rem 1.05rem;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.cmd button {
  border: 0;
  border-left: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.25), rgba(217, 70, 239, 0.15));
  color: #fff;
  padding: 0 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: opacity 0.15s ease;
}
.cmd button:hover {
  opacity: 0.9;
}
.cmd button.ok {
  background: rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

.terminal-block {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 0.65rem;
  padding: 1rem 1.05rem;
  margin: 0.85rem 0 1.15rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.86rem;
  color: #fce7f3;
  line-height: 1.55;
  white-space: pre-wrap;
}

/* ── Tables ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.35rem;
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
}
th,
td {
  border-bottom: 1px solid var(--glass-border);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
th {
  background: rgba(236, 72, 153, 0.12);
  color: #fff;
  font-weight: 600;
}
td {
  color: var(--muted);
}
tr:last-child td {
  border-bottom: 0;
}
tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* ── Callouts ── */
.note,
.warn,
.tip {
  border-radius: 0.65rem;
  padding: 0.95rem 1.1rem;
  margin: 1.1rem 0;
  border: 1px solid var(--glass-border);
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.note {
  background: rgba(236, 72, 153, 0.08);
  border-color: rgba(236, 72, 153, 0.35);
  color: var(--muted);
}
.warn {
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.35);
  color: #fde68a;
}
.tip {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
}
.note strong,
.warn strong,
.tip strong {
  display: block;
  margin-bottom: 0.3rem;
  color: inherit;
  font-weight: 700;
}

.pill {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  margin-right: 0.4rem;
  margin-bottom: 0.35rem;
}

/* ── Footer (glass card) ── */
.doc-footer {
  margin-top: 2.5rem;
  padding: 1.35rem 1.5rem;
}
.doc-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.doc-footer h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: var(--pink-400);
  font-weight: 700;
}
.doc-footer p,
.doc-footer a {
  color: var(--muted);
  font-size: 0.9rem;
}
.doc-footer a:hover {
  color: var(--pink-400);
}
.doc-footer-bottom {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--muted-2);
  font-size: 0.85rem;
}
.doc-footer-bottom a {
  color: var(--muted-2);
}
.doc-footer-bottom a:hover {
  color: var(--pink-400);
}

/* ── Mobile drawer ── */
.backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}
.backdrop.show {
  display: block;
}

@media (max-width: 960px) {
  .shell {
    grid-template-columns: 1fr;
    padding: 0 0.85rem 2rem;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(86vw, 300px);
    max-height: none;
    height: 100%;
    z-index: 45;
    border-radius: 0;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    padding-top: 1.5rem;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-btn {
    display: inline-flex;
  }
  .nav-desktop .hide-sm {
    display: none;
  }
  .content > .glass-panel {
    padding: 1.25rem 1.1rem 1.5rem;
  }
  .navbar {
    padding: 0.75rem 0.75rem 0;
  }
}

@media (max-width: 640px) {
  .nav-desktop a:not(.btn-cta) {
    display: none;
  }
}

/* ── Hero (docs home) ── */
.docs-hero {
  text-align: center;
  padding: 1.5rem 0.5rem 0.5rem;
  margin-bottom: 0.5rem;
}
.docs-hero .lead {
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
}
.docs-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
}

/* fade-in */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page .shell {
  animation: fade-up 0.55s ease both;
}

/* redeploy 2026-07-31T08:17:25.7988352-06:00 */
