
:root {
--background: #070b14;
--background-soft: #0a101c;
--surface: rgba(14, 21, 34, 0.82);
--surface-hover: rgba(19, 29, 46, 0.92);
--border: rgba(148, 163, 184, 0.13);
--border-hover: rgba(96, 165, 250, 0.32);


--text: #f8fafc;
--text-soft: #cbd5e1;
--text-muted: #8290a5;

--blue: #60a5fa;
--blue-light: #93c5fd;
--blue-dark: #2563eb;

--green: #34d399;
--yellow: #fbbf24;
--red: #fb7185;

--sidebar-width: 260px;
--topbar-height: 76px;
--radius: 16px;


}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }


html {
scroll-behavior: smooth;
scroll-padding-top: 100px;
}

body {
min-height: 100vh;
background:
radial-gradient(
circle at 15% 10%,
rgba(37, 99, 235, 0.08),
transparent 30%
),
radial-gradient(
circle at 85% 30%,
rgba(96, 165, 250, 0.06),
transparent 28%
),
var(--background);

color: var(--text);

font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

line-height: 1.6;
overflow-x: hidden;

}

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

button {
font: inherit;
}

/* =========================
BACKGROUND
========================= */

.background-glow {
position: fixed;
width: 420px;
height: 420px;

border-radius: 50%;

pointer-events: none;

filter: blur(120px);
opacity: 0.12;

z-index: -1;

}

.glow-one {
top: 80px;
left: -220px;

background: #2563eb;

}

.glow-two {
top: 50%;
right: -220px;

background: #60a5fa;

}

/* =========================
TOPBAR
========================= */

.topbar {
position: fixed;

inset: 0 0 auto 0;

height: var(--topbar-height);

z-index: 100;

border-bottom: 1px solid var(--border);

background: rgba(7, 11, 20, 0.82);

backdrop-filter: blur(20px);

}

.topbar-inner {
width: 100%;
max-width: 1500px;

height: 100%;

margin: 0 auto;
padding: 0 28px;

display: flex;
align-items: center;
justify-content: space-between;

}

.brand {
display: flex;
align-items: center;

gap: 12px;

}

.brand img {
width: 40px;
height: 40px;

object-fit: contain;

border-radius: 11px;

}

.brand-text {
display: flex;
flex-direction: column;

line-height: 1.1;

}

.brand-text strong {
color: var(--text);

font-size: 15px;
font-weight: 800;

letter-spacing: -0.01em;

}

.brand-text span {
margin-top: 4px;

color: var(--text-muted);

font-size: 11px;

}

/* =========================
DESKTOP NAVIGATION
========================= */

.top-navigation {
display: flex;
align-items: center;

gap: 28px;

}

.top-navigation a {
color: var(--text-muted);

font-size: 14px;

transition:
    color 0.2s ease,
    opacity 0.2s ease;

}

.top-navigation a {
color: var(--text);
}

/* =========================
MOBILE MENU
========================= */

.mobile-menu-button {
display: none;

width: 42px;
height: 42px;

padding: 9px;

border: 1px solid var(--border);
border-radius: 10px;

background: var(--surface);

cursor: pointer;

}

.mobile-menu-button {
border-color: var(--border-hover);
}

.mobile-menu-button span {
display: block;

height: 2px;

margin: 5px 0;

border-radius: 10px;

background: var(--text);

transition:
    transform 0.2s ease,
    opacity 0.2s ease;

}

.mobile-menu {
display: none;
}

/* =========================
DOCUMENTATION LAYOUT
========================= */

.docs-layout {
display: flex;

width: 100%;
max-width: 1500px;

min-height: 100vh;

margin: 0 auto;

padding-top: var(--topbar-height);

}

/* =========================
SIDEBAR
========================= */

.sidebar {
position: fixed;

top: var(--topbar-height);
bottom: 0;

width: var(--sidebar-width);

padding: 30px 18px 22px 28px;

border-right: 1px solid var(--border);

overflow-y: auto;

scrollbar-width: thin;
scrollbar-color: rgba(148, 163, 184, 0.2) transparent;

}

.sidebar-title {
padding: 0 12px 14px;
}

.sidebar-title span,
.section-label {
color: var(--blue);

font-size: 10px;
font-weight: 800;

letter-spacing: 0.14em;

}

