.contentPlayPage {}

.containerContent {
	margin-top: 20px;
	padding: 0px;
}

.contentPlayPage .containerJogo {
	justify-content: center;
	align-items: center;
	display: flex;
	flex-direction: column;
}

.contentPlayPage .containerGridPremios {
	margin-top: 30px;
}

.contentPlayPage .containerJogo .AreaButtons {
	display: grid;
	grid-template-columns: 50px 1fr;
	width: 100%;
	gap: 10px;
	margin-top: 10px;
	max-width: 487px;
	width: 100%;
}

.contentPlayPage .containerJogo .AreaButtons .buttonComprar {
	display: flex !important;
	justify-content: center;
	align-items: center;
	gap: 8px;
	background-color: #28e504;
	margin-top: 0px !important;
	grid-column: 1/span 2;
	height: 50px;
	color: #000;
	font-weight: 700;
	border-radius: 6px;
}

.contentPlayPage .containerJogo .AreaButtons .buttonComprar p {
	width: fit-content;
	background-color: #1f2125;
	padding: 4px 8px;
	border-radius: 6px;
	color: #fff;
	font-weight: 600;
}

.contentPlayPage .containerJogo .AreaButtons .buttonComprar p b {
	color: #10b981;
}

.contentPlayPage .containerJogo .AreaButtons .buttonRegister {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	font-weight: 600;
	background-color: #28e504;
	color: #000;
	padding: 8px 32px;
	height: 40px;
	border-radius: 6px;
	grid-column: 1/span 2;
}

.contentPlayPage .containerJogo .AreaButtons .buttonRaio {
	background-color: #2a2a2a;
	height: 50px;
	border-radius: 6px;
}

.contentPlayPage .containerJogo .AreaButtons .buttonType {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #2a2a2a;
	padding: 8px 24px;
	padding-right: 40px;
	border-radius: 6px;
	color: #fff;
	font-weight: 600;
}

