@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

code, pre {
    font-family: 'Fira Code', monospace;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    overflow: hidden;
}

@keyframes modelCardGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}





::-webkit-scrollbar {
    display: none;
}



pre[class*="language-"] {
    background: #1a1a1a !important;
    border: none !important;
}

code[class*="language-"] {
    background: transparent !important;
    color: #d0d0d0 !important;
}

.token.keyword {
    color: #b8a8ff !important;
}

.token.string {
    color: #a8d8a8 !important;
}

.token.comment {
    color: #808080 !important;
}

.token.function {
    color: #a8c8ff !important;
}

.token.number {
    color: #d0a8a8 !important;
}





.api-info-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #1f1f1f 100%);
    border: 1px solid #404040;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .api-info-card {
        padding: 24px;
    }
}

@media (min-width: 768px) {
    .api-info-card {
        padding: 32px;
    }
}

.api-info-card:hover {
    transform: translateY(-4px);
    border-color: #505050;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.api-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.api-icon-wrapper {
    background: linear-gradient(135deg, #2a2a2a 0%, #252525 100%);
    border: 1px solid #404040;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .api-icon-wrapper {
        width: 56px;
        height: 56px;
        margin-right: 14px;
    }
}

@media (min-width: 768px) {
    .api-icon-wrapper {
        width: 64px;
        height: 64px;
        margin-right: 16px;
    }
}

.api-code-block {
    background: linear-gradient(135deg, #1a1a1a 0%, #1f1f1f 100%);
    border: 1px solid #404040;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.api-code-block:hover {
    border-color: #505050;
    transform: scale(1.01);
}

.api-code-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copy-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #808080;
    font-size: 14px;
    transition: all 0.3s ease;
}

.api-code-block:hover .copy-indicator {
    color: #e8e8e8;
}

.copy-text {
    opacity: 1;
    color: #b0b0b0;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.api-code-block:hover .copy-text {
    color: #e8e8e8;
    transform: scale(1.02);
}

.api-description {
    color: #808080;
    font-size: 14px;
    margin-top: 16px;
    text-align: center;
}

