/* ============================================================
mop-skin-bar-gold.css — Premium Gold Skin for Bottom Bar
Черное стекло + золото/оранжевый с анимациями и эффектами
============================================================ */

/* ------------------------------------------------------------
ОСНОВА: Анимированный градиентный фон с эффектом стекла
------------------------------------------------------------ */
/* ------------------------------------------------------------
ОСНОВА: Анимированный градиентный фон с эффектом стекла
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold {
    background: linear-gradient(135deg, 
        rgba(12, 12, 15, 0.96) 0%, 
        rgba(25, 20, 10, 0.97) 50%, 
        rgba(12, 12, 15, 0.96) 100%);
    background-size: 200% 200%;
    animation: gold-bg-shift 15s ease infinite;
    border-top: 1px solid rgba(255, 184, 0, 0.25);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.6),
                0 -1px 0 rgba(255, 184, 0, 0.15);
    color: #F5F5F5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Анимированный градиент фона */
@keyframes gold-bg-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Блик сверху (эффект стекла) */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 184, 0, 0.4) 50%, 
        transparent 100%);
    animation: gold-shimmer 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gold-shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ------------------------------------------------------------
ОБЛОЖКА: Золотая рамка с пульсацией свечения
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-cover {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 184, 0, 0.4);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 184, 0, 0.1);
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-cover.playing {
    border-color: rgba(255, 184, 0, 0.8);
    animation: gold-cover-glow 2s ease-in-out infinite;
}

@keyframes gold-cover-glow {
    0%, 100% { 
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5),
                    0 0 20px rgba(255, 184, 0, 0.4),
                    0 0 40px rgba(255, 107, 0, 0.2);
    }
    50% { 
        box-shadow: 0 2px 16px rgba(0, 0, 0, 0.6),
                    0 0 25px rgba(255, 184, 0, 0.6),
                    0 0 50px rgba(255, 107, 0, 0.3);
    }
}

/* ------------------------------------------------------------
МЕТАДАННЫЕ
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-title {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-artist {
    color: rgba(255, 184, 0, 0.75);
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-info-details {
    display: none;
}

/* ------------------------------------------------------------
ПРОГРЕСС-БАР: Анимированный градиент
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-progress {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    height: 4px;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-progress-bar {
    background: linear-gradient(90deg, 
        #FFB800 0%, 
        #FF8C00 50%, 
        #FFB800 100%);
    background-size: 200% 100%;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.5),
                0 0 16px rgba(255, 184, 0, 0.3);
    transition: width 0.2s linear;
    animation: gold-progress-flow 2s linear infinite;
}

@keyframes gold-progress-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

/* ------------------------------------------------------------
УБИРАЕМ РАМКИ ПРИ КЛИКЕ — ВСЕ КНОПКИ
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold button,
.mix-of-player.mop-layout-bar.mop-skin-bar-gold input[type="range"] {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold button:focus,
.mix-of-player.mop-layout-bar.mop-skin-bar-gold button:active {
    outline: none;
    box-shadow: none;
}

/* ------------------------------------------------------------
КНОПКИ УПРАВЛЕНИЯ (Prev / Next) с эффектом волны
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-prev,
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-next {
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Эффект волны при наведении */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-prev::before,
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-prev:hover::before,
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-next:hover::before {
    width: 100%;
    height: 100%;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-prev:hover,
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-next:hover {
    color: #FFB800;
    background: rgba(255, 184, 0, 0.1);
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255, 184, 0, 0.3);
}

