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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fafafa;
    color: #333;
    padding: 30px;
}

.content-wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 6px auto;
}

h2 {
    font-size: 28px;
    color: #1e40af;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2563eb;
}

h3 {
    font-size: 22px;
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #2563eb;
}

h4 {
    font-size: 18px;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.api-function {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.api-function h4 {
    color: #1e3a8a;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    margin-bottom: 15px;
}

.api-description {
    margin-bottom: 15px;
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.api-table th {
    background: #2563eb;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 500;
}

.api-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.api-table tr:nth-child(even) {
    background: #f8f9fa;
}

.api-table tr:hover {
    background: #f0f4ff;
}

.param-name, .return-type {
    font-family: 'Courier New', monospace;
    color: #1e3a8a;
    font-weight: 500;
}

.param-name {
    width: 190px;
}

.param-type {
    color: #2563eb;
    font-style: italic;
}

.code-block {
    background: #282c34;
    color: #abb2bf;
    padding: 20px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.code-block .comment {
    color: #5c6370;
    font-style: italic;
}

.code-block .keyword {
    color: #c678dd;
}

.code-block .string {
    color: #98c379;
}

.code-block .function {
    color: #61afef;
}

.code-block .number {
    color: #d19a66;
}

.code-block .variable {
    color: #e06c75;
}

.code-block .constant {
    color: #e5c07b;
}

.constant-item {
    background: #f8f9fa;
    border-left: 4px solid #2563eb;
    padding: 8px;
    margin: 8px 0;
    border-radius: 4px;
}

.constant-name {
    display: inline-block;
    width: 360px;
    font-family: 'Courier New', monospace;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 16px;
}

.constant-value {
    display: inline-block;
    width: 120px;
    font-family: 'Courier New', monospace;
    color: #2563eb;
    margin-left: 10px;
}

.constant-desc {
    font-family: 'Courier New', monospace;
    color: #141516;
    margin-left: 10px;
}

.callback-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin: 15px 0;
    transition: all 0.3s;
}

.callback-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.class-section {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.class-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: white;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.class-name {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 600;
}

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

.warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.welcome-hero {
    text-align: center;
    padding: 40px 20px;
}

.welcome-hero h2 {
    font-size: 36px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    margin-bottom: 20px;
}

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

.feature-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #2563eb;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

ul {
    margin-left: 20px;
    line-height: 2;
}

.type-option {
    padding: 4px 6px;
    background-color: #e9ecef;
    color: #495057;
    border-radius: 4px;
    font-size: 12px;
    margin: 0 4px;
    vertical-align: middle;
}

.line {
    height: 1px;
    background: #f0f0f0;
    width: 100%;
    margin: 8px 0;
}