@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
        
body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: #0a0a0a;
    color: #e2e8f0;
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradient 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.card {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    border-color: rgba(99, 102, 241, 0.5);
}

.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(99, 102, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

.glow {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.7);
}

.toggle-container {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 100;
        cursor: pointer;
}

.bar {
        width: 30px;
        height: 4px;
        background-color: #fff;
        margin: 6px 0;
        transition: 0.4s;
        border-radius: 2px;
}

.sidebar {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        background-color: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(10px);
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
}

.sidebar a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 20px;
        color: #e2e8f0;
        display: block;
        transition: 0.3s;
}

.sidebar a:hover {
        color: #8b5cf6;
}

.sidebar .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
        cursor: pointer;
}

#main {
        transition: margin-left .5s;
        padding: 20px;
}
        
.space-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration) ease-in-out infinite;
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: var(--opacity); transform: scale(1); }
}

.shooting-star {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(139,92,246,0) 100%);
    border-radius: 50%;
    animation: shoot var(--duration) linear infinite;
    opacity: 0;
    transform: rotate(45deg);
}

@keyframes shoot {
    0% { 
        opacity: 1;
        transform: translateX(0) translateY(0) rotate(45deg);
    }
    70% {
        opacity: 1;
    }
    100% { 
        opacity: 0;
        transform: translateX(var(--distance)) translateY(var(--distance)) rotate(45deg);
    }
}

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.1;
    mix-blend-mode: screen;
}