.lootbox-case-window {
	max-width: 100%;
	height: max-content;
	position: relative;
	overflow: hidden;
	margin: auto;
}
.lootbox-case-window::before {
    max-width: 100%;
    height: max-content;
    position: relative;
    overflow: hidden;
    margin: auto;
    left: 0;
    z-index: 999;
    content: "";
}

.lootbox-case-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	width: 28px;
	height: 100%;
	z-index: 999;
}

.lootbox-case-line::before {
	transform: scale(1);
	top: 0
}

.lootbox-case-line::after {
	transform: scale(-1);
	bottom: 0
}

.lootbox-case-line::before,
.lootbox-case-line::after {
	width: 28px;
	height: 22px;
	background: url(../images/wheel_of_fortune/arrow_roulette.png);
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	content: ""
}

.lootbox-case-line-dash {
	width: 0;
	height: 77%;
	position: absolute;
	border: 1px dashed blue;
	top: 25px;
	left: 0;
	right: 1px;
	margin: auto;
}

.lootbox-case-spinnable {
	width: max-content;
	position: relative;
	left: 225px;
}

.list-item {
	position: relative;
	display: inline-block
}

.lootbox-case-item {
	float: left;
	margin-right: 3px;
	width: 174px;
	height: 125px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: gray;
	position: relative;
	z-index: 9;
	margin-left: -114px;
	margin-right: 125px;
}

.lootbox-case-item::before {
	width: 100%;
	height: 100%;
	/*background:linear-gradient(180deg,#0c0c18 0%,rgba(12,12,26,0.712) 100%);*/
	position: absolute;
	left: 0;
	content: ""
}

.lootbox-content {
	height: 100%;
	position: relative;
	z-index: 9
}

.lootbox-case-item .name {
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-transform: uppercase;
	position: absolute;
	bottom:5px;
	left: 0;
	right: 0;
	margin: 0 auto
}

.lootbox-case-item .name p:nth-child(1) {
	font-size: 13px;
	color: #fcd4c0;
	text-shadow: 2px 2px 5px #000;
}

.lootbox-case-item .name p:nth-child(2) {
	font-size: 1.1;
	font-weight: 400
}

.lootbox-case-item .image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    height: 85px;
}

.lootbox-case-item .image img {
	max-width: 75px;
	max-height: 75px
}

.percent_item {
	position: absolute;
	right: 10px;
	top: 10px;
	color: #ffffffc7;
}

.boxItems {
	margin-top: 35px
}

.wonItem {
	border: 2px solid green !important;
	box-shadow: 0 0 10px rgba(14, 26, 12, .712)
}

.item-name {
	position: relative;
	z-index: 10;
	font-size: .8rem;
	text-align: center
}

.summary_user {
	width: max-content;
}

.summary_user .summary_user_content {
	padding: 0 60px;
	display: flex;
	align-items: center;
}

.summary_user .summary_user_content .user_balance {
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 15px;
}

.summary_user .summary_user_content .user_balance .coin_box,
.summary_user .summary_user_content .user_balance .coin_box2 {
	max-width: 200px;
	padding: 10px;
	position: relative;
	z-index: 10;
	font-size: 1rem;
	font-weight: 500;
}

.summary_user .summary_user_content .user_balance .coin_box::before,
.summary_user .summary_user_content .user_balance .coin_box2::before {
	width: 100%;
	height: 80%;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto 0;
	left: 0;
	transform: skewX(-10deg);
	content: "";
}

.coin_box::before {
	background: linear-gradient(180deg, rgba(24, 22, 4, 0) 10%, rgb(196, 171, 62) 200%);
	border: 2px solid #c4ab3e;
}

@media (max-width: 800px) {
	.d-flex {
		flex-direction: column;
	}
}

.molde {
	width: 1160px;
	height: 204px;
	position: absolute;
	margin-top: -301px;
	background-image: url(../images/form-mystery-box.png);
	background-repeat: no-repeat;
	z-index: 70;
}


.scrolled {
	width: calc(100% - 30px);
	margin-left: 16px;
	border-radius: 40px 40px 40px 40px / 100px 100px 100px 100px;
	height: 300px;
	padding-top: 34px;
	position: relative;
	top: 0px;
	background: url(../images/wheel_of_fortune/roulette_strip.png);
	background-position: center top 10px;
	background-repeat: no-repeat;
	overflow: hidden;
	white-space: nowrap !important;
	transition: 5.5s;
	z-index: 60;
}

.cases {
	position: absolute;
	left: 50%;
	width: 1160px;
	height: 100%;
	transform: translate(-50%, -50%);
	z-index: 99 !important;
	max-height: 550px;
	margin-top: -100px;
}

.caixa {
	margin-left: calc(50% - 350px) !important;
	width: 643px;
	height: 450px;
	position: relative;
	margin: 0px auto;
	background-image: url('../images/wheel_of_fortune/02.png');
	background-size: 100%;
	cursor: pointer;
	transition: 0.4s;
	z-index: 150;
}

