/* Стили для баннера */
#telegramBanner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    transform: translateY(150%);
    transition: transform 0.5s ease-in-out;
}

#telegramBanner.show {
    transform: translateY(0);
}

.banner-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #030018 0%, #ff620a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.banner-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><path fill="%23ffffff" fill-opacity="0.1" d="M0 192l48 32c48 32 144 96 240 90.7C384 309 480 235 576 224s192 53 288 74.7c96 21.3 192 11.3 288-16 96-27.3 192-69.3 240-90.7l48-21.3V0H0z"/></svg>');
    background-size: cover;
}

.car-icon {
    font-size: 70px;
    color: white;
    z-index: 2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.banner-content {
    padding: 20px;
}

.banner-content h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 20px;
}

.banner-content p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 12px;
}

.btn-telegram {
    background: #ff620a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    background: #000;
    color: #FF620A;
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.3);
}

.btn-close-banner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.btn-close-banner:hover {
    background: rgba(255, 255, 255, 0.5);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    #telegramBanner {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
    }
}