/* Base Variables & Reset */
:root {
    --bg-color: #030305;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    
    /* Blob Colors */
    --blob-1: #6d28d9; /* Deep Purple */
    --blob-2: #2563eb; /* Royal Blue */
    --blob-3: #ec4899; /* Pink */
    --blob-4: #0ea5e9; /* Light Blue */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent scrollbars from animations */
}

/* --- Animated Background Blobs --- */
.blob-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1; /* Behind content */
    overflow: hidden;
    filter: blur(120px);
    opacity: 0.6;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    /* The transition creates the smooth movement when JS updates transforms */
    transition: transform 8s cubic-bezier(0.4, 0, 0.2, 1);
    mix-blend-mode: screen;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--blob-1);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--blob-2);
    top: 40%;
    right: -10%;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: var(--blob-3);
    bottom: -20%;
    left: 20%;
}

.blob-4 {
    width: 550px;
    height: 550px;
    background: var(--blob-4);
    top: 20%;
    left: 40%;
}

/* --- Main Content --- */
.container {
    position: relative;
    z-index: 10;
    padding: 2rem;
    animation: fadeIn 1.5s ease-out;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4rem 5rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Typography */
.name {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.email:hover {
    color: var(--text-primary);
}

/* Email Icon */
.mail-icon {
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.email:hover .mail-icon {
    transform: scale(1.1) rotate(-5deg);
    opacity: 1;
}

/* Fancy animated underline */
.email .underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.email:hover .underline {
    transform: scaleX(1);
}

/* Entrance Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .glass-card {
        padding: 3rem 2rem;
    }
    .name {
        font-size: 3rem;
    }
    .email {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 2.5rem 1.5rem;
    }
    .name {
        font-size: 2.25rem;
    }
    .email {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}