/* Кнопка Play — золотой круг с бликом */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-play {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFB800, #FF8C00);
    border: none;
    border-radius: 50%;
    color: #0C0C0F;
    font-size: 16px;
    box-shadow: 0 2px 12px rgba(255, 184, 0, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Диагональный блик на кнопке Play */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-play::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-play:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-play i {
    color: #0C0C0F;
    transition: transform 0.3s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-play:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.6),
                0 0 30px rgba(255, 184, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-play:hover i {
    transform: scale(1.1);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-play.playing {
    background: linear-gradient(135deg, #FF6B00, #FFB800);
    box-shadow: 0 2px 16px rgba(255, 107, 0, 0.5),
                0 0 30px rgba(255, 184, 0, 0.3);
    animation: gold-play-pulse 2s ease-in-out infinite;
}

@keyframes gold-play-pulse {
    0%, 100% { 
        box-shadow: 0 2px 16px rgba(255, 107, 0, 0.5),
                    0 0 30px rgba(255, 184, 0, 0.3);
    }
    50% { 
        box-shadow: 0 4px 24px rgba(255, 107, 0, 0.7),
                    0 0 40px rgba(255, 184, 0, 0.5);
    }
}

/* ------------------------------------------------------------
ГРОМКОСТЬ
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-mute {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-mute:hover {
    color: #FFB800;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-volume-slider {
    background: rgba(255, 255, 255, 0.08);
    height: 5px;
    border-radius: 3px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-volume-slider::-webkit-slider-thumb {
    background: linear-gradient(135deg, #FFB800, #FF6B00);
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.5),
                0 0 16px rgba(255, 184, 0, 0.3);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 12px rgba(255, 184, 0, 0.7),
                0 0 20px rgba(255, 184, 0, 0.5);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-volume-slider::-moz-range-thumb {
    background: linear-gradient(135deg, #FFB800, #FF6B00);
    box-shadow: 0 0 8px rgba(255, 184, 0, 0.5),
                0 0 16px rgba(255, 184, 0, 0.3);
    width: 14px;
    height: 14px;
    border: none;
    border-radius: 50%;
}

/* ------------------------------------------------------------
КНОПКА СКРЫТИЯ
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-hide {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-hide:hover {
    color: #FFB800;
    transform: translateY(3px);
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

/* ------------------------------------------------------------
 ЯЗЫЧОК (ХВОСТИК) — с анимированным градиентом и бликом
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-tab {
    background: linear-gradient(135deg, 
        #FFB800 0%, 
        #FF8C00 50%, 
        #FF6B00 100%);
    background-size: 200% 200%;
    color: #0C0C0F;
    font-size: 20px;
    box-shadow: 0 -2px 15px rgba(255, 184, 0, 0.4),
                0 4px 20px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.15);
    outline: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    animation: gold-tab-gradient 3s ease infinite;
}

@keyframes gold-tab-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Блик на язычке */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-tab::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-tab:hover {
    box-shadow: 0 -2px 20px rgba(255, 184, 0, 0.7),
                0 6px 30px rgba(0, 0, 0, 0.6),
                0 0 40px rgba(255, 184, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-tab:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-tab:focus {
    outline: none;
    box-shadow: 0 -2px 20px rgba(255, 184, 0, 0.7),
                0 6px 30px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Пульсация при воспроизведении */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold.mop-bar-hidden.playing .mop-bar-tab {
    animation: gold-tab-gradient 3s ease infinite, gold-tab-pulse 2s ease-in-out infinite;
}

@keyframes gold-tab-pulse {
    0%, 100% {
        box-shadow: 0 -2px 15px rgba(255, 184, 0, 0.4),
                    0 4px 20px rgba(0, 0, 0, 0.5),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 -2px 25px rgba(255, 184, 0, 0.8),
                    0 4px 30px rgba(255, 107, 0, 0.5),
                    0 0 40px rgba(255, 184, 0, 0.4),
                    0 0 60px rgba(255, 184, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

/* ------------------------------------------------------------
КНОПКА ПЛЕЙЛИСТА
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-toggle-playlist {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-toggle-playlist:hover {
    color: #FFB800;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

/* ------------------------------------------------------------
ПЛЕЙЛИСТ — скрыт по умолчанию, с эффектом блика на треках
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-playlist {
    background: linear-gradient(180deg, 
        rgba(12, 12, 15, 0.98) 0%, 
        rgba(20, 16, 10, 0.98) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 184, 0, 0.2);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.6),
                0 0 0 1px rgba(255, 184, 0, 0.1);
    /* Скрыт по умолчанию */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0;
    margin-bottom: 0;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-playlist.open {
    max-height: 300px;
    overflow-y: auto;
    opacity: 1;
    padding: 10px;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-list li {
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: none;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* Эффект скользящего блика при наведении */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 184, 0, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-list li:hover::before {
    left: 100%;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-list li:hover {
    background: rgba(255, 184, 0, 0.08);
    color: #FFFFFF;
    padding-left: 14px;
    transform: translateX(2px);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-list li.active {
    background: rgba(255, 184, 0, 0.12);
    border-left: 3px solid #FFB800;
    color: #FFB800;
    box-shadow: inset 0 0 20px rgba(255, 184, 0, 0.05),
                0 0 15px rgba(255, 184, 0, 0.1);
    animation: gold-active-glow 2s ease-in-out infinite;
}

@keyframes gold-active-glow {
    0%, 100% { 
        box-shadow: inset 0 0 20px rgba(255, 184, 0, 0.05),
                    0 0 15px rgba(255, 184, 0, 0.1);
    }
    50% { 
        box-shadow: inset 0 0 25px rgba(255, 184, 0, 0.1),
                    0 0 20px rgba(255, 184, 0, 0.2);
    }
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-track-meta {
    color: inherit;
}

/* Скроллбар */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-playlist::-webkit-scrollbar {
    width: 6px;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-playlist::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-playlist::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FFB800, #FF6B00);
    border-radius: 3px;
    box-shadow: 0 0 6px rgba(255, 184, 0, 0.3);
    transition: all 0.3s ease;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-playlist::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #FFC830, #FF8C00);
    box-shadow: 0 0 10px rgba(255, 184, 0, 0.5);
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-playlist {
    scrollbar-width: thin;
    scrollbar-color: #FFB800 rgba(12, 12, 15, 0.5);
}

/* ------------------------------------------------------------
СКРЫТИЕ ПЛЕЕРА — убираем фон и border плейлиста при скрытии
------------------------------------------------------------ */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold.mop-bar-hidden {
    background: transparent;
    border-top: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Скрываем блик-полоску сверху при скрытии плеера */
.mix-of-player.mop-layout-bar.mop-skin-bar-gold.mop-bar-hidden::before {
    opacity: 0;
    animation: none;
}

.mix-of-player.mop-layout-bar.mop-skin-bar-gold.mop-bar-hidden .mop-playlist {
    border: none;
    box-shadow: none;
}

/* ------------------------------------------------------------
АДАПТИВ
------------------------------------------------------------ */
@media (max-width: 768px) {
    .mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-cover {
        width: 44px;
        height: 44px;
    }

    .mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-tab {
        width: 48px;
        height: 48px;
        bottom: -24px;
        font-size: 18px;
    }

    .mix-of-player.mop-layout-bar.mop-skin-bar-gold .mop-bar-tab:hover {
        bottom: -8px;
    }
}