/* Scrolling Android app announcement — asmtrust.in */
.asm-app-ticker {
    background: linear-gradient(90deg, #145239 0%, #1b6b4a 45%, #047857 100%);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.asm-app-ticker__viewport {
    overflow: hidden;
    max-width: 100%;
    padding: 0.5rem 0;
}

.asm-app-ticker__track {
    display: flex;
    width: max-content;
    animation: asm-app-ticker-scroll 32s linear infinite;
}

.asm-app-ticker__segment {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding-right: 2.5rem;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
}

.asm-app-ticker__part {
    opacity: 0.98;
}

.asm-app-ticker__dot {
    opacity: 0.55;
    font-size: 0.75rem;
}

.asm-app-ticker__cta {
    display: inline-flex;
    align-items: center;
    margin-left: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    line-height: 1.3;
}

.asm-app-ticker__cta--ghost {
    background: transparent;
}

.asm-app-ticker__cta:hover,
.asm-app-ticker__cta:focus-visible {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

@keyframes asm-app-ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .asm-app-ticker__track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
        padding: 0 0.75rem;
    }

    .asm-app-ticker__segment:last-child {
        display: none;
    }

    .asm-app-ticker__segment {
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding-right: 0;
    }
}
