.banner{        
    height: 371px;            
    width: 1024px;
    z-index: 0;
    margin:  -20px auto 0;
    text-align: center;
    //overflow: hidden;
    position: relative;
}
.banner .slider{
    position: absolute;
    width: 150px;
    height: 170px;
    top: 10%;
    left: calc(50% - 75px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 60s linear infinite;
    z-index: 2;
    font-size: 14px;
}

.banner .slider .item {
    width: 100%;
}

.banner .slider .item img {
    box-shadow: 0 0 15px rgba(112, 75, 2, 0.867);
}

.banner .slider .item .angelName {
    font-size: 12px;
    top: 3%;
    left: 50%;
    padding: 2px 6px 0;
}

.banner .slider .item .nettProfitPercentage {
    font-size: 21px;            
    bottom: 33%;
    left: 50%;
    color: #00994f;
    font-weight: bold;
    padding: 2px 6px 0;
}

.banner .slider .item .dailyPercentage {
    font-size: 12px;
    bottom: 3%;
    left: 50%;      
    color: #00994f;      
    padding: 2px 6px 0;
}

.banner .slider .item .angelName, .banner .slider .item .nettProfitPercentage, .banner .slider .item .dailyPercentage {
    position: absolute;
    
    transform: translateX(-50%);
    text-align: center;            
    max-width: 95%;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    
    background-color: #000000;            
    border-radius: 5px;
    text-align: center;            
    
}


@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-5deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-5deg) rotateY(360deg);
    }
}

.banner .slider .item{
    width: 150px;
    height: 170px;
    position: absolute;
    inset: 0;
    transform:
        rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(350px);
    text-align: center;
    transform-style: preserve-3d;
    border-radius: 8px;
    padding-bottom: 10px;
    cursor: pointer;
    backface-visibility: hidden; /* Prevents text blurring when rotating */
}

.banner .slider .item img{
    
    height: 170px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 0 5px #0004;
    -webkit-backface-visibility: hidden; /* Improves anti-aliasing for images */
    backface-visibility: hidden;
}

@media screen and (max-width: 1023px) {
    .banner{
        height: 300px;
    }
    .banner .slider{
        width: 100px;
        height: 120px;
        left: calc(50% - 50px);
        margin-top: -18px;
    }
    .banner .slider .item{
        width: 100px;
        height: 120px;
        
        transform:
            rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(200px);
    }
    .banner .slider .item img{
        width: 100px;
        height: 120px;
        object-fit: cover;
    }
}

@media screen and (max-width: 767px) {
    .banner{
        height: 290px;
    }
    .banner .slider{
        width: 75px;
        height: 100px;
        left: calc(50% - 37px);
        margin-top: -18px;
    }
    .banner .slider .item{
        width: 75px;
        height: 100px;
        transform:
            rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(300px);
    }
    .banner .slider .item img{
        width: 75px;
        height: 100px;
        object-fit: cover;
    }
    .banner .slider .item .dailyPercentage {
        display: none;
    }
    .banner .slider .item .angelName {
        font-size: 9px;        
        width: 95%;
    }
    .banner .slider .item .nettProfitPercentage {
        font-size: 18px;
        bottom: 24%;
    }
}