#tryvibe-app-banner {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: 9999;
    /* Ограничиваем ширину и центрируем */
    display: flex;
    justify-content: center;
    pointer-events: none;
    background: transparent;
    transition: none;
}
#tryvibe-app-banner .tryvibe-banner-inner {
    position: relative;
    top: -120px;
    width: 540px;
    max-width: 96vw;
    background: linear-gradient(90deg, #ff6a00 0%, #ee0979 100%);
    color: #fff;
    box-shadow: 0 8px 32px 0 rgba(34,34,68,0.18), 0 2px 8px rgba(0,0,0,0.10);
    border-radius: 0 0 18px 18px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.08em;
    overflow: hidden;
    opacity: 0.98;
    backdrop-filter: blur(2px);
    /* --- выкручивающая анимация --- */
    transform-origin: top center;
    transform: rotateX(-90deg) scaleY(0.7);
    opacity: 0;
    transition:
        top 0.9s cubic-bezier(.4,0,.2,1),
        opacity 0.9s cubic-bezier(.4,0,.2,1),
        transform 0.9s cubic-bezier(.4,0,.2,1);
    pointer-events: auto;
    min-height: 160px; /* увеличено для полной высоты */
    height: auto;
}
#tryvibe-app-banner.show .tryvibe-banner-inner {
    top: 0;
    opacity: 1;
    transform: rotateX(0deg) scaleY(1);
    pointer-events: auto;
    transition-delay: 0.15s; /* плавное появление */
}
#tryvibe-app-banner.hide .tryvibe-banner-inner {
    top: -120px;
    opacity: 0;
    transform: rotateX(-90deg) scaleY(0.7);
    transition:
        top 0.9s cubic-bezier(.4,0,.2,1),
        opacity 0.9s cubic-bezier(.4,0,.2,1),
        transform 0.9s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.tryvibe-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 38px 32px 32px; /* увеличено */
    gap: 18px;
    flex-wrap: wrap;
    min-height: 160px; /* увеличено для полной высоты */
    height: auto;
    position: relative;
}
.tryvibe-banner-appicon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-right: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background: #fff;
    object-fit: cover;
    border: 2px solid #fff3;
}
.tryvibe-banner-main {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1 1 auto;
    min-width: 0;
}
.tryvibe-banner-title {
    font-size: 1.18em;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-shadow: 0 2px 8px #0002;
}
.tryvibe-banner-desc {
    font-size: 0.98em;
    opacity: 0.92;
    margin-bottom: 0;
    margin-top: 2px;
    line-height: 1.3;
}
.tryvibe-banner-btns {
    display: flex;
    gap: 10px;
    margin-left: 18px;
}
.tryvibe-banner-btn {
    background: #fff;
    color: #ee0979;
    border: none;
    border-radius: 6px;
    padding: 9px 22px;
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    box-shadow: 0 2px 8px #0001;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    gap: 7px;
}
.tryvibe-banner-btn:hover, .tryvibe-banner-btn:focus {
    background: #ee0979;
    color: #fff;
    box-shadow: 0 4px 16px #ee097955;
}
.tryvibe-banner-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2em;
    margin-left: 18px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
}
.tryvibe-banner-close:hover {
    opacity: 1;
}
.tryvibe-banner-checkbox {
    display: flex;
    align-items: center;
    font-size: 0.97em;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    margin-left: 18px;
    opacity: 0.85;
    position: relative;
}
.tryvibe-banner-checkbox input[type="checkbox"] {
    /* Скрываем стандартный чекбокс */
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #ee0979;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #ee097922;
    outline: none;
    cursor: pointer;
    position: relative;
    display: inline-block;
}
.tryvibe-banner-checkbox input[type="checkbox"]:hover {
    border-color: #ff6a00;
    box-shadow: 0 2px 12px #ee097955;
}
.tryvibe-banner-checkbox input[type="checkbox"]:checked {
    border-color: #ff6a00;
    background: linear-gradient(90deg, #ff6a00 0%, #ee0979 100%);
}
.tryvibe-banner-checkbox input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    left: 6px;
    top: 2px;
    width: 7px;
    height: 13px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: border-color 0.2s;
}
.tryvibe-banner-checkbox input[type="checkbox"]::after {
    content: '';
    display: block;
    position: absolute;
    left: 6px;
    top: 2px;
    width: 7px;
    height: 13px;
    border: solid transparent;
    border-width: 0 3px 3px 0;
    border-radius: 2px;
    transform: rotate(45deg);
    transition: border-color 0.2s;
}
@media (max-width: 700px) {
    #tryvibe-app-banner .tryvibe-banner-inner {
        width: 98vw;
        max-width: 98vw;
        border-radius: 0 0 12px 12px;
        padding: 0;
        min-height: 100px;
    }
    .tryvibe-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 24px 10px 24px 10px; /* увеличено */
        min-height: 100px;
    }
    .tryvibe-banner-main {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    .tryvibe-banner-btns {
        margin-left: 0;
        width: 100%;
        gap: 8px;
    }
    .tryvibe-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 0;
    }
    .tryvibe-banner-close {
        right: 10px;
        top: 10px;
    }
}
@media (max-width: 480px) {
    .tryvibe-banner-appicon {
        width: 38px;
        height: 38px;
        margin-right: 10px;
    }
    .tryvibe-banner-title {
        font-size: 1em;
    }
}
