body {
	font-family: Arial, sans-serif;
	background-color: #1b222c;
	color: white;
	margin: 0;
	padding: 20px;
	position: relative;
	display: flex;
}

html {
	background-color: #1b222c;
}

.container {
	padding: 0;
	margin: 0;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	background-color: #131a25;
	padding: 20px 40px;
	border-radius: 50px;
	position: sticky;
	top: 0px;
	z-index: 1;
}

.logo {
	display: flex;
	width: fit-content;

	font-size: 24px;
	font-weight: bold;
}

.responsive-header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.select-wrapper {
	position: relative;
	padding: 10px 15px;
	border-radius: 30px;
	background-color: #2c3035;
	height: fit-content;
}

.select-wrapper span.caret {
	right: 5px;
	color: white;
}

.select-wrapper input.select-dropdown {
	width: 100px;
	text-align: left;
	height: 24px !important;
	border: none;
	color: white;
	outline: none;
	margin-bottom: 0 !important;
	font-size: 18px;
}

.search-bar {
	width: 200px !important;
	padding: 10px;
	border-radius: 5px;
	border: none;
	background-color: #2c3035;
	color: white;
	margin-bottom: 20px !important;
}

.game-category-wrap {
	display: flex;
	justify-content: center;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 20px; /* Adjust gap size as needed */
	padding: 20px 0; /* Optional: add padding around the grid */
}

.game-card {
	grid-column: span 1;
	background-color: #131a25;
	border-radius: 20px;
	padding: 15px;
	text-align: center;
	cursor: pointer; /* Make the card look clickable */
	transition: transform 0.2s; /* Add a slight hover effect */
}

.game-card:hover {
	transform: scale(1.05);
}

.game-icon {
	width: 100%;
	/*max-width: 100px;*/
	margin-bottom: 10px;
}


.spinner {
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid #fff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: auto;
}

.balance-wrap {
	display: flex;
	align-items: center;
	gap: 5px;
}

#balance-text {
	font-size: 16px !important;
}

#balance-display {
	font-size: 18px !important;
	white-space: nowrap;
}

@
@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Responsive adjustments */
@media (max-width: 1200px) {
	.games-grid {
		grid-template-columns: repeat(
						auto-fill,
						minmax(130px, 1fr)
					);
	}
}

.wrapper-class {
	display: flex;
	gap: 30px
}

@media (max-width: 768px) {
	.header {
		align-items: stretch;
		border-radius: 20px;
		padding: 20px 10px;
	}

	.wrapper-class {
		display: flex;
		gap: 10px;
		width: 100%;
		justify-content: space-between;
	}

	h2#title {
		font-size: 18px !important;
	}

	.responsive-header-content {
		justify-content: center;
		align-items: center;
		flex-direction: column;
		width: 100%;
		position: relative;
	}

	.search-bar {
		width: 100% !important;
		max-width: 150px;
	}

	.game-category-wrap {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.game-category {
		gap: 10px !important;
		justify-content: center;
	}

	.games-grid {
		grid-template-columns: repeat(
						auto-fill,
						minmax(100px, 1fr)
					);
	}

	.category-link {
		font-size: 12px !important;
	}

	/*.balance-wrap {*/
	/*	flex-direction: column;*/
	/*	gap: 5px;*/
	/*}*/

	#balance-text {
		font-size: 12px !important;
	}

	#balance-display {
		font-size: 10px !important;
		white-space: nowrap;
	}

	.select-wrapper {
		position: absolute;
		top: 0;
		right: 0;
	}

	.select-wrapper input.select-dropdown {
		font-size: 12px;
		width: 50px;
	}
}

#backToTop {
	box-shadow: 0px 0.6px 5px rgba(255, 153, 0, 0.13),
	0px 2.7px 10.35px rgba(255, 153, 0, 0.22),
	0px 6.6px 20.64px rgba(255, 153, 0, 0.28);
	border-radius: 42px;
	position: fixed;
	bottom: 20px;
	right: 20px;
	border: 2px solid #ff9900;
	color: white;
	background: black;
	padding: 10px 15px;
	cursor: pointer;
	display: none;
	z-index: 1050;
}

@media (max-width: 480px) {
	.games-grid {
		grid-template-columns: repeat(3, minmax(100px, 1fr));
		gap: 10px !important; /* Adjust gap size as needed */
	}
}

.balanceButtonDesktop {
	box-shadow: 0px 0.6px 5px rgba(255, 153, 0, 0.13),
	0px 2.7px 10.35px rgba(255, 153, 0, 0.22),
	0px 6.6px 20.64px rgba(255, 153, 0, 0.28);
	border-radius: 42px;
	border: 2px solid #ff9900;
	padding-left: 10px;
	padding-right: 10px;
	/* background: linear-gradient(79deg, #ff9900 0%, #d07000 100%) !important; */
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	/* padding: 8px 20px; */
	/* gap: 10px; */
	height: fit-content !important;
	min-height: 44px;
	position: relative;
	cursor: pointer;
}

.category-filter {
	display: flex;
	gap: 15px;
	align-items: center;
	grid-column: span 10;
}

.category-link {
	color: #fff;
	padding: 10px 15px;
	cursor: pointer;
	text-transform: capitalize;
	border: 1px solid #555;
	border-radius: 5px;
	transition: background-color 0.3s;
	height: fit-content;
	font-size: 25px;
}

.category-link.active, .category-link:hover {
	background-color: #555;
}

.game-category {
	display: flex;
	gap: 50px;
	white-space: nowrap;
	overflow: auto;
	scrollbar-width: none;  /* Firefox */
}

.game-category::-webkit-scrollbar {
	display: none;  /* Safari and Chrome */
}