:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --bg: #0a0b10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --text: #e0e0e0;
    --text-muted: #a0a0a0;
    --code-bg: #161b22;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    margin-bottom: 4rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.base-url {
    display: inline-block;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--primary);
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

.endpoint {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.endpoint:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.method {
    background: #00c853;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.path {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 600;
}

.description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.params-table th, .params-table td {
    text-align: left;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.params-table th {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

code {
    background: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.code-block {
    background: var(--code-bg);
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
    overflow-x: auto;
    margin-top: 1rem;
}

.code-label {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--border);
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    border-bottom-left-radius: 8px;
    color: var(--text-muted);
}

pre {
    margin: 0;
}

.error-codes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.error-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 8px;
}

.error-card h4 {
    color: #ff5252;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    .container { padding: 1rem; }
}
