.mobile-hotgame-container {
	padding: 16px;
	margin-bottom: 20px;
}

.mobile-hotgame-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.mobile-hotgame-title {
	font-size: var(--SUBHEADER_FONT_SIZE);
	font-weight: var(--MED_FONT_WEIGHT);
	color: var(--BODY_TXT_COLOR);
	font-family: var(--SECONDARY_FONT_FAMILY);
	letter-spacing: var(--SECONDARY_FONT_LETTER_SPACING);
}

.mobile-hotgame-header-controls {
	display: flex;
	align-items: center;
	gap: 6px;
}

.mobile-hotgame-arrows {
	display: flex;
	gap: 5px;
}

.mobile-hotgame-arrow {
	width: 39px;
	height: 39px;
	border-radius: 6px;
	background: var(--THIRD_BTN_BG); 
	color: var(--THIRD_BTN_COLOR); 
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s ease;
}

.mobile-hotgame-arrow i {
	font-size: var(--SUBBODY_SMALL_TXT_FONT_SIZE);
}

.mobile-hotgame-arrow:active {
	background: #3a3a3a;
}

.mobile-hotgame-arrow.disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.mobile-hotgame-filters {
	margin-bottom: 16px;
}

.mobile-hotgame-filter-list {
	display: flex;
	gap: 8px;
	flex-wrap: nowrap;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 2px;
}

.mobile-hotgame-filter-list::-webkit-scrollbar {
	display: none;
}

.mobile-hotgame-filter-item {
	display: flex;
	align-items: center;
	padding: 10px 15px;
	border-radius: 10px;
	border: var(--THIRD_BTN_BORDER);
	cursor: pointer;
	gap: 8px;
	transition: background .25s, color .25s, border-color .25s, transform 0.2s ease;
}

.mobile-hotgame-filter-item:active{
	transform: scale(0.95);
}

.mobile-hotgame-filter-item.active {
	background: var(--THIRD_BTN_BG);
	border-color: transparent;
}

.mobile-hotgame-filter-icon {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mobile-hotgame-filter-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.mobile-hotgame-filter-item.active .mobile-hotgame-filter-icon img {
	filter: var(--ICON_PRIMARY_FILTER);
}

.mobile-hotgame-filter-name {
	font-size: var(--SUBBODY_TXT_FONT_SIZE);
	font-weight: var(--REG_FONT_WEIGHT);
	font-family: var(--PRIMARY_FONT_FAMILY);
	color: var(--THIRD_BTN_COLOR);
}

/* Game Cards Section */
.mobile-hotgame-games {
	--grid-cols: 3;
	--grid-gap: 18px;
	--item-width: calc((100% - var(--grid-gap) * (var(--grid-cols) - 1)) / var(--grid-cols));
	
	display: flex;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 10px;
	padding-bottom: 8px;
	scrollbar-width: none;
}

.mobile-hotgame-games::-webkit-scrollbar {
	display: none;
}

.mobile-hotgame-card {
	flex: 0 0 var(--item-width);
	max-width: var(--item-width);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mobile-hotgame-card-img {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 133.33%; 
	border-radius: 8px;
	overflow: hidden;
	background: var(--CARD_2_BG);
	display: flex;
}

.mobile-game-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: fill;
	display: block;
}

.mobile-hot-icon {
	position: absolute;
	top: 6px;
	right: 6px;
	width: auto;
	height: 24px;
	z-index: 0;
}

.mobile-gamelist-content {
	flex: 1 0 0px;
	max-width: 100%;
	margin-left: -100%;
}

.mobile-gamelist-content .mobile-hot-icon {
	width: 24px;
	position: absolute !important;
	right: 6px;
	top: 6px;
	z-index: 1;
}

.mobile-hotgame-preloader {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 40px 20px;
	transition: opacity 0.3s ease-out;
}

.mobile-hotgame-spinner {
	width: 40px;
	height: 40px;
	border: 3px solid var(--PRIMARY_INACTIVE_BTN_BG);
	border-top: 3px solid var(--BODY_TXT_COLOR);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

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

.mobile-hotgame-preloader.fade-out {
	opacity: 0;
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.mobile-hotgame-card {
	opacity: 0;
	animation: fadeInUp 0.4s ease-out forwards;
}

.mobile-hotgame-card:nth-child(1) { 
	animation-delay: 0.05s; 
}

.mobile-hotgame-card:nth-child(2) { 
	animation-delay: 0.1s; 
}

.mobile-hotgame-card:nth-child(3) { 
	animation-delay: 0.15s; 
}

.mobile-hotgame-card:nth-child(4) { 
	animation-delay: 0.2s; 
}

.mobile-hotgame-card:nth-child(5) { 
	animation-delay: 0.25s; 
}

.mobile-hotgame-card:nth-child(6) { 
	animation-delay: 0.3s; 
}

.mobile-hotgame-card:nth-child(7) { 
	animation-delay: 0.35s; 
}

.mobile-hotgame-card:nth-child(8) { 
	animation-delay: 0.4s; 
}

.mobile-hotgame-card:nth-child(9) { 
	animation-delay: 0.45s; 
}

.mobile-hotgame-card:nth-child(10) { 
	animation-delay: 0.5s; 
}

.mobile-hotgame-card:nth-child(11) { 
	animation-delay: 0.55s; 
}

.mobile-hotgame-card:nth-child(12) { 
	animation-delay: 0.6s; 
}

.mobile-hotgame-card:nth-child(13) { 
	animation-delay: 0.65s; 
}

.mobile-hotgame-card:nth-child(14) { 
	animation-delay: 0.7s; 
}

.mobile-hotgame-card:nth-child(15) { 
	animation-delay: 0.75s; 
}

/* Promo lock overlay for Mobile GeneralHotGame_3 (image area only) */
.mobile-hotgame-card .locked-promo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	z-index: 2;
	color: #fff;
}

.mobile-hotgame-card .locked-promo.hide {
	display: none;
}

.mobile-hotgame-card:has(.locked-promo:not(.hide)) {
	cursor: default;
}

.mobile-hotgame-card:has(.locked-promo:not(.hide)) .mobile-hotgame-card-img,
.mobile-hotgame-card:has(.locked-promo:not(.hide)) .mobile-game-img {
	pointer-events: none;
}

/* Maintenance overlay matching mobile prov_list_12 */
.mobile-hotgame-card-img .maintenance-overlay-mask {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.65);
	z-index: 3;
	color: #fff;
	gap: 0;
}

.mobile-hotgame-card-img .maintenance-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 5px;
	text-align: center;
	pointer-events: none;
	background: #838383ab;
	padding: 2px 5px;
	border-radius: 5px;
	margin-top: 8px;
}

