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

:root {
    --bg: #07080c;
    --card: rgba(15, 17, 24, 0.72);
    --border: rgba(255, 255, 255, 0.08);

    --text: #ffffff;
    --muted: #8f95a3;

    --accent: #7c5cff;
    --accent-2: #00d4ff;

    --radius: 28px;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--bg);
    color: var(--text);

    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;
    inset: 0;

    overflow: hidden;
    pointer-events: none;

    z-index: -1;
}

.grid {
    position: absolute;
    inset: 0;

    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: 50px 50px;

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

.orb {
    position: absolute;

    width: 450px;
    height: 450px;

    border-radius: 50%;

    filter: blur(100px);

    opacity: 0.18;

    animation:
        float 12s ease-in-out infinite;
}

.orb-1 {
    background: #6845ff;

    top: -150px;
    left: -100px;
}

.orb-2 {
    background: #00bfff;

    right: -150px;
    top: 30%;

    animation-delay: -4s;
}

.orb-3 {
    background: #ff3cac;

    bottom: -200px;
    left: 35%;

    animation-delay: -8s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(
            0,
            0
        ) scale(1);
    }

    50% {
        transform: translate(
            30px,
            -40px
        ) scale(1.08);
    }
}


/* =========================
   CONTAINER
========================= */

.container {
    width: 100%;
    max-width: 600px;

    margin: auto;

    min-height: 100vh;

    padding:
        70px 20px
        30px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;
}


/* =========================
   CARD
========================= */

.bio-card {
    width: 100%;

    padding: 34px;

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.07),
            rgba(255,255,255,0.025)
        );

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

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 30px 100px
        rgba(0,0,0,0.45);

    animation:
        cardIn 0.8s
        cubic-bezier(.2,.8,.2,1);

    transition:
        transform .3s ease,
        border-color .3s ease;
}

.bio-card:hover {
    border-color:
        rgba(255,255,255,0.14);
}

@keyframes cardIn {

    from {
        opacity: 0;
        transform:
            translateY(30px)
            scale(.97);
    }

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


/* =========================
   PROFILE
========================= */

.profile {
    display: flex;

    align-items: center;

    gap: 18px;
}

.avatar-wrapper {
    position: relative;
}

.avatar {
    width: 92px;
    height: 92px;

    border-radius: 50%;

    object-fit: cover;

    border:
        3px solid
        rgba(255,255,255,0.1);

    box-shadow:
        0 0 0 8px
        rgba(124,92,255,0.06),

        0 10px 40px
        rgba(0,0,0,0.4);

    transition:
        transform .4s ease;
}

.avatar:hover {
    transform:
        rotate(5deg)
        scale(1.06);
}

.online-dot {
    position: absolute;

    width: 17px;
    height: 17px;

    right: 2px;
    bottom: 4px;

    border-radius: 50%;

    background: #35e78b;

    border: 4px solid #11131a;

    box-shadow:
        0 0 12px
        rgba(53,231,139,.8);
}

.profile-info {
    min-width: 0;
}

.name-row {
    display: flex;

    align-items: center;

    gap: 8px;
}

.name-row h1 {
    font-size: 27px;

    letter-spacing: -0.7px;
}

.verified {
    display: grid;

    place-items: center;

    width: 20px;
    height: 20px;

    border-radius: 50%;

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

    color: white;

    font-size: 12px;
    font-weight: 900;
}

.profile-info > p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 14px;
}

.status {
    margin-top: 9px;

    display: flex;
    align-items: center;

    gap: 6px;

    font-size: 12px;

    color: #6ee7a0;
}

.status span:first-child {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #35e78b;

    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {

    0% {
        box-shadow:
            0 0 0 0
            rgba(53,231,139,.5);
    }

    70% {
        box-shadow:
            0 0 0 7px
            rgba(53,231,139,0);
    }

    100% {
        box-shadow:
            0 0 0 0
            rgba(53,231,139,0);
    }
}


/* =========================
   TYPING
========================= */

.typing-box {
    margin-top: 30px;

    min-height: 30px;

    font-size: 16px;

    font-weight: 600;

    color: #d9d5ff;
}

.cursor {
    color: var(--accent);

    animation:
        blink .8s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}


/* =========================
   DESCRIPTION
========================= */

.description {
    margin-top: 10px;

    color: var(--muted);

    line-height: 1.7;

    font-size: 14px;
}


/* =========================
   STATS
========================= */

.stats {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 28px;
}

.stat {
    padding: 16px 10px;

    text-align: center;

    border-radius: 16px;

    background:
        rgba(255,255,255,.035);

    border:
        1px solid
        rgba(255,255,255,.055);

    transition:
        transform .25s ease,
        background .25s ease;
}

.stat:hover {
    transform:
        translateY(-4px);

    background:
        rgba(255,255,255,.065);
}

.stat strong {
    display: block;

    font-size: 20px;

    background:
        linear-gradient(
            135deg,
            #fff,
            #9e9aaa
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;
}


/* =========================
   LINKS
========================= */

.links {
    display: flex;

    flex-direction: column;

    gap: 11px;

    margin-top: 25px;
}

.link {
    position: relative;

    width: 100%;

    min-height: 67px;

    padding: 12px 15px;

    display: flex;

    align-items: center;

    gap: 14px;

    border-radius: 17px;

    border:
        1px solid
        rgba(255,255,255,.07);

    background:
        rgba(255,255,255,.035);

    color: white;

    text-decoration: none;

    cursor: pointer;

    font: inherit;

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

.link:hover {
    transform:
        translateX(5px);

    background:
        rgba(255,255,255,.075);

    border-color:
        rgba(255,255,255,.13);
}

.icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 12px;

    background:
        rgba(255,255,255,.06);

    font-size: 18px;
}

.link-content {
    flex: 1;

    text-align: left;
}

.link-content strong {
    display: block;

    font-size: 14px;
}

.link-content small {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}

.arrow {
    color: #777d8b;

    font-size: 18px;

    transition:
        transform .25s ease,
        color .25s ease;
}

.link:hover .arrow {
    color: white;

    transform:
        translate(2px,-2px);
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 25px;

    padding-top: 18px;

    border-top:
        1px solid
        rgba(255,255,255,.06);

    display: flex;

    align-items: center;
    justify-content: space-between;

    color: #737987;

    font-size: 11px;
}

.footer-left {
    display: flex;

    align-items: center;

    gap: 7px;
}

.pulse {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #35e78b;
}


/* =========================
   BOTTOM
========================= */

.bottom {
    margin-top: 22px;

    color: #5e6470;

    font-size: 11px;

    display: flex;

    gap: 8px;
}

.separator {
    opacity: .4;
}


/* =========================
   TOAST
========================= */

.toast {
    position: fixed;

    left: 50%;
    bottom: 25px;

    transform:
        translate(-50%, 20px);

    padding: 12px 18px;

    border-radius: 12px;

    background:
        rgba(20,22,30,.9);

    border:
        1px solid
        rgba(255,255,255,.1);

    backdrop-filter: blur(15px);

    font-size: 13px;

    opacity: 0;

    pointer-events: none;

    transition:
        .3s ease;

    z-index: 20;
}

.toast.show {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 520px) {

    .container {
        padding:
            30px 14px;
    }

    .bio-card {
        padding: 25px 20px;

        border-radius: 24px;
    }

    .avatar {
        width: 76px;
        height: 76px;
    }

    .name-row h1 {
        font-size: 23px;
    }

    .stats {
        gap: 7px;
    }

    .stat {
        padding: 13px 5px;
    }

    .stat strong {
        font-size: 18px;
    }
}
