:root {
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-hover: rgba(255, 255, 255, 0.35);
    --text-color: #ffffff;
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.45);
}

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

body {
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
    background: linear-gradient(-45deg, #ec4899, #8b5cf6, #3b82f6, #0ea5e9);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-color);
    padding: 2rem 1rem;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s ease-out;
}

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

.avatar-container {
    margin-bottom: 1rem;
}

.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar:hover {
    transform: scale(1.08) rotate(5deg);
}

.username {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.link-btn {
    display: block;
    width: 100%;
    padding: 1.2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 16px;
    
    /* Glassmorphism */
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Shine effect on hover */
.link-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.link-btn:hover {
    background: var(--glass-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.link-btn:hover::after {
    left: 200%;
}

.btn-text {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
    .link-btn {
        padding: 1.1rem;
        font-size: 1rem;
    }
    .avatar {
        width: 110px;
        height: 110px;
    }
    .username {
        font-size: 1.4rem;
    }
    body {
        padding-top: 2vh;
    }
}
