:root {
    color-scheme: dark;
    --bg-1: #09090f;
    --bg-2: #121225;
    --panel: rgba(20, 24, 34, 0.72);
    --panel-border: rgba(166, 179, 255, 0.2);
    --text-main: #f2f5ff;
    --text-subtle: #9da7c2;
    --accent-a: #8e6bff;
    --accent-b: #44b8ff;
    --accent-c: #69ffc7;
}

* {
    box-sizing: border-box;
}

html {
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    min-height: 100vh;
    background: #000;
    color: var(--text-main);
    overflow-x: hidden;
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(166, 179, 255, 0.35) rgba(255, 255, 255, 0.04);
}
html::-webkit-scrollbar {
    width: 10px;
}
html::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.04);
}
html::-webkit-scrollbar-thumb {
    background: rgba(166, 179, 255, 0.35);
    border-radius: 10px;
}
html::-webkit-scrollbar-thumb:hover {
    background: rgba(166, 179, 255, 0.5);
}

#bgCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: -4;
    pointer-events: none;
}

body::before,
body::after {
    display: none;
}

.glass-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.28), inset 0 -10px 20px rgba(255, 255, 255, 0.015), 0 10px 20px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px) saturate(135%);
    -webkit-backdrop-filter: blur(16px) saturate(135%);
    position: relative;
    overflow: hidden;
    transition: backdrop-filter 220ms ease, -webkit-backdrop-filter 220ms ease,
        background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 20% -10%, rgba(255, 255, 255, 0.24), transparent 35%),
        radial-gradient(circle at 92% 120%, rgba(130, 160, 255, 0.1), transparent 40%);
    pointer-events: none;
}

.idle-overlay {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    pointer-events: none;
}

.idle-overlay.idle-overlay--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.idle-overlay[hidden] {
    display: none !important;
}

.idle-overlay__dvd-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.idle-overlay__dvd {
    position: absolute;
    width: 200px;
    height: 120px;
    object-fit: contain;
    left: 0;
    top: 0;
}

.idle-overlay__text {
    position: relative;
    z-index: 2;
    margin: 0 0 24px;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    text-shadow: 0 0 32px rgba(142, 107, 255, 0.35);
}

.idle-overlay__btn {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 16px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.idle-overlay__btn:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.22);
}

.glass-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 180%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0.25);
    opacity: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.082) 0%, transparent 76%);
    transition: transform 0.45s ease, opacity 0.45s ease;
    pointer-events: none;
}

.glass-card:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.56), inset 0 -16px 30px rgba(255, 255, 255, 0.03),
        0 16px 34px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(30px) saturate(185%);
    -webkit-backdrop-filter: blur(30px) saturate(185%);
}

.glass-card:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.page-wrapper {
    min-height: 100vh;
}

.corner-cat {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 9998;
    transform: rotate(-8deg);
    transform-origin: bottom right;
    line-height: 0;
    pointer-events: none;
}

.corner-cat img {
    display: block;
    width: 100px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
}

.discord-profile-wrap {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.discord-profile-wrap__link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.tg-collectible {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    width: 300px;
    max-width: calc(100vw - 48px);
    color: inherit;
    text-decoration: none;
    border-radius: 24px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tg-collectible:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.28);
}

.tg-collectible__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #0d0d12;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.tg-collectible__icon svg {
    width: 22px;
    height: 22px;
}

.tg-collectible__label {
    flex: 1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-main);
}

.tg-collectible__arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--text-subtle);
    transition: transform 0.2s ease;
}

.tg-collectible:hover .tg-collectible__arrow {
    transform: translateX(4px);
    color: var(--text-main);
}

.page-layout {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    min-height: 100vh;
    padding: 24px;
}

.center {
    min-width: 0;
}

.music-panel-wrap {
    margin-bottom: 40px;
}

.music-panel-wrap .music-panel {
    max-width: 100%;
}

.intro {
    text-align: center;
    margin-bottom: 24px;
}

.intro__title {
    margin: 0;
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 0.02em;
    text-shadow: 0 0 28px rgba(142, 107, 255, 0.45);
}

.intro__subtitle {
    margin: 12px 0 0;
    color: var(--text-subtle);
    font-size: clamp(14px, 2vw, 18px);
}

.section {
    margin-bottom: 36px;
}

.section__title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.02em;
}

.maintenance-card {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.maintenance-card__title {
    margin: 0;
    font-size: clamp(1.4rem, 3.8vw, 2rem);
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 16px rgba(142, 107, 255, 0.25);
}

.participation-slider {
    padding: 10px;
}

.participation-slider.glass-card:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.36), inset 0 -10px 22px rgba(255, 255, 255, 0.02),
        0 10px 22px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.participation-slider.glass-card:hover::after {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(0.75);
}

.participation-slider__viewport {
    overflow: hidden;
    border-radius: 16px;
}

.participation-slider__track {
    display: flex;
    transition: transform 420ms ease;
    will-change: transform;
}

.participation-card {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 108px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.participation-card__logo {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-subtle);
    border: 1px dashed rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.04);
}

