/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: Your Name
Author URI: https://yourwebsite.com/
Template: astra
Version: 1.0.0
*/

/* Your custom CSS starts here */

/*Top promotion bar*/
/* TOP BAR */
.lucky-topbar {
    width: 100%;
    height: 40px;
    background: #ff2d2d;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 99999;
}

/* TRACK (moving container) */
.lucky-track {
    display: flex;
    width: max-content;
    animation: tickerMove 10s linear infinite; /* slower + smoother */
}

/* EACH ITEM */
.lucky-item {
    white-space: nowrap;
    padding-right: 80px;
    font-size: 14px;
    color: #fff;
}

/* LINK STYLE */
.lucky-topbar a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}

/* 🔥 TRUE SEAMLESS ANIMATION */
@keyframes tickerMove {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* PAUSE ON HOVER */
.lucky-topbar:hover .lucky-track {
    animation-play-state: paused;
}