.casino-game {
    position: relative;
    width: 100%;
    text-align: center;
    line-height: normal;
    z-index: 2;
}

.casino-game .casino-game-content {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 66.6667%;
    background: url(/public/templates/casino/icons/default-game.svg) center / cover no-repeat;
    border-radius: 6px;
}

.casino-game .casino-game-title {
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.casino-game .casino-game-content .casino-game-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    opacity: 0;
}

.casino-game .casino-game-content .show-casino-game-image {
    opacity: 1;
}

.casino-game .casino-game-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-rows: 25% 50% 25%;
    justify-content: center;
    align-items: center;
    justify-items: center;
    background: rgba(0, 0, 0, 0.8);
    border-radius: inherit;
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
}

.casino-game .casino-game-info:hover {
    opacity: 1;
    z-index: 9;
}

.casino-game .casino-game-provider-name {
    font-size: 14px;
    line-height: normal;
}

.casino-game .casino-game-info-body,
.casino-game .casino-game-play {
    width: 100%;
    height: 100%;
}

.casino-game .casino-game-play {
    border: 0;
    background: none;
}

.casino-game .casino-game-play-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.casino-game .casino-game-play-icon:before {
    content: '';
    position: absolute;
    width: 45px;
    height: 50px;
    background-size: cover;
    transition: 0.1s;
    background-image: url("data:image/svg+xml,%3Csvg class='play-icon' width='34' height='38' viewBox='0 0 34 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.0451 17.2931C29.3183 18.0518 29.3183 19.9483 28.0451 20.7069L7.86444 32.733C6.59135 33.4916 5 32.5434 5 31.0261V6.97396C5 5.45666 6.59135 4.50836 7.86444 5.26701L28.0451 17.2931Z' fill='%23FDC600'/%3E%3C/svg%3E");
}

.casino-game .casino-game-play-icon:hover:before {
    transform: scale(1.1);
    background-image: url("data:image/svg+xml,%3Csvg class='play-icon' width='34' height='38' viewBox='0 0 34 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23shadow)'%3E%3Cpath d='M28.0451 17.2931C29.3183 18.0518 29.3183 19.9483 28.0451 20.7069L7.86444 32.733C6.59135 33.4916 5 32.5434 5 31.0261V6.97396C5 5.45666 6.59135 4.50836 7.86444 5.26701L28.0451 17.2931Z' fill='%23FDC600'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='shadow' x='0' y='0' width='34' height='38' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset/%3E%3CfeGaussianBlur stdDeviation='2.5'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.992157 0 0 0 0 0.776471 0 0 0 0 0 0 0 0 1 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_1341_196'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_1341_196' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E");
}

.casino-game .casino-game-demo {
    display: inline-block;
    padding: 4px 8px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    line-height: normal;
    border: 1px solid #ffffff26;
    border-radius: 6px;
    background: rgba(217, 217, 217, 0.2);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.casino-game .casino-game-demo:hover {
    background-color: #3d3d3db0;
    color: #FDC600;
}