img.participation-card__logo {
    display: block;
    object-fit: cover;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(25, 30, 42, 0.9);
}

.participation-card__body {
    min-width: 0;
}

.participation-card__title {
    margin: 0;
    font-size: 1rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participation-card__period {
    margin: 4px 0 0;
    font-size: 0.86rem;
    line-height: 1.25;
    color: #c0c9e4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participation-card__role {
    margin: 4px 0 0;
    font-size: 0.88rem;
    line-height: 1.25;
    color: var(--text-subtle);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participation-slider__dots {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.participation-slider__dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: width 200ms ease, background 200ms ease;
}

.participation-slider__dot:hover {
    background: rgba(255, 255, 255, 0.45);
}

.participation-slider__dot.is-active {
    width: 22px;
    background: linear-gradient(90deg, rgba(174, 132, 255, 0.94), rgba(120, 205, 255, 0.96));
}

.reviews-grid {
    --reviews-columns: 2;
    display: grid;
    grid-template-columns: repeat(var(--reviews-columns), minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.reviews-grid__column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.review-card {
    padding: 14px 16px 16px;
    border-radius: 16px;
    height: fit-content;
    margin: 0;
}

.review-card:hover {
    transform: none;
}

.review-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.22);
    object-fit: cover;
    background: #23293a;
}

.review-card__title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.05;
    color: #f2f5ff;
}

.review-card__meta {
    margin: 2px 0 0;
    font-size: 0.84rem;
    color: #8f9bc0;
    line-height: 1;
}

.review-card__text {
    margin: 0;
    color: #aab4d3;
    font-size: 0.98rem;
    line-height: 1.36;
}

.intro,
.intro__title,
.intro__subtitle,
.music-panel-wrap,
.music-panel,
.player,
.section__title,
.participation-section,
.participation-card__title,
.participation-card__period,
.participation-card__role,
.participation-slider__dot,
.reviews-section,
.review-card__title,
.review-card__meta,
.review-card__text {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.music-panel {
    padding: 18px 20px;
    width: 100%;
}

h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: 0.01em;
    text-shadow: 0 0 22px rgba(142, 107, 255, 0.4);
}

.subtitle {
    margin-top: 8px;
    color: var(--text-subtle);
}

.discord-profile {
    width: 300px;
    padding: 0;
    overflow: hidden;
    border-radius: 24px;
}

.discord-profile__avatar1 {
    height: 105px;
    min-height: 105px;
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background-color: #1a1b1e;
}

.discord-profile__avatar1-img {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: cover;
}

.discord-profile__body {
    padding: 0 16px 16px;
    position: relative;
}

.discord-profile__avatar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin-top: -46px;
    margin-left: 0;
    flex-shrink: 0;
}

.discord-profile__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.discord-profile__avatar-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    pointer-events: none;
}

.discord-profile__status {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.14);
    background: rgba(0, 0, 0, 0.2);
}

.discord-profile__status--online {
    background: #23a559;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.3);
}

.discord-profile__status-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #b5bac1;
    font-size: 14px;
}

.discord-profile__status-emoji {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.discord-profile__display-name {
    margin: 6px 0 2px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #f2f3f5;
}

.discord-profile__username {
    margin: 0;
    font-size: 14px;
    color: #b5bac1;
}

.discord-profile__about {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.discord-profile__about-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #b5bac1;
    margin-bottom: 4px;
}

.discord-profile__about-text {
    margin: 0;
    font-size: 14px;
    color: #f2f3f5;
}

.player {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 14px;
    align-items: center;
    cursor: pointer;
}

.cover {
    width: 132px;
    height: 132px;
    object-fit: cover;
    border-radius: 14px;
    background: #262b35;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.meta {
    min-width: 0;
}

.state-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: #c8cff9;
    margin-bottom: 6px;
    font-weight: 700;
}

.state-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-c);
    box-shadow: 0 0 16px rgba(105, 255, 199, 0.8);
    animation: pulse 2.1s ease-in-out infinite;
}

.player.is-last-played .state-label::before {
    background: #e6c84a;
    box-shadow: 0 0 16px rgba(230, 200, 74, 0.8);
}

