/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --bg: #0f0f0f;
    --card-bg: #1a1a1a;
    --text: #ffffff;
    --text-secondary: #a1a1aa;
    --border: #27272a;
    --shadow: rgba(99, 102, 241, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-image: 
        radial-gradient(at 40% 20%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(147, 51, 234, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(59, 130, 246, 0.15) 0px, transparent 50%);
}

.container {
    max-width: 680px;
    width: 100%;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Perfil */
.profile {
    text-align: center;
    margin-bottom: 40px;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.avatar {
    margin-bottom: 20px;
}

.avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    box-shadow: 0 8px 32px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 48px rgba(99, 102, 241, 0.2);
}

.name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--primary), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bio {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* Links */
.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), #a78bfa);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.link-card:hover::before {
    opacity: 0.1;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px var(--shadow);
}

.link-card:active {
    transform: translateY(-2px);
}

.link-icon {
    font-size: 24px;
    min-width: 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.link-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.link-arrow {
    font-size: 20px;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.link-card:hover .link-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer p {
    opacity: 0.8;
}

/* Responsividade */
@media (max-width: 640px) {
    .name {
        font-size: 28px;
    }

    .bio {
        font-size: 14px;
    }

    .link-card {
        padding: 16px 20px;
    }

    .link-title {
        font-size: 16px;
    }

    .avatar img {
        width: 100px;
        height: 100px;
    }
}

/* Animação de entrada dos cards */
.link-card {
    animation: slideUp 0.6s ease-out backwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.15s; }
.link-card:nth-child(3) { animation-delay: 0.2s; }
.link-card:nth-child(4) { animation-delay: 0.25s; }
.link-card:nth-child(5) { animation-delay: 0.3s; }
.link-card:nth-child(6) { animation-delay: 0.35s; }
.link-card:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
