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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #121212;
    color: #ffffff;
    padding: 20px 0;
}

.container {
    text-align: center;
    padding: 2.5rem;
    background: #1e1e1e;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    max-width: 800px;
    width: 90%;
    margin: 20px;
    border: 1px solid #333;
    animation: fadeIn 0.6s ease-out;
}

header {
    margin-bottom: 2rem;
}

h1 {
    color: #61dafb;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

h2 {
    color: #61dafb;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: left;
}

h3 {
    font-size: 1.3rem;
    margin: 1rem 0;
    text-align: left;
    color: #ffffff;
}

.status-badge {
    background: #2d2d2d;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
    border: 1px solid #3d3d3d;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.status-indicator {
    width: 12px;
    height: 12px;
    background-color: #2ecc71;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

p {
    color: #dadada;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: left;
}

.info-section, .usage-section, .code-examples {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #252525;
    border-radius: 8px;
    border-left: 4px solid #61dafb;
}

.features ul {
    list-style-type: none;
    padding-left: 1.5rem;
    text-align: left;
}

.features li {
    margin-bottom: 0.5rem;
    position: relative;
    color: #dadada;
}

.features li:before {
    content: "✓";
    color: #2ecc71;
    position: absolute;
    left: -1.2rem;
}

.api-container {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    gap: 10px;
}

.api-url {
    flex-grow: 1;
    text-align: left;
    word-break: break-all;
    color: #61dafb;
    font-family: monospace;
    font-size: 0.95rem;
    padding: 0.5rem;
}

.copy-button {
    background: #61dafb;
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.copy-button:hover {
    background: #4fa8d5;
    transform: translateY(-1px);
}

.copy-button:active {
    transform: translateY(1px);
}

.copy-button.copied {
    background: #2ecc71;
}

.code-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.tab-button {
    background: transparent;
    color: #dadada;
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-button:hover {
    color: #61dafb;
}

.tab-button.active {
    color: #61dafb;
    border-bottom: 2px solid #61dafb;
}

.tab-content {
    display: none;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.tab-content.active {
    display: block;
}

pre {
    margin: 0;
    padding: 0;
}

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

footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #3d3d3d;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

footer a {
    color: #61dafb;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .info-section, .usage-section, .code-examples {
        padding: 1rem;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
