
        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #121212;
            color: #e0e0e0;

            background-size: cover;
            background-position: center;
            background-attachment: fixed;

        }
        * {
            box-sizing: border-box;
        }
        .site-container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            min-height: 100vh;
            background-color: rgba(13, 17, 23, 0.8);
        }

        .nav-link {
            position: relative;
            overflow: hidden;
        }
        .nav-link:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 2px;
            background-color: #3b82f6;
            transition: width 0.3s ease;
        }
        .nav-link:hover:after {
            width: 100%;
        }
      /*  .transition-all {
            transition: all 0.3s ease-in-out;
        } */
        .news-item {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .news-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .fade-in {
            animation: fadeIn 1s ease forwards;
        }
        .hero-text {
            animation-delay: 0.3s;
        }
        .news-section {
            animation-delay: 0.6s;
        }

        .nav-link {
            position: relative;
            overflow: hidden;
            transition: color 0.3s ease;
        }

        .nav-link:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 2px;
            background-color: #3b82f6;
            transition: width 0.3s ease;
        }

        .nav-link:hover:after {
            width: 100%;
        }

        .audio-controls {
                height: 40px;
                border-radius: 8px;
            }

            .audio-controls::-webkit-media-controls-panel {
                background: #374151;
            }

            .audio-controls::-webkit-media-controls-play-button {
                background-color: #3B82F6;
                border-radius: 50%;
            }

        .audio-player {
            background: linear-gradient(145deg, #1a1a2e, #16213e);
            border: 1px solid rgba(59, 130, 246, 0.3);
            border-radius: 15px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .playlist-item {
            transition: all 0.3s ease;
            cursor: pointer;
            border-radius: 8px;
            border: 1px solid transparent;
        }

        .playlist-item:hover {
            background-color: rgba(59, 130, 246, 0.1);
            border-color: rgba(59, 130, 246, 0.3);
        }

        .playlist-item.active {
            background-color: rgba(59, 130, 246, 0.2);
            border-color: #3b82f6;
        }

        .progress-bar {
            height: 6px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 3px;
            overflow: hidden;
            cursor: pointer;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #3b82f6, #60a5fa);
            border-radius: 3px;
            transition: width 0.1s ease;
        }

        .volume-slider {
            -webkit-appearance: none;
            width: 100%;
            height: 4px;
            border-radius: 2px;
            background: rgba(255, 255, 255, 0.2);
            outline: none;
        }

        .volume-slider::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
        }

        .volume-slider::-moz-range-thumb {
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #3b82f6;
            cursor: pointer;
            border: none;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .fade-in {
            animation: fadeIn 1s ease forwards;
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }

        .btn-primary {
            background: linear-gradient(145deg, #3b82f6, #2563eb);
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
        }



        @media (max-width: 768px) {
            body {
                /*background-image: url('{% static "mainapp/images/backgroundmain.avif" %}');*/
                background-size: cover;
                background-position: center;
            }

            .news-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .audio-player {
                margin-top: 1rem;
            }

            /* Мобильное меню */
            #nav-menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: black;
                padding: 1rem;
                z-index: 1000;
            }

            /* Когда JavaScript убирает класс hidden */
             #nav-menu {
                display: none;
            }

            #nav-menu.mobile-open {
                display: flex !important;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: rgba(0, 0, 0, 0.5);
                backdrop-filter: blur(12px);
                -webkit-backdrop-filter: blur(12px);
                padding: 2rem 1rem;
                flex-direction: column;
                gap: 1.5rem;
                z-index: 1000;
            }




        }
        @media (max-width: 480px) {
             .news-grid {
            grid-template-columns: 1fr;
            }
        }
        @media (max-width: 480px) {
            section.hero {
                height: 200px; /* меньше высота на маленьких экранах */
            }


