@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
    --background: #060608;
    --card: rgba(14, 14, 19, 0.78);
    --border: rgba(255, 255, 255, 0.07);
    --text: #eeeeF2;
    --muted: #85858f;
    --accent: #7568d9;
    --accent-two: #4d75b8;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% -20%,
            rgba(80, 70, 160, 0.12),
            transparent 40%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(40, 70, 130, 0.08),
            transparent 35%
        ),
        #060608;

    color: var(--text);

    font-family: 'Inter', Arial, sans-serif;

    line-height: 1.7;
}

body::before {
    content: "";

    position: fixed;

    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 80%
    );
}

main {
    width: 90%;

    max-width: 760px;

    margin: auto;

    padding: 70px 0;
}

.profile {
    text-align: center;

    padding: 45px 30px;

    margin-bottom: 55px;

    border: 1px solid var(--border);

    border-radius: 24px;

    background: var(--card);

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 80px rgba(0, 0, 0, 0.35);

    animation: appear 0.8s ease both;
}

.profile-picture {
    width: 125px;

    height: 125px;

    margin: 0 auto 25px;

    border-radius: 50%;

    padding: 3px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent-two)
        );

    box-shadow:
        0 0 35px rgba(139, 124, 255, 0.35);

    animation: floatingProfile 3s ease-in-out infinite;
}

.profile-picture img {
    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    border: 4px solid #101014;
}

h1 {
    font-size: clamp(36px, 7vw, 54px);

    letter-spacing: -2px;

    margin-bottom: 6px;
}

.also-known {
    color: var(--muted);

    font-size: 15px;
}

.also-known span {
    color: #c3c3ca;
}

.role {
    display: inline-block;

    margin-top: 15px;

    padding: 7px 15px;

    border-radius: 999px;

    color: #c7c1ff;

    background: rgba(139, 124, 255, 0.1);

    border: 1px solid rgba(139, 124, 255, 0.2);

    font-size: 13px;
}

section {
    margin-bottom: 45px;

    padding: 30px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.035),
            rgba(255,255,255,0.01)
        );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

section:hover {
    transform: translateY(-4px);

    border-color:
        rgba(139, 124, 255, 0.35);

    background:
        linear-gradient(
            135deg,
            rgba(139, 124, 255, 0.07),
            rgba(255,255,255,0.02)
        );
}

h2 {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 21px;

    margin-bottom: 25px;
}

h2::before {
    content: "";

    width: 4px;

    height: 22px;

    border-radius: 10px;

    background:
        linear-gradient(
            var(--accent),
            var(--accent-two)
        );
}

.info-block {
    margin-bottom: 32px;
}

.info-block:last-child {
    margin-bottom: 0;
}

h3 {
    font-size: 16px;

    margin-bottom: 10px;

    color: #eeeeee;
}

p {
    color: var(--muted);

    font-size: 14px;
}

ul {
    list-style: none;

    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

li {
    padding: 8px 13px;

    color: #bdbdc6;

    background: rgba(255,255,255,0.04);

    border: 1px solid var(--border);

    border-radius: 10px;

    font-size: 13px;

    transition: 0.2s ease;
}

li:hover {
    color: white;

    background:
        rgba(139, 124, 255, 0.12);

    border-color:
        rgba(139, 124, 255, 0.3);

    transform: translateY(-2px);
}

li::before {
    content: "";
}

footer {
    text-align: center;

    margin-top: 70px;

    padding: 25px;

    color: #55555f;
}

footer a {
    color: #888894;

    text-decoration: none;

    transition: 0.2s ease;
}

footer a:hover {
    color: white;
}

footer span {
    margin: 0 12px;

    color: #3d3d45;
}

@keyframes floatingProfile {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }

}

@keyframes appear {

    from {
        opacity: 0;

        transform: translateY(20px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}

@media (max-width: 600px) {

    main {
        padding: 35px 0;
    }

    .profile {
        padding: 35px 20px;
    }

    section {
        padding: 24px;
    }

    h1 {
        font-size: 38px;
    }

}
