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

@import url(https://fonts.bunny.net/css?family=alatsi:400);

body {
    font-family: 'Alatsi', sans-serif;
    background: #ffffff;
    color: #000000;
    padding: 30px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.container {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.logo-svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}
h1 {
    margin: 0;
    font-size: 28px;
    font-weight: normal;
    letter-spacing: 1px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.tagline {
    font-size: 16px;
    margin-top: -2px;
    margin-bottom: 20px;
    color: #292929;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 16px 0 4px 0;
}
.nav-link {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 17px;
    color: #666;
    text-decoration: none;
    padding: 4px 14px;
    transition: color 0.15s;
}
.nav-link:hover {
    color: #000;
}
.nav-link.active {
    color: #000;
    font-weight: bold;
}

/* General */
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 22px 0 18px 0;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
p {
    font-size: 16px;
    margin: 12px 0;
}
ul {
    list-style: none;
    padding: 0;
    margin: 16px 0 12px 0;
    display: inline-block;
    text-align: left;
}
ul li {
    font-size: 16px;
    padding: 4px 0 4px 28px;
    background-size: 16px;
}
.method-list {
    text-align: center;
}
.method-list ul {
    text-align: left;
    display: inline-block;
}
.method-list ul li {
    background-size: 16px;
    padding-left: 28px;
}
.discord-link {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 18px;
    border: 1px solid #000;
    border-radius: 4px;
    background: #f8f8f8;
    text-decoration: none;
    color: #000;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 17px;
    transition: background 0.15s;
}
.discord-link:hover {
    background: #e8e8e8;
}
.footer {
    margin-top: 18px;
    font-size: 14px;
    color: #666;
}
.footer-links {
    display: inline-block;
    margin-top: 6px;
}
.footer-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover {
    color: #000;
    text-decoration: underline;
}
/* Docs */
.docs-intro {
    font-size: 15px;
    color: #444;
}
.docs-intro code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background: #f4f4f4;
    padding: 1px 5px;
    border-radius: 2px;
}
.endpoint {
    text-align: left;
    margin: 4px 0;
}
.endpoint-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.method {
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.method-get {
    background: #e8f5e9;
    color: #2e7d32;
}
.method-post {
    background: #e3f2fd;
    color: #1565c0;
}
.endpoint-path {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}
.endpoint-desc {
    font-size: 15px;
    color: #333;
    margin-bottom: 14px;
    line-height: 1.65;
}
.endpoint-desc code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    background: #f4f4f4;
    padding: 1px 5px;
    border-radius: 2px;
}
.endpoint-note {
    font-size: 14px;
    color: #555;
    font-style: italic;
    margin: -6px 0 14px 0;
}

/* Parameter tables */
.param-table {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
    font-size: 14px;
}
.param-row {
    display: flex;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}
.param-row:last-child {
    border-bottom: none;
}
.param-head {
    background: #f5f5f5;
    font-weight: bold;
    font-size: 13px;
}
.param-row span:first-child {
    width: 140px;
    flex-shrink: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
}
.param-head span:first-child {
    font-family: Georgia, 'Times New Roman', Times, serif;
}
.param-row span:last-child {
    color: #444;
}
.param-row code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    background: #f4f4f4;
    padding: 1px 5px;
    border-radius: 2px;
}

/* Code blocks */
.example-label {
    font-size: 13px;
    font-weight: bold;
    color: #555;
    margin: 16px 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.example-label:first-of-type {
    margin-top: 0;
}
pre {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 14px 16px;
    overflow-x: auto;
    margin: 0 0 4px 0;
}
pre code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.55;
    white-space: pre;
}
/* highlight.js overrides to match the aesthetic */
pre code.hljs {
    background: transparent;
    padding: 0;
}

.response-fields {
    text-align: left;
}
.response-fields p {
    text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
    body {
        padding: 20px 14px;
    }
    h1 {
        font-size: 22px;
    }
    .logo-svg {
        width: 38px;
        height: 38px;
    }
    p,
    ul li,
    .discord-link {
        font-size: 15px;
    }
    .header {
        gap: 8px;
    }
    hr {
        width: 80%;
    }
    .nav-link {
        font-size: 14px;
        padding: 4px 10px;
    }
    .param-row {
        flex-direction: column;
        gap: 2px;
        padding: 8px 10px;
    }
    .param-row span:first-child {
        width: auto;
        font-size: 12px;
    }
    .endpoint-path {
        font-size: 14px;
    }
    pre {
        padding: 10px 12px;
    }
    pre code {
        font-size: 12px;
    }
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .stat-card {
        padding: 16px 28px;
        min-width: 180px;
    }
    .stat-number {
        font-size: 24px;
    }
    .chart-wrap {
        height: 160px;
    }
}

/* Stats */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 8px 0;
}
.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 32px;
    border: 1px solid #9d9d9d;
    border-radius: 4px;
    min-width: 140px;
}
.stat-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    color: #333;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Charts */
.chart-section {
    text-align: left;
    margin: 4px 0;
}
.chart-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.chart-wrap {
    height: 200px;
    position: relative;
}

.code {
    background: #333;
    color: white;
    padding-left: 3px;
    padding-right: 3px;

}

/* FAQ */
.faq-section {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}
.faq-item {
    margin-bottom: 28px;
}
.faq-item:last-child {
    margin-bottom: 0;
}
.faq-question {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
}
.faq-answer {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
}

.faq-answer code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    background: #f4f4f4;
    padding: 1px 5px;
    border-radius: 2px;
}

/* Legal pages */
.legal-section {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.legal-section p.legal-heading {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-top: 26px;
    margin-bottom: 6px;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    color: #444
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 16px 0;
}
.legal-list li {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    padding: 4px 0;
}