:root {
    --base: #1e1e2e;
    --surface0: #313244;
    --surface1: #45475a;
    --text: #cdd6f4;
    --subtext: #a6adc8;
    --accent: #cba6f7;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Consolas, "Courier New", monospace;
    background: var(--base);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 28px;
}

@media (min-width: 701px) {
    .container {
        height: 100vh;
        padding: 0;
    }
}

.card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(180deg, var(--surface0), var(--surface1));
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    max-width: 920px;
    width: 100%;
    padding: 28px;
}

.avatar {
    flex: 0 0 250px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), inset 0 -6px 18px rgba(0, 0, 0, 0.15);
    transition: filter 160ms ease, transform 160ms ease;
}

.avatar:hover {
    filter: none;
    transform: translateY(-2px);
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info {
    flex: 1 1 0;
    min-width: 0;
}

.info h1 {
    margin: 0 0 6px 0;
    font-size: 30px;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.info .tagline {
    margin: 0 0 14px 0;
    color: var(--subtext);
    font-size: 13px;
}

.bio p {
    padding: 0;
    color: var(--subtext);
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: normal;
}

.socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.socials a img {
    width: 24px;
    height: 24px;
    filter: invert(100%);
    transition: filter 160ms ease, transform 160ms ease;
    border-radius: 0;
    display: block;
}

.socials a:hover img {
    filter: none;
    transform: translateY(-2px);
}

.buttons {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.buttons a img {
    width: 88px;
    height: 31px;
    image-rendering: pixelated;
    transition: filter 160ms ease, transform 160ms ease;
    display: block;
}

.buttons a:hover img {
    filter: none;
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .avatar {
        width: 160px;
        height: 160px;
        flex: 0 0 160px;
    }

    .info h1 {
        font-size: 24px;
    }

    .socials {
        justify-content: center;
    }

    .buttons {
        justify-content: center;
    }
}
