/* Shared: buttons + icons */

/* No select, text excluded */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}
p, h1, h2, h3, h4, h5, h6, .release-title, .release-artist {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

/* Pill button — visuals now rendered by LiquidGlass (assets/liquid-glass.js),
   this just handles layout/sizing/content positioning. */
.link-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 26px;
    background: transparent;
    border: none;
    border-radius: 28px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0; /* never silently compress — that desyncs LiquidGlass's canvas from the real pill size */
    transition: transform 0.3s ease;
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.link-button img {
    position: relative;
    z-index: 1;
    height: 42px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Icon circle. Still the old CSS-glass look here (used as-is by index.html).
   vitrazhi.html overrides this to the LiquidGlass version in its own
   <style> block — that page's icons need to be direct children of <body>
   for the library, which this shared flex-row layout can't provide. */
.social-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 3vw, 20px);
    width: 100%;
    flex-shrink: 0;
}
.social-link {
    position: relative;
    width: clamp(50px, 9vw, 54px);
    height: clamp(50px, 9vw, 54px);
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px) saturate(220%);
    -webkit-backdrop-filter: blur(22px) saturate(220%);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}
.social-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    backdrop-filter: blur(6px) saturate(220%) var(--lens-filter, url(#glass-lens));
    -webkit-backdrop-filter: blur(6px) saturate(220%) var(--lens-filter, url(#glass-lens));
    box-shadow: inset 0 0 10px 8px rgba(255, 255, 255, 0.06);
    pointer-events: none;
}
.social-link:hover {
    background: rgba(255, 255, 255, 0.13);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.social-link img {
    position: relative;
    z-index: 1;
    width: 56%;
    height: 56%;
    object-fit: contain;
}
