/* Game cards */
.online-symbol {
    height: 8px;
    width: 8px;
    background-color: #00ff00;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.favorite-icon {
    cursor: pointer;
    color: #fff;
    font-size: 1.6em;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.favorite-icon:hover,
.favorite-icon .fa-solid {
    color: #fe00fe;
}

.game-grid {
    padding: 40px 20px;
}

.game-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px #2ADFEC;
}

.game-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.game-title {
    font-size: .765em; 
    padding: 8px 12px;
    background: var(--tertiary_800);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
}

.jackpot-label {
    background: #202733;
    padding: 4px 0px;
}

.jackpot-label i {
  color: #ffb60c;
}

@media (max-width: 992px) {
    .filtered-game-title {
        font-size: 0.9rem;
    }
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-wrapper img {
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: auto;
}

.image-wrapper img.loaded {
    opacity: 1;
}

.skeleton-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #333 25%, #444 50%, #333 75%);
    background-size: 400% 100%;
    animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
    0% { background-position: -400px 0; }
    100% { background-position: 400px 0; }
}

.image-wrapper img.loaded + .skeleton-loader {
    display: none;
}

/* Overlay & play icon */
.hotgames, 
.newgames,
.games-swiper-container { 
    margin-top: 30px;
    padding: 0 0 30px 0;
}
.hotgames, 
.newgames {
    border-bottom: 1px solid #262833;
}

/* Custom arrows next to View All */
/* Swiper navigation buttons */
.new-prev,
.new-next,
.hot-prev,
.hot-next,
.games-swiper-next,
.games-swiper-prev,
.testimonial-next,
.testimonial-prev,
.testimonial-next,
.testimonial-prev {
    /* border-radius: 50%; */
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
    font-size: 14px;
}

.new-prev:hover,
.new-next:hover,
.hot-prev:hover,
.hot-next:hover,
.games-swiper-next:hover,
.games-swiper-prev:hover {
    background-color: #FE00FE;
    color: #fff;
    border-color: #FE00FE;
}

.games-swiper-next i,
.games-swiper-prev i {
    font-size: 12px;
}

/* View All hover effect */
.newSwiper a.text-info:hover,
.hotSwiper a.text-info:hover,
.games-swiper a.text-info:hover {
    color: #ffffff;
    transform: translateX(5px);
    transition: transform 0.3s ease, color 0.3s ease;
}

.swiper-nav-btns {
    margin-bottom: 10px;
}

@media (max-width: 992px) {
    .game-card img {
        height: auto;
    }
}

@media (max-width: 576px) {
    .game-card img {
        height: 100%;
    }
}

@media (max-width:390px){
    .game-card img {
        height: 100%;
        width:100%;
    }
}