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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #f5f5f5;
}

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

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

main {
    background: white;
    padding: 40px 0;
    min-height: calc(100vh - 300px);
}

#loading {
    text-align: center;
    padding: 60px 0;
    font-size: 1.2rem;
    color: #666;
}

#error {
    background: #fee;
    color: #c00;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

#content {
    font-size: 1rem;
}

#content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

#content h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #667eea;
}

#content h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 12px;
}

#content p {
    margin-bottom: 15px;
}

#content ul, #content ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

#content li {
    margin-bottom: 8px;
}

#content a {
    color: #667eea;
    text-decoration: none;
}

#content a:hover {
    text-decoration: underline;
}

#content blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

#content code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
}

#content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

#content pre code {
    background: none;
    padding: 0;
}

#content strong {
    font-weight: 600;
}

#content hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

footer {
    background: #2d2d2d;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: #667eea;
}

/* Mobile responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header .subtitle {
        font-size: 1rem;
    }
    
    main {
        padding: 20px 0;
    }
    
    #content h1 {
        font-size: 1.5rem;
    }
    
    #content h2 {
        font-size: 1.25rem;
    }
}
