:root {
    --primary: #8B5FBF;
    --secondary: #D4A5E8;
    --accent: #FF7EB6;
    --background: #F8F0FC;
    --text: #1E1E1E;
}

.dark {
    --primary: #D4A5E8;
    --secondary: #8B5FBF;
    --accent: #FF7EB6;
    --background: #0F172A;
    --text: #F8FAFC;
}

@keyframes bodyappear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    background: var(--background);
    width: 100vw;
    min-height: 100vh;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    transition: background 0.5s, color 0.5s;
    cursor: none;
    position: relative;
    opacity: 0;
    animation: bodyappear 1.5s ease-in-out forwards;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition-duration: 0.3s;
}

.three-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.skill-tag {
    background: rgba(139, 95, 191, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

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

a, button {
    transition: all 0.3s ease-in-out;
}

a:hover, button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

button:active {
    transform: scale(0.95);
}

.glass-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    transition-duration: 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    transition-duration: 0.3s;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent);
    position: absolute;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.1s ease-out;
}

.glass-card:hover::before {
    content: "";
    position: absolute;
    background: radial-gradient(circle, rgba(139, 95, 191, 0.3), transparent);
    border-radius: 20px;
    z-index: 100000;
    transition: opacity 0.3s ease-in-out;
    transition-duration: 0.3s;
    opacity: 1;
}
