 .audio-player {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(11, 34, 66, 0.9);
            padding: 15px 30px;
            box-shadow: none;
            z-index: 1000;
            backdrop-filter: none;
            border-top: 1px solid #000;
            transition: transform 0.3s ease;
     opacity: 0;
     /* Анимация выезда */
     transform: translateY(100%);
     animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
        }
 @keyframes slideUp {
     0% {
         transform: translateY(100%);
         opacity: 0;
     }
     100% {
         transform: translateY(0);
         opacity: 1;
     }
 }
        .audio-player.hidden {
            transform: translateY(100%);
        }

        .audio-player.no-audio {
            opacity: 0.3;
            pointer-events: none;
        }

        .player-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        /* Кнопки управления */
        .player-controls {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .control-btn {
            width: 40px;
            height: 40px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .control-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.05);
        }

        .control-btn:active {
            transform: scale(0.95);
        }

        .control-btn.play-btn {
            width: 50px;
            height: 50px;
            background: #0c70e2;
            font-size: 20px;
        }
 .control-btn.play-btn i.fa-play {margin-left: 3px}

        .control-btn.play-btn:hover {
            background: #1a7ff0;
            transform: scale(1.08);
        }

        .control-btn.play-btn.playing {
            background: #dc3545;
        }

        .control-btn.play-btn.playing:hover {
            background: #e74c5e;
        }

        .control-btn.rewind-btn {
            font-size: 14px;
            width: 38px;
            height: 38px;
        }

        /* Прогресс-бар */
        .player-progress {
            flex: 1;
            min-width: 150px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .time-display {
            color: rgba(255, 255, 255, 0.8);
            font-size: 13px;
            font-weight: 500;
            min-width: 40px;
            font-variant-numeric: tabular-nums;
        }

        .progress-bar-container {
            flex: 1;
            height: 5px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            cursor: pointer;
            position: relative;
            transition: height 0.2s ease;
        }

        .progress-bar-container:hover {
            height: 7px;
        }

        .progress-bar-container:hover .progress-handle {
            opacity: 1;
            transform: scale(1);
        }

        .progress-fill {
            height: 100%;
            background: #0c70e2;
            border-radius: 10px;
            width: 0%;
            position: relative;
            transition: width 0.1s linear;
        }

        .progress-handle {
            position: absolute;
            right: -6px;
            top: -2px;
            transform: translateY(-50%) scale(0);
            width: 12px;
            height: 12px;
            background: white;
            border-radius: 50%;
            opacity: 0;
            transition: all 0.2s ease;
        }

        /* Скорость */
        .speed-container {
            display: flex;
            gap: 4px;
            background: rgba(255, 255, 255, 0.05);
            padding: 3px;
            border-radius: 20px;
        }

        .speed-btn {
            padding: 4px 12px;
            border: none;
            border-radius: 15px;
            background: transparent;
            color: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            font-size: 12px;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .speed-btn:hover {
            color: white;
            background: rgba(255, 255, 255, 0.1);
        }

        .speed-btn.active {
            color: white;
            background: #0c70e2;
        }

        .speed-btn.active:hover {
            background: #1a7ff0;
        }

        /* Громкость */
        .volume-container {
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 80px;
        }

        .volume-btn {
            width: 32px;
            height: 32px;
            border: none;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.05);
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
        }

        .volume-btn:hover {
            background: rgba(255, 255, 255, 0.15);
        }

        .volume-slider {
            width: 60px;
            height: 4px;
            -webkit-appearance: none;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 10px;
            outline: none;
            transition: height 0.2s ease;
        }

        .volume-slider:hover {
            height: 6px;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #0c70e2;
            cursor: pointer;
        }

        .volume-slider::-webkit-slider-thumb:hover {
            background: #1a7ff0;
        }

        .volume-slider::-moz-range-thumb {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #0c70e2;
            cursor: pointer;
            border: none;
        }

        .volume-slider::-moz-range-thumb:hover {
            background: #1a7ff0;
        }

        /* Анимация пульсации для кнопки воспроизведения */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
            }
        }

        .control-btn.play-btn.playing {
            animation: pulse 2s infinite;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            .audio-player {
                padding: 12px 15px;
            }
            .player-container {
                gap: 10px;
            }
            .control-btn {
                width: 35px;
                height: 35px;
                font-size: 14px;
            }
            .control-btn.play-btn {
                width: 44px;
                height: 44px;
                font-size: 18px;
            }
            .control-btn.rewind-btn {
                width: 33px;
                height: 33px;
                font-size: 12px;
            }
            .time-display {
                font-size: 11px;
                min-width: 35px;
            }
            .volume-slider {
                width: 40px;
            }
            .speed-btn {
                font-size: 10px;
                padding: 3px 8px;
            }
            .volume-container {
                min-width: 60px;
            }
        }

        @media (max-width: 480px) {
            .player-container {
                gap: 6px;
            }
            .control-btn {
                width: 30px;
                height: 30px;
                font-size: 12px;
            }
            .control-btn.play-btn {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }
            .control-btn.rewind-btn {
                width: 28px;
                height: 28px;
                font-size: 10px;
            }
            .time-display {
                font-size: 10px;
                min-width: 30px;
            }
            .volume-slider {
                width: 30px;
            }
            .speed-btn {
                font-size: 9px;
                padding: 2px 6px;
            }
        }

        /* Скрытый аудио */
        #audiofile {
            display: none;
        }
