/* Скрытие полосы прокрутки */
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }
        .no-scrollbar {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        /* Кастомный скроллбар для сайдбара */
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #09090b;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #27272a; 
            border-radius: 3px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #3f3f46; 
        }
        
        body {
            background-color: #09090b; /* zinc-950 */
            color: white;
            font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }
        
        .nav-item.active {
            background-color: #27272a; /* zinc-800 */
            color: white;
        }
        .nav-item.active i {
            color: #ef4444; /* red-500 */
        }

        .live-dot {
          display: inline-block;
          width: 6px;
          height: 6px;
          background-color: red;
          border-radius: 50%;
          margin-right: 6px;
          animation: blink 5s infinite;
        }

        @keyframes blink {
          0%, 50%, 100% { opacity: 1; }
          25%, 75% { opacity: 0; }
        }

        @keyframes blink {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

.loading-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  margin: 0 2px;
  animation: blink 1.4s infinite both;
}

.loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(135deg, #09090b 0%, #0f1a2d 100%);
            border-top: 2px solid #2c5494;
            padding: 20px 40px;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
            z-index: 9999;
            display: none;
            animation: slideUp 0.4s ease-out;
            color: #e6f1ff;
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
        }

        @keyframes slideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .cookie-text {
            flex: 1;
            min-width: 300px;
        }

        .cookie-text h3 {
            margin: 0 0 8px 0;
            font-size: 1.2rem;
            color: #4d90fe;
            font-weight: 600;
        }

        .cookie-text p {
            margin: 0;
            font-size: 0.95rem;
            color: #a0aec0;
            line-height: 1.5;
        }

        .cookie-text a {
            color: #4d90fe;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

        .cookie-text a:hover {
            color: #6ab0ff;
            text-decoration: underline;
        }

        .cookie-buttons {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        .cookie-btn {
            padding: 10px 24px;
            border: none;
            border-radius: 6px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            letter-spacing: 0.3px;
        }

        .cookie-btn.accept {
            background: #4d90fe;
            color: white;
        }

        .cookie-btn.accept:hover {
            background: #5da3ff;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(77, 144, 254, 0.4);
        }

        .cookie-btn.decline {
            background: rgba(255, 255, 255, 0.1);
            color: #e6f1ff;
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .cookie-btn.decline:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-1px);
        }

        .cookie-btn.settings {
            background: rgba(77, 144, 254, 0.15);
            color: #4d90fe;
            border: 1px solid rgba(77, 144, 254, 0.3);
        }

        .cookie-btn.settings:hover {
            background: rgba(77, 144, 254, 0.25);
        }

        /* ===== СТИЛИ ДЛЯ МОДАЛЬНОГО ОКНА ЛИЦЕНЗИИ ===== */
        .license-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(10, 25, 47, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            pointer-events: none;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .license-modal.active {
            opacity: 1;
            pointer-events: all;
        }

        .license-modal-content {
            background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
            border-radius: 12px;
            width: 90%;
            max-width: 500px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(77, 144, 254, 0.3);
            transform: translateY(30px) scale(0.95);
            transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
            position: relative;
        }

        .license-modal.active .license-modal-content {
            transform: translateY(0) scale(1);
        }

        .license-flag {
            position: absolute;
            top: -15px;
            right: -15px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ce1126 0%, #000000 50%, #ffd700 100%);
            border-radius: 50%;
            border: 3px solid #0a192f;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        }

        .license-logo {
            font-size: 2rem;
            font-weight: 700;
            background: linear-gradient(to right, #4d90fe, #6ab0ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px;
        }

        .license-title {
            font-size: 1.8rem;
            margin-bottom: 20px;
            color: #e6f1ff;
            font-weight: 600;
        }

        .license-text {
            color: #a0aec0;
            margin-bottom: 30px;
            font-size: 1.05rem;
            line-height: 1.6;
        }

        .license-accept-btn {
            background: #4d90fe;
            color: white;
            border: none;
            padding: 16px 45px;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.5px;
            width: 100%;
            box-shadow: 0 4px 15px rgba(77, 144, 254, 0.3);
        }

        .license-accept-btn:hover {
            background: #5da3ff;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(77, 144, 254, 0.5);
        }

        .license-accept-btn:active {
            transform: translateY(0);
        }

        /* ===== АДАПТИВНОСТЬ ===== */
        @media (max-width: 768px) {
            .cookie-banner {
                padding: 15px 20px;
            }

            .cookie-content {
                flex-direction: column;
                text-align: center;
            }

            .cookie-text {
                min-width: 100%;
            }

            .cookie-buttons {
                justify-content: center;
                width: 100%;
            }

            .cookie-btn {
                width: 100%;
                max-width: 200px;
            }

            .license-modal-content {
                padding: 30px 25px;
                width: 95%;
            }

            .license-title {
                font-size: 1.6rem;
            }

            .license-text {
                font-size: 1rem;
            }

            .license-flag {
                width: 40px;
                height: 40px;
                top: -10px;
                right: -10px;
            }
        }

        @media (max-width: 480px) {
            .cookie-banner {
                padding: 15px 15px;
            }

            .cookie-text h3 {
                font-size: 1.1rem;
            }

            .cookie-text p {
                font-size: 0.9rem;
            }

            .cookie-btn {
                padding: 10px 18px;
                font-size: 0.9rem;
            }

            .license-modal-content {
                padding: 25px 20px;
            }

            .license-logo {
                font-size: 1.7rem;
            }

            .license-title {
                font-size: 1.5rem;
            }
        }