.hotgame-menu {
	padding-bottom: 16px !important;
	margin-top: 1rem;
}

.container.hotgame-menu { 
	position: relative; 
}

.hotgame-menu .hotgame-wrapper {
	display: grid !important;
	grid-template-columns: auto 1fr auto; 
	align-items: center !important;
	margin-top: 0 !important;
	margin: 0;
	column-gap: 24px;
}

.hotgame-menu .hotgame-wrapper .title_hotGameDesktop {
	padding: 0;
	color: var(--BODY_TXT_COLOR);
	font-family: var(--SECONDARY_FONT_FAMILY);
	font-size: var(--HEADER_FONT_SIZE);
	font-weight: var(--MED_FONT_WEIGHT);
	letter-spacing: var(--SECONDARY_FONT_LETTER_SPACING);
}

.hotgameNavi-wrapper { 
	padding: 0; 
}

.hotgameNavi_Container { 
	justify-content: flex-start; 
}

.hotgameNaviList { 
	display: flex; 
	gap: 12px; 
}

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

.hotgameNaviItem:active {
	transform: scale(0.95);
}
.hotgameNaviItem .icon { 
	display: flex; 
	align-items: center; 
	margin-right: 8px;
	gap: 8px;
	filter: var(--ICON_PRIMARY_FILTER);
}

.hotgameNaviItem .icon img { 
	width: 20px; 
	height: 20px; 
}

.hotgameNaviItem .hotgameNaviName { 
	font-size: var(--BODY_SMALL_TXT_FONT_SIZE);
	font-family: var(--PRIMARY_FONT_FAMILY);
	font-weight: var(--REG_FONT_WEIGHT);
	color: var(--BODY_TXT_COLOR);
	letter-spacing: var(--SECONDARY_FONT_LETTER_SPACING);
}

.hotgameNaviItem.active,
.hotgameNaviItem:hover {
	background: var(--THIRD_BTN_BG);
	border-color: transparent;
}

.hotgame-menu .hotgamelist-content {
    --grid-cols: 7.5;
    --grid-gap: 16px;
    --item-width: calc((100% - var(--grid-gap) * (var(--grid-cols) - 1)) / var(--grid-cols));

    display: flex;
    flex-wrap: nowrap;
    gap: var(--grid-gap);
    overflow-x: auto;
    padding: 8px 0 24px;
    margin: 0;
    width: 100%;
    scrollbar-width: none;
}

@media (max-width: 1680px) {
    .hotgame-menu .hotgamelist-content { 
   		--grid-cols: 7.5; 
    }
}
@media (max-width: 1366px) {
    .hotgame-menu .hotgamelist-content { 
    	--grid-cols: 5.5; 
    }
}
@media (max-width: 1200px) {
    .hotgame-menu .hotgamelist-content { 
    	--grid-cols: 4.5; 
    }
}
@media (max-width: 1024px) {
    .hotgame-menu .hotgamelist-content { 
    	--grid-cols: 3.5; 
    }
}
.hotgame-menu .hotgamelist-content::-webkit-scrollbar { 
	display: none; 
}

.hotgamelist-content .hotgame_content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
    flex: 0 0 var(--item-width);
    max-width: var(--item-width);
	padding: 0;
	margin-top: 8px;
}

.hotgamelist-content .hotgame_content .hotgame_provider { 
	width: 95%; 
	padding: 0 !important; 
}

.hotgame_content .hotgame_provider .homepageHot_img {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	display: flex;
    background: var(--CARD_2_BG); 
    transition: transform 0.3s ease, filter .2s ease;
}

.hotgame_content .hotgame_provider .homepageHot_img:hover {
    transform: translateY(-4px);
}


.hotgame_content .hotgame_provider .homepageHot_img .game-img { 
	width: 100% !important; 
	height: 100% !important; 
	object-fit: fill; 
	display: block; 
	color: var(--BODY_TXT_COLOR)
}

.hotgame_content .hotgame_provider .homepageHot_img .img-hot-home { 
	width: 50px; 
	height: auto; 
	object-fit: contain; 
}

.hotgame_provider .homepageHot_img .gamelist_content { 
	flex: 1 0 0; 
	max-width: 100%; 
	margin-left: -100%; 
}

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

.hotgame_provider .homepageHot_img .play-overlay .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: 1;
}

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

.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);
}

.hotgame_provider .homepageHot_img:hover:not(:has(.locked-promo:not(.hide))) .overlay-game-name,
.hotgame_provider .homepageHot_img:hover:not(:has(.locked-promo:not(.hide))) .play-overlay .v-overlay__scrim{ 
	opacity: 1; 
}

.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);
}

.hotgame_provider .homepageHot_img:hover .playBtn { 
	opacity: 1; 
	transform: scale(1);
}

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

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
}

.playBtnIcon:active {
    transform: scale(1.05);
    transition: transform 0.1s ease;
}

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

