/* ===========================
   РАБОЧАЯ ОБЛАСТЬ
   =========================== */

.workspace {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

/* ===========================
   ПЛЕЕР МУЗЫКИ
   =========================== */

.player {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.player__heading {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.player__now-playing {
    margin-bottom: 16px;
}

.player__track-name {
    font-size: 16px;
    color: #a0a0b0;
    text-align: center;
}

/* ===========================
   КНОПКИ ПЛЕЕРА
   =========================== */

.player__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.player__btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.player__btn:hover {
    background-color: rgba(108, 92, 231, 0.3);
    border-color: #6c5ce7;
}

.player__btn--main {
    width: 56px;
    height: 56px;
    font-size: 20px;
    background-color: #6c5ce7;
    border-color: #6c5ce7;
}

.player__btn--main:hover {
    background-color: #5a4bd1;
}
/* ===========================
   ГРОМКОСТЬ МУЗЫКИ
   =========================== */

.player__volume {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.player__volume-icon {
    font-size: 18px;
}

.player__slider {
    width: 200px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.player__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #6c5ce7;
    cursor: pointer;
}

/* ===========================
   СПИСОК ТРЕКОВ
   =========================== */

.player__tracklist {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player__track-item {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: #a0a0b0;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.player__track-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.player__track-item--active {
    background-color: rgba(108, 92, 231, 0.2);
    color: #ffffff;
}
/* ===========================
   МИКШЕР ФОНОВЫХ ЗВУКОВ
   =========================== */

.mixer {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.mixer__heading {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.mixer__sounds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ===========================
   ОДИН ЗВУК В МИКШЕРЕ
   =========================== */

.mixer__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mixer__toggle {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.mixer__toggle:hover {
    background-color: rgba(108, 92, 231, 0.2);
    border-color: #6c5ce7;
}

.mixer__toggle--active {
    background-color: rgba(108, 92, 231, 0.3);
    border-color: #6c5ce7;
}

.mixer__name {
    font-size: 14px;
    color: #a0a0b0;
    min-width: 60px;
}

.mixer__slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.mixer__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #6c5ce7;
    cursor: pointer;
}

/* ===========================
   АДАПТАЦИЯ ПОД ТЕЛЕФОНЫ
   =========================== */

@media (max-width: 480px) {
    .mixer__sounds {
        grid-template-columns: 1fr;
    }

    .player__slider {
        width: 150px;
    }
}