:root {
    --bg: #f3f6fb;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #2563eb;
    --glass: rgba(255, 255, 255, 0.6);
    --dark: #111827;
}

* {
    box-sizing: border-box
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: linear-gradient(180deg, var(--bg), #eef2ff 60%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.wrap {
    max-width: 420px;
    width: 100%
}

.profile-card {
    background: var(--card);
    border-radius: 16px;
    box-shadow: 0 10px 36px rgba(16, 24, 40, 0.12);
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card-header {
    display: flex;
    gap: 16px;
    align-items: center;
}

.avatar {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    object-fit: cover;
    border: 4px solid var(--glass);
    box-shadow: 5px 8px 16px 0px rgb(37 99 235 / 20%);
}

.name-container {
    display: flex;
    align-items: center;
}

.name-container svg {
    width: 16px;
    height: 16px;
    margin-left: 6px;
    vertical-align: middle;
}

.name {
    margin: 0;
    font-size: 1.25rem
}

.role {
    margin: 4px 0 0;
    color: var(--accent);
    font-weight: 600;
}

.location {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.about {
    color: var(--dark);
    font-size: 0.95rem;
    line-height: 1.4;
    margin-top: 4px;
}

.stats {
    display: flex;
    gap: 12px;
    padding: 12px 4px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), transparent);
    border-radius: 10px;
}

.stat {
    flex: 1;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.05rem;
}

.stat span {
    font-size: 0.85rem;
    color: var(--muted);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.social {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid rgba(16, 24, 40, 0.06);
    color: var(--accent);
    text-decoration: none;
    transition: all .15s ease;
}

.icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.12);
}

.icon svg {
    width: 18px;
    height: 18px
}

.contact {
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent);
    text-decoration: none;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
    transition: all .15s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

@media (max-width:420px) {
    body {
        padding: 18px;
    }

    .card-header {
        display: flex;
        flex-flow: column;
    }

    .about {
        text-align: justify;
    }

    .card-footer {
        display: flex;
        flex-flow: column;
    }
}