:root {
    --base: #24273a;
    --mantle: #1e2030;
    --crust: #181926;
    --surface: #363a4f;
    --text: #cad3f5;
    --green: #a6da95;
    --red: #ed8796;
    --yellow: #eed49f;
    --subtext: #a5adcb;
    --mauve: #c6a0f6;
    --pink: #f5bde6;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--base);
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 0 20px 32px 20px;
    text-align: center;
    position: relative;
}

.banner {
    width: 100%;
    height: 150px;
    background-image: url('/assets/images/banner.png');
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: visible;
    filter: drop-shadow(0 0 9px var(--crust));
}

.avatar {
    background: var(--surface);
    padding: 4px;
    width: 100px;
    height: auto;
    border-radius: 50px;
    object-fit: cover;
    margin-bottom: -40px;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 0 9px var(--crust));
}

.username {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 14px;
    margin-top: 55px;
}

.description {
    font-size: 0.9rem;
    color: var(--subtext);
    margin-bottom: 28px;
    line-height: 1.4;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-btn {
    cursor: pointer;
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    padding: 14px 16px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    font-weight: 600;
}

.link-btn .icon {
    font-size: 1.2rem;
    color: var(--text);
    justify-self: start;
}

.link-btn span {
    justify-self: start;
}

.link-btn:hover {
    border-color: var(--mauve);
    background: var(--mantle);
}

.link-btn:hover .icon {
    color: var(--mauve);
}

.link {
    cursor: pointer;
    color: var(--mauve);
    text-decoration: none;
    transition: 0.3s ease;
}

.link:hover {
    color: var(--mauve);
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 24px;
    margin-bottom: -26px;
    font-size: 0.9rem;
    color: var(--subtext);
}

hr {
    border: none;
    height: 2px;
    margin: 14px 0;
    background: linear-gradient(90deg, transparent, var(--mauve), transparent);
    opacity: 0.6;
    animation: pulse 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes pulse {
    0% {
        transform: scaleX(1);
        opacity: 0.1;
    }

    50% {
        transform: scaleX(1.05);
        opacity: 0.6;
    }

    100% {
        transform: scaleX(1);
        opacity: 0.1;
    }
}