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

::selection {
    background: #2a2a38;
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 3px;
    background: #050508;
}

::-webkit-scrollbar-thumb {
    background-color: #2a2a38;
}

:root {
    --bg-body: #050508;
    --bg-surface: #0d0d12;
    --bg-elevated: #15151c;
    --bg-hover: #1d1d26;
    --bg-active: #252530;
    --border: #1a1a24;
    --text-main: #e8e8ee;
    --text-sub: #90909e;
    --text-muted: #50505e;
    --accent: #b8b8c8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    display: flex;
    align-items: center;
    flex-direction: column;
    line-height: 1.6;
}

main {
    width: 900px;
}

a {
    color: var(--text-sub);
    text-decoration: none;
    transition: 0.2s;

    &:hover {
        color: var(--text-main);
    }
}

code {
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    background: var(--bg-body);
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--border);
    margin-top: 10px;

    code {
        background: none;
        padding: 0;
        font-size: 1em;
    }
}

kbd {
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 0.85em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95em;
    transition: 0.2s;

    &:hover {
        text-decoration: none;
        filter: brightness(1.2);
    }
}

.btn-primary {
    background: var(--bg-active);
    color: var(--text-main);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-sub);
    border: 1px solid var(--border);

    &:hover {
        color: var(--text-main);
        background: var(--bg-hover);
    }
}
