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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0e1a;
    color: #e5e7eb;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: #111827;
    border-bottom: 1px solid #1f2937;
    padding: 20px 0;
}

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

header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #3b82f6;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
}

nav a:hover {
    color: #e5e7eb;
}

.hero {
    padding: 60px 0;
    text-align: center;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #1a2332;
    border: 1px solid #10b981;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero p {
    font-size: 18px;
    color: #9ca3af;
}

.section {
    padding: 50px 0;
}

.section.alt {
    background: #111827;
}

.section h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

.section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #3b82f6;
}

.endpoint {
    background: #1a2332;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.method {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.endpoint-header code {
    color: #3b82f6;
    font-size: 16px;
}

.endpoint p {
    color: #9ca3af;
    margin-bottom: 15px;
}

.code-sample {
    background: #0d1117;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
}

.code-sample pre,
.response pre {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
}

.response {
    background: #0d1117;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 15px;
}

.auth-example,
.error-info {
    margin-bottom: 30px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.spec-item {
    background: #1a2332;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 20px;
}

.spec-item h4 {
    margin-bottom: 10px;
}

.spec-item p {
    color: #9ca3af;
}

.error-codes table {
    width: 100%;
    border-collapse: collapse;
}

.error-codes tr {
    border-bottom: 1px solid #1f2937;
}

.error-codes td {
    padding: 12px;
}

.error-codes td:first-child {
    width: 100px;
}

.error-codes code {
    background: #1a2332;
    padding: 4px 8px;
    border-radius: 4px;
    color: #3b82f6;
}

footer {
    background: #111827;
    border-top: 1px solid #1f2937;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
}

footer p {
    color: #6b7280;
    font-size: 14px;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        gap: 20px;
    }

    .hero h2 {
        font-size: 28px;
    }

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