/* =========================================================
   WolvPay API Docs — docs.css
   ========================================================= */

/* ---------------------------------------------------------
   CSS Variables
   --------------------------------------------------------- */
:root {
    --primary-color: #06b6d4;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --text-color: #e2e8f0;
    --text-muted: #a5a5a5;
    --bg-color: #0a0a0a;
    --bg-dark: #111111;
    --bg-card: #191919;
    --bg-code: #1e1e1e;
    --border-color: #2d2d2d;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --method-get: #10b981;
    --method-post: #3b82f6;
    --method-put: #f59e0b;
    --method-delete: #ef4444;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --code-font: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.25s ease;
    --sidebar-width: 280px;
    --header-height: 70px;
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
}

:root[data-theme="light"] {
    --primary-color: #0891b2;
    --secondary-color: #2563eb;
    --accent-color: #059669;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --bg-color: #f8fafc;
    --bg-dark: #f1f5f9;
    --bg-card: #ffffff;
    --bg-code: #f1f5f9;
    --border-color: #e2e8f0;
}

/* ---------------------------------------------------------
   Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.65;
    font-size: 16px;
}

button {
    font-family: var(--font-family);
}

/* ---------------------------------------------------------
   Layout Containers
   --------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

.page-container {
    display: flex;
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
header {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

header .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

/* Logo */
.logo a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
}

.logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

/* Header nav (scoped — does NOT affect sidebar) */
header nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius);
}

header nav ul li a:hover {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Header right-side controls */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Pill badge */
.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    background-color: rgba(6, 182, 212, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Generic button */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

/* Nav button (pill style) */
.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    height: 36px;
    padding: 0 0.9rem;
    color: var(--text-muted);
    border-radius: 9999px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-color);
}

/* Icon-only nav button (e.g. Discord) — square */
.nav-btn:has(> i:only-child) {
    width: 36px;
    padding: 0;
}

/* ---------------------------------------------------------
   Theme Toggle
   --------------------------------------------------------- */
.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-toggle label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    transition: var(--transition);
}

.theme-toggle label:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}

.theme-toggle input {
    display: none;
}

.theme-toggle i {
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-muted);
}

.theme-toggle label i.light { display: none; }
.theme-toggle input:checked + label i.dark { display: none; }
.theme-toggle input:checked + label i.light { display: block; }

/* ---------------------------------------------------------
   Sidebar
   --------------------------------------------------------- */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: var(--bg-dark);
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Header ─────────────────────────────────────────────── */
.sidebar-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
}

.sidebar-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--text-color);
}

.sidebar-version {
    font-size: 0.57rem;
    font-weight: 600;
    padding: 0.07rem 0.32rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 3px;
    letter-spacing: 0.03em;
}

.sidebar-updated {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.66rem;
    color: var(--text-muted);
}

.sidebar-updated i {
    font-size: 0.38rem;
    color: #34d399;
}

/* ── Nav wrapper ────────────────────────────────────────── */
.sidebar-nav {
    flex: 1;
    padding: 0.5rem 0 2rem;
    overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar { display: none; }

.sidebar-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

/* ── Base rule: every link in the sidebar ───────────────── */
/* All spacing, sizing, hover done here — no overrides needed */
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.75rem;
    margin: 0 0.375rem;
    border-radius: 5px;
    font-size: 0.825rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.12s ease, color 0.12s ease;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

/* ── Active plain link ──────────────────────────────────── */
.nav-item.active > a {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-color);
    font-weight: 500;
}

/* ── Collapsible group ──────────────────────────────────── */
.nav-group {
    margin-top: 0.125rem;
}

/* Group label row — slightly distinct from plain links */
.nav-group-link {
    font-weight: 600;
    color: var(--text-color);
    justify-content: space-between;
    padding: 0.48rem 0.75rem;
}

.nav-group-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-color);
}

.nav-chevron {
    font-size: 0.58rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.18s ease;
    margin-left: auto;
}

.nav-group.active > .nav-group-link .nav-chevron {
    transform: rotate(90deg);
}

/* ── Submenu ────────────────────────────────────────────── */
.submenu {
    display: none;
    list-style: none;
    margin: 0.125rem 0 0.25rem;
    padding: 0;
}

.nav-group.active > .submenu {
    display: block;
}

/* Submenu links inherit the base a rule; just adjust indent */
.submenu .nav-item > a {
    padding-left: 1rem;
    font-size: 0.8rem;
}

.submenu .nav-item.active > a {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-color);
    font-weight: 500;
}

/* ── HTTP method badges ─────────────────────────────────── */
.sb-method {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 15px;
    padding: 0 0.3rem;
    border-radius: 3px;
    font-size: 0.56rem;
    font-weight: 700;
    font-family: var(--code-font);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.sb-get    { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(52,  211, 153, 0.22); }
.sb-post   { background: rgba(99, 102, 241, 0.12); color: #818cf8; border: 1px solid rgba(129, 140, 248, 0.22); }
.sb-put    { background: rgba(245, 158,  11, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191,  36, 0.22); }
.sb-delete { background: rgba(239,  68,  68, 0.12); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.22); }
.sb-patch  { background: rgba(168,  85, 247, 0.12); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.22); }

/* ── Endpoint label ─────────────────────────────────────── */
.ep-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Main Content
   --------------------------------------------------------- */
.content {
    flex: 1;
    padding: 2.5rem 2rem 4rem;
    max-width: 100%;
    min-width: 0;
}

section {
    margin-bottom: 3.5rem;
}

section.spaced {
    min-height: 100vh;
}

/* Content header row */
.content-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ---------------------------------------------------------
   Typography
   --------------------------------------------------------- */
h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 2.5rem 0 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2rem 0 0.875rem;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.intro-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.75;
}

