﻿/* ==========================================================================
   BUBUSOFTWARE - Infinite Continuous Non-Stop Reviews Marquee Styles
   ========================================================================== */

.bubu-reviews-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.bubu-reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 10px 0;
}

.bubu-reviews-track.track-top {
    animation: scrollLeft 65s linear infinite !important;
}

.bubu-reviews-track.track-bottom {
    animation: scrollRight 75s linear infinite !important;
    margin-top: 10px;
}

/* Continuously move without pausing on hover */
.bubu-reviews-wrapper:hover .bubu-reviews-track,
.bubu-reviews-track:hover,
.bubu-review-card:hover {
    animation-play-state: running !important;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.bubu-review-card {
    flex: 0 0 340px;
    background: linear-gradient(180deg, rgba(14, 18, 30, 0.92) 0%, rgba(8, 10, 18, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    cursor: default;
    user-select: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bubu-review-card:hover {
    border-color: rgba(74, 158, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(74, 158, 255, 0.15);
}

.bubu-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bubu-review-stars {
    display: flex;
    gap: 3px;
    color: #FFD700;
    font-size: 12px;
}

.bubu-review-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.bubu-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.bubu-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4A9EFF, #7B61FF);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #FFF;
    flex-shrink: 0;
}

.bubu-review-name {
    font-size: 14px;
    font-weight: 800;
    color: #FFF;
    line-height: 1.2;
}

.bubu-review-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
    width: fit-content;
}

.bubu-review-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12.5px;
    line-height: 1.55;
    margin: 0;
}