.mobile-hotgame-card-img .maintenance-text {
	color: var(--MAINTENANCE_TXT_COLOR);
	font-size: var(--DEFAULT_FONT_SIZE);
	font-weight: var(--REG_FONT_WEIGHT);
	font-family: var(--SECONDARY_FONT_FAMILY);
	letter-spacing: var(--SECONDARY_FONT_LETTER_SPACING);
	text-transform: uppercase;
	pointer-events: none;
	white-space: nowrap;
}

.mobile-hotgame-card-img .maintenance-provider-name {
	color: #ffffff;
	font-size: var(--BODY_SMALL_TXT_FONT_SIZE);
	font-weight: var(--REG_FONT_WEIGHT);
	font-family: var(--SECONDARY_FONT_FAMILY);
	letter-spacing: var(--SECONDARY_FONT_LETTER_SPACING);
	pointer-events: none;
	text-align: center;
	margin-bottom: 0;
	position: relative;
	top: -10px;
}


.mobile-play-overlay {
	align-items: center;
	display: flex;
	justify-content: center;
	position: absolute;
	inset: 0;
	pointer-events: auto;
	color: #fff;
	z-index: 1;
}

.mobile-v-overlay__scrim {
	opacity: 0;
	background: rgba(0, 0, 0, 0.55);
	transition: opacity .2s ease;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.mobile-gamelist-ovelay_content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	height: 100%;
}

.mobile-overlay-game-name {
	text-align: center;
	color: var(--BODY_TXT_COLOR);
	text-shadow: 0 1px 2px rgba(0,0,0,.6);
	padding: 0 12px;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 0;
	transition: opacity .2s ease;
	cursor: default;
	font-size: var(--BODY_SMALL_TXT_FONT_SIZE);
	font-family: var(--SECONDARY_FONT_FAMILY);
	font-weight: var(--REG_FONT_WEIGHT);
	letter-spacing: var(--SECONDARY_FONT_LETTER_SPACING);
}

.mobile-hotgame-card-img:hover .mobile-overlay-game-name,
.mobile-hotgame-card-img:hover .mobile-play-overlay .mobile-v-overlay__scrim {
	opacity: 1;
}

.mobile-playBtn {
	position: static;
	align-items: center;
	display: flex;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	background: transparent;
	border: none;
	height: auto;
	width: auto;
	padding: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	transform: scale(0.8);
}

.mobile-hotgame-card-img:hover .mobile-playBtn {
	opacity: 1;
	transform: scale(1);
}

.mobile-playBtnIcon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--THIRD_BTN_BG);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-playBtnIcon:hover {
	transform: scale(1.15);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	animation: pulse 1.5s ease-in-out infinite;
}

.mobile-playBtnIcon i {
	font-size: var(--HEADER_FONT_SIZE);
	color: var(--THIRD_BTN_COLOR);
	line-height: 1;
	transition: transform 0.3s ease;
}
