:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text: #f8fafc;
    --text-muted: #cbd5e1;
    --border: #334155;
    --shadow: rgba(99, 102, 241, 0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 680px;
    width: 100%;
    padding: 40px 20px;
}

/* Profile Section */
.profile {
    text-align: center;
    margin-bottom: 48px;
}

.avatar {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 0 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px var(--shadow);
}

.profile h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile .bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Links Section */
.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #8b5cf6);
    transition: width 0.4s ease;
    z-index: 0;
}

.link:hover::before {
    width: 100%;
}

.link svg,
.link span {
    position: relative;
    z-index: 1;
}

.link:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
}

.link:active {
    transform: translateY(0);
}

.link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Footer */
footer {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

footer p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 20px 16px;
    }

    .profile h1 {
        font-size: 1.75rem;
    }

    .profile .bio {
        font-size: 0.875rem;
    }

    .link {
        padding: 16px 20px;
        font-size: 0.95rem;
    }

    .avatar img {
        width: 100px;
        height: 100px;
    }
}

/* Animações de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile,
.links,
footer {
    animation: fadeInUp 0.6s ease-out;
}

.links {
    animation-delay: 0.1s;
}

footer {
    animation-delay: 0.2s;
}

/* Link individual animation delays */
.link:nth-child(1) { animation: fadeInUp 0.6s ease-out 0.2s backwards; }
.link:nth-child(2) { animation: fadeInUp 0.6s ease-out 0.3s backwards; }
.link:nth-child(3) { animation: fadeInUp 0.6s ease-out 0.4s backwards; }
.link:nth-child(4) { animation: fadeInUp 0.6s ease-out 0.5s backwards; }
.link:nth-child(5) { animation: fadeInUp 0.6s ease-out 0.6s backwards; }
