/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #0d1f12;
    /* Dark Green similar to the image */
    --text-color: #000000;
    --button-bg: #ffffff;
    --button-text: #000000;
    --accent-color: #4ade80;
    /* Light green accent */
    --hover-overlay: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Syne', sans-serif;
    background-color: var(--bg-color);
    background-color: rgba(237, 232, 220, 0.7);
    background-image: radial-gradient(at 40% 20%, rgba(168, 213, 226, 0.15) 0px, transparent 50%), radial-gradient(at 80% 0%, rgba(200, 230, 160, 0.15) 0px, transparent 50%), radial-gradient(at 0% 50%, rgba(245, 197, 99, 0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 1rem;
    /* Increased top/bottom padding */
    position: relative;
    overflow-x: hidden;
    letter-spacing: -0.02em;
}





.container {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* Increased gap */
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-name {
    font-size: 2rem;
    /* Slightly larger */
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}

.profile-post {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.profile-description {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.8;
}

/* Social Icons (Top) */
.social-icons-top {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.social-icon {
    color: var(--text-color);
    transition: transform 0.2s ease, color 0.2s ease;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    transform: translateY(-2px);
    color: var(--accent-color);
    opacity: 1;
}

/* Links Section */
.links-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.link-card {
    border-radius: 100px;
    text-decoration: none;
    text-align: center;
    font-weight: 400;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s ease, background-color 0.2s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 12px 18px;
    font-size: 0.95rem;
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.link-card svg {
    stroke-width: 2;
}

.link-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

.link-card:active {
    transform: scale(0.98);
}

/* Social Icons (Bottom) */
.social-icons-bottom {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.social-icons-bottom .social-icon svg {
    width: 22px;
    height: 22px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .profile-name {
        font-size: 1.5rem;
    }

    .profile-title {
        font-size: 1rem;
    }
}