/* GLOBAL & LAYOUT: Enhanced performance, font, and sticky footer setup */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    justify-content: space-between; /* Pushes container and footer to opposite ends */
    align-items: center; 
    background-color: #0d0d0d; 
    font-family: 'Inter', sans-serif; /* Custom font */
    color: #f0f0f0; 
    transition: background-color 0.3s ease; 
}

/* CONTAINER: More pronounced floating effect, centered horizontally */
.container {
    background: #1a1a1a; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    padding: 2.5rem 3rem; 
    max-width: 380px; 
    width: 90%; 
    margin: auto; /* Centers horizontally and maintains spacing */
    text-align: center;
    border: 1px solid #333; 
    animation: fadeIn 0.8s ease-out; 
}

/* Keyframe for fade-in effect */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PROFILE IMAGE: Smoother interaction and visual depth */
.profile-pic {
    width: 120px; 
    height: 120px;
    border-radius: 50%;
    border: 4px solid #c4f82a; /* Accent color border */
    box-shadow: 0 0 0 6px #2a2a2a, 0 8px 15px rgba(0,0,0,0.4); 
    margin-bottom: 1.5rem;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.profile-pic:hover {
    transform: scale(1.08) rotate(2deg); /* Dynamic hover */
    box-shadow: 0 0 0 6px #c4f82a, 0 12px 25px rgba(0,0,0,0.6);
}

/* TEXT STYLING */
h1 {
    font-size: 2.5rem; 
    color: #fff;
    margin-bottom: 0.1em;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 5px rgba(196, 248, 42, 0.4); /* Subtle accent glow */
}

.tagline {
    color: #c4f82a; 
    font-size: 1.3rem;
    margin-bottom: 1.8em; 
    font-family: 'Noto Color Emoji', sans-serif;
    letter-spacing: 0.05em; 
}

/* SOCIAL LINKS: Better alignment and focus state */
.social-links {
    display: flex;
    justify-content: center;
    gap: 24px; 
    margin-bottom: 24px;
}

.social-icon {
    filter: invert(100%); 
    background: transparent; 
    border-radius: 50%;
    padding: 10px; 
    width: 32px;
    height: 32px;
    transition: all 0.3s ease; 
    border: 2px solid #555; 
}

.social-icon:hover {
    background: #c4f82a; 
    transform: translateY(-3px) scale(1.1); 
    filter: invert(0) grayscale(0); 
    box-shadow: 0 5px 15px rgba(196, 248, 42, 0.4); 
    border-color: #c4f82a; 
}

.social-icon:focus {
    outline: 2px solid #fff; 
    outline-offset: 2px;
}

/* FOOTER: Pushed to bottom of viewport */
.footer-note {
    text-align: center;
    color: #999; 
    font-size: 0.85em; 
    /* margin-top is removed due to body flexbox */
    padding: 15px 0; 
    width: 100%; 
    background-color: #0d0d0d; 
}

/* RESPONSIVENESS: Maintain aesthetic on small screens */
@media (max-width: 500px) {
    .container {
        padding: 1.5rem 1rem;
        max-width: 90vw;
        margin: 1rem auto;
    }
    .profile-pic {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }
    h1 {
        font-size: 2rem;
    }
    .tagline {
        font-size: 1.1rem;
    }
    .social-links {
        gap: 15px;
    }
    .social-icon {
        width: 28px;
        height: 28px;
        padding: 6px;
    }
}