.sidebar-navigation {
display: flex;
flex-direction: column;

gap: 4px;

}

.sidebar-link {
display: flex;
align-items: center;

gap: 11px;

padding: 9px 12px;

border-radius: 9px;

color: var(--text-muted);

font-size: 13px;

transition:
    color 0.2s ease,
    background 0.2s ease;

}

.sidebar-link {
color: var(--text);

background: rgba(96, 165, 250, 0.06);

}

.sidebar-link.active {
color: var(--blue-light);

background: rgba(96, 165, 250, 0.09);

}

.sidebar-icon {
width: 20px;

color: inherit;

text-align: center;

font-size: 13px;

}

.sidebar-section {
margin: 24px 12px 8px;

color: #566276;

font-size: 9px;
font-weight: 800;

letter-spacing: 0.14em;

}

.sidebar-bottom {
position: sticky;

bottom: 0;

margin-top: 32px;

padding: 15px;

border: 1px solid var(--border);
border-radius: 13px;

background: rgba(10, 16, 28, 0.9);

}

.sidebar-status {
display: flex;
align-items: center;

gap: 8px;

color: var(--text-soft);

font-size: 11px;

}

.status-dot {
width: 7px;
height: 7px;

flex-shrink: 0;

border-radius: 50%;

background: var(--green);

box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);

}

.sidebar-api-link {
display: block;

margin-top: 12px;

color: var(--blue);

font-size: 11px;
font-weight: 700;

}

.sidebar-api-link {
color: var(--blue-light);
}

/* =========================
MAIN CONTENT
========================= */

.docs-content {
width: calc(100% - var(--sidebar-width));

margin-left: var(--sidebar-width);

padding: 74px 70px 60px;

}

/* =========================
HERO
========================= */

.hero {
max-width: 850px;

margin-bottom: 48px;

}

.eyebrow {
display: inline-flex;
align-items: center;

gap: 8px;

margin-bottom: 18px;

color: var(--blue-light);

font-size: 12px;
font-weight: 700;

}

.eyebrow-dot {
width: 7px;
height: 7px;

border-radius: 50%;

background: var(--blue);

box-shadow: 0 0 12px rgba(96, 165, 250, 0.7);

}

.hero h1 {
max-width: 800px;

font-size: clamp(42px, 6vw, 72px);

line-height: 0.98;

letter-spacing: -0.055em;

font-weight: 800;

}

.hero h1 span {
color: var(--blue);
}

.hero-description {
max-width: 690px;

margin-top: 22px;

color: var(--text-muted);

font-size: 16px;

}

.hero-actions {
display: flex;

gap: 12px;

margin-top: 28px;

}

/* =========================
BUTTONS
========================= */

.button {
display: inline-flex;
align-items: center;
justify-content: center;

gap: 9px;

min-height: 44px;

padding: 0 17px;

border-radius: 10px;

font-size: 13px;
font-weight: 700;

transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;

}

.button {
transform: translateY(-2px);
}

.button-primary {
color: #06101e;

background: var(--blue);

}

.button-primary {
background: var(--blue-light);
}

.button-secondary {
color: var(--text-soft);

border: 1px solid var(--border);

background: var(--surface);

}

.button-secondary {
border-color: var(--border-hover);

color: var(--text);

}

/* =========================
INFO CARDS
========================= */

.info-grid {
display: grid;

grid-template-columns: repeat(3, minmax(0, 1fr));

gap: 12px;

margin-bottom: 80px;

}

.info-card {
display: flex;
align-items: center;

gap: 14px;

padding: 18px;

border: 1px solid var(--border);

border-radius: var(--radius);

background: var(--surface);

transition:
    transform 0.2s ease,
    border-color 0.2s ease;

}

.info-card {
transform: translateY(-2px);

border-color: var(--border-hover);

}

.info-icon {
display: grid;
place-items: center;

width: 42px;
height: 42px;

flex-shrink: 0;

border-radius: 11px;

background: rgba(96, 165, 250, 0.08);

color: var(--blue);

font-size: 12px;
font-weight: 800;

}

.info-card strong,
.info-card span {
display: block;
}

.info-card strong {
font-size: 14px;
}

