/* Base Reset & Smoothness */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Glassmorphism Profile Card */
.profile-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    
    /* Initial Page Load Animation */
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateY(40px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Avatar Image */
.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 15px;
    object-fit: cover;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

/* Avatar Hover Animation */
.avatar:hover {
    transform: scale(1.05) rotate(5deg);
    border-color: #00a8ff;
}

h1 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

p {
    color: #b2bec3;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Links Container */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Button Styling */
.contact-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease; /* Makes the hover effects smooth */
}

/* Smooth Lift Effect on Hover */
.contact-links a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

/* Brand Colors on Hover */
.contact-links a.github:hover { background-color: #333333; border-color: #333333; }
.contact-links a.leetcode:hover { background-color: #ffa116; border-color: #ffa116; }
.contact-links a.linkedin:hover { background-color: #0077b5; border-color: #0077b5; }
.contact-links a.gmail:hover { background-color: #ea4335; border-color: #ea4335; }

/* Icon Size Adjustments */
.contact-links i {
    font-size: 1.3rem;
}
