:root {
    --bg-color: #f8f6f4;
    --card-bg: rgba(255, 255, 255, 0.6);
    --text-primary: #334155;
    --text-secondary: #64748b;
    --accent-soft: #e2e8f0;
    --hover-color: #f59e0b;
    --blob-1: #fed7aa; /* Soft Orange/Peach */
    --blob-2: #bfdbfe; /* Soft Blue */
    --blob-3: #ddd6fe; /* Soft Purple */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    overflow: hidden;
    position: relative;
}

/* Organic Background Animation */
 .background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.8; /* Increased base opacity */
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--blob-1);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--blob-2);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: var(--blob-3);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

main {
    padding: 1rem;
    width: 100%;
    max-width: 420px;
    z-index: 1;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: 
        0 10px 40px -10px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Subtle float for the card itself */
.glass-card {
    animation: gentle-card-float 6s ease-in-out infinite;
}

@keyframes gentle-card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.profile-section {
    margin-bottom: 2.5rem;
}

.avatar-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.avatar:hover {
    transform: scale(1.02) rotate(2deg);
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.text-fade {
    opacity: 0;
    transform: scale(0.95);
}

.tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-btn {
    color: var(--text-secondary);
    font-size: 1.8rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: rgba(255, 255, 255, 0.5);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    display: flex; /* Ensure centering works for img too */
    align-items: center;
    justify-content: center;
}

/* Specific Hover Colors matching Background Blobs */
/* LinkedIn - Blue (Blob 2 theme) */
.social-btn:nth-child(1):hover {
    color: #3b82f6; /* stronger version of blob-2 #bfdbfe */
    box-shadow: 0 10px 20px -5px rgba(59, 130, 246, 0.3); 
}

/* GitHub - Purple (Blob 3 theme) */
.social-btn:nth-child(2):hover {
    color: #8b5cf6; /* stronger version of blob-3 #ddd6fe */
    box-shadow: 0 10px 20px -5px rgba(139, 92, 246, 0.3);
}

/* VSCO - Orange/Peach (Blob 1 theme) */
.social-btn:nth-child(3):hover {
    color: #f97316; /* stronger version of blob-1 #fed7aa */
    box-shadow: 0 10px 20px -5px rgba(249, 115, 22, 0.3);
}

.vsco-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.6; /* Match the text-secondary gray look */
    transition: all 0.3s ease;
}

.social-btn:hover .vsco-icon {
    opacity: 1;
}

/* VSCO Filter for Orange #f97316 */
.social-btn:nth-child(3):hover .vsco-icon {
    filter: invert(56%) sepia(66%) saturate(2360%) hue-rotate(345deg) brightness(99%) contrast(97%);
}

.social-btn:hover {
    background: white;
    transform: translateY(-5px) scale(1.1);
}

@media (max-width: 480px) {
    .glass-card {
        padding: 3rem 1.5rem;
        border-radius: 28px;
    }
    
    .blob {
        animation-duration: 30s; /* Slower on mobile */
        opacity: 1; /* Max visible opacity on mobile */
        filter: blur(60px); /* Slightly less blur to keep color concentrated */
    }
    
    /* Bring blobs closer to center on mobile */
    .blob-1 {
        width: 80vw;
        height: 80vw;
        top: -20%;
        left: -20%;
    }
    
    .blob-2 {
        width: 90vw;
        height: 90vw;
        bottom: -20%;
        right: -20%;
    }
    
    .blob-3 {
        width: 70vw;
        height: 70vw;
        opacity: 0.9;
    }
}
