.ifam-box {
	width: 80%;
	height: 80%;
	position: absolute;
	top: 20px;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 100;
	display: none;
	border: none;
}

.ifam-box.active {
	display: block;
}



.game-started .gl-mb {
	display: none !important;
}

.game-started .gl-banner {
	display: none;
}

/* About 标签页中的游戏信息 */
.tab-panel .info-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 12px 0;
	padding: 10px 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	line-height: 1.6;
}

.tab-panel .info-row:last-child {
	border-bottom: none;
}

.tab-panel .info-row strong {
	min-width: 90px;
	color: #667eea;
	font-weight: 600;
	flex-shrink: 0;
}

.tab-panel .info-row span {
	flex: 1;
	color: #2c3e50;
}


.category-card {
	display: block;
	width: 140px;
	height: 140px;
	background: white;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 20px;
	text-align: center;
	transition: all 0.3s ease;
	text-decoration: none;
	margin-right: 20px;
	flex-shrink: 0;
}

.category-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.category-icon {
	width: 100%;
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.category-icon img {
	width: 100px;
	height: 100px;
	object-fit: contain;
}

.category-name {
	font-size: 16px;
	font-weight: 600;
	color: #667eea;
	text-transform: capitalize;
}


@media screen and (max-width: 699px) {
	.category-card {
		width: 110px;
		height: 110px;
		padding: 15px;
		margin-right: 10px;
	}

	.category-icon {
		height: 70px;
	}

	.category-icon img {
		width: 70px;
		height: 70px;
	}

	.category-name {
		font-size: 14px;
	}
}


.gn-left .game-info-card {
	width: 100%;
	margin: 20px 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	background: transparent;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
	align-items: stretch;
	transition: none;
	border: none;
}

.gn-left .game-info-card:hover {
	transform: none;
	box-shadow: none;
}

.gn-left .game-info-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(102, 126, 234, 0.1);
}


.breadcrumb {
	padding: 15px 30px;
	/* background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%); */
	font-size: 14px;


}

.breadcrumb a {
	color: #444;
	text-decoration: none;
	transition: color 0.3s;
}


.breadcrumb span {
	margin: 0 8px;
	color: #333;
}

.breadcrumb span:last-child {
	color: #444;
	font-weight: 600;
}


.game-title-left {
	display: flex;
	align-items: center;
	gap: 15px;
}

.game-title-left img {
	border: 2px solid rgba(255, 255, 255, 0.3);
	transition: transform 0.3s;
}

.game-title-left img:hover {
	transform: scale(1.05);
}

.game-title-left span {
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.game-actions-bar {
	display: flex;
	align-items: center;
	gap: 20px;
}

.action-icon-btn {
	background: rgba(255, 255, 255, 0.15);
	border: 1.5px solid rgba(255, 255, 255, 0.4);
	border-radius: 10px;
	padding: 10px 16px;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	font-size: 14px;
	font-weight: 500;
	backdrop-filter: blur(5px);
}

.action-icon-btn:hover {
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 255, 255, 0.6);
}

.action-icon-btn:active {
	transform: translateY(-1px);
}

.action-icon-btn svg {
	stroke: #fff;
}

.action-percentage {
	font-weight: 600;
}

.action-text {
	font-size: 13px;
}





.game-info-title {
	font-size: 24px;
	color: #2c3e50;
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	/* border-bottom: 1px solid rgba(0, 0, 0, 0.05); */
}

.info-item:last-child {
	border-bottom: none;
}

.info-label {
	font-size: 14px;
	font-weight: 600;
	color: #7f8c8d;
	min-width: 85px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	flex-shrink: 0;
}

.info-value {
	font-size: 14px;
	color: #2c3e50;
	font-weight: 500;
	line-height: 1.6;
}

.category-badge {

	color: #166EEB;

	border-radius: 20px;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	display: inline-block;
	letter-spacing: 0.5px;
}

.category-badge:hover {
	transform: translateY(-2px) scale(1.03);

}

.rating-stars {
	display: flex;
	align-items: center;
	gap: 10px;
}

.stars {
	color: #ffd700;
	font-size: 18px;
	text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
	letter-spacing: 1px;
}

.rating-number {

	color: #166EEB;
	padding: 4px 12px;
	border-radius: 15px;
	font-weight: 700;
	font-size: 16px;

}

.game-tags-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.tag-badge {

	color: #166EEB;

	border-radius: 15px;
	font-size: 12px;
	font-weight: 600;
	transition: all 0.3s ease;
	display: inline-block;
}

.tag-badge:hover {
	transform: translateY(-2px);

}

