/* Animated gradient for hero heading */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-title {
    background: linear-gradient(270deg, #ffffff, #86efac, #ffffff);
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-mascot {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Code Example Section Styles */
.code-block {
    transition: all 0.3s ease;
    border: 1px solid rgba(16, 185, 129, 0);
}

.code-block:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.code-header {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-bottom: 2px solid rgba(16, 185, 129, 0.2);
}

.code-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.code-content {
    background: #0f172a;
    position: relative;
}

.code-content pre {
    background: transparent;
    color: #e2e8f0;
}

.code-content code {
    color: #e2e8f0;
    font-size: 0.875rem;
    line-height: 1.6;
}
