BlackjackMachineUI {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #1a1a1a;
	background-image: linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222), linear-gradient(45deg, #222 25%, transparent 25%, transparent 75%, #222 75%, #222);
	background-size: 60px 60px;
	background-position: 0 0, 30px 30px;

	.machine-body {
		display: flex;
		flex-direction: column;
		height: 100%;
		width: 100%;
		background: linear-gradient(to bottom, #006400, #228B22); // Green for blackjack table
		border: 8px solid #daa520;
	}

	.title-section {
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 7px;
	}

	.title {
		font-size: 30px;
		color: #ffe866;
		text-align: center;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 204, 0, 0.8);
		font-weight: bold;
		letter-spacing: 2px;
	}

	.game-container {
		flex-direction: column;
		justify-content: space-between;
		padding: 10px;
		background-color: rgba(0, 0, 0, 0.5);
		border-radius: 20px;
		height: 125px;
	}

	.dealer-section, .player-section {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hand-label {
		font-size: 25px;
		color: #ffe866;
		text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
		font-weight: bold;
	}

	.card-display {
		display: flex;
		flex-direction: row;
		gap: 6px;
		justify-content: center;
		align-items: center;
	}

	.card {
		width: 40px;
		height: 60px;
		background-color: #fff;
		border: 2px solid #333;
		border-radius: 6px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 30px;
		font-weight: bold;
		color: #000;
		box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);

		&.card-hidden {
			background-color: #222;
			color: #fff;
			background-image: linear-gradient(135deg, #444 25%, transparent 25%, transparent 50%, #444 50%, #444 75%, transparent 75%, transparent);
			background-size: 10px 10px;
		}
	}

	.message-section {
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 5px;
	}

	.result-message {
		text-align: center;
		font-size: 20px;
		font-weight: bold;
		color: #ffcc00;
		text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
		animation: pulse 1.5s infinite alternate ease-in-out;
	}

	.controls-section {
		display: flex;
		justify-content: center;
		gap: 10px;
		margin-bottom: 10px;
	}

	.control-button {
		background-color: #daa520;
		align-items: center;
		color: #000;
		font-weight: bold;
		padding: 5px;
		border: none;
		border-radius: 5px;
		font-size: 15px;
		cursor: pointer;
		transition: all 0.2s ease;
		box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);

		&:hover {
			background-color: #ffcc00;
			transform: translateY(-2px);
		}

		&:active {
			background-color: #b8860b;
			transform: translateY(1px);
			box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
		}

		&.disabled {
			background-color: #555;
			color: #888;
			cursor: not-allowed;
			box-shadow: none;

			&:hover {
				transform: none;
				background-color: #555;
			}
		}
	}

	.bet-section {
		;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.bet-amount {
		font-size: 20px;
		color: #ffe866;
		text-align: center;
		text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
		font-weight: bold;
		background-color: rgba(0, 0, 0, 0.3);
		padding: 5px;
		border-radius: 15px;
		border: 1px solid #daa520;
	}

	@keyframes pulse {
		0% {
			opacity: 0.7;
			transform: scale(1);
		}

		100% {
			opacity: 1;
			transform: scale(1.05);
		}
	}
}