.game-actions {
	display: flex;
	gap: 12px;
	margin-top: 10px;
	padding-top: 12px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.action-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border: 2px solid #e0e0e0;
	background: #ffffff;
	color: #666;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.action-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.action-btn svg {
	transition: all 0.3s ease;
}

.favorite-btn:hover {
	border-color: #ff4757;
	color: #ff4757;
}

.favorite-btn.favorited {
	border-color: #ff4757;
	color: #ff4757;
	background: rgba(255, 71, 87, 0.05);
}

.share-btn:hover {
	border-color: #667eea;
	color: #667eea;
}


.similar-games {
	width: 88%;
	margin: 40px auto;
	background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
	padding: 30px 20px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.similar-games .m-title {
	width: 96%;
	margin: 0 auto 25px;
	padding: 10px 2%;
}

.similar-games-slider {
	position: relative;
	width: 100%;
	margin: 0 auto;
}

.similar-games-container {
	overflow: hidden;
	width: 100%;
}

.similar-games-track {
	display: flex;
	gap: 20px;
	transition: transform 0.4s ease;
	padding: 10px 25px;
}

.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #ffffff;
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 10;
	box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slider-btn:hover {
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.prev-btn {
	left: -20px;
}

.next-btn {
	right: -20px;
}


.tabs-container {
	width: 100%;
}

.tabs-header {
	display: flex;
	border-bottom: 3px solid #e8ecef;
	gap: 8px;
	margin-bottom: 25px;
	background: linear-gradient(to bottom, #f8f9fa 0%, transparent 100%);
	padding: 10px 10px 0;
	border-radius: 10px 10px 0 0;
}

.tab-btn {
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
	color: #7f8c8d;
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	top: 3px;
	border-radius: 8px 8px 0 0;
}

.tab-btn:hover {
	color: #667eea;
	background: rgba(102, 126, 234, 0.08);
	transform: translateY(-2px);
}

.tab-btn.active {
	color: #667eea;
	border-bottom-color: #667eea;
	background: rgba(102, 126, 234, 0.12);
	font-weight: 700;
	box-shadow: 0 -2px 10px rgba(102, 126, 234, 0.1);
}

.tabs-content {
	position: relative;
	padding: 10px 15px;
}

.tab-panel {
	display: none;
	animation: fadeIn 0.4s ease;
}

.tab-panel.active {
	display: block;
}

.tab-panel p {
	margin: 12px 0;
	line-height: 1.8;
}

.tab-panel p strong {
	color: #667eea;
	font-weight: 700;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(15px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}




@media (max-width:960px) {
	.ifam-box {
		height: 73%;
	}

	.hot_game {
		width: 93%;
		padding: 0 2%;
		margin: 20px auto 40px;
		background-color: #fff;
		border-radius: 4px;
		box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.7);
	}

	.m-title {
		width: 96%;
		padding: 10px 2%;
	}

	.cont_game .cl-box {
		width: 30%;
		height: 106px;
	}

	.game-box {
		width: 96%;
		height: 80vh;
		margin: 0 auto;
		position: relative;
		display: flex;
		flex-direction: column;
		overflow: hidden;

		/* background: #000; */
	}

	.game-inner {
		width: 100%;
		height: 100%;
		margin: 0;
		background-color: #000;
		border-radius: 0;
		box-shadow: none;
		box-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
		border-radius: 10px;
		overflow: hidden;
	}

	.g_banner {
		width: 100%;
		height: 100%;
		position: relative;
	}

	.breadcrumb {
		padding: 12px 15px;
		font-size: 12px;

	}

	.breadcrumb span {
		margin: 0 5px;
		color: #efefef;
	}

	.breadcrumb a,
	.breadcrumb span:last-child {
		font-size: 13px;
		color: #fff;
	}

	.coin-badge {
		top: 18px;
		right: 15px;
		padding: 6px 12px;
		font-size: 14px;
		border-radius: 20px;
		border: 1.5px solid rgba(255, 255, 255, 0.3);

	}

	.coin-badge::before {
		font-size: 16px;
	}

	.gn-left {
		width: 100%;
		height: 100%;
		position: relative;
		overflow: visible;
		box-shadow: none;
		border-radius: 0;
	}

	.gl-banner {
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		filter: blur(10px);
		border-radius: 10px;
		z-index: 9;
	}

	.gl-mb {
		position: absolute;
		top: 50px;
		width: 100%;
		height: calc(100% - 120px);
		z-index: 10;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding-bottom: 30px;
	}

	.play {
		width: 180px;
		height: 180px;
		margin: 0 auto 40px;
		position: relative;
		border: none;
		border-radius: 16px;

		overflow: visible;
		transition: transform 0.3s;
	}

	.play:hover {
		transform: scale(1.03);
	}

	.play img {
		width: 100%;
		height: 140px;
		border-radius: 16px;
		object-fit: cover;
		transition: transform 0.3s;
	}

	.play:hover img {
		transform: scale(1.05);
	}

	.play-btn {
		position: absolute;
		bottom: -24px;
		width: 160px;
		height: 48px;
		box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
		transition: all .3s ease;
		line-height: 48px;
		border-radius: 24px;
		text-align: center;
		font-size: 16px;
		font-weight: 700;
		color: #fff;
		text-transform: capitalize;
		left: 50%;
		transform: translateX(-50%);
		margin: 0;
		overflow: visible;
		background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
		border: 2px solid rgba(255, 255, 255, 0.2);
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		letter-spacing: 0.5px;
	}

	.play-btn::after {
		content: "\25B6";
		font-size: 12px;
		margin-left: 4px;
	}

	.play-btn:hover {
		transform: translateX(-50%) scale(1.08);
		box-shadow: 0 8px 25px rgba(255, 107, 53, 0.7);
		border-color: rgba(255, 255, 255, 0.4);
	}

	.play-btn:active {
		transform: translateX(-50%) scale(1.03);
	}



	.g-title {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: auto;
		background: linear-gradient(135deg, #1e5799 0%, #2989d8 50%, #207cca 100%);
		color: #fff;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 0;
		margin: 0;
		padding: 0 12px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		text-shadow: none;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.7);
		z-index: 20;
	}

	.game-title-left {
		margin: 10px 0;
	}

	.game-title-left img {
		width: 50px !important;
		height: 50px !important;
		margin-right: 10px !important;
		border-radius: 8px;
	}

	.game-title-left span {
		font-size: 14px;
		font-weight: 700;
	}

	.game-actions-bar {
		gap: 6px;
		margin: 10px 0;
		flex-wrap: nowrap;
	}

	.action-icon-btn {
		padding: 6px 8px;
		font-size: 11px;
		border-radius: 6px;
		min-width: 45px;
		white-space: nowrap;
	}

	.action-icon-btn svg {
		width: 16px;
		height: 16px;
	}

	.action-text {
		display: none;
	}

	.action-percentage {
		font-size: 12px;
	}

	.g-about {
		width: 96%;
		margin: 20px auto;
		border-radius: 0px;
		min-height: 200px;
		box-shadow: 0px 0px 17px -5px #000;
		background-color: #ffffff;
		color: #fff;
		margin-top: 20px;
		border-radius: 10px;
	}

	.gb-title {
		font-size: 20px;
		text-indent: 1em;
		line-height: 2.0;
		color: #000;
		border-bottom: 1px solid rgba(0, 0, 0, .2)
	}

	.g-about p {
		width: 95%;
		margin: 10px auto;
		font-size: 15px;
		line-height: 1.5;
		padding-bottom: 10px;
		color: #000;
	}

	.gn-left .game-info-card {
		width: 100%;
		margin: 15px 0 0 0;
		flex-direction: column;
		padding: 0;
		gap: 0;
		border-radius: 0;
	}

	.gn-left .game-info-content {
		width: 100%;
		gap: 10px;
		padding: 18px;
	}

	.game-info-title {
		font-size: 20px;
		text-align: center;
		line-height: 1.3;
	}

	.info-item {
		justify-content: space-between;
		padding: 8px 0;
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.info-label {
		font-size: 13px;
		min-width: 65px;
	}

	.info-value {
		font-size: 13px;
		flex: 1;
		min-width: 0;
	}

	.stars {
		font-size: 16px;
		letter-spacing: 1px;
	}

	.rating-number {
		padding: 4px 10px;
		font-size: 12px;
	}

	.category-badge {

		font-size: 12px;
	}

	/* 移动端标签页 */
	.tabs-header {
		flex-wrap: wrap;
		gap: 5px;
		padding: 8px 5px 0;
		margin-bottom: 20px;
	}

	.tab-btn {
		padding: 10px 16px;
		font-size: 14px;
		flex: 1 1 auto;
		min-width: 90px;
		text-align: center;
		border-radius: 6px 6px 0 0;
	}

	.tab-btn:hover {
		transform: none;
	}

	.tabs-content {
		padding: 5px 10px;
	}

	.tab-panel p {
		margin: 10px 0;
		font-size: 14px;
		line-height: 1.7;
	}

	.tag-badge {
		padding: 4px 10px;
		font-size: 11px;
	}


	.game-actions {
		flex-wrap: wrap;
		gap: 10px;
	}

	.action-btn {
		padding: 8px 16px;
		font-size: 13px;
		flex: 1;
		min-width: 120px;
		justify-content: center;
	}


	.similar-games {
		width: 93%;
		margin: 25px auto;
		padding: 20px 2%;
	}

	.similar-games-track {
		gap: 12px;
	}

	.slider-btn {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}

	.prev-btn {
		left: -5px;
	}

	.next-btn {
		right: -5px;
	}


}

@media (min-width:960px) {
	.hot_game {
		width: 90%;
		margin: 20px auto 40px;
		border-radius: 10px;
		background-color: #fff;
		box-shadow: 0px 0px 17px -5px rgba(0, 0, 0, 0.4);
	}

	.content {
		width: 100%;
		margin: 0 auto 40px;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		align-items: flex-start;
		align-content: flex-start;
	}


	.g_banner {
		width: 100%;
		height: 90vh;
		border-radius: 10px;
		background-attachment: fixed;
		overflow: hidden;
		background-size: 550px 550px;
		background-position: left;
		box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.7);
	}

	.game-box {
		width: 90%;
		height: 100%;
		margin: auto;
		position: relative;
		display: flex;
		flex-direction: column;
		/* background: #000; */
	}

	.game-inner {
		width: 100%;
		height: 100%;
		margin: 0;
		background-color: #000;
		box-shadow: none;

	}

	.gn-left {
		width: 100%;
		height: 100%;
		position: relative;
		overflow: visible;
		border-radius: 0;
		display: flex;
		justify-content: center;
		align-items: center;
	}

	.gl-banner {
		position: absolute;
		top: 0;
		width: 100%;
		height: 100%;
		background-repeat: no-repeat;
		background-size: cover;
		background-position: center center;
		filter: blur(20px);

		z-index: 9;
	}

	.gl-mb {
		position: relative;
		width: 100%;
		height: calc(100% - 95px);
		z-index: 10;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding-bottom: 30px;
	}

	.play {
		width: 240px;
		height: auto;
		margin: 0 auto 40px;
		position: relative;
		border-radius: 16px;

		overflow: visible;
		transition: all 0.3s ease;
	}

	.play:hover {
		transform: translateY(-5px) scale(1.02);

	}


	.play img {
		width: 100%;
		height: 150px;
		border-radius: 16px;
		object-fit: cover;
		box-shadow: none;
		transition: transform 0.4s ease;
	}




	.play-btn {
		position: absolute;
		bottom: -80px;
		width: 210px;
		height: 56px;
		transition: all .3s ease;
		line-height: 56px;
		border-radius: 28px;
		text-align: center;
		font-size: 18px;
		font-weight: 700;
		color: #fff;
		text-transform: capitalize;
		left: 50%;
		transform: translateX(-50%);
		margin: 0;
		overflow: visible;
		background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
		box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
		border: 2px solid rgba(255, 255, 255, 0.2);
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		letter-spacing: 0.5px;
	}

	.play-btn::after {
		content: "\25B6";
		font-size: 14px;
		margin-left: 5px;
	}

	.play-btn:hover {
		transform: translateX(-50%) scale(1.1);
		box-shadow: 0 10px 40px rgba(255, 107, 53, 0.7);
		border-color: rgba(255, 255, 255, 0.4);
	}

	.play-btn:active {
		transform: translateX(-50%) scale(1.05);
	}



	.g-title {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 96%;
		height: 95px;
		background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #1e88e5 100%);
		color: #fff;
		font-size: 22px;
		font-weight: 700;
		letter-spacing: 0.3px;
		margin: 0;
		padding: 0 36px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
		box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.4);
		z-index: 20;
		border-top: 2px solid rgba(255, 255, 255, 0.1);
	}

	.g-about {
		width: 90%;
		margin: 40px auto 20px;
		border-radius: 0px;
		min-height: 200px;
		box-shadow: 0px 0px 17px -5px #000;
		background-color: #ffffff;
		color: #fff;

		border-radius: 10px;
	}


	.game-title-left img {
		width: 65px;
		height: 65px;
		border-radius: 10px;
	}

	.game-actions-bar {
		gap: 15px;
	}

	.action-icon-btn {
		padding: 10px 18px;
	}


	.gn-left .game-info-card {
		display: none;
	}

	.gb-title {
		font-size: 24px;
		text-indent: 1em;
		color: #000;
		line-height: 2.0;
		border-bottom: 1px solid rgba(0, 0, 0, .2)
	}

	.g-about p {
		width: 98%;
		margin: 10px auto;
		font-size: 16px;
		line-height: 1.5;
		color: #000;
	}

	.main {
		width: 70%;
		margin: 0 auto 20px;

	}

	.main .inner-box {
		width: 100%;
	}

	.cl-box {
		width: 13%;
	}

	.cont_game {
		width: 96%;
		padding: 3px 2%;
		height: auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-wrap: wrap;
	}



}