/* Main page */

.casino-page{
    background:#121212;
    min-height:100vh;
    padding:30px 0 60px;
}

/* Match header width */

.casino-container{
    width:100%;
    max-width:1400px;
    margin:0 auto;
    padding:0 20px;
}

/* Lobby */

.casino-lobby{
    width:100%;
}

/* Large desktops */

@media (min-width:1600px){

    .casino-container{
        max-width:1500px;
    }

}

/* Tablets */

@media (max-width:992px){

    .casino-container{
        padding:0 15px;
    }

}

/* Phones */

@media (max-width:576px){

    .casino-container{
        padding:0 10px;
    }

}

/* ==========================================
   HERO
========================================== */
/* =========================================
   HERO SLIDER 2
========================================= */

.hero-slider2{
    position:relative;
    width:100%;
    overflow:hidden;
    border-radius:18px;
}

.hero-track2{
    display:flex;
    will-change:transform;
}

.hero-slide2{
    flex:0 0 100%;
    min-width:100%;
}

.hero-slide2 img{
    display:block;
    width:100%;
    height:670px;
    border-radius:18px;
}

@media (max-width: 991px){

    .hero-slider2{
        height:auto;
    }

    .hero-track2,
    .hero-slide2{
        height:auto;
    }

    .hero-slide2 img{
        height:auto;
        width:100%;
        object-fit:unset; /* or simply remove object-fit */
    }

}



/* =====================================================
   HERO BANNER
===================================================== */

.hero-banner{

    width:100%;

    margin-bottom:18px;

}

.hero-slider{

    width:100%;

    overflow:hidden;

    border-radius:18px;

    background:#1b1b1b;

    box-shadow:0 10px 30px rgba(0,0,0,.35);

}

.hero-slide{

    width:100%;

}

.hero-slide img{

    width:100%;

    display:block;

    border-radius:18px;

}

/* Desktop */

@media(min-width:992px){

    .hero-slide img{

        height:690px;

        object-fit:cover;

    }

}

/* Tablet */

@media(max-width:991px){

    .hero-slide img{

        height:260px;

        object-fit:cover;

    }

}

/* Mobile */

@media(max-width:576px){

    .hero-banner{

        margin-bottom:15px;

    }

    .hero-slide img{

        height:auto;

        border-radius:12px;

    }

}

/* =========================================
   WINNER TICKER
========================================= */

.winner-ticker{

    overflow:hidden;

    margin-bottom:30px;

}

.winner-track{

    display:flex;

    gap:14px;

    width:max-content;

}

.winner-card{

    width:180px;

    height:60px;

    background:#242424;

    border-radius:10px;

    display:flex;

    align-items:center;

    padding:8px;

    flex-shrink:0;

}

.winner-card img{

    width:40px;

    height:40px;

    border-radius:6px;

    margin-right:10px;

}

.winner-info{

    display:flex;

    flex-direction:column;

}

.winner-amount{

    color:#fff;

    font-size:18px;

    font-weight:700;

    line-height:1;

}

.winner-user{

    color:#b5b5b5;

    font-size:13px;

    margin-top:5px;

}

/*==================================================
FEATURED GAMES
==================================================*/

.featured-games{
    margin-top:30px;
}

.section-heading{
    margin-bottom:14px;
}

.section-heading h3{
    margin:0;
    color:#fff;
    font-size:22px;
    font-weight:700;
}

/*==================================================
GRID
==================================================*/

.games-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
}

/*==================================================
CARD
==================================================*/

.game-card{

    position:relative;

    background:#303030;

    border-radius:6px;

    overflow:hidden;

    cursor:pointer;
    padding: 0px !important;

    transition:.25s ease;

    border:1px solid rgba(255,255,255,.06);

}

.game-card:hover{

    transform:translateY(-4px);

    box-shadow:0 14px 30px rgba(0,0,0,.45);

}

/*==================================================
IMAGE
==================================================*/

.game-image{

    position:relative;

    width:100%;

    height:350px;

    overflow:hidden;

    line-height:0;

}

.game-image img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .35s ease;

}

.game-card:hover .game-image img{

    transform:scale(1.06);

}

/*==================================================
SHINE
==================================================*/

.game-image:after{

    content:"";

    position:absolute;

    top:0;

    left:-150%;

    width:45%;

    height:100%;

    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    pointer-events:none;

}

.game-card:hover .game-image:after{

    animation:shine .8s linear;

}

@keyframes shine{

    to{

        left:150%;

    }

}

/*==================================================
HEART
==================================================*/

.game-heart{

    position:absolute;

    top:8px;

    right:8px;

    width:30px;

    height:30px;

    border-radius:50%;

    background:rgba(0,0,0,.55);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:16px;

    z-index:5;

    transition:.25s;

}

.game-card:hover .game-heart{

    transform:scale(1.1);

}

/*==================================================
INFO
==================================================*/

.game-info{

    padding:0px 10px 5px;

}

.game-title{

    margin:0 0 4px;

    color:#fff;

    font-size:16px;

    font-weight:600;

    line-height:1.25;

    text-align:left;

    white-space:nowrap;

    overflow:hidden;

    text-overflow:ellipsis;

}

/*==================================================
FOOTER
==================================================*/

.game-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;


}

.game-status{

    font-size:11px;

    font-weight:600;

}

.trending{

    color:#ff9800;

}

.live{

    color:#46d46a;

}

.game-likes{

    color:#1877F2;

    font-size:11px;

    font-weight:600;

}

/*==================================================
MOBILE
==================================================*/

@media(max-width:991px){

    .games-grid{

        grid-template-columns:repeat(2,minmax(0,1fr));

        gap:10px;

    }

    .game-image{

        height:180px;

    }

    .game-heart{

        width:28px;
        height:28px;
        font-size:15px;

    }

    .game-info{

        padding:0px 3px 4px !important;

    }

    .game-title{

        font-size:16px;

    }

    .game-status,
    .game-likes{

        font-size:10px;

    }

}