/* 
 * DEVELOPER PROFILE - PREMIUM GLASSMORPHISM
 * Aesthetic: Deep Space/Medical Blue + Glass
 */

.profile-section {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
    color: white;
    overflow: hidden;
    padding: var(--space-3xl) 0;
}

/* Animated background glow */
.profile-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 60%);
    animation: rotateGlow 25s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }

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

.profile-glass-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-xl);
}

.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animated avatar glow */
.avatar-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    filter: blur(24px);
    opacity: 0.4;
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: 1;
}

.profile-header-text {
    flex: 1;
}

.profile-badge {
    display: inline-block;
    background: rgba(0, 210, 255, 0.15);
    color: var(--color-accent);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.profile-name {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-xs);
    line-height: 1.2;
}

.profile-role {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin: 0;
}

/* Profile Content */
.profile-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.profile-bio {
    font-size: var(--text-base);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Social Links */
.social-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.social-links-premium {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 500;
    font-size: var(--text-sm);
    transition: all var(--transition-smooth);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-btn:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Brand-specific hover colors */
.social-btn.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-btn.github:hover {
    background: #333;
    border-color: #333;
}

.social-btn.upwork:hover {
    background: #6fda44;
    border-color: #6fda44;
}

.social-btn.instagram:hover {
    background: #d6249f;
    border-color: #d6249f;
}

.social-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }

    .profile-name {
        font-size: var(--text-2xl);
    }

    .profile-glass-container {
        padding: var(--space-lg);
    }

    .social-links-premium {
        justify-content: center;
    }

    .social-btn {
        flex: 1 1 calc(50% - var(--space-md));
        justify-content: center;
    }
}