.title {
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.artists {
    margin-top: 4px;
    color: #d6dcf0;
    font-size: 14px;
}

.album {
    margin-top: 4px;
    color: #99a5c6;
    font-size: 13px;
}

.preview-btn {
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: rgba(227, 234, 255, 0.84);
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: lowercase;
    cursor: pointer;
    backdrop-filter: blur(12px) saturate(135%);
    -webkit-backdrop-filter: blur(12px) saturate(135%);
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #eff4ff;
}

.preview-btn:disabled {
    cursor: default;
    opacity: 0.55;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(220, 228, 247, 0.6);
}

.progress-row {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
    align-items: center;
    color: #bec7df;
    font-size: 12px;
    font-weight: 600;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

#progressInner {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(174, 132, 255, 0.92), rgba(120, 205, 255, 0.96));
    box-shadow: 0 0 16px rgba(120, 171, 255, 0.8);
}

.empty,
.error {
    padding: 14px 16px;
    border-radius: 12px;
    margin-top: 8px;
}

.empty {
    background: rgba(255, 255, 255, 0.11);
    color: #d1dbf2;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.error {
    background: rgba(130, 32, 70, 0.43);
    color: #ffd0e0;
    border: 1px solid rgba(255, 163, 198, 0.28);
}

.hidden {
    display: none;
}

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

/* Кнопка музыки: на экранах уже 900px — левее и выше */
@media (max-width: 900px) {
    .bg-music-mute {
        top: env(safe-area-inset-top, 0);
        left: env(safe-area-inset-left, 0);
        right: auto;
    }

}

@media (max-width: 700px) {
    .page-wrapper {
        display: flex;
        flex-direction: column;
    }

    .page-layout {
        order: 0;
        padding: 12px;
    }

    .discord-profile-wrap {
        position: static;
        order: 1;
        padding: 12px 12px 24px;
        margin: 0 auto;
        width: 100%;
        max-width: 340px;
        display: flex;
        justify-content: center;
    }

    .discord-profile-wrap .discord-profile {
        width: 100%;
        max-width: 340px;
    }

    .reviews-grid {
        --reviews-columns: 1;
        gap: 12px;
    }

    .reviews-grid__column {
        gap: 12px;
    }

    .player {
        grid-template-columns: 112px 1fr;
    }

    .cover {
        width: 112px;
        height: 112px;
    }

    .participation-card {
        align-items: flex-start;
        min-height: 100px;
        padding: 12px;
        gap: 10px;
    }

    .participation-card__logo {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .participation-card__period,
    .participation-card__role {
        white-space: normal;
    }

    .bg-music-mute {
        top: env(safe-area-inset-top, 0);
        left: env(safe-area-inset-left, 0);
        right: auto;
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.72);
        opacity: 0.6;
    }
}

@keyframes blobMoveA {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(10vmax, 8vmax, 0);
    }
}

@keyframes blobMoveB {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-8vmax, -10vmax, 0);
    }
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.loader.loader--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Общая длительность всех вариаций: 2.7s */
.loader__fall {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -100%);
    pointer-events: none;
}

.loader__img {
    display: block;
    width: min(280px, 60vw);
    height: auto;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Вариация 0: обычное падение до конца */
.loader[data-variation="0"] .loader__fall {
    animation: loaderFall 2.7s ease-in-out forwards;
}

.loader[data-variation="0"] .loader__clouds-wrap {
    display: none;
}

@keyframes loaderFall {
    to {
        transform: translate(-50%, 100vh);
    }
}

/* Вариация 1: облака подхватывают. Кривые в keyframes — ease-in до контакта, ease-out после. */
.loader[data-variation="1"] .loader__fall {
    z-index: 2;
    animation: loaderFallThenLift 2.7s forwards;
}

.loader[data-variation="1"] .loader__clouds-wrap {
    position: absolute;
    left: 50%;
    top: 0;
    width: min(320px, 70vw);
    z-index: 1;
    pointer-events: none;
    animation: loaderCloudsCatch 2.7s forwards;
}

.loader[data-variation="1"] .loader__clouds-img {
    display: block;
    width: 100%;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
}

/* До контакта (65%): ease-in — замедление к моменту соприкосновения (скорость → 0).
   После 65%: ease-out — плавный разгон подъёма. Нет скачка скорости в точке контакта. */
@keyframes loaderFallThenLift {
    0% {
        transform: translate(-50%, -100%);
        animation-timing-function: ease-in;
    }
    58% {
        transform: translate(-50%, 72vh);
        animation-timing-function: ease-in;
    }
    62% {
        transform: translate(-50%, 70vh);
        animation-timing-function: ease-in;
    }
    65% {
        transform: translate(-50%, 68vh);
        animation-timing-function: ease-out;
    }
    100% {
        transform: translate(-50%, 35vh);
    }
}

@keyframes loaderCloudsCatch {
    0% {
        transform: translate(-50%, 120vh);
        animation-timing-function: ease-in;
    }
    58% {
        transform: translate(-50%, 73vh);
        animation-timing-function: ease-in;
    }
    62% {
        transform: translate(-50%, 70vh);
        animation-timing-function: ease-in;
    }
    65% {
        transform: translate(-50%, 68vh);
        animation-timing-function: ease-out;
    }
    100% {
        transform: translate(-50%, 50vh);
    }
}

.bg-music-mute {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 11;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.6s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.bg-music-mute--visible {
    opacity: 1;
}

.bg-music-mute:hover {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.2);
}

.bg-music-mute__icon {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.bg-music-mute__icon--off {
    opacity: 0;
}

.bg-music-mute__icon--play {
    opacity: 0;
}

.bg-music-mute--start .bg-music-mute__icon--play {
    opacity: 1;
}

.bg-music-mute--start .bg-music-mute__icon--on,
.bg-music-mute--start .bg-music-mute__icon--off {
    opacity: 0;
}

.bg-music-mute--muted .bg-music-mute__icon--on {
    opacity: 0;
}

.bg-music-mute--muted .bg-music-mute__icon--off {
    opacity: 1;
}