/* Ajustes de espaçamento para mobile */
@media (max-width: 768px) {
	.containerContent {
		margin-top: 15px;
		padding: 0px 10px;
	}

	.contentPlayPage .containerGridPremios {
		margin-top: 25px;
	}

	.contentPlayPage .containerJogo .AreaButtons {
		max-width: 400px;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.containerContent {
		margin-top: 10px;
		padding: 0px 8px;
	}

	.contentPlayPage .containerGridPremios {
		margin-top: 20px;
	}

	.contentPlayPage .containerJogo .AreaButtons {
		width: 100%;
		max-width: 320px;
	}
}

.contentPlayPage .containerGridPremios .titleOfSection {
	font-size: 20px;
	color: #fff;
	margin-bottom: 20px;
	font-weight: 500;
}

.contentPlayPage .containerGridPremios .gridPremios {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
	gap: 10px;
}

.contentPlayPage .containerGridPremios .gridPremios .itemPremio {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 12px;
	background-color: #262626;
	border-radius: 10px;
	background: linear-gradient(to top,
			#263c22 0%,
			#262626 35%);
}

.contentPlayPage .containerGridPremios .gridPremios .itemPremio .imageAre {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 126px;
	object-fit: contain;
	width: 100%;
}

.contentPlayPage .containerGridPremios .gridPremios .itemPremio .imageAre img {
	padding: 20px;
	height: auto;
	width: 100%;
}

.contentPlayPage .containerGridPremios .gridPremios .itemPremio h1 {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	line-height: 100%;
}

.contentPlayPage .containerGridPremios .gridPremios .itemPremio p {
	background-color: #fff;
	color: #000;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 14px;
	margin-top: 8px;
}

.contentPlayPage .containerGridPremios .gridPremios .itemPremio span {
	color: #d6d6d6;
	font-size: 12px;
	margin-top: 4px;
}

@media (max-width: 1320px) {
	.containerContent {
		padding: 0px 20px;
	}
}

@media (max-width: 1024px) {
	.contentPlayPage .containerGridPremios .gridPremios {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (max-width: 768px) {
	.contentPlayPage .containerGridPremios .gridPremios {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio {
		padding: 8px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio .imageAre {
		height: 80px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio h1 {
		font-size: 12px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio p {
		font-size: 12px;
		padding: 3px 6px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio span {
		font-size: 10px;
	}
}

@media (max-width: 480px) {
	.containerContent {
		padding: 0px 10px;
	}

	.contentPlayPage .containerGridPremios .gridPremios {
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio {
		padding: 6px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio .imageAre {
		height: 60px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio .imageAre img {
		padding: 8px;
		width: 45%;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio h1 {
		font-size: 11px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio p {
		font-size: 10px;
		padding: 2px 4px;
	}

	.contentPlayPage .containerGridPremios .gridPremios .itemPremio span {
		font-size: 9px;
	}

	.contentPlayPage .containerGridPremios .titleOfSection {
		font-size: 18px;
		margin-bottom: 15px;
	}
}

#scratch-container {
	position: relative;
	width: 487px;
	height: 487px;
	margin: 0 auto;
	user-select: none;
}

#prizes-grid {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 1fr);
	gap: 8px;
	padding: 12px;
	background: #222;
	color: white;
	border-radius: 8px;
	z-index: 1;
}

#prizes-grid>div {
	background: #333;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	font-size: 0.85rem;
}

#prizes-grid img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin-bottom: 6px;
}

#scratch-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	z-index: 10;
	touch-action: none;
	cursor: pointer;
	user-select: none;
}

#game-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 8px;
	z-index: 20;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
	padding: 40px;
}

#game-overlay h3 {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 4px;
	color: #fff;
}

#game-overlay p {
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
	color: #abacac;
}

#game-overlay .icon {
	font-size: 48px;
	margin-bottom: 20px;
}

#btn-buy {
	margin-top: 1rem;
	width: 100% !important;
	max-width: 487px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#result-msg {
	margin-top: 1rem;
	font-weight: 700;
	text-align: center;
	min-height: 1.5em;
}

#game-overlay .botaoRegistrar {
	background-color: #28e504;
	color: #000;
	padding: 12px 24px;
	border-radius: 4px;
	margin-top: 16px;
	font-weight: 600;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
	#scratch-container {
		width: 90vw;
		height: 90vw;
		max-width: 400px;
		max-height: 400px;
	}

	#game-overlay {
		padding: 20px;
	}

	#game-overlay h3 {
		font-size: 20px;
	}

	#game-overlay p {
		font-size: 14px;
	}

	#game-overlay .icon {
		font-size: 36px;
	}

	#prizes-grid>div {
		font-size: 0.75rem;
	}

	#prizes-grid img {
		width: 32px;
		height: 32px;
	}
}

@media (max-width: 480px) {
	#scratch-container {
		width: 95vw;
		height: 95vw;
		max-width: 320px;
		max-height: 320px;
	}

	#game-overlay {
		padding: 15px;
	}

	#game-overlay h3 {
		font-size: 18px;
	}

	#game-overlay p {
		font-size: 13px;
	}

	#game-overlay .icon {
		font-size: 32px;
	}

	#prizes-grid>div {
		font-size: 0.7rem;
	}

	#prizes-grid img {
		width: 24px;
		height: 24px;
	}

	#btn-buy {
		font-size: 14px;
		padding: 12px 16px;
	}
}

.btn-active {
	background-color: #28e504 !important;
	color: #000 !important;
}

.loss-effect {
	box-shadow: 0px 0px 0px 4px red;
	animation: shake 0.5s;
}

@keyframes shake {
	0% {
		transform: translate(0);
	}

	25% {
		transform: translate(-2px, 2px);
	}

	50% {
		transform: translate(2px, -2px);
	}

	75% {
		transform: translate(-2px, -2px);
	}

	100% {
		transform: translate(0);
	}
}

.win-effect{
    box-shadow: 0px 0px 0px 4px #10b981;
    animation: glow 1s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 5px #10b981;
    }
    100% {
        box-shadow: 0 0 20px #10b981;
    }
}