.info-card span {
margin-top: 2px;

color: var(--text-muted);

font-size: 11px;

}

/* =========================
SECTIONS
========================= */

.docs-section {
max-width: 1000px;

margin-bottom: 90px;

}

.section-heading {
display: flex;
align-items: flex-end;
justify-content: space-between;

gap: 30px;

margin-bottom: 26px;

}

.section-heading h2 {
margin-top: 5px;

font-size: 29px;

line-height: 1.1;

letter-spacing: -0.035em;

}

.section-heading p {
max-width: 320px;

color: var(--text-muted);

font-size: 12px;

}

/* =========================
API CARDS
========================= */

.api-list {
display: flex;
flex-direction: column;

gap: 12px;

}

.api-card {
padding: 22px;

border: 1px solid var(--border);

border-radius: var(--radius);

background: var(--surface);

transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;

scroll-margin-top: 100px;

}

.api-card {
transform: translateY(-2px);

border-color: var(--border-hover);

background: var(--surface-hover);

}

.api-card-top {
display: flex;
align-items: flex-start;
justify-content: space-between;

gap: 20px;

}

.api-title-wrapper {
display: flex;
align-items: center;

gap: 13px;

}

.api-icon {
display: grid;
place-items: center;

width: 42px;
height: 42px;

flex-shrink: 0;

border: 1px solid rgba(96, 165, 250, 0.12);

border-radius: 11px;

background: rgba(96, 165, 250, 0.07);

color: var(--blue);

font-size: 17px;

}

.api-title-wrapper h3 {
font-size: 17px;

line-height: 1.2;

}

.method-badge {
display: inline-block;

margin-top: 5px;

color: var(--green);

font-size: 9px;
font-weight: 800;

letter-spacing: 0.1em;

}

.api-version {
color: var(--text-muted);

font-size: 11px;

}

.api-description {
max-width: 720px;

margin: 17px 0;

color: var(--text-muted);

font-size: 13px;

}

/* =========================
ENDPOINT
========================= */

.endpoint {
display: flex;
align-items: center;

gap: 10px;

min-width: 0;

padding: 11px 12px;

border: 1px solid var(--border);

border-radius: 10px;

background: rgba(0, 0, 0, 0.18);

}

.endpoint-method {
color: var(--green);

font-size: 9px;
font-weight: 800;

}

.endpoint code {
min-width: 0;

overflow: hidden;

color: var(--text-soft);

font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

font-size: 11px;

text-overflow: ellipsis;

white-space: nowrap;

}

/* =========================
COPY BUTTON
========================= */

.copy-button {
margin-left: auto;

flex-shrink: 0;

padding: 5px 9px;

border: 1px solid var(--border);

border-radius: 7px;

color: var(--text-muted);

background: rgba(255, 255, 255, 0.025);

cursor: pointer;

font-size: 10px;

transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;

}

.copy-button {
color: var(--text);

border-color: var(--border-hover);

background: rgba(96, 165, 250, 0.07);

}

/* =========================
API LINK
========================= */

.api-documentation-link {
display: inline-flex;
align-items: center;

gap: 7px;

margin-top: 15px;

color: var(--blue);

font-size: 12px;
font-weight: 700;

}

.api-documentation-link span {
transition: transform 0.2s ease;
}

.api-documentation-link span {
transform: translateX(3px);
}

/* =========================
DOCUMENTATION CARD
========================= */

.documentation-card {
padding: 28px;

border: 1px solid var(--border);

border-radius: var(--radius);

background: var(--surface);

}

.documentation-card > p {
color: var(--text-muted);

font-size: 13px;

}

.documentation-card h3 {
margin: 28px 0 11px;

font-size: 15px;

}

/* =========================
CODE BLOCK
========================= */

.code-block {
overflow: hidden;

border: 1px solid var(--border);

border-radius: 11px;

background: #05080f;

}

.code-header {
display: flex;
align-items: center;
justify-content: space-between;

min-height: 38px;

padding: 0 11px 0 14px;

border-bottom: 1px solid var(--border);

color: var(--text-muted);

font-size: 10px;

}

.code-block pre {
overflow-x: auto;

padding: 17px;

}

.code-block code {
color: #cbd5e1;

font-family:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    monospace;

font-size: 11px;

line-height: 1.7;

}

