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

body {
    font-family: "Inter", -apple-system, system-ui, sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow: hidden;
}

/* Subtle grain texture overlay */
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    z-index: 1;
}

main {
    text-align: center;
    max-width: 480px;
    width: 100%;
    position: relative;
    z-index: 2;
    animation: fadeUp 0.8s ease-out;
}

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

.card {
    background: linear-gradient(145deg, #141414 0%, #1a1a1a 50%, #111 100%);
    border: 1px solid #222;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03),
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(80, 80, 80, 0.06);
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    margin: 0 auto 2rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.04);
    animation: scaleIn 0.6s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.1;
}

.bio {
    font-size: 1.05rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    animation: fadeUp 0.8s ease-out 0.2s both;
}

.divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #444, transparent);
    border-radius: 2px;
    margin: 0 auto 2rem;
    animation: expandWidth 1s ease-out 0.3s both;
}

@keyframes expandWidth {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 48px;
        opacity: 1;
    }
}

.links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    animation: fadeUp 0.8s ease-out 0.4s both;
}

.link-card {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

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

.link-card svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.link-card:hover svg {
    opacity: 1;
}

footer {
    margin-top: 2rem;
    animation: fadeUp 0.8s ease-out 0.6s both;
}

footer p {
    font-size: 0.75rem;
    color: #444;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

    .card {
        padding: 2.5rem 1.75rem;
        border-radius: 20px;
    }

    .avatar {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
        border-radius: 20px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .bio {
        font-size: 0.95rem;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .link-card {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }
}
