:root {
    --bg: #090f2b;
    --card: rgba(12, 18, 46, 0.78);
    --text: #f8f9ff;
    --muted: #c0c7e3;
    --accent: #c347ff;
    --accent-soft: #5d5bff;
    --line: rgba(255, 255, 255, 0.1);
    --instagram: #d62976;
    --telegram: #229ed9;
    --youtube: #ff4d5a;
    --discord: #5865f2;
    --shadow: 0 30px 70px rgba(4, 8, 25, 0.42);
    --radius-xl: 28px;
    --radius-lg: 18px;
}

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

body {
    min-height: 100vh;
    font-family: "Montserrat", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(195, 71, 255, 0.28), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(93, 91, 255, 0.32), transparent 24%),
        radial-gradient(circle at 50% 100%, rgba(255, 106, 77, 0.16), transparent 30%),
        linear-gradient(180deg, #05091d 0%, #0b1133 48%, #120f3a 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 92%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 92%);
}

.page-equalizer {
    position: fixed;
    left: 50%;
    bottom: 118px;
    transform: translateX(-50%);
    width: min(92vw, 1280px);
    height: 220px;
    display: grid;
    grid-template-columns: repeat(22, 1fr);
    align-items: end;
    gap: 8px;
    opacity: 0.42;
    pointer-events: none;
    z-index: 0;
}

.page-equalizer::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(7, 10, 28, 0.82));
}

.page-equalizer::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #8fff52, #40f7ff, #ff61d8, #ff6a4d, #ffe14d);
    box-shadow:
        0 0 18px rgba(255, 97, 216, 0.5),
        0 0 34px rgba(64, 247, 255, 0.34);
}

.page-equalizer span {
    position: relative;
    display: block;
    height: var(--bar-height);
    min-height: 18%;
    border-radius: 10px 10px 3px 3px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(64, 247, 255, 0.96) 28%, rgba(255, 97, 216, 0.92) 64%, rgba(255, 225, 77, 0.88) 100%);
    box-shadow:
        0 0 18px rgba(255, 255, 255, 0.16),
        0 0 28px rgba(255, 97, 216, 0.16);
    animation: equalizerPulse 1.8s ease-in-out infinite;
    animation-delay: var(--bar-delay);
}

.page-equalizer span::after {
    content: "";
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: inherit;
    opacity: 0.18;
    transform: scaleY(-1);
    filter: blur(3px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 75%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 75%);
}

