:root {
    --black: #070707;
    --black-soft: #101010;
    --dark: #171717;
    --dark-2: #232323;
    --gray: #9a9a9a;
    --gray-light: #d8d8d8;
    --white: #ffffff;
    --yellow: #f7d20a;
    --yellow-2: #ffeb57;
    --orange: #ff7a00;
    --orange-2: #ff9f1a;
    --line: rgba(255, 255, 255, 0.11);
    --line-yellow: rgba(247, 210, 10, 0.24);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
}

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

html {
    min-height: 100%;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 20px 32px;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 8%, rgba(255, 122, 0, 0.11), transparent 24%),
        radial-gradient(circle at 86% 18%, rgba(247, 210, 10, 0.1), transparent 25%),
        linear-gradient(180deg, rgba(23, 23, 23, 0.72), rgba(7, 7, 7, 0.98)),
        var(--black);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        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: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 78%);
}

.container {
    width: min(100%, 520px);
    text-align: center;
}

.profile {
    position: relative;
    margin-bottom: 28px;
    padding-top: 8px;
}

.profile::after {
    display: block;
    width: 64px;
    height: 3px;
    margin: 18px auto 0;
    content: "";
    border-radius: 999px;
    background: linear-gradient(135deg, var(--yellow), var(--orange-2));
}

.avatar {
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
    border: 1px solid var(--line-yellow);
    border-radius: 6px;
    object-fit: cover;
    background: var(--black-soft);
    box-shadow: var(--shadow), 0 0 0 8px rgba(255, 255, 255, 0.03);
}

.profile h1 {
    margin-bottom: 8px;
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    font-weight: 950;
    line-height: 1;
    color: var(--white);
}

.profile p {
    max-width: 320px;
    margin: 0 auto;
    color: var(--gray-light);
    font-size: 0.98rem;
    font-weight: 700;
}

.links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 20px 0 56px;
    overflow: hidden;
    color: var(--white);
    text-decoration: none;
    border: 1px solid var(--line-yellow);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    font-size: 0.97rem;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.link-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(135deg, rgba(247, 210, 10, 0.14), rgba(255, 122, 0, 0.04));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.link-card i,
.link-card span {
    position: relative;
    z-index: 1;
}

.link-card i {
    position: absolute;
    left: 20px;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--yellow);
    font-size: 1.15rem;
}

.link-card:hover {
    transform: translateY(-2px);
    color: var(--yellow);
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.065);
    box-shadow: 0 18px 42px rgba(255, 122, 0, 0.16);
}

.link-card:hover::before {
    opacity: 1;
}

.link-card:first-child {
    color: var(--black);
    border-color: transparent;
    background: linear-gradient(135deg, var(--yellow), var(--orange-2));
    box-shadow: 0 14px 36px rgba(255, 122, 0, 0.26);
}

.link-card:first-child i {
    color: var(--black);
}

.link-card:first-child:hover {
    color: var(--black);
    background: linear-gradient(135deg, var(--yellow-2), var(--orange));
}

footer {
    margin-top: 40px;
    color: var(--gray);
    font-size: 0.75rem;
}

@media (min-width: 700px) {
    body {
        padding: 64px 32px;
    }

    .container {
        width: min(100%, 560px);
    }

    .link-card {
        min-height: 64px;
        font-size: 1rem;
    }
}

@media (max-height: 720px) {
    body {
        align-items: flex-start;
    }
}

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

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

    .link-card {
        min-height: 56px;
        padding-right: 16px;
        padding-left: 52px;
        font-size: 0.92rem;
    }

    footer {
        margin-top: 32px;
    }
}
