.tg-widget-container {
            position: fixed;
            bottom: 30px;
            left: 30px; /* Изменено с right: 30px */
            z-index: 99999;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            
            opacity: 0;
            /* Начальная позиция для появления */
            transform: translateY(40px);
            transition: opacity 0.6s ease, transform 0.6s ease;
            pointer-events: none;
        }

        /* Класс видимости */
        .tg-widget-container.visible {
            opacity: 1;
            /* Когда появился - сбрасываем transform, чтобы работала анимация левитации */
            transform: translateY(0);
            pointer-events: auto;
            /* Запускаем левитацию */
            animation: tg-float 6s ease-in-out infinite;
        }

        /* АНИМАЦИЯ ЛЕВИТАЦИИ (ПАРЕНИЯ) */
        @keyframes tg-float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-12px); } /* Поднимается вверх */
            100% { transform: translateY(0px); }
        }

        .tg-widget-link {
            text-decoration: none;
            display: block;
            position: relative;
            -webkit-tap-highlight-color: transparent;
        }

        /* Основная карточка */
        .tg-widget-card {
            /* Спокойный, глубокий градиент (без анимации смены цветов) */
            background: linear-gradient(160deg, rgba(42, 171, 238, 0.95) 0%, #229ED9 100%);
            
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            
            width: 150px;
            min-height: 190px;
            padding: 22px 18px;
            border-radius: 20px;
            
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            
            color: white;
            box-shadow: 
                0 15px 35px rgba(34, 158, 217, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset;
            
            transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
            box-sizing: border-box;
            
            position: relative;
            overflow: hidden; /* Обрезаем блик, выходящий за границы */
        }

        /* ЭФФЕКТ БЛИКА (SHEEN) */
        .tg-widget-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: -200%; /* Начало далеко слева */
            width: 100%;
            height: 100%;
            background: linear-gradient(
                to right, 
                rgba(255,255,255,0) 0%, 
                rgba(255,255,255,0.3) 50%, 
                rgba(255,255,255,0) 100%
            );
            transform: skewX(-25deg);
            /* Блик пробегает каждые 6 секунд */
            animation: tg-shine 6s infinite; 
            pointer-events: none;
        }

        @keyframes tg-shine {
            0% { left: -200%; }
            20% { left: 200%; } /* Быстрый пролет */
            100% { left: 200%; } /* Пауза */
        }

        /* Убрали @keyframes tg-gradient-flow так как он больше не нужен */

        /* Ховер эффект */
        .tg-widget-link:hover .tg-widget-card {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 25px 50px rgba(34, 158, 217, 0.5);
            /* При ховере можно ускорить градиент или остановить левитацию, если нужно */
        }

        /* Контент внутри */
        .tg-content-top {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            margin-bottom: 10px;
            position: relative;
            z-index: 2; /* Текст поверх блика */
        }

        .tg-typewriter-text {
            font-size: 16px;
            font-weight: 700;
            line-height: 1.25;
            min-height: 40px;
            display: block;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .tg-cursor {
            display: inline-block;
            width: 2px;
            height: 1em;
            background-color: #fff;
            margin-left: 2px;
            vertical-align: sub;
            animation: tg-blink 1s step-end infinite;
        }

        @keyframes tg-blink { 50% { opacity: 0; } }

        .tg-text-sub {
            margin-top: 10px;
            font-size: 12px;
            line-height: 1.3;
            color: rgba(255,255,255, 0.9);
            font-weight: 500;
            background: rgba(255,255,255,0.15);
            padding: 4px 8px;
            border-radius: 6px;
        }
        
        .tg-text-highlight {
            font-weight: 800;
            color: #fff;
            border-bottom: 1px solid rgba(255,255,255,0.5);
        }

        .tg-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            margin-top: auto;
            padding-top: 15px;
            position: relative;
            z-index: 2;
        }

        .tg-icon-clean svg {
            width: 32px;
            height: 32px;
            fill: #fff;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
            display: block;
        }
        
        .tg-action-circle {
            width: 34px;
            height: 34px;
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255,255,255,0.4);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .tg-widget-link:hover .tg-action-circle {
            background: #fff;
            color: #229ED9;
            transform: rotate(-45deg);
        }

        .tg-close-btn {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 24px;
            height: 24px;
            background: #fff;
            color: #333;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            border: none;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.2s;
            z-index: 100000;
        }

        .tg-widget-container:hover .tg-close-btn {
            opacity: 1;
            transform: scale(1);
        }

        @media (max-width: 480px) {
            .tg-widget-container {
                bottom: 20px;
                left: 20px; /* Изменено с right: 20px */
            }
            .tg-close-btn {
                opacity: 0.8; 
                transform: scale(1);
                top: -8px;
                right: -8px;
            }
        }