/* ================= RESET ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    overflow-x:hidden;
    font-family:Arial,sans-serif;
    background:#828385;
}

/* ================= BODY ================= */

.review-body{
    position:relative;
    width:100%;
    min-height:100vh;
    overflow:hidden;
    background:#828385;
}

/* ================= BACKGROUND ================= */

#bg-animation{
    position:absolute;
    inset:0;
    overflow:hidden;
    z-index:0;
}

#bg-animation span{
    position:absolute;
    display:block;
    animation:float 18s linear infinite;
}

/* Circle */

.circle{
    width:80px;
    height:80px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    top:10%;
    left:15%;
}

/* Cube */

.cube{
    width:60px;
    height:60px;
    background:rgba(0,0,0,0.15);
    top:70%;
    left:10%;
}

/* Star */

.star{
    width:0;
    height:0;
    border-left:30px solid transparent;
    border-right:30px solid transparent;
    border-bottom:60px solid rgba(255,255,255,0.2);
    top:40%;
    left:80%;
}

/* Animation */

@keyframes float{

    0%{
        transform:translateY(0) rotate(0deg);
    }

    50%{
        transform:translateY(-120px) rotate(180deg);
    }

    100%{
        transform:translateY(0) rotate(360deg);
    }

}

/* ================= SECTION ================= */

#rev-section{
    position:relative;
    z-index:2;
    width:100%;
    padding:60px 15px;
    overflow:hidden;
}

/* ================= TITLE ================= */

#rev-title{
    text-align:center;
    font-size:38px;
    font-weight:700;
    color:#fff;
    margin-bottom:45px;
    line-height:1.3;
}

/* ================= ROW ================= */

.rev-row{
    width:100%;
    overflow:hidden;
    margin-bottom:35px;
    position:relative;
}

/* ================= TRACK ================= */

.rev-track{
    display:flex;
    gap:20px;
    width:max-content;
    animation:scrollLeft 45s linear infinite;
    will-change:transform;
}

/* Reverse */

.rev-row-reverse .rev-track{
    animation:scrollRight 45s linear infinite;
}

/* Pause */

.rev-track:hover{
    animation-play-state:paused;
}

/* ================= ANIMATION ================= */

@keyframes scrollLeft{

    0%{
        transform:translateX(0);
    }

    100%{
        transform:translateX(-50%);
    }

}

@keyframes scrollRight{

    0%{
        transform:translateX(-50%);
    }

    100%{
        transform:translateX(0);
    }

}

/* ================= CARD ================= */

.rev-card{
    min-width:320px;
    max-width:320px;
    background:#fff;
    padding:22px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,0.18);
    transition:0.35s ease;
    flex-shrink:0;

    overflow:hidden;
    word-break:break-word;
}

/* Hover */

.rev-card:hover{
    transform:translateY(-8px) scale(1.03);
}

/* Rating */

.rev-rating{
    font-size:20px;
    margin-bottom:10px;
}

/* Text */

.rev-card p{
    font-size:15px;
    line-height:1.7;
    color:#333;
    word-break:break-word;
}

/* Name */

.rev-card h3{
    margin-top:14px;
    font-size:15px;
    font-weight:700;
    color:#0b57d0;
    word-break:break-word;
}

/* ================= BUTTON ================= */

.video-btn{
    margin-top:14px;
    padding:10px 16px;
    border:none;
    border-radius:30px;

    font-size:13px;
    font-weight:600;
    color:#fff;

    cursor:pointer;

    background:linear-gradient(135deg,#ff416c,#ff4b2b);

    box-shadow:0 5px 15px rgba(255,75,43,0.35);

    transition:0.3s ease;

    backdrop-filter:blur(5px);

    max-width:100%;
}

/* Icon */

.video-btn::before{
    content:"▶ ";
    font-size:12px;
}

/* Hover */

.video-btn:hover{
    transform:translateY(-2px) scale(1.05);
    box-shadow:0 10px 20px rgba(255,75,43,0.5);
}

/* Click */

.video-btn:active{
    transform:scale(0.95);
}

/* ================= TABLET ================= */

@media(max-width:1024px){

    #rev-title{
        font-size:32px;
    }

    .rev-card{
        min-width:280px;
        max-width:280px;
    }

}

/* ================= MOBILE ================= */

@media(max-width:768px){

    html,
    body{
        overflow-x:hidden;
    }

    #rev-section{
        padding:40px 12px;
        overflow:hidden;
    }

    #rev-title{
        font-size:28px;
        margin-bottom:30px;
    }

    /* ROW FIX */

    .rev-row{
        overflow:visible !important;
        height:auto !important;
        margin-bottom:20px;
    }

    /* TRACK FIX */

    .rev-track{

        display:flex;
        flex-direction:column;

        align-items:center;
        justify-content:center;

        width:100% !important;
        height:auto !important;

        gap:18px;

        animation:none !important;
        transform:none !important;
    }

    /* CARD FIX */

    .rev-card{

        width:100% !important;
        min-width:100% !important;
        max-width:100% !important;

        height:auto !important;

        margin:0 auto;

        padding:18px;

        border-radius:16px;

        overflow:visible !important;
    }

    .rev-card p{
        font-size:14px;
        line-height:1.6;
    }

    .rev-card h3{
        font-size:14px;
    }

    /* BUTTON FIX */

    .video-btn{
        width:100%;
        text-align:center;
        padding:12px;
        font-size:14px;
    }

    /* Background small */

    .circle{
        width:50px;
        height:50px;
    }

    .cube{
        width:40px;
        height:40px;
    }

    .star{
        border-left:20px solid transparent;
        border-right:20px solid transparent;
        border-bottom:40px solid rgba(255,255,255,0.2);
    }

}

/* ================= SMALL PHONE ================= */

@media(max-width:480px){

    #rev-section{
        padding:30px 10px;
    }

    #rev-title{
        font-size:24px;
    }

    .rev-row{
        overflow:visible !important;
    }

    .rev-track{
        width:100% !important;
    }

    .rev-card{

        width:100% !important;
        min-width:100% !important;
        max-width:100% !important;

        padding:16px;

        border-radius:14px;
    }

    .rev-card p{
        font-size:13.5px;
    }

    .video-btn{
        font-size:13px;
        padding:11px;
    }

}