/* Top Bar CTA – mobile-first */
.top-style1 p {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.4;
}

.top-bar-message {
    display: inline-block;
}

.top-bar-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 2px 0;
    border: none;
    background: transparent;
    color: #eed174;
    font-size: inherit;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    line-height: inherit;
    cursor: pointer;
    vertical-align: baseline;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    animation: topBarCtaAnimate 5s ease-in-out infinite;
    transition: color 300ms ease;
}

.top-bar-cta::before {
    content: '';
    position: absolute;
    inset: -6px -10px;
    border-radius: 20px;
    background: radial-gradient(ellipse at center, rgba(238, 209, 116, 0.45) 0%, rgba(238, 209, 116, 0) 70%);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    animation: topBarCtaGlow 4s ease-in-out infinite;
}

.top-bar-cta i {
    font-size: 0.85em;
    line-height: 1;
    opacity: 0.95;
    transition: opacity 300ms ease, transform 300ms ease;
}

.top-bar-cta-text {
    position: relative;
    display: inline-block;
}

.top-bar-cta-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0.8;
    transition: transform 300ms ease, opacity 300ms ease;
}

.top-bar-cta:hover,
.top-bar-cta:focus-visible {
    color: #ffffff;
    outline: none;
    animation-play-state: paused;
    transform: scale(1.05);
    transition: color 300ms ease, transform 300ms ease;
}

.top-bar-cta:hover i,
.top-bar-cta:focus-visible i {
    opacity: 1;
    transform: scale(1.08);
}

.top-bar-cta:hover .top-bar-cta-text::after,
.top-bar-cta:focus-visible .top-bar-cta-text::after {
    transform: scaleX(1);
    opacity: 1;
}

.top-bar-cta:focus-visible {
    box-shadow: 0 0 0 2px rgba(238, 209, 116, 0.5);
    border-radius: 4px;
}

@keyframes topBarCtaAnimate {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-1px) scale(1.02);
        opacity: 0.94;
    }
}

@keyframes topBarCtaGlow {
    0%, 100% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.55;
        transform: scale(1.05);
    }
}

@media only screen and (min-width: 576px) {
    .top-style1 p {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media only screen and (min-width: 768px) {
    .top-bar-cta {
        gap: 8px;
    }

    @keyframes topBarCtaAnimate {
        0%, 100% {
            transform: translateY(0) scale(1);
            opacity: 1;
        }
        50% {
            transform: translateY(-2px) scale(1.03);
            opacity: 0.92;
        }
    }

    @keyframes topBarCtaGlow {
        0%, 100% {
            opacity: 0;
            transform: scale(0.92);
        }
        50% {
            opacity: 0.7;
            transform: scale(1.08);
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-bar-cta,
    .top-bar-cta::before {
        animation: none;
    }

    .top-bar-cta:hover,
    .top-bar-cta:focus-visible {
        transform: none;
    }
}
