:root {
    --bg-color: #020617;
    /* Slate 950 */
    --accent-color: #2563eb;
    /* Blue 600 */
    --accent-glow: rgba(37, 99, 235, 0.4);
    --card-bg: rgba(15, 23, 42, 0.6);
    /* Slate 900 with opacity */
    --card-border: rgba(30, 41, 59, 0.5);
    /* Slate 800 with opacity */
    --neon-blue: #3b82f6;
    /* Blue 500 */
    --grid-size: 50px;
    --glow-color: rgba(59, 130, 246, 0.15);
}

* {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    position: relative;
    overflow-x: hidden;
}

/* Vibe Coding Grid Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: var(--grid-size) var(--grid-size);
    z-index: -1;
    pointer-events: none;
    transform: perspective(1000px) rotateX(60deg) translateY(-50%);
    opacity: 0.5;
}

/* Cursor Glow */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.5s ease;
    opacity: 0;
}

body:hover #cursor-glow {
    opacity: 1;
}

/* Typography & Effects */
.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typing Cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.5em;
    background-color: var(--neon-blue);
    margin-left: 4px;
    animation: blink 0.8s infinite;
    vertical-align: middle;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Premium Card Effects */
.card-vibe {
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-vibe:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Glassmorphism Navigation */
nav {
    transition: all 0.3s ease;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    body::before {
        background-size: 30px 30px;
    }
}