code {
    font-family: var(--code-font);
    font-size: 0.875em;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 0.15em 0.4em;
    border-radius: var(--radius-sm);
    color: var(--primary-color);
}

/* ---------------------------------------------------------
   API Info Cards
   --------------------------------------------------------- */
.api-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.api-info-item {
    flex: 1;
    min-width: 250px;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-color);
}

.api-info-item h4 {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

/* Inline code block (base URL etc.) */
.code-block {
    position: relative;
    background-color: var(--bg-code);
    border-radius: var(--radius);
    padding: 0.65rem 2.5rem 0.65rem 1rem;
    font-family: var(--code-font);
    font-size: 0.875rem;
    overflow-x: auto;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
}

.code-block code {
    background: none;
    padding: 0;
    color: var(--text-color);
}

/* ---------------------------------------------------------
   Endpoint Badge
   --------------------------------------------------------- */
.endpoint {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
    gap: 0.875rem;
}

.method {
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}

.get    { background-color: rgba(16,185,129,0.12); color: var(--method-get); }
.post   { background-color: rgba(59,130,246,0.12); color: var(--method-post); }
.put    { background-color: rgba(245,158,11,0.12); color: var(--method-put); }
.delete { background-color: rgba(239,68,68,0.12);  color: var(--method-delete); }

.url {
    font-family: var(--code-font);
    font-size: 0.875rem;
    color: var(--text-color);
    word-break: break-all;
}

/* ---------------------------------------------------------
   Code Examples (tabbed)
   --------------------------------------------------------- */
.code-example {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    margin: 1.5rem 0;
    overflow: hidden;
}

.code-tabs {
    display: flex;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
}

.code-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.65rem 1.125rem;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    color: var(--text-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.code-content {
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content pre {
    margin: 0;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-family: var(--code-font);
    font-size: 0.825rem;
    line-height: 1.6;
    background-color: var(--bg-code);
}

.tab-content code {
    color: var(--text-color);
    background: none;
    padding: 0;
    font-size: inherit;
}

/* Copy button */
.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 0.75rem;
    z-index: 2;
}

.copy-btn:hover {
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-muted);
}

/* ---------------------------------------------------------
   Parameter Tables
   --------------------------------------------------------- */
.table-container {
    overflow-x: auto;
    margin: 1.25rem 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 560px;
    font-size: 0.875rem;
}

.params-table th,
.params-table td {
    padding: 0.7rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.params-table th:last-child,
.params-table td:last-child {
    white-space: normal;
}

.params-table a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.params-table a:hover {
    text-decoration: underline;
}

.params-table th {
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1;
}

.params-table td:first-child {
    font-family: var(--code-font);
    font-size: 0.8rem;
    color: var(--primary-color);
}

.params-table tr:last-child td {
    border-bottom: none;
}

.params-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Type badge in table */
.type-badge {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
    border-radius: var(--radius-sm);
    font-family: var(--code-font);
    font-size: 0.75rem;
}

.required-badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}

.optional-badge {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    background-color: rgba(161, 161, 161, 0.1);
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
}

/* ---------------------------------------------------------
   Alert / Info boxes
   --------------------------------------------------------- */
.alert {
    padding: 0.875rem 1.25rem;
    margin: 1.25rem 0;
    border-radius: var(--radius-lg);
    border-left: 3px solid;
    font-size: 0.875rem;
    line-height: 1.6;
}

.alert-warning {
    background-color: rgba(245, 158, 11, 0.08);
    border-left-color: var(--warning-color);
}

.alert-warning strong { color: var(--warning-color); }

.alert-info {
    background-color: rgba(59, 130, 246, 0.08);
    border-left-color: var(--secondary-color);
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.08);
    border-left-color: var(--success-color);
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.08);
    border-left-color: var(--error-color);
}

/* ---------------------------------------------------------
   Currency / SDK Grids
   --------------------------------------------------------- */
.currency-grid,
.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.currency-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.125rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.currency-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
}

.currency-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    background-position: center;
    background-size: cover;
}

.currency-icon.btc  { background-color: #f7931a; }
.currency-icon.eth  { background-color: #627eea; }
.currency-icon.usdc { background-color: #2775ca; }
.currency-icon.usdt { background-color: #26a17b; }
.currency-icon.sol  { background: linear-gradient(135deg, #9945FF, #14F195); }

.currency-details h4 {
    margin: 0 0 0.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-color);
}

.currency-details p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* SDK cards */
.sdk-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.375rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.sdk-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
}

.sdk-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    margin-bottom: 0.875rem;
    background-position: center;
    background-size: cover;
}

.sdk-icon.node   { background-color: #339933; }
.sdk-icon.python { background-color: #3776ab; }
.sdk-icon.php    { background-color: #777bb3; }
.sdk-icon.ruby   { background-color: #cc342d; }

.sdk-details h4 {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-color);
}

.sdk-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: var(--transition);
}

.sdk-link:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
footer {
    background-color: var(--bg-dark);
    border-top: 1px solid var(--border-color);
    padding: 3.5rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-logo {
    flex: 1;
    min-width: 180px;
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 140px;
}

.footer-column h4 {
    margin-bottom: 0.875rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.45rem;
}

.footer-column ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.footer-column ul li a:hover {
    color: var(--text-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 0.875rem;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
    .page-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    :root { --header-height: 56px; }

    header .container-fluid {
        padding: 0 1rem;
    }

    .logo-text { font-size: 1.1rem; }

    nav { display: none; }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.45rem; }
    h3 { font-size: 1.2rem; }

    .table-container {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .params-table {
        min-width: 480px;
    }

    .params-table th,
    .params-table td {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }

    .currency-grid,
    .sdk-grid {
        grid-template-columns: 1fr;
    }

    .footer-content,
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.875rem;
        text-align: center;
    }
}
