:root {
    --primary: #65168e;
    --secondary: #129b72;
    --accent: #ff600a;
    --bg-light: #f5f5f5;
    --text-dark: #2d3748;
    --text-light: #718096;
    --radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    margin: 0;
    padding: 0;
}

.header {
    background: var(--primary);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.section {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    padding: 2rem;
}

.function-title {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.function-title h2 {
    margin: 0;
    font-size: 1.8rem;
}

pre {
    background: #1a1a1a;
    color: #fff;
    padding: 1.5rem;
    border-radius: var(--radius);
    overflow-x: auto;
    position: relative;
}

code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
}

.copy-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.copy-button:hover {
    opacity: 0.9;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

th {
    background: var(--primary);
    color: white;
}

tr:nth-child(even) {
    background: #f8fafc;
}

.parameter-description {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    pre {
        padding: 1rem;
    }
}