@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --card-bg: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --accent-color: #00f2fe;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, #1e3c72 0%, #2a5298 50%, #6dd5ed 100%);
    background-attachment: fixed;
    line-height: 1.6;
    padding: 4rem 1rem;
}

/* "Friendlier" aviation background enhancement */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0.5;
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 580px;
    height: fit-content;
    text-align: center;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    padding: 3.5rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-section {
    margin-bottom: 2.5rem;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--text-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    object-fit: cover;
}

.profile-img:hover {
    transform: scale(1.05) rotate(2deg);
}

h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bio {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 450px;
    margin: 0 auto 2rem;
    font-weight: 400;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-button {
    text-decoration: none;
    background: var(--glass-bg);
    color: var(--text-color);
    padding: 1.15rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.link-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.link-button:active {
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations for staggered link entry */
.links a {
    opacity: 0;
    transform: translateY(10px);
    animation: slideUp 0.5s ease forwards;
}

.links a:nth-child(1) { animation-delay: 0.2s; }
.links a:nth-child(2) { animation-delay: 0.3s; }
.links a:nth-child(3) { animation-delay: 0.4s; }
.links a:nth-child(4) { animation-delay: 0.5s; }
.links a:nth-child(5) { animation-delay: 0.6s; }

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

@media (max-width: 480px) {
    .container {
        padding: 2rem 1.25rem;
        border-radius: 1.5rem;
    }
    h1 {
        font-size: 1.75rem;
    }
    .profile-img {
        width: 100px;
        height: 100px;
    }
}
