:root {
    /* Color Palette */
    --bg-color: #0b0f19; /* Very dark blue, almost black */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    
    /* Gradients */
    --gradient-1: #3b82f6; /* Blue */
    --gradient-2: #8b5cf6; /* Purple */
    --gradient-3: #ec4899; /* Pink */
    --gradient-4: #10b981; /* Emerald */
}

* {
    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;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background animated shapes for glassmorphism pop */
.bg-shape {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    animation: float 10s infinite alternate ease-in-out;
    opacity: 0.6;
}

.bg-shape-1 {
    width: 50vw;
    height: 50vw;
    max-width: 600px;
    max-height: 600px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    top: -20%;
    left: -10%;
}

.bg-shape-2 {
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: linear-gradient(135deg, var(--gradient-3), var(--gradient-2));
    bottom: -15%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 12s;
}

.bg-shape-3 {
    width: 30vw;
    height: 30vw;
    max-width: 400px;
    max-height: 400px;
    background: linear-gradient(135deg, var(--gradient-4), var(--gradient-1));
    top: 40%;
    left: 30%;
    animation-duration: 15s;
    opacity: 0.4;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-30px) scale(1.05); }
}

.container {
    width: 100%;
    max-width: 550px;
    padding: 15px;
    z-index: 10;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px 30px;
    box-shadow: var(--glass-shadow);
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    will-change: transform;
}

.glass-card:hover {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

.card-header {
    text-align: center;
    margin-bottom: 20px;
}

.profile-img-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
}

.profile-img-container::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-3));
    z-index: 0;
    opacity: 0.8;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

.avatar-circle {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0f172a;
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    z-index: 1;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.roles {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.roles .dot {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.card-content {
    text-align: center;
    margin-bottom: 25px;
}

.bio {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    font-weight: 300;
}

.card-footer {
    display: flex;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255,255,255,0.1);
}

.social-btn:hover::before {
    opacity: 1;
}

/* Specific Social Colors on Hover (Optional, but adds premium feel) */
.social-btn:hover .fa-facebook-f { color: #1877F2; }
.social-btn:hover .fa-twitter { color: #1DA1F2; }
.social-btn:hover .fa-linkedin-in { color: #0A66C2; }
.social-btn:hover .fa-youtube { color: #FF0000; }
.social-btn.mail-btn:hover .fa-envelope { color: #10b981; }

.social-btn i {
    transition: color 0.3s ease;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .glass-card {
        padding: 40px 20px;
    }
    
    .title {
        font-size: 28px;
    }
    
    .roles {
        flex-direction: column;
        gap: 6px;
    }
    
    .roles .dot {
        display: none;
    }
    
    .bio {
        font-size: 15px;
    }
}
