﻿.splide__slide img {
    width: 100%;
    height: auto;
    /*object-fit: cover;*/
}

/*#image-carousel {
    width: 960px;
    height: 338px;
}*/

.casino-image-wrapper {
    position: relative;
}

.jackpot-total {
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgba(170, 23, 15, 1);
    color: white;
    padding: 4px;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.jackpot-total-text {
    font-weight: bold;
    font-size: 1rem;
}

#image-carousel-mobile {
    /* width:500px;*/
}

.video-container {
    position: relative;
    width: 100%;
    min-height: 150px;
    aspect-ratio: 3 / 1;
}

    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.overlay-text {
    position: absolute;
    top: 63%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    text-align: center;
    background: rgba(0,0,0,0,5);
    padding: 10px;
    border-radius: 10px;
    height: 100px;
    font-family: 'Roboto', sans-serif;
}

.prizeDraw-canvas {
    width: 961px;
    height: 470px;
    margin-left: -16px;
    position: absolute;
    z-index: 0;
}

.prizewinner-main-div {
    height: 280px;
    margin-top: 20px;
    border: solid 2px gold;
    background: rgba(0,0,0,0.3);
    width: 480px;
}

.prize-winner-trophy {
    text-align: center;
    margin-top: 20px;
    color: gold;
    position: absolute;
    z-index: 1;
}

.prize-draw-schedule-text {
    text-align: center;
    color: gold;
    font-size: 16px;
    padding-top: 25%;
}

.prize-draw-schedule-overview {
    color: gold;
    font-size: 46px;
    margin-bottom: 30px;
}

.prize-winner-scrolltext {
    color: gold;
}

.check-result-text {
    font-size: 10px;
    color: white;
}

.next-prizedraw {
    width: 480px;
    text-align: center;
    position: absolute;
    z-index: 1;
    margin-top: 100px;
}

.prize-draw-soon {
    text-align: center;
    color: gold;
    font-size: 12px;
    /* font-size:30px;*/
}

.prize-draw-winner {
    /* position: absolute;
    margin-top: 39px;
    text-align: center;
    width: 480px;*/
}

.trophy-stand-img {
    margin-top: -11px;
    width: 110px;
}

.prize-winner-name {
    color: black;
    margin-top: 18%;
    /* margin-bottom:8px;*/
    font-size: 16px;
    font-weight: bold;
}

.prize-name {
    color: black;
    font-size: 14px;
    margin-top: 7%;
    font-weight: bold;
}

.image-scroll-wrapper {
    overflow: hidden;
}

.image-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* snap */
}

    .image-scroll .featured-img-wrapper {
        flex: 0 0 calc(100% / 8); /* desktop shows 6 */
        max-width: calc(100% / 8);
        padding: 0.25rem;
        box-sizing: border-box;
        border-radius: 8px;
        scroll-snap-align: start; /* snap per image */
     /*   aspect-ratio: 210 / 294;
        border-radius: 25px !important;*/
    }

        .image-scroll .featured-img-wrapper img {
            width: 100%;
            aspect-ratio: 210 / 210;
            border-radius: 7px !important;
        }

        .image-scroll .featured-img-wrapper .mt-2 {
            margin-top: 0.5rem;
            font-size: 0.9rem;
            color: #333;
        }

.casino-game-img {
    cursor: pointer;
}

.game-name {
    font-size: 0.9rem;
    color: #333;
    text-align: center;
}


.featured-heading-text{
    font-size:30px;
    margin-left:1.2rem;
    font-weight:bold;
}

.promo-img{
    width:100%;
}
/* Tablet: 3 images visible */
@media (max-width: 992px) {

    .image-scroll .featured-img-wrapper {
        flex: 0 0 calc(100% / 6); /* desktop shows 6 */
        max-width: calc(100% / 6);
        padding: 0.25rem;
        box-sizing: border-box;
        border-radius: 8px;
        scroll-snap-align: start; /* snap per image */
        /*   aspect-ratio: 210 / 294;
        border-radius: 25px !important;*/
    }

    .featured-heading-text {
        font-size:16px;
        margin-bottom:-15px;
    }
}

/*@media(max-width:768px){
    .video-container {
        height: 50vh;
    }
}*/

/* Mobile: 2 images visible */
@media (max-width: 576px) {

    .jackpot-total {
        position: absolute;
        top: 0px;
        left: 0px;
        background: rgba(170, 23, 15, 1);
        color: white;
        padding: 0px;
        width: 100%;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .jackpot-total-text {
        font-weight: bold;
        font-size: 0.5rem;
    }

    .image-scroll .featured-img-wrapper {
        flex: 0 0 calc(100% / 4); /* desktop shows 6 */
        max-width: calc(100% / 4);
        padding: 0.25rem;
        box-sizing: border-box;
        border-radius: 8px;
        scroll-snap-align: start; /* snap per image */
        /*   aspect-ratio: 210 / 294;
        border-radius: 25px !important;*/
    }

    /*.image-scroll .featured-img-wrapper img {
        flex: 0 0 calc(100% / 4);
        max-width: calc(100% / 4);
        aspect-ratio: 210 / 294;
        border-radius: 25px !important;
    }*/
}

/* Optional: hide scrollbar */
.image-scroll::-webkit-scrollbar {
    display: none;
}

.image-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}



@media (max-width: 380px) {
    .prize-name {
        margin-top: 11%;
    }
}

.previous-winners-header {
    color: gold;
    text-align: center;
    font-size: 46px;
}

#prize-draw-schedule-div {
    margin-left: 16px;
}

.prize-draw-winner-text {
    text-align: center;
    color: gold;
    font-size: 12px;
    margin-top: 100px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.prize-draw-winner {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 5s;
}