.img-hot-home { 
	width: 28px; 
	position: absolute !important; 
	right: 6px; 
	top: 6px; 
	z-index: 0; 
	transition: opacity .2s ease;
}

/* Promo lock overlay for GeneralHotGame_3 (image area only) */
.hotgame_content .hotgame_provider .homepageHot_img .locked-promo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.85);
	z-index: 5;
	color: var(--BODY_TXT_COLOR);
}

.hotgame_content .hotgame_provider .homepageHot_img .locked-promo.hide {
	display: none;
}

.hotgame_content .hotgame_provider .homepageHot_img:has(.locked-promo:not(.hide)) {
	cursor: default;
}

.hotgame_content .hotgame_provider .homepageHot_img:has(.locked-promo:not(.hide)) .playBtn,
.hotgame_content .hotgame_provider .homepageHot_img:has(.locked-promo:not(.hide)) .playBtnIcon {
	opacity: 0 !important;
	pointer-events: none;
	transform: scale(0.8);
}

/* Maintenance overlay for GeneralHotGame_3 (match prov_list_9 style) */
.hotgame_content .hotgame_provider .homepageHot_img .maintenance-overlay-mask {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 6;
	border-radius: 12px;
	gap: 0;
}

.hotgame_content .hotgame_provider .homepageHot_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;
}

.hotgame_content .hotgame_provider .homepageHot_img .maintenance-icon {
	position: relative;
	width: 20px;
	height: 18px;
	flex-shrink: 0;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hotgame_content .hotgame_provider .homepageHot_img .maintenance-icon i {
	position: relative;
	font-size: var(--ICON_XSMALL_FONT_SIZE);
	color: #FFD700;
	z-index: 1;
	line-height: 1;
	margin-top: 1px;
	font-weight: bold;
}

.hotgame_content .hotgame_provider .homepageHot_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;
}

.hotgame_content .hotgame_provider .homepageHot_img .maintenance-text {
	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);
	text-transform: uppercase;
	pointer-events: none;
	white-space: nowrap;
}

.hotgame-controls { 
	display: flex; 
	gap: 8px; 
}

.hotgame-scroll { 
	width: 42px; 
	height: 40px; 
	border-radius: 10px; 
	background: var(--THIRD_BTN_BG); 
	color: var(--THIRD_BTN_COLOR); 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	cursor: pointer; 
	z-index: 1; 
	opacity: .9; 
}

.hotgame-scroll:hover { 
	filter: var(--THIRD_BTN_HOVER_BG);
}

.hotgame-scroll.disabled {
    opacity: .4;
    cursor: not-allowed;
}

/* Preloader spinner */
.hotgame-preloader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    color: var(--BODY_TXT_COLOR);
    transition: opacity 0.3s ease-out;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--PRIMARY_INACTIVE_BTN_BG);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.hotgame-preloader .spinner {
    border-top-color: var(--TXT_COLOR_3);
}

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

/* Game card animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hotgame_content {
    opacity: 0;
    animation: fadeInUp 0.5s ease-out forwards;
}

.hotgame_content .gamelist_name,
.hotgame_content .gamelist_providername {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.hotgame_content:nth-child(1) {
	animation-delay: 0.05s; 
}

.hotgame_content:nth-child(2) { 
	animation-delay: 0.1s; 
}

.hotgame_content:nth-child(3) { 
	animation-delay: 0.15s; 
}

.hotgame_content:nth-child(4) { 
	animation-delay: 0.2s; 
}

.hotgame_content:nth-child(5) { 
	animation-delay: 0.25s; 
}

.hotgame_content:nth-child(6) { 
	animation-delay: 0.3s; 
}

.hotgame_content:nth-child(7) { 
	animation-delay: 0.35s; 
}

.hotgame_content:nth-child(8) { 
	animation-delay: 0.4s; 
}

.hotgame_content:nth-child(9) { 
	animation-delay: 0.45s; 
}

.hotgame_content:nth-child(10) { 
	animation-delay: 0.5s; 
}

.hotgame_content:nth-child(11) { 
	animation-delay: 0.55s; 
}

.hotgame_content:nth-child(12) {
	animation-delay: 0.6s; 
}

.hotgame_content:nth-child(13) { 
	animation-delay: 0.65s; 
}

.hotgame_content:nth-child(14) { 
	animation-delay: 0.7s; 
}

.hotgame_content:nth-child(15) { 
	animation-delay: 0.75s; 
}

.hotgame_content:nth-child(16) { 
	animation-delay: 0.8s; 
}

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


.hotgame-menu .hotgamelist-content {
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
}
.hotgame-menu .hotgamelist-content .hotgame_content {
	flex: 0 0 var(--item-width) !important;
	max-width: var(--item-width) !important;
}

.hotgame-menu .hotgamelist-content.row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.hotgame-menu .hotgamelist-content .hotgame_content.col {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
