#divAppGamePopup
{
    background-color:rgba(0, 0, 0, 0.75);
    display:none;
    height:100%;
    left:0%;
    opacity:0;
    will-change: opacity;
    position:fixed;
    top:0%;
    width:100%;
    z-index:15;
}

#divAppGamePopup.show
{
	animation-duration:0.25s;
	animation-name:showGamePopup;
	display:block;
	opacity:1;
}

#divAppGamePopup #divGamePopup
{
    background-color:#1b1c20;
    border-radius:10px;
	box-shadow:inset 0 20px 10px -20px rgba(255, 255, 255, 0.75), inset 0 -20px 10px -20px rgba(0, 0, 0, 0.75), 0 0 50px #000000;
	height:720px;
    left:50%;
    opacity:0;
    will-change: opacity;
	overflow:hidden;
	position:absolute;
	top:50%;
	transform:translate(-50%, -50%);
	width:1080px;
}

#divAppGamePopup.show #divGamePopup
{
    animation-duration:0.25s;
	animation-name:showGamePopup;
	opacity:1;
}

#divAppGamePopup.fullscreen #divGamePopup
{
    border:none;
    border-radius:0px;
    left:0px;
    height:100% !important;
    top:0px;
    transform:translate(0, 0);
    width:100%;
}

#divAppGamePopup #divGameName
{
    color:#cffdff;
    font-size:18px;
    left:20px;
    overflow:hidden;
    position:absolute;
    right:380px;
    text-overflow:ellipsis;
    text-shadow:0px 0 5px #01eff9;
    top:15px;
    transition:left 0.25s;
    white-space:nowrap;
}

#divAppGamePopup #divGameProvider
{
    color:#ffffff;
    font-size:14px;
    left:20px;
    overflow:hidden;
    position:absolute;
    right:380px;
    text-overflow:ellipsis;
    text-shadow:0px 0 5px #e600ff;
    top:38px;
    white-space:nowrap;
}

#divAppGamePopup #btnActiveChallenge
{
	background-image:url('../images/other/challenge.webp');
	background-position:center top;
	background-repeat:no-repeat;
	background-size:32px 32px;
	color:#ffffff;
	cursor:pointer;
	display:none;
	font-size:11px;
	height:50px;
	line-height:1;
	padding-top:36px;
	text-align:center;
	width:60px;
}

#divAppGamePopup #btnActiveChallenge.show
{
	display:block;
}

#divAppGamePopup #btnActiveChallenge.completed
{
	animation:none;
	background-color:#10ff00;
	border:1px solid #000000;
	box-shadow:inset 0px 0px 5px 0px #00ff00, 0px 0px 5px 0px #00ff00;
	color:#cb9033;
	filter:invert(1) hue-rotate(180deg);
}

#divAppGamePopup #btnActiveChallenge.expired
{
	animation:none;
	box-shadow:inset 0px 0px 5px 0px #ff0000, 0px 0px 5px 0px #ff0000;
}

#divAppGamePopup #btnFestiveChest
{
    background-image:url('../images/other/chest.webp');
	background-position:center top;
	background-repeat:no-repeat;
	background-size:32px 32px;
	color:#ffffff;
    cursor:pointer;
    font-size:11px;
	height:50px;
    line-height:1;
    padding-top:36px;
    text-align:center;
    text-shadow:0px 0px 2px #000000;
	width:80px;
}

#divAppGamePopup #btnFestiveChest.hasGifts
{
	animation:pulsateFestiveGifts 2s linear 0s infinite;
    border:1px solid #ffffff;
}

#divAppGamePopup .ifrGamePopup
{
    height:calc(100% - 140px);
    left:20px;
    position:absolute;
    top:70px;
    transition:height 0.25s, left 0.25s, top 0.25s, width 0.25s;
    width:calc(100% - 40px);
}

#divAppGamePopup .divGamePopupActions
{
    align-items:center;
    background-color:#1b1c20;
    bottom:0;
    box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display:flex;
    height:60px;
    justify-content:space-between;
    left:0;
    padding:0 20px;
    position:absolute;
    right:0;
}

#divAppGamePopup .divGamePopupActionsRight
{
    align-items:center;
    display:flex;
    gap:16px;
    margin-top:35px;
}

#divAppGamePopup .divGamePopupLoyaltyBar
{
    background-color:#292a2f;
    border-radius:10px;
	display:none;
    height:20px;
	overflow:hidden;
    position:absolute;
    right:100px;
    top:20px;
    width:200px;
}

#divAppGamePopup.loyaltyMode .divGamePopupLoyaltyBar
{
	display:block;
}

#divAppGamePopup #divGamePopupBonusBar
{
    background-color:#292a2f;
    border-radius:10px;
	display:none;
    height:20px;
	overflow:hidden;
    position:absolute;
    right:100px;
    top:20px;
    transition:box-shadow 0.75s, transform 0.75s;
    width:200px;
}

#divAppGamePopup.bonusMode  #divGamePopupBonusBar
{
    display:block;
}

