/* Базовый фон */
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, sans-serif;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

    background:
        radial-gradient(circle at 20% 20%, rgba(255,0,100,0.25), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(255,100,0,0.2), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(0,150,255,0.18), transparent 50%),
        #0b0b0e;
}


/* Контейнер */
.container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* Карточка */
.player-card {
    padding: 28px 24px;
    border-radius: 20px;
    text-align: center;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);

    border: 1px solid rgba(255, 255, 255, 0.15);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.08);
}


/* Заголовок */
.title {
    margin: 0 0 10px;
    font-size: 1.9rem;
    font-weight: 700;
}

/* Трек */
.track {
    margin-bottom: 20px;
    font-size: 1.1rem;
    opacity: 0.8;
}

#track {
    white-space: pre-line;
}

/* Эквалайзер */
.equalizer {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 25px;
    height: 30px;
}

.equalizer span {
    width: 6px;
    background: #ff0066;
    border-radius: 3px;
    animation: bounce 1s infinite ease-in-out;
    transform-origin: bottom;
    opacity: 0.8;
}

.equalizer span:nth-child(1) { animation-delay: 0s; }
.equalizer span:nth-child(2) { animation-delay: 0.15s; }
.equalizer span:nth-child(3) { animation-delay: 0.3s; }
.equalizer span:nth-child(4) { animation-delay: 0.45s; }
.equalizer span:nth-child(5) { animation-delay: 0.6s; }

@keyframes bounce {
    0%, 100% { height: 6px; }
    50% { height: 30px; }
}

.play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: none;

    background: linear-gradient(135deg, #ff2d7a, #ff7a18);

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    transition: transform .2s ease, box-shadow .2s ease;

    box-shadow:
        0 6px 20px rgba(255, 60, 120, 0.35),
        inset 0 1px 2px rgba(255,255,255,0.3);
}

.play-btn:active {
    transform: scale(0.95);
}


.play-btn img {
    width: 42px;
    height: 42px;
    display: none;
}

#icon-play { display: block; }

/* Эквалайзер */
.equalizer {
    display: flex;
    justify-content: center;
    gap: 6px;
    height: 30px;
    margin-bottom: 25px;
    opacity: 0.2;
    transition: opacity .3s ease;
}

.equalizer span {
    background: linear-gradient(
        to top,
        rgba(255, 0, 100, 0.6),
        rgba(255, 120, 160, 0.9)
    );
}


@keyframes bounce {
    0%, 100% { height: 6px; }
    50% { height: 30px; }
}

/* Мобильная адаптация */
@media (max-width: 480px) {
    .play-btn {
        width: 80px;
        height: 80px;
    }

    .play-btn img {
        width: 36px;
        height: 36px;
    }
}
