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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #C8102E 0%, #FFFFFF 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    padding: 40px;
}

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

.logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}

.header a {
    text-decoration: none;
    display: inline-block;
}

.header a:hover .logo {
    opacity: 0.8;
}

h1 {
    color: #333;
    margin: 0;
    font-size: 2.5em;
    display: flex;
    align-items: center;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.section {
    margin-bottom: 30px;
}

.section h2 {
    color: #C8102E;
    margin-bottom: 15px;
    font-size: 1.5em;
    border-bottom: 2px solid #C8102E;
    padding-bottom: 8px;
}

.section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.docs-link {
    display: inline-block;
    background: linear-gradient(135deg, #C8102E 0%, #A00D24 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.docs-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.4);
}

.api-key-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.api-key-notice strong {
    color: #856404;
}

.code-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.5;
    color: #333;
}

.code-block code {
    white-space: pre;
}

.response-block {
    background: #f0f8ff;
    border-left: 4px solid #4CAF50;
    margin-top: 10px;
}

.response-block code {
    color: #2e7d32;
}

.endpoint-example {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e9ecef;
}

.endpoint-example:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.endpoint-info {
    background: #e7f3ff;
    border-left: 4px solid #2196F3;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
}

.endpoint-info strong {
    color: #1976D2;
    font-size: 1.05em;
}