.link-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.link-card {
    width: min(100%, 480px);
    padding: 32px;
    border-radius: var(--radius-xl);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.brand-block {
    text-align: center;
}

.logo {
    width: min(100%, 250px);
    display: block;
    margin: 0 auto 18px;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.eyebrow {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

h1 {
    line-height: 1.05;
}

h1 {
    display: block;
    background: linear-gradient(90deg, rgba(93, 91, 255, 0.95), rgba(195, 71, 255, 0.95), rgba(255, 106, 77, 0.95));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.intro {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.page-audio {
    display: none;
}

.music-dock {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    width: min(92vw, 310px);
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(18, 24, 60, 0.94), rgba(8, 12, 34, 0.92)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow:
        0 20px 40px rgba(2, 6, 20, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    overflow: hidden;
}

.music-dock__glow {
    position: absolute;
    inset: -40% auto auto 55%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 71, 255, 0.28), transparent 68%);
    pointer-events: none;
}

.music-dock__label {
    position: relative;
    margin-bottom: 12px;
    color: #f6c7ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.music-dock__controls {
    position: relative;
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.music-btn {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(93, 91, 255, 0.95), rgba(195, 71, 255, 0.9));
    box-shadow:
        0 12px 26px rgba(93, 91, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.music-btn:hover,
.music-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow:
        0 14px 30px rgba(93, 91, 255, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.music-level {
    padding: 10px 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.music-level__text {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.music-level__bar {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.music-level__fill {
    display: block;
    width: 55%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5d5bff, #c347ff, #ff6a4d);
    box-shadow: 0 0 18px rgba(195, 71, 255, 0.34);
    transition: width 0.2s ease;
}

@keyframes equalizerPulse {

    0%,
    100% {
        transform: scaleY(0.72);
        opacity: 0.72;
    }

    50% {
        transform: scaleY(1.08);
        opacity: 1;
    }
}

.intro span {
    display: block;
}

.intro span:nth-child(1),
.intro span:nth-child(2) {
    color: #f6f2ff;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.intro span:nth-child(3) {
    margin-top: 6px;
    color: #f6c7ff;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(195, 71, 255, 0.2),
        0 0 24px rgba(93, 91, 255, 0.14);
}

.links {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 16px;
    min-height: 82px;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(195, 71, 255, 0.4);
    background: rgba(255, 255, 255, 0.09);
}

.icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #ffffff;
    font-size: 1.35rem;
}

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

.link-copy strong {
    font-size: 1.05rem;
    font-weight: 700;
}

.link-copy small {
    color: var(--muted);
    font-size: 0.88rem;
}

.social-link i:last-child {
    color: var(--muted);
    font-size: 1.2rem;
}

.snapchat {
    background: linear-gradient(180deg, rgba(255, 216, 77, 0.18), rgba(255, 255, 255, 0.05));
}

.youtube {
    background: linear-gradient(180deg, rgba(255, 77, 90, 0.2), rgba(255, 255, 255, 0.05));
}

.instagram {
    background: linear-gradient(135deg,
            rgba(250, 126, 30, 0.18),
            rgba(214, 41, 118, 0.14),
            rgba(150, 47, 191, 0.12));
}

.telegram {
    background: linear-gradient(180deg, rgba(34, 158, 217, 0.22), rgba(255, 255, 255, 0.05));
}

.discord {
    background: linear-gradient(180deg, rgba(88, 101, 242, 0.24), rgba(255, 255, 255, 0.05));
}

.snapchat .icon {
    background: var(--snapchat);
}

.snapchat .icon svg {
    width: 40px;
    height: 40px;
    display: block;
    transform: translateY(-2px);
}

.youtube .icon {
    background: var(--youtube);
}

.youtube .icon svg {
    width: 26px;
    height: 26px;
    display: block;
}

.discord .icon {
    background: var(--discord);
}

.discord .icon .fa-discord {
    color: rgb(0, 11, 255);
}

.site-footer {
    width: min(100%, 420px);
    position: relative;
    overflow: hidden;
    padding: 0 22px 22px;
    text-align: center;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, rgba(18, 24, 60, 0.92), rgba(8, 12, 34, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 26px 60px rgba(2, 6, 20, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.footer-shine {
    position: absolute;
    top: -84px;
    left: 50%;
    width: 70%;
    height: 180px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
    z-index: 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 71, 255, 0.24), transparent 68%);
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 26%),
        linear-gradient(315deg, rgba(93, 91, 255, 0.12), transparent 44%),
        linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, 0.03) 100%);
    opacity: 1;
}

.footer-divider {
    position: relative;
    padding: 18px 0 12px;
    z-index: 1;
}

.footer-divider span {
    display: block;
    width: 118px;
    height: 5px;
    margin: 0 auto;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(93, 91, 255, 0.2), rgba(195, 71, 255, 0.95), rgba(255, 106, 77, 0.45));
    box-shadow: 0 0 26px rgba(195, 71, 255, 0.48);
}

.footer-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.footer-orbit-left {
    top: 74px;
    left: -52px;
    width: 146px;
    height: 146px;
    background: radial-gradient(circle, rgba(93, 91, 255, 0.22), transparent 70%);
    filter: blur(4px);
}

.footer-orbit-right {
    right: -44px;
    bottom: 16px;
    width: 156px;
    height: 156px;
    background: radial-gradient(circle, rgba(255, 106, 77, 0.18), transparent 72%);
    filter: blur(5px);
}

.footer-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.footer-stars span {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.55);
}

.footer-stars span:nth-child(1) {
    top: 34px;
    left: 72px;
}

.footer-stars span:nth-child(2) {
    top: 86px;
    right: 88px;
    width: 4px;
    height: 4px;
}

.footer-stars span:nth-child(3) {
    bottom: 44px;
    left: 96px;
    width: 5px;
    height: 5px;
}

.footer-head {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 4px auto 10px;
}

.footer-logo {
    position: relative;
    width: 48px;
    height: 48px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(195, 71, 255, 0.16);
}

.footer-title {
    position: relative;
    z-index: 1;
    max-width: 320px;
    margin: 8px auto 0;
    font-size: clamp(1.6rem, 4.6vw, 2.1rem);
    line-height: 1;
    color: #ffffff;
    letter-spacing: -0.04em;
    text-shadow:
        0 10px 30px rgba(0, 0, 0, 0.22),
        -2px 0 14px rgba(255, 80, 80, 0.42),
        0 0 18px rgba(70, 255, 170, 0.28),
        2px 0 14px rgba(80, 140, 255, 0.42);
}

.footer-kicker {
    position: relative;
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(195, 71, 255, 0.24);
}

.footer-text {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
    opacity: 0.9;
}

.footer-copy {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.77rem;
    font-weight: 700;
    opacity: 0.9;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-year {
    color: #ffffff;
}

.footer-rgb {
    color: var(--accent);
    text-shadow:
        0 0 12px rgba(195, 71, 255, 0.22),
        0 0 24px rgba(93, 91, 255, 0.16);
}

@media (max-width: 560px) {
    .link-page {
        padding: 16px;
    }

    .link-card {
        padding: 24px 18px;
    }

    .social-link {
        grid-template-columns: 52px 1fr auto;
        min-height: 76px;
        padding: 12px 14px;
        gap: 14px;
    }

    .icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .site-footer {
        width: min(100%, 390px);
        padding: 0 16px 20px;
    }

    .music-dock {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
        padding: 14px;
    }

    .music-dock__controls {
        grid-template-columns: 46px 1fr 46px;
        gap: 10px;
    }

    .music-btn {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .page-equalizer {
        bottom: 132px;
        width: calc(100vw - 24px);
        height: 140px;
        gap: 4px;
        opacity: 0.28;
    }

    .footer-title {
        font-size: 1.7rem;
    }

    .footer-stars span:nth-child(1) {
        left: 42px;
    }

    .footer-stars span:nth-child(2) {
        right: 48px;
    }

    .footer-stars span:nth-child(3) {
        left: 62px;
    }
}

.instagram {
    background: linear-gradient(135deg,
            rgba(250, 126, 30, 0.18),
            rgba(214, 41, 118, 0.14),
            rgba(150, 47, 191, 0.12));

    border: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        0 8px 32px rgba(214, 41, 118, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition: all .3s ease;
}

.instagram:hover {
    transform: translateY(-4px);

    border-color: rgba(214, 41, 118, 0.35);

    box-shadow:
        0 16px 40px rgba(214, 41, 118, 0.25),
        0 0 24px rgba(150, 47, 191, 0.18);
}

.instagram .icon {
    background: linear-gradient(135deg, #feda75, #d62976, #962fbf, #4f5bd5);
}

.telegram {
    background: linear-gradient(180deg, rgba(34, 158, 217, 0.22), rgba(255, 255, 255, 0.05));
}

.telegram .icon {
    background: var(--telegram);
}

.telegram:hover {
    border-color: rgba(34, 158, 217, 0.42);
    box-shadow:
        0 16px 40px rgba(34, 158, 217, 0.22),
        0 0 24px rgba(34, 158, 217, 0.14);
}