/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    color: inherit;
    animation: blink 0.7s infinite;
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Extraordinary "Inner Glow" Hover */
.group:hover .bg-clip-text {
    /* Creates a soft blue/indigo aura around the text */
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.5));
}

/* Make the slash "kick" slightly on hover for a playful dev feel */
.group:hover span:nth-child(2) {
    display: inline-block; /* Required for rotation to work */
    text-shadow: 0 0 10px rgba(244, 63, 94, 0.6); /* Rose color glow */
}

/* Ensure font is sharp */
.font-mono {
    font-family: 'Fira Code', 'Cascadia Code', monospace;
    font-variant-ligatures: none;
}
/* Add this to your styles.css */
.hero-image-container {
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    inset: -4px; /* Adjust thickness */
    border-radius: 9999px;
    background: linear-gradient(to right, #6366f1, #f43f5e); /* Indigo to Rose */
    z-index: -1;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-image-container img {
    /* Subtle filter to make it look more artistic */
    filter: contrast(1.1) brightness(1.05);
}