:root {
    --primary: #00efb7;
    --bg-dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --font-family: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

.background-radial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0a0a0a 100%);
    z-index: -1;
}

.background-radial::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 80% 20%, rgba(0, 239, 183, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 239, 183, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 580px;
    z-index: 1;
}

.profile {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.avatar-container {
    margin-bottom: 1.5rem;
    display: inline-block;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 239, 183, 0.3);
    object-fit: cover;
    background-color: var(--card-bg);
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1rem;
    color: var(--text-dim);
    font-weight: 400;
}

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

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 0.5s ease-out both;
}

.link-card:nth-child(1) {
    animation-delay: 0.1s;
}

.link-card:nth-child(2) {
    animation-delay: 0.2s;
}

.link-card:nth-child(3) {
    animation-delay: 0.3s;
}

.link-card:nth-child(4) {
    animation-delay: 0.4s;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 239, 183, 0.15);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}

.text {
    display: flex;
    flex-direction: column;
}

.title {
    font-weight: 600;
    font-size: 1.1rem;
}

.description {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.external {
    font-size: 0.9rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.link-card:hover .external {
    color: var(--primary);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeIn 1s ease-out 0.6s both;
}

.socials a {
    color: var(--text-dim);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.socials a:hover {
    color: var(--primary);
    transform: scale(1.2);
}

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

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .link-card {
        padding: 1rem;
    }
}