.links-page {
    min-height: 100svh;
    background: var(--bg);
    position: relative;
    isolation: isolate;
}

.links-page::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    opacity: .32;
    pointer-events: none;
    background-image: linear-gradient(rgba(204, 145, 113, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(204, 145, 113, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.links-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.links-atmosphere span {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(2px);
}

.links-atmosphere span:first-child {
    width: 520px;
    height: 520px;
    top: -245px;
    right: -160px;
    background: radial-gradient(circle, rgba(33, 57, 70, .8), transparent 68%);
}

.links-atmosphere span:last-child {
    width: 420px;
    height: 420px;
    bottom: -200px;
    left: -190px;
    background: radial-gradient(circle, rgba(173, 115, 86, .13), transparent 70%);
}

.links-shell {
    width: min(100% - 40px, 510px);
    min-height: 100svh;
    margin: auto;
    padding: 66px 0 30px;
    display: flex;
    flex-direction: column;
}

.links-profile {
    text-align: center;
    animation: links-rise .8s var(--ease) both;
}

.links-avatar {
    display: block;
    width: 108px;
    height: 108px;
    padding: 5px;
    margin: 0 auto 22px;
    border: 1px solid var(--acid);
    border-radius: 50%;
    position: relative;
    transition: transform .35s var(--ease), box-shadow .35s ease;
}

.links-avatar::after {
    content: "+";
    position: absolute;
    right: -15px;
    bottom: 2px;
    color: var(--acid);
    font: 600 14px var(--mono);
}

.links-avatar:hover {
    transform: rotate(4deg) scale(1.04);
    box-shadow: 0 0 0 7px rgba(204, 145, 113, .08);
}

.links-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 50%;
    filter: saturate(.82) contrast(1.05);
}

.links-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--acid);
    font-size: .64rem;
    letter-spacing: .12em;
}

.links-kicker .live-dot {
    width: 6px;
    height: 6px;
}

.links-profile h1 {
    margin-top: 10px;
    font: 400 clamp(2.5rem, 10vw, 3.8rem)/1 var(--serif);
    letter-spacing: -.035em;
}

.links-profile h1 span,
.links-brand span {
    color: var(--acid);
}

.links-bio {
    margin-top: 12px;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.45;
}

.links-list {
    display: grid;
    gap: 11px;
    margin-top: 39px;
}

.link-card {
    min-height: 68px;
    display: grid;
    grid-template-columns: 32px 1fr 28px;
    align-items: center;
    gap: 15px;
    padding: 13px 19px;
    color: var(--paper);
    text-decoration: none;
    border: 1px solid var(--line);
    background: rgba(20, 24, 27, .7);
    transition: border-color .3s ease, background .3s ease, transform .3s var(--ease), box-shadow .3s ease;
    animation: links-rise .65s var(--ease) both;
}

.link-card:nth-child(2) { animation-delay: .08s }
.link-card:nth-child(3) { animation-delay: .14s }
.link-card:nth-child(4) { animation-delay: .20s }
.link-card:nth-child(5) { animation-delay: .26s }

.link-card:hover,
.link-card:focus-visible {
    border-color: var(--acid);
    background: rgba(42, 67, 81, .48);
    transform: translateX(5px);
    box-shadow: 8px 8px 0 rgba(204, 145, 113, .08);
    outline: none;
}

.link-card-featured {
    border-color: rgba(204, 145, 113, .5);
    background: rgba(204, 145, 113, .08);
}

.link-index {
    color: var(--acid);
    font-size: .67rem;
}

.link-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.link-copy strong {
    font-size: .97rem;
    font-weight: 500;
}

.link-copy small {
    color: var(--muted);
    font: 400 .65rem var(--mono);
    letter-spacing: .01em;
}

.link-arrow {
    color: var(--acid);
    font-size: 1.18rem;
    text-align: right;
    transition: transform .3s var(--ease);
}

.link-card:hover .link-arrow,
.link-card:focus-visible .link-arrow {
    transform: translate(3px, -3px);
}

.links-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
    padding-top: 58px;
    color: var(--muted);
    font-size: .55rem;
    letter-spacing: .08em;
    border-top: 1px solid rgba(204, 145, 113, .14);
}

.links-brand {
    color: var(--paper);
    font: 400 1.15rem var(--serif);
    letter-spacing: 0;
    text-decoration: none;
}

@keyframes links-rise {
    from { opacity: 0; transform: translateY(14px) }
    to { opacity: 1; transform: translateY(0) }
}

@media (prefers-reduced-motion: reduce) {
    .links-profile, .link-card { animation: none }
    .link-card, .links-avatar { transition: none }
}

@media (max-width: 560px) {
    .links-shell { padding-top: 46px }
    .links-footer { flex-direction: column; gap: 8px; padding-top: 36px }
}

@media (min-width: 561px) {
    .links-mobile-break { display: none }
}
