.casino-page {
    --g: #0a7c2f;
    --g-d: #075c22;
    --g-dd: #053d17;
    --y: #ffc83a;
    --y-d: #f5b400;
    --bg: #e9ece9;
    --card: #fff;
    --card-2: #fbfdfb;
    --txt: #0c1f12;
    --txt-mute: #4a6354;
    --txt-faint: #7f927f;
    --line: rgba(8, 30, 14, .08);
    --line-2: rgba(8, 30, 14, .14);
    --glow: rgba(255, 200, 58, .4);
}
.casino-page.main-page {
    max-width:1280px;
    margin:0 auto;
    width:100%;
     font-family: "Manrope", sans-serif;
}
.casino-game-hero {
    position: relative;
    margin: 18px 18px 0;
    height: 230px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 200, 58, .18);
    box-shadow: 0 22px 50px -22px rgba(0, 0, 0, .7);
}
.casino-game-hero .showcase-game-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    filter: saturate(1.05);
}
.casino-game-hero .shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 12, 8, .92) 30%, rgba(4, 12, 8, .3) 75%, transparent), linear-gradient(0deg, rgba(4, 12, 8, .7), transparent 60%);
}
.casino-game-hero .showcase-info {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 26px 28px;
    max-width: 62%;
}
.mobile .casino-game-hero .showcase-info {
    max-width:100%;
}
.casino-game-hero .showcase-tag {
        font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--y);
}
.casino-game-hero .showcase-game-name {
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 34px;
    margin: 8px 0 6px;
    letter-spacing: -.01em;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    line-height:1;
}
.casino-game-hero .game-description {
    margin: 0 0 14px;
    font-size: 13.5px;
    color: rgba(234, 244, 236, .82);
}
.casino-game-hero .showcase-info-footer {
       display: flex;
    align-items: center;
    gap: 16px;
}
.casino-game-hero .showcase-info-footer button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, var(--y), var(--y-d));
    color: #1a1300;
    border: 0;
    border-radius: 10px;
    padding: 11px 20px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 26px -8px var(--glow);
}
.casino-game-hero .live-numbers {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(234, 244, 236, .9);
}
.casino-game-hero .live-numbers::before {
    content:"";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ce06a;
    box-shadow: 0 0 0 3px rgba(60, 224, 106, .25), 0 0 10px #3ce06a;
}
.casino-games {
    padding: 6px 18px 0;
}
.casino-games-wrapper {
        padding: 22px 0 2px;
}
.casino-games-wrapper .casino-games-top {
    width:100%;
}
.casino-games-wrapper .casino-games-top .title {
        margin: 0;
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 19px;
    color: var(--g);
}
.casino-games-wrapper .casino-games-top .tag {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #1a1300;
    background: linear-gradient(180deg, var(--y), var(--y-d));
    padding: 5px 12px;
    border-radius: 999px;
    animation: hintPulse 1.8s ease-in-out infinite;
}
.casino-games-wrapper .casino-games-top .more-games-link {
        margin-left: auto;
    background: none;
    border: 0;
    color: var(--txt-mute);
    font-weight: 700;
    font-size: 12.5px;
    cursor: pointer;
}
.casino-games-wrapper .casino-games-top > app-widget-host {
    display: flex;
    align-items: center;
    flex-direction:row;
    gap: 12px;
    margin-bottom: 14px;
}
.mobile .casino-games-wrapper .casino-games-top > app-widget-host {
    flex-wrap:wrap;
}
.mobile .casino-games-wrapper .casino-games-top .title {
    width:100%;
}
.casino-games-wrapper .casino-games-container .casino-game {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
   
    border-radius: 16px;
    cursor: pointer;
    background: var(--card);
    box-shadow: 0 1px 2px rgba(8, 30, 14, .06), 0 10px 22px -12px rgba(8, 30, 14, .3);
    transition: transform .26s cubic-bezier(.2, .8, .2, 1), box-shadow .26s;
}
.casino-games-wrapper .casino-game .tile-frame {
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(145deg, var(--y) 0%, #fff3c4 22%, var(--y-d) 48%, var(--g) 78%, var(--y) 100%);
    opacity: 0;
    transition: opacity .26s;
}
.casino-games-wrapper .casino-game .tile-art {
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    /* background: #0c1f12; */
    border:2px solid transparent;
}
.casino-games-wrapper .casino-game .tile-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}
.casino-games-wrapper .casino-game .tile-art .tile-hover {
        position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 55%, rgba(5, 40, 20, .35), rgba(4, 14, 8, .72));
    opacity: 0;
    transition: opacity .22s;
}
.casino-games-wrapper .casino-game .tile-art .tile-hover button {
        position: relative;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: linear-gradient(180deg, var(--y), var(--y-d));
    color: #1a1300;
    display: grid;
    place-items: center;
    padding-left: 3px;
    box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6);
    transform: scale(.78);
    transition: transform .24s cubic-bezier(.2, 1.5, .4, 1);
}
.casino-games-wrapper .casino-game .tile-art .tile-hover button .button-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 200, 58, .55);
    animation: ringPulse 1.6s ease-out infinite;
}
.casino-games-wrapper .casino-game .tile-art .tile-sheen {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .34) 50%, transparent 62%);
    transform: translateX(-120%);
}
.casino-games-wrapper .casino-game .title-bar {
    position: relative;
    z-index: 1;
    margin-top: auto;
    
    border-radius: 0 0 16px 16px;
    
    transition: border-color .26s, background .26s;
    width:100%;
    border:2px solid transparent;
    border-top: 0px solid transparent;
}
.casino-games-wrapper .casino-game .title-bar .wrapper{
    
    background: var(--card);
     display: flex;
    align-items: center;
    min-height: 52px;
   
    gap: 10px;
    padding: 10px 12px;
    border-radius: 0 0 16px 16px;
}
.casino-games-wrapper .casino-game .title-bar .wrapper .title-text {
    font-weight: 800;
    font-size: 13px;
    color: var(--txt);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.casino-games-wrapper .casino-game .title-bar .wrapper .game-prov {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--g);
    background: rgba(10, 124, 47, .1);
    border: 1px solid rgba(10, 124, 47, .18);
    padding: 3px 7px;
    border-radius: 999px;
}
.casino-games-wrapper .casino-game .title-bar .wrapper {
    
}
.casino-games-wrapper .casino-games-container > app-widget-host {
        display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}
 .casino-games-wrapper .casino-games-container .casino-game:hover {
        transform: translateY(-7px);
    box-shadow: 0 26px 48px -18px rgba(8, 30, 14, .45);
}
.casino-games-wrapper .casino-game:hover .tile-frame {
    opacity: 1;
}
.casino-games-wrapper .casino-game:hover .tile-art img {
        transform: scale(1.07);
}
.casino-games-wrapper .casino-game:hover .tile-art .tile-hover {
    opacity:1;
}
.casino-games-wrapper .casino-game:hover .tile-art .tile-hover button {
        transform: scale(1);
}
.casino-games-wrapper .casino-game:hover .tile-art .tile-sheen {
    opacity: 1;
    animation: sheen .85s cubic-bezier(.3, .7, .3, 1);
}
@keyframes ringPulse {
    0% {
    transform: scale(1);
    opacity: .9;
}
100% {
    transform: scale(1.35);
    opacity: 0;
}
}
@keyframes sheen {
    0% {
    transform: translateX(-120%);
}
100% {
    transform: translateX(120%);
}
}
.casino-games.casino-tiles {
    padding:0px;
}
.casino-games.casino-tiles .games {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}
.mobile .casino-games.casino-tiles .games {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
}
.casino-games.casino-tiles .game:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 48px -18px rgba(8, 30, 14, .45);
}
.casino-games.casino-tiles .game {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    cursor: pointer;
    background: var(--card);
    box-shadow: 0 1px 2px rgba(8, 30, 14, .06), 0 10px 22px -12px rgba(8, 30, 14, .3);
    transition: transform .26s cubic-bezier(.2, .8, .2, 1), box-shadow .26s;
    margin:0;
}
.casino-games.casino-tiles .game::before {
    content:"";
    position: absolute;
    width:calc(100% + 2px);
    height:calc(100% + 2px);
    inset: -2px;
    border-radius: 18px;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(145deg, var(--y) 0%, #fff3c4 22%, var(--y-d) 48%, var(--g) 78%, var(--y) 100%);
    opacity: 0;
    transition: opacity .26s;
    display:block;
}
.casino-games.casino-tiles .game:hover::before  {
    opacity:1;
}
#root .casino-games.casino-tiles .game p.game-name {
    position:unset;
    opacity:1;
    z-index: 2;
    margin-top: auto;
    border-radius: 0 0 16px 16px;
    width: 100%;
    border: 2px solid transparent;
    border-top: 2px solid transparent;
    font-weight: 800;
    font-size: 13px;
    color: var(--txt);
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
    transform:unset;
    justify-content:flex-start;
    line-height:1;
    order:3;
    margin:0;
    background: var(--card);
    background-position: center 2px;
    background-size:100% 100%;
    background-repeat:no-repeat;
    display: flex;
    align-items: center;
    min-height: 52px;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 0 0 16px 16px;
    transition:unset;
}
#root .casino-games.casino-tiles .casino-game {
    display:flex;
    flex-direction:column;
    /* gap:2px; */
    background-color:transparent;
}
#root .casino-games.casino-tiles .fake-game {
    border-radius:16px;
}
#root .casino-games.casino-tiles .fake-game .casino-game::after {
    content:"";
    position: relative;
    z-index: 2;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
