:root {
    --brand-yellow: #e4ae22;
    --bg-main: #0e0e0e;
    --bg-card: #161616;
    --bg-card-hover: #1f1f1f;
}

* {
    font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}

html, body {
    background: var(--bg-main);
    color: #fff;
    min-height: 100%;
}

.glass-nav {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
}

.brand-logo {
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.dataset-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.dataset-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(228, 174, 34, 0.4);
    transform: translateY(-2px);
}

.json-tree {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    line-height: 1.5;
}

.json-tree summary {
    cursor: pointer;
    user-select: none;
}

.json-tree summary::-webkit-details-marker {
    color: var(--brand-yellow);
}

.json-key {
    color: var(--brand-yellow);
}

.json-string { color: #8bd5a0; }
.json-number { color: #6fb1f0; }
.json-boolean { color: #f0a5a0; }
.json-null { color: #888; }

table.data-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.85rem;
}

table.data-table th {
    background: var(--bg-card);
    color: var(--brand-yellow);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
    cursor: pointer;
    white-space: nowrap;
}

table.data-table th, table.data-table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    white-space: nowrap;
}

table.data-table .sticky-col {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--bg-main);
    box-shadow: 1px 0 0 rgba(255, 255, 255, 0.08);
}

table.data-table th.sticky-col {
    z-index: 2;
    background: var(--bg-card);
}

table.data-table tbody tr:hover {
    background: var(--bg-card-hover);
}

table.data-table tbody tr:hover .sticky-col {
    background: var(--bg-card-hover);
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 8px; }