/* =========================
RESPONSE CODES
========================= */

.response-grid {
display: grid;

grid-template-columns: repeat(2, minmax(0, 1fr));

gap: 10px;

margin-top: 25px;

}

.response-item {
display: flex;
align-items: flex-start;

gap: 12px;

padding: 15px;

border: 1px solid var(--border);

border-radius: 11px;

background: rgba(255, 255, 255, 0.015);

}

.response-code {
display: grid;
place-items: center;

min-width: 42px;
height: 27px;

border-radius: 7px;

font-family: monospace;

font-size: 10px;
font-weight: 800;

}

.response-code.success {
color: var(--green);

background: rgba(52, 211, 153, 0.08);

}

.response-code.warning {
color: var(--yellow);

background: rgba(251, 191, 36, 0.08);

}

.response-code.danger {
color: var(--red);

background: rgba(251, 113, 133, 0.08);

}

.response-item strong {
font-size: 12px;
}

.response-item p {
margin-top: 3px;

color: var(--text-muted);

font-size: 11px;

}

/* =========================
FOOTER
========================= */

.docs-footer {
max-width: 1000px;

display: flex;
align-items: center;
justify-content: space-between;

gap: 30px;

padding-top: 30px;

border-top: 1px solid var(--border);

color: var(--text-muted);

font-size: 11px;

}

.docs-footer strong,
.docs-footer span {
display: block;
}

.docs-footer strong {
color: var(--text-soft);

font-size: 12px;

}

.docs-footer span {
margin-top: 3px;
}

.footer-links {
display: flex;

gap: 20px;

}

.footer-links a {
color: var(--text-muted);

transition: color 0.2s ease;

}

.footer-links a {
color: var(--text);
}

/* =========================
TOAST
========================= */

.toast {
position: fixed;

right: 24px;
bottom: 24px;

z-index: 200;

padding: 11px 15px;

border: 1px solid var(--border);

border-radius: 10px;

background: rgba(14, 21, 34, 0.95);

color: var(--text);

box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);

font-size: 12px;

opacity: 0;

pointer-events: none;

transform: translateY(10px);

transition:
    opacity 0.2s ease,
    transform 0.2s ease;

}

.toast.show {
opacity: 1;

transform: translateY(0);

}

/* =========================
TABLET
========================= */

@media (max-width: 1000px) {
.top-navigation {
display: none;
}

.mobile-menu-button {
    display: block;
}

.mobile-menu {
    position: fixed;

    top: var(--topbar-height);
    left: 0;
    right: 0;

    z-index: 90;

    padding: 12px 20px 18px;

    border-bottom: 1px solid var(--border);

    background: rgba(7, 11, 20, 0.96);

    backdrop-filter: blur(20px);
}

.mobile-menu.open {
    display: flex;

    flex-direction: column;

    gap: 3px;
}

.mobile-menu a {
    padding: 11px 12px;

    border-radius: 8px;

    color: var(--text-muted);

    font-size: 13px;
}

.mobile-menu a:hover {
    color: var(--text);

    background: rgba(96, 165, 250, 0.06);
}

.sidebar {
    display: none;
}

.docs-content {
    width: 100%;

    margin-left: 0;

    padding: 60px 28px;
}

}

/* =========================
MOBILE
========================= */

@media (max-width: 700px) {
.topbar-inner {
padding: 0 18px;
}

.docs-content {
    padding: 45px 18px;
}

.hero h1 {
    font-size: 46px;
}

.hero-description {
    font-size: 14px;
}

.hero-actions {
    flex-direction: column;
}

.button {
    width: 100%;
}

.info-grid {
    grid-template-columns: 1fr;

    margin-bottom: 60px;
}

.section-heading {
    display: block;
}

.section-heading p {
    margin-top: 10px;
}

.api-card {
    padding: 18px;
}

.endpoint {
    align-items: flex-start;
}

.endpoint code {
    white-space: normal;

    overflow-wrap: anywhere;
}

.response-grid {
    grid-template-columns: 1fr;
}

.documentation-card {
    padding: 20px;
}

.docs-footer {
    align-items: flex-start;

    flex-direction: column;
}

.footer-links {
    flex-wrap: wrap;
}

}