.pulse {
	animation: pulse 0.7s infinite;
	animation-direction: alternate;
	-webkit-animation-name: pulse;
	animation-name: pulse;
}

@-webkit-keyframes pulse {
	0% {
		background-image: url('../images/wheel_of_fortune/02.png');
		-webkit-filter: brightness(100%);
	}

	100% {
		background-image: url('../images/wheel_of_fortune/01.png');
		-webkit-filter: brightness(120%);
	}
}

@keyframes pulse {
	0% {
		background-image: url('../images/wheel_of_fortune/02.png');
		filter: brightness(100%);
	}

	100% {
		background-image: url('../images/wheel_of_fortune/01.png');
		filter: brightness(120%);
	}
}

@-webkit-keyframes scroll {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	100% {
		-webkit-transform: translateX(calc(-250px * 7));
		transform: translateX(calc(-250px * 7));
	}
}

@keyframes scroll {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}

	100% {
		-webkit-transform: translateX(calc(-250px * 14));
		transform: translateX(calc(-250px * 14));
	}
}

.slider {
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);
	height: 130px;
	margin: auto;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.slider::before,
.slider::after {
	background: linear-gradient(to right, #101320 0%, rgba(255, 255, 255, 0) 100%);
	content: "";
	height: 130px;
	position: absolute;
	width: 185px;
	z-index: 2;
}

.slider::after {
	right: 0;
	top: 0;
	-webkit-transform: rotateZ(180deg);
	transform: rotateZ(180deg);
}

.slider::before {
	left: 0;
	top: 0;
}

.slider .slide-track {
	display: flex;
	width: calc(250px * 28);
}

.slider .slide {
	width: 122px;
	height: 130px;
	margin-left: 5px;
	text-align: center;
}

.slide img {}

.box-molde-ac {
	background: url(../images/wheel_of_fortune/moldes/box-molde-ac.png);
	background-repeat: no-repeat;
}

.box-molde-ar {
	background: url(../images/wheel_of_fortune/moldes/box-molde-ar.png);
	background-repeat: no-repeat;
}

.box-molde-ae {
	background: url(../images/wheel_of_fortune/moldes/box-molde-ae.png);
	background-repeat: no-repeat;
}

.box-molde-al {
	background: url(../images/wheel_of_fortune/moldes/box-molde-al.png);
	background-repeat: no-repeat;
}

.box-molde-am {
	background: url(../images/wheel_of_fortune/moldes/box-molde-am.png);
	background-repeat: no-repeat;
}

.box-molde-log-ac {
	background: url(../images/wheel_of_fortune/moldes/log/box-molde-log-ac.png);
}

.box-molde-log-ar {
	background: url(../images/wheel_of_fortune/moldes/log/box-molde-log-ar.png);
}

.box-molde-log-ae {
	background: url(../images/wheel_of_fortune/moldes/log/box-molde-log-ae.png);
}

.box-molde-log-al {
	background: url(../images/wheel_of_fortune/moldes/log/box-molde-log-al.png);
}

.box-molde-log-am {
	background: url(../images/wheel_of_fortune/moldes/log/box-molde-log-am.png);
}

@keyframes slideAnimation {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Cartoes de "Possible Rewards" alinhados pelo topo (no alinhamento pela linha de texto, os de
   nome em duas linhas desciam e a grade ficava torta) */
.boxItems .vs-btn { vertical-align: top; }

/* Nomes da faixa em ate duas linhas (a faixa tem white-space: nowrap e cortava "Jewel of Bless") */
.scrolled .lootbox-case-item .name { height: auto; min-height: 30px; padding: 0 6px; }
.scrolled .lootbox-case-item .name p:nth-child(1) { margin: 0; font-size: 11px; white-space: normal; line-height: 1.15; text-align: center; }

/* Com o aviso "You have X unclaimed rewards" o bau descia por cima dele: desce 80 px (o topo visivel
   do bau fica 10 px abaixo do aviso) e o bloco de baixo desce junto */
.nx-mb-alert { min-height: 570px !important; }
.nx-mb-alert .cases { margin-top: -20px; }

/* Nomes de "Possible Rewards" em ate duas linhas (com a quantidade, "Artifact Enchantment Stone
   x10" ia para tres e cobria a imagem) */
.boxItems .luckyItem .name { height: auto; min-height: 30px; padding: 0 6px; }
.boxItems .luckyItem .name p { margin: 0; font-size: 11px; line-height: 1.15; text-align: center; }

/* Loja de Mystery Keys por Goblin Point (view.keys.php): 4 pacotes lado a lado, 2 no tablet e
   1 no celular (antes era uma tabela de 1340 px fixos) */
.nx-keys-shop { max-width: 1340px; margin: 0 auto 40px; padding: 0 16px; text-align: center; }
.nx-keys-info { margin: 16px auto 24px; max-width: 760px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); }
.nx-keys-info b { color: #f6cf5c; }
.nx-keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nx-keys-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 16px 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.nx-keys-off { position: absolute; top: 12px; right: 16px; padding: 6px 10px; font-size: 14px; }
.nx-keys-card img { max-height: 220px; max-width: 100%; }
.nx-keys-name { font-size: 20px; color: #fff; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); width: 100%; }
.nx-keys-qty { font-size: 20px; color: #4fb3e8; }
.nx-keys-old { min-height: 18px; font-size: 15px; color: #e74c3c; }
.nx-keys-price { font-size: 20px; color: #fff; }
.nx-keys-buy { margin-top: 8px; }
@media (max-width: 992px) { .nx-keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Celular: 2 pacotes por linha (um por linha dava 4 cartoes de 330px, quase 1.700px de rolagem).
   O cartao fica mais compacto para caber em 320px. */
@media (max-width: 576px) {
	.nx-keys-shop { padding: 0 8px; }
	.nx-keys { gap: 10px; }
	.nx-keys-card { gap: 6px; padding: 36px 6px 14px; }
	.nx-keys-off { top: 6px; right: 6px; padding: 3px 6px; font-size: 12px; }
	.nx-keys-card img { max-height: 110px; }
	.nx-keys-name { font-size: 14px; padding-bottom: 6px; }
	.nx-keys-qty, .nx-keys-price { font-size: 14px; }
	.nx-keys-old { min-height: 16px; font-size: 12px; }
	/* o botao do tema tem 228x90 fixos: no cartao de ~135px ele passava da borda */
	.nx-keys-buy { width: 100%; max-width: 150px; height: auto; min-height: 42px; margin-top: 4px; padding: 10px 8px; font-size: 12px; }
}

/* Giro gratis do dia (view.daily): situacao abaixo do preco do giro */
.nx-mb-daily { max-width: 620px; margin: 0 auto 12px; font-size: 13px; line-height: 1.45; text-align: center; }
.nx-mb-daily-on { color: #3ecf6e; font-weight: 600; }
.nx-mb-daily-used { color: rgba(255, 255, 255, 0.7); }
.nx-mb-daily-locked { color: #f1c40f; }

/* Aviso de premios a resgatar acima da area de clique do bau (.cases, z-index 99): antes o clique em
   "Clique aqui para resgatar" abria o bau em vez de ir para Meus premios */
.nx-mb-alert > .alert { position: relative; z-index: 120; }

/* Celular e tablet (ate 768px, onde o topo das paginas internas sobe: components.css). O palco do bau e da faixa (.cases, 1160px) ficava absoluto e puxado
   para cima (translate -50% e margin-top -100px) e, com o topo da pagina mais baixo no celular, o bau
   de 643x450 subia por cima da logo. Aqui o palco entra no fluxo, logo abaixo da logo, e continua com
   1160px centrado: a seta e o premio sorteado ficam no mesmo lugar (a faixa para no premio certo). */
@media (max-width: 768px) {
	.dmn-content .col-12 { min-height: 0 !important; }
	.cases { position: relative; transform: translateX(-50%); height: auto; max-height: none; margin-top: 0; }
	.nx-mb-alert .cases { margin-top: 0; }
	/* o script do topo desce o bau com margin-top em % (inline): no celular ele fica parado. A arte
	   tem sobra transparente nos lados e em cima, entao pode passar da largura da tela e subir um
	   pouco sem encostar na logo */
	.caixa { width: min(120vw, 643px); height: auto; aspect-ratio: 643 / 450; margin: -16px auto 0 !important; }
	/* a faixa tinha 300px de altura para 125px de cartoes; a moldura das setas (.molde) acompanha */
	.scrolled { height: 210px; }
	.molde { margin-top: -211px; }
	.last-more-fon, .last-more-fon > div { min-height: 0 !important; }
	.nx-mb-rewards { padding: 24px 0 !important; }
}
/* "Possible Rewards" no celular: dois cartoes por linha ate em 320px (com 174px e o padding de 100px
   saia um por linha, 18 linhas). A moldura estica junto com o cartao. */
@media (max-width: 575px) {
	.boxItems { padding-left: 8px !important; padding-right: 8px; }
	/* font-size 0 tira o vao de 4px entre os cartoes (inline-block); os textos tem tamanho proprio */
	.nx-mb-rewards { font-size: 0; }
	.nx-mb-rewards .vs-btn { padding: 4px !important; }
	.nx-mb-rewards .luckyItem { width: 122px; height: 88px; background-size: 100% 100%; }
	.nx-mb-rewards .luckyItem .image { margin-top: 8px; height: 54px; }
	.nx-mb-rewards .luckyItem .image img { max-width: 46px; max-height: 46px; }
	.boxItems .luckyItem .name p { font-size: 10px; }
}
