/* Container and Sticky Background */
.testimonial-live-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.testimonial-banner-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-attachment: fixed;
    background-size: cover;
    z-index: -1;
}

.testimonial-live-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 0;
}

/* The "Window" that shows 3 comments */
.live-comment-wrapper {
    height: 480px; /* Fixed height to fit exactly 3 cards + margins */
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(transparent, black 15%, black 85%, transparent);
}

/* The Moving Track */
.live-comment-track {
    display: flex;
    flex-direction: column;
    animation: verticalScroll 20s linear infinite;
}

.live-comment-track:hover {
    animation-play-state: paused; /* Stops on hover so users can read */
}

/* Individual Card Styling */
.live-comment-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--smartmove-color-theme-gold);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 0 15px 15px 0;
    height: 140px; /* Consistent height for the animation math */
}

.live-comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #28a745; /* Green for "Live" */
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px #28a745;
    animation: pulse 1.5s infinite;
}

.live-comment-name {
    font-size: 16px;
    color: var(--smartmove-white);
    font-family: var(--smartmove-font-two);
    margin: 0;
    flex-grow: 1;
}

.live-time {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.live-comment-text {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.6;
}

/* Vertical Animation Keyframes */
@keyframes verticalScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } /* Scrolls half-way through the doubled list */
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}