:root {
    --ink: #080b17;
    --ink-soft: #111525;
    --paper: #f2f0e9;
    --paper-strong: #fffdf7;
    --muted: #666976;
    --blue: #5f72ff;
    --blue-deep: #3549ee;
    --lime: #c9ff4a;
    --line: rgba(8, 11, 23, 0.13);
    --shadow: 0 22px 60px rgba(8, 11, 23, 0.16);
    --font-display: "Syne", sans-serif;
    --font-body: "DM Sans", sans-serif;
}

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

html {
    min-height: 100%;
    background: var(--paper);
}

body {
    min-height: 100vh;
    color: var(--ink);
    font-family: var(--font-body);
    background:
        linear-gradient(rgba(8, 11, 23, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 11, 23, 0.04) 1px, transparent 1px),
        var(--paper);
    background-size: 44px 44px;
    line-height: 1.5;
    overflow-x: hidden;
}

::selection {
    background: var(--lime);
    color: var(--ink);
}

a {
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.page-noise {
    position: fixed;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.links-shell {
    width: min(100% - 32px, 520px);
    min-height: 100vh;
    margin-inline: auto;
    padding: 28px 0 34px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.profile {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 253, 247, 0.86);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.brand {
    width: fit-content;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 18px;
    background: var(--ink);
    box-shadow: 0 12px 28px rgba(8, 11, 23, 0.14);
}

.brand img {
    width: 128px;
    height: auto;
}

.profile-visual {
    position: relative;
    width: min(58vw, 210px);
    margin: 28px auto 22px;
    aspect-ratio: 1;
    border-radius: 32px;
    background: var(--ink);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(8, 11, 23, 0.2);
}

.profile-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.availability {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 12px;
    min-height: 34px;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(8, 11, 23, 0.76);
    color: var(--paper-strong);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(12px);
}

.availability span {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 5px rgba(201, 255, 74, 0.15);
}

.profile-copy {
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--blue-deep);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.profile h1 {
    font-family: var(--font-display);
    font-size: clamp(2.45rem, 12vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
}

.profile p {
    max-width: 390px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 1rem;
}

.links-list {
    display: grid;
    gap: 12px;
}

.link-card {
    min-height: 76px;
    padding: 14px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 247, 0.82);
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 12px 34px rgba(8, 11, 23, 0.08);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.link-card:hover,
.link-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(95, 114, 255, 0.55);
    background: var(--paper-strong);
    box-shadow: 0 18px 42px rgba(8, 11, 23, 0.14);
    outline: none;
}

.link-card-primary {
    min-height: 86px;
    background: var(--ink);
    color: var(--paper-strong);
    border-color: rgba(8, 11, 23, 0.9);
}

.link-card-primary:hover,
.link-card-primary:focus-visible {
    background: var(--ink-soft);
    border-color: var(--blue);
}

.link-icon,
.link-arrow {
    display: grid;
    place-items: center;
    border-radius: 16px;
}

.link-icon {
    width: 48px;
    height: 48px;
    background: rgba(95, 114, 255, 0.12);
    color: var(--blue-deep);
}

.link-card-primary .link-icon {
    background: var(--lime);
    color: var(--ink);
}

.link-icon svg {
    width: 21px;
    height: 21px;
}

.link-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.link-text strong {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.link-text small {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.link-card-primary .link-text small {
    color: rgba(255, 253, 247, 0.72);
}

.link-arrow {
    width: 38px;
    height: 38px;
    background: rgba(8, 11, 23, 0.06);
    color: var(--ink);
    transition: transform 0.22s ease, background 0.22s ease;
}

.link-card-primary .link-arrow {
    background: rgba(255, 255, 255, 0.12);
    color: var(--paper-strong);
}

.link-card:hover .link-arrow,
.link-card:focus-visible .link-arrow {
    transform: rotate(8deg);
    background: var(--lime);
    color: var(--ink);
}

.link-arrow svg {
    width: 18px;
    height: 18px;
}

.links-footer {
    margin-top: 4px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.links-footer a {
    color: var(--blue-deep);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.links-footer a:hover {
    text-decoration: underline;
}

@media (min-width: 620px) {
    .links-shell {
        padding-top: 44px;
        padding-bottom: 44px;
    }
}

@media (max-width: 380px) {
    .links-shell {
        width: min(100% - 24px, 520px);
    }

    .profile {
        padding: 18px;
        border-radius: 24px;
    }

    .brand img {
        width: 118px;
    }

    .profile-visual {
        border-radius: 26px;
    }

    .profile p {
        font-size: 0.94rem;
    }

    .link-card {
        grid-template-columns: 44px minmax(0, 1fr) 34px;
        gap: 10px;
        padding: 12px;
        border-radius: 19px;
    }

    .link-icon {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .link-arrow {
        width: 34px;
        height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