#divAppGamePopup #divGamePopupBonusBar.completed
{
    box-shadow:0px 0 5px 3px #e600ff;
    transform:scale(1.25);
}

#divAppGamePopup #divGamePopupLoyaltyProgress
{
    background:#6b42de;
	background:linear-gradient(270deg, #01eff9 0%, #e600ff 100%);
    border-radius:10px;
    height:100%;
    left:0px;
    position:absolute;
    top:0px;
    transition:width 0.25s;
    width:0px;
}

#divAppGamePopup #divGamePopupBonusProgress
{
    background:#6b42de;
    background:linear-gradient(270deg, #e600ff 0%, #01eff9 100%);
    border-radius:10px;
    height:100%;
    left:0px;
    position:absolute;
    top:0px;
    transition:width 0.25s;
    width:0px;
}

#divAppGamePopup #divGamePopupLoyaltyPercentage, #divAppGamePopup #divGamePopupBonusPercentage
{
    color:#ffffff;
    font-size:12px;
    height:20px;
    line-height:20px;
    left:0px;
    position:absolute;
    right:0px;
    text-align:center;
    top:0px;
}

#divAppGamePopup #btnTopupGame
{
	align-items:center;
	cursor:pointer;
	display:flex;
	gap:8px;
	height:30px;
	justify-content:center;
}

#divAppGamePopup #btnTopupGame .spnTopupLabel
{
	color:#ffffff;
	font-size:14px;
	font-weight:600;
	transition:color 0.25s, text-shadow 0.25s;
}

#divAppGamePopup #btnTopupGame img
{
	display:block;
	height:100%;
	object-fit:contain;
	transition:filter 0.25s;
	width:auto;
}

#divAppGamePopup #btnTopupGame:hover .spnTopupLabel,
#divAppGamePopup #btnTopupGame:focus .spnTopupLabel
{
	color:#fbd3ff;
	text-shadow:0 0 5px #e600ff;
}

#divAppGamePopup #btnTopupGame:hover img,
#divAppGamePopup #btnTopupGame:focus img
{
	filter:drop-shadow(0px 0px 5px #e600ff);
}

#divAppGamePopup #btnTopupGame.walletFallback img
{
	height:70%;
}

#divAppGamePopup #btnFullScreen
{
    border:2px solid #3f4656;
    border-radius:3px;
    cursor:pointer;
	height:16px;
	margin:10px;
    position:absolute;
	right:50px;
	top:10px;
    transition:border 0.25s, box-shadow 0.25s;
	width:16px;
}

#divAppGamePopup #btnFullScreen:hover, #divAppGamePopup #btnFullScreen:focus
{
    border:2px solid #cffdff;
    box-shadow:inset 0 0 5px #01eff9, 0 0 5px #01eff9;
}

#divAppGamePopup #btnClosePopup
{
	cursor:pointer;
	height:40px;
	position:absolute;
	right:10px;
	top:10px;
    transition:right 0.25s, top 0.25s;
	width:40px;
}

#divAppGamePopup #btnClosePopup:before
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppGamePopup #btnClosePopup:after
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(-45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppGamePopup #btnClosePopup:hover:before, #divAppGamePopup #btnClosePopup:focus:before, #divAppGamePopup #btnClosePopup:hover:after, #divAppGamePopup #btnClosePopup:focus:after
{
    background-color:#fbd3ff;
    box-shadow:0px 0 5px #e600ff;
}

#divAppGamePopup .divGamePopupBackground
{
    background-color:#000000;
    bottom:80px;
    left:20px;
    position:absolute;
    right:20px;
    top:70px;
    transition:bottom 0.25s, left 0.25s, right 0.25s, top 0.25s;
}

#divAppGamePopup .imgLoaderLogo
{
	animation:rotateLoader 2.5s linear infinite;
	left:calc(50% - 60px);
	height:120px;
	position:absolute;
	top:calc(50% - 90px);
	width:120px;
}

#divAppGamePopup .divLoading
{
	color:#cffdff;
	font-size:20px;
	left:50%;
	position:absolute;
	text-shadow:0px 0 5px #01eff9;
	top:calc(50% + 35px);
	transform:translateX(-50%);
}

#divAppGamePopup #divGamePopupTournamentDetails
{
    display: none;
}

#divAppGamePopup.activeTournament #divGamePopupTournamentDetails
{
    display: block;
    height: 30px;
    bottom: 90px;
    position: absolute;
    width: calc(100% - 40px);
    left:20px;
    right: 20px;
    line-height: 22px;
}

#divAppGamePopup.activeTournament #divGamePopup
{
    height: 720px;
}

#divAppGamePopup.activeTournament .ifrGamePopup
{
    height: calc(100% - 210px);
}

#divAppGamePopup.activeTournament .divGamePopupBackground
{
    bottom: 140px;
}

#divAppGamePopup #divGamePopupTournamentInfo
{
    float:left;
    overflow:hidden;
    text-overflow:ellipsis;
    width:70%;
}

#divAppGamePopup #divGamePopupTournamentActions
{
    float:right;
    overflow:hidden;
    text-align: right;
    width:30%;
}

#divAppGamePopup #btnViewTournamentLeaderboard
{
    float: right;
}

#divGamePopup #divGamePopupTournamentPosition, #divGamePopup #divGamePopupTournamentMinBet
{
    color: #FFF;
    text-shadow: 0 0 5px #e600ff;
}

#divAppGamePopup #divGameProvider.loyaltyMode{
    animation: menuNeonTextPink 5s linear 0s infinite;
    color: #ffffff;
}

/* ANIMATION KEY FRAMES */
@keyframes menuNeonTextPink
{
    0%   {text-shadow:0 0 1px #000000;}
    1%   {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    5%   {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    6%   {text-shadow:0 0 1px #000000;}
    9%   {text-shadow:0 0 1px #000000;}
    10%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    16%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    17%  {text-shadow:0 0 1px #000000;}
    20%  {text-shadow:0 0 1px #000000;}
    21%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    59%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    60%  {text-shadow:0 0 1px #000000;}
    64%  {text-shadow:0 0 1px #000000;}
    65%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    100% {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
}

@keyframes pulsateChallenge
{
	0%   {box-shadow:inset 0px 0px 5px 0px #01eff9, 0px 0px 5px 0px #01eff9;}
    50%  {box-shadow:inset 0px 0px 5px 0px #01eff9, 0px 0px 5px 3px #01eff9;}
	100% {box-shadow:inset 0px 0px 5px 0px #01eff9, 0px 0px 5px 0px #01eff9;}
}

@keyframes pulsateFestiveGifts
{
	0%   {box-shadow:inset 0px 0px 5px 0px #e600ff, 0px 0px 5px 0px #e600ff;}
    50%  {box-shadow:inset 0px 0px 5px 3px #e600ff, 0px 0px 8px 3px #e600ff;}
	100% {box-shadow:inset 0px 0px 5px 0px #e600ff, 0px 0px 5px 0px #e600ff;}
}

@keyframes rotateLoader
{
	from {transform:rotate(0deg);}
	to   {transform:rotate(360deg);}
}

@keyframes showGamePopup
{
	0%   {opacity:0;}
	1%   {opacity:0;}
	100% {opacity:1;}
}

/* MEDIA QUERIES */
@media (max-width: 1600px)
{
    #divAppGamePopup #divGamePopup
    {
        height:550px;
        width:900px;
    }
}

@media (max-width: 1000px)
{
	#divAppGamePopup #divGamePopup, #divAppGamePopup.activeTournament #divGamePopup
	{
        border-radius:0px;
        left:0px;
        height:100%;
		top:0px;
		transform:translate(0, 0);
        width:100%;
	}

    #divAppGamePopup #divGameName, #divAppGamePopup #divGameProvider
    {
        right:240px;
    }

    #divAppGamePopup .divGamePopupLoyaltyBar, #divAppGamePopup #divGamePopupBonusBar
    {
        right:55px;
    }

    #divAppGamePopup #btnFullScreen
    {
        display:none;
    }
}

@media (max-width: 600px)
{
    #divAppGamePopup #btnTopupGame .spnTopupLabel
    {
        display:none;
    }

    #divAppGamePopup #divGameName
    {
        font-size:16px;
		left:15px;
        right:155px;
    }

    #divAppGamePopup #divGameProvider
    {
        display:none;
    }

    #divAppGamePopup .ifrGamePopup
    {
        left: 0;
        height:calc(100% - 110px);
        top:50px;
        width:100%;
    }

    #divAppGamePopup.activeTournament .ifrGamePopup
	{
        height: calc(100% - 180px);
    }

    #divAppGamePopup.activeTournament #divGamePopupTournamentInfo
	{
        line-height: 22px;
    }

    #divAppGamePopup .divGamePopupLoyaltyBar, #divAppGamePopup #divGamePopupBonusBar
    {
        right:45px;
        top:15px;
    }

    #divAppGamePopup #btnClosePopup
    {
        right:5px;
        top:5px;
    }

    #divAppGamePopup #btnClosePopup:before, #divAppGamePopup #btnClosePopup:after
    {
        background-color:#fbd3ff;
        box-shadow:0px 0 5px #e600ff;
    }

    #divAppGamePopup .divGamePopupBackground
    {
        bottom:75px;
        left:15px;
        right:15px;
        top:50px;
    }
}

@media (max-width: 430px)
{
    #divAppGamePopup #btnViewTournamentLeaderboard
    {
        zoom: 0.8;
    }

    #divAppGamePopup #divGamePopupTournamentActions
	{
        padding-top: 7px;
    }

    #divAppGamePopup #divGameName
    {
        font-size:14px;
		left:10px;
        right:155px;
    }

    #divAppGamePopup .divGamePopupLoyaltyBar, #divAppGamePopup #divGamePopupBonusBar
    {
        right:40px;
		width:130px;
    }

    #divAppGamePopup #btnClosePopup
    {
        right:0px;
    }

    #divAppGamePopup .divGamePopupBackground
    {
        bottom:70px;
        left:10px;
        right:10px;
    }
}
