/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #f5f5f5;
    display: flex;
    flex-direction: column; /* Enable column layout */
    justify-content: space-between; /* Space content to push footer down */
    min-height: 100vh; /* Ensure body spans full height */
    padding: 20px;
    transition: background 0.5s ease;
}

/* Container Styles */
.container {
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: auto; /* Center the content vertically */
    animation: fadeIn 1s ease-in-out;
}

/* Profile Section */
.profile {
    margin-bottom: 20px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #f5f5f5;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    object-fit: cover;
    background: #f5f5f5;
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.1);
}

.name {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 5px;
}

.bio {
    font-size: 16px;
    color: #b3b3b3;
    margin-bottom: 10px;
}

/* Links Section */
.links {
    margin-top: 20px;
}

.link-item {
    display: block;
    background: linear-gradient(135deg, #ef476f, #ff9a3c);
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.link-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #d43d5e, #e5852f);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    text-align: center;
    font-size: 14px;
    color: #b3b3b3;
    margin-top: 20px;
    padding: 10px 0;
    animation: fadeIn 1s ease-in-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 22px;
    }

    .bio {
        font-size: 14px;
    }

    .link-item {
        font-size: 16px;
        padding: 10px 15px;
    }

    footer {
        font-size: 12px;
    }
}

/* Additional Enhancements */
.nav {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.nav ul li {
    display: inline;
}

.nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #ff9a3c;
}