body {
    font-family: 'Inter', sans-serif;
    /* A deep, modern dark background */
    background-color: #0D1117;
    color: #C9D1D9; /* Light, readable text color */
    overflow-x: hidden;
    position: relative;
}
/* Canvas for main 3D background scene */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: opacity 1s ease-in-out;
}
.content-overlay {
    position: relative;
    z-index: 1;
}
/* Animated gradient text with vibrant, cool tones */
.gradient-text {
    background: linear-gradient(90deg, #22d3ee, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient-animation 5s ease infinite;
}
@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* Content reveal on scroll animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Card hover animation with a subtle glow */
.project-card, .hobby-card {
    background-color: rgba(31, 41, 55, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover, .hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.1);
}
/* Sticky header with the new dark theme */
.header-sticky {
    background-color: rgba(13, 17, 23, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