#root .casino-games.casino-tiles .casino-game::before {
   z-index: 4;
    aspect-ratio: 1 / 1;
    display:flex;
    content:"";
    position:absolute;
    width:100%;
    top:0px;
    left:0px;
    place-items: center;
    background: radial-gradient(circle at 50% 55%, rgba(5, 40, 20, .35), rgba(4, 14, 8, .72));
    opacity: 0;
    transition: opacity .22s;
}
#root .casino-games.casino-tiles .game:hover .casino-game::before {
    opacity:1;
    top:-2px;
}
#root .casino-games.casino-tiles .game p.game-name::after {
    content:"";
    display:none;
}
#root .casino-games.casino-tiles img {
    position: relative;
    z-index: 2;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    /* background: #0c1f12; */
    /* border: 2px solid transparent; */
}
#root .casino-games.casino-tiles .game:hover img {
    opacity:1;
   
   transform:translateY(-8px) scale(1.07);
}
#root .casino-games.casino-tiles app-casino-game {
    display:block;
    border:0px solid transparent;
    overflow:hidden;
    border-radius:16px;
}
#root .casino-games.casino-tiles .game:hover app-casino-game{
    border:2px solid transparent;
}
#root .casino-games.casino-tiles app-casino-game::before {
    content:"";
    position:absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background:url(/v1.566/r/images/icons/casino/play_icon_dark.svg), linear-gradient(180deg, var(--y), var(--y-d));
    background-repeat:no-repeat;
    background-position:center;
    color: #1a1300;
    display: grid;
    place-items: center;
    opacity:0;
    box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .6);
    transform:translate(-50%, calc(-50% - 26px)) scale(.78);
    transition: transform .24s cubic-bezier(.2, 1.5, .4, 1);
    z-index:5;
    left:50%;
    top:50%;
}
#root .casino-games.casino-tiles app-casino-game::after {
    position: absolute;
    /* inset: -6px; */
    border-radius: 50%;
    border: 2px solid rgba(255, 200, 58, .55);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    left: calc(50% - 30px);
    top: calc(50% - 56px);
   
    content:"";
    opacity:0;
    
    z-index:11
}
#root .casino-games.casino-tiles .game:hover app-casino-game::before{
        transform:translate(-50%, calc(-50% - 26px)) scale(1);
    opacity:1;
}
#root .casino-games.casino-tiles .game:hover app-casino-game::after {
    opacity:1;
     animation: ringPulse 1.6s ease-out infinite;
   
}
#root .casino-games.casino-tiles app-casino-navigation {
    display:none;
}
.game-iframe-open {
    overflow:hidden!important;
}
app-casino .casino-iframe,
.casino-game-hero .casino-iframe{
    position:fixed;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
    z-index:1000;
    background-color:black;
    display:flex;
    align-items:center;
    justify-content:center
}
.desktop app-casino .casino-iframe iframe,
.desktop .casino-game-hero .casino-iframe iframe{
    width:90%;
    height:90%;
}
#root .mobile app-casino .casino-iframe iframe,
.mobile .casino-game-hero .casino-iframe iframe{
     width:100%;
    height:100%;
}
app-casino  button.close-game-iframe,
.casino-game-hero  button.close-game-iframe{
    position:fixed;
    z-index: 1001;
    width:30px;
    height:30px;
    right:20px;
    top:20px;
    background-color:var(--y);
    border-radius:50%;
}
