.games-banner {
	margin-top: 20px;
	padding: 0 1%;
}

.games-banner__container {
	gap: 0 30px;
	display: flex;
	position: relative;
}

.games-banner__jackpot {
	background: url("games_background-banner.bf4833a7.jpg") 100% 100% no-repeat;
	border-image-source: linear-gradient(to right, #bb903f, #ffff90, #bb903f);
	width: 80%;
}

.games-banner__jackpot-wrapper {
	height: 100%;
	display: flex;
}

.games-banner__jackpot-gods {
	border: 1px solid;
	width: 50%;
	position: relative;
}

.games-banner__gods-wrapper {
	z-index: 1;
	display: flex;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.games-banner__coins {
	z-index: 2;
	align-self: end;
	display: flex;
	position: relative;
}

.games-banner__jackpot-amount {
	border: 1px solid;
	width: 50%;
}

.games__container {
	padding: 20px 1%;
	position: relative;
}

.games__nav-wrapper {
	gap: 0 20px;
	width: 100%;
	margin-bottom: 20px;
	display: flex;
	padding-left: 15px;
	padding-right: 15px;
}

.games__tab-list {
	justify-content: space-between;
	width: 85%;
	display: flex;
	margin-bottom: 0 !important;
	list-style: none !important;
	padding-left: 0;
}

.games__tab-item {
	text-align: center;
	cursor: pointer;
	background: #212121;
	border-right: 1px solid #000;
	width: 20%;
	padding: 10px 0;
}

.games__tab-item.active {
	color: #212121;
	background-image: linear-gradient(to right, #bb903f, #ffff90, #bb903f);
	font-weight: 700;
}

.games__tab-item:hover {
	color: #212121;
	background-image: linear-gradient(to right, #bb903f, #ffff90, #bb903f);
}

.games__search {
	border: 1px solid #cbd36c;
	align-items: center;
	gap: 10px;
	width: 15%;
	padding: 0 10px;
	display: flex;
}

.games__search-input {
	color: #fff !important;
	background: none;
	border: none !important;
	outline: none;
	width: 80%;
	height: 100%;
	font-size: 16px;
}

.games__search-close, .games__search-icon {
	cursor: pointer;
	width: 5%;
}

.games__all-header {
	margin-bottom: 20px;
	font-size: 2.5rem;
}

.games__all-content {
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	grid-auto-columns: 170px;
	grid-auto-flow: dense;
	scrollbar-width: none;
	justify-items: start;
	gap: 20px;
	display: grid;
	overflow-x: scroll;
}

@media screen and (max-width: 398px) {
	.games__all-content {
		justify-items: center;
	}	
}


.games__side-arrow {
	z-index: 98;
	cursor: pointer;
	background-color: #e146a8;
	padding: 1.1rem .8rem;
	font-size: 2rem;
	transition: all .2s linear;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.games__content-wrapper {
	position: relative;
	min-height: 250px;
	padding-left: 15px;
	padding-right: 15px;
}

.games__tab-content {
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 20px;
	display: grid;
}

.games__item {
	border: 1px solid #cbd36c;
	position: relative;
}

.games__item.large {
	grid-area: span 2 / span 2;
}

.games__item.rectangle {
	grid-column: span 2;
}

.games__item:hover .games__buttons {
	display: flex;
}

.games__image {
	object-fit: contain;
	width: 100%;
	height: 100%;
}

.games__buttons {
	z-index: 1;
	background: #0006;
	width: 100%;
	height: 100%;
	display: none;
	position: absolute;
	top: 0;
	bottom: 0;
}

.games__loading-state {
  z-index: 1;
  background-color: #0000004d;
  justify-content: center;
  align-items: start;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 100px;
}

.games__loading {
  border: 10px solid #ddd;
  border-top-color: #bb903f;
  border-radius: 50%;
  width: 100px;
  height: 100px;
	padding-top: 80px;
  animation: 1s linear infinite loading;
}

@keyframes loading {
  to {
    transform: rotate(360deg);
  }
}

.games__play {
	text-align: center;
	background-color: #fabd2b;
	width: 140px;
	margin: 0 auto;
	padding: 12px 0;
	text-decoration: none;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translate(0, -50%);
}

.games__fun {
	text-align: center;
	background-color: #cbd36c;
	width: 100%;
	padding: 8px 0;
	position: absolute;
	bottom: 0;
}

.games__tab-list {
	margin-bottom: 0 !important;
	list-style: none !important;
}

.games__tab-item {
	background: #212121;
}

.games__tab-item.active {
	
	background-image: linear-gradient(to right, #bb903f, #ffff90, #bb903f) !important;
	font-weight: 700;
}
.games__tab-item.active a,
.games__tab-item:hover a {
	color: #212121 !important;
}

.games__tab-item:hover {
	color: #212121 !important;
	background-image: linear-gradient(to right, #bb903f, #ffff90, #bb903f) !important;
}

/* Mobile Responsiveness for tab */
/* General styling for dropdown */
.games__tab-dropdown {
	display: none;
	background-color: #222; /* Dark background color similar to screenshot */
	border: 1px solid #444; /* Light border */
	flex-basis: 50%;
}

/* Styling the select dropdown */
#games__tab-select {
	width: 100%;
	padding: 10px;
	background-color: #222;
	color: #fff;
	border: 1px solid #444; /* Border to match dropdown container */
	font-size: 16px;
	appearance: none; /* Hides the default dropdown arrow */
	cursor: pointer;
	font-family: 'Arial', sans-serif; /* Match the font from screenshot */
}

/* Arrow styling for select dropdown */
#games__tab-select::-ms-expand {
	display: none; /* Hides default arrow in IE */
}

/* Creating a custom arrow for the dropdown */
.games__tab-dropdown::after {
	content: '\25BC'; /* Downward arrow symbol */
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: #fff;
	font-size: 12px;
}

/* Styling the select options */
#games__tab-select option {
	background-color: #222;
	color: #fff;
	padding: 10px;
}

/* For mobile: showing the dropdown, hiding the tab list */
@media screen and (max-width: 768px) {
	.games__tab-list {
		display: none;
	}

	.games__tab-dropdown {
		display: flex;
		position: relative; /* Positioning for the custom arrow */
	}
	
	.games__search {
		flex-basis: 50%;
		width: 100%;
	}
}

