@media (max-width:1000px) {

	.main {
		width: 95%;
		height: auto;
		margin: auto;
	}

	.m-title {
		width: 95%;
		padding: 10px 0;
		margin: 10px auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-transform: uppercase;
	}

	.mt-left {
		width: auto;
		line-height: 1.5;
		color: #fff;
		font-size: 18px;
		font-weight: 600;
	}

	.mt-right {
		width: auto;
		line-height: 1.5;
		color: #fff;
		font-size: 16px;
		font-weight: 400;
	}
	
	.list1 {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
		grid-gap: 10px;
		grid-auto-rows: minmax(80px, auto);
		grid-auto-flow: dense;
		padding: 10px
	}
	.l1-box:nth-of-type(4n+1){
		grid-column-end: span 2;
		grid-row-end: span 2;
	}
	
	.l1-box {
		position: relative;
		overflow: hidden;
		display: block;
		box-sizing: border-box;
		box-shadow: 0 2px 5px gray;
		border-radius: 10px;
		border: 2px solid rgba(255,255,255,0.5);
	}
	
	.l1-box img {
		width: 100%;
		height: 100%;
		
	}
	
	.l1-text {
		display: none;
	}
	
	.list2{
		width: 100%;
		height: auto;
		margin:20px auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.l2-box{
		width: 98%;
		height: 80px;
		margin: auto;
		padding:5px 10px;
		overflow: hidden;
		border-radius: 12px;
		background: #2e2e2e;
		margin-bottom: 20px;
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
		transition: all linear 0.3s;
		box-shadow: 0px 2px 5px gray;
		
	}
	.l2-box:hover{
		transform: scale(1.15);
	}
	.l2-box img{
		width: 29%;
		height: 100%;
		border-radius: 12px;
	}
	.l2-text{
		width: 60%;
		
	}
	.l2-text p {
		font-size: 16px;
		color: #fff;
		font-weight: 600;
		line-height: 1.5;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}



}

@media (min-width:1000px) {
	.main {
		width: 80%;
		height: auto;
		margin: 20px auto;
	}

	.m-title {
		width: 100%;
		padding: 10px 0;
		margin: 10px auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		text-transform: uppercase;
	}

	.mt-left {
		width: auto;
		line-height: 1.5;
		color: #fff;
		font-size: 25px;
		font-weight: 600;
	}

	.mt-right {
		width: auto;
		line-height: 1.5;
		color: #fff;
		font-size: 16px;
		font-weight: 400;
	}

	.list1 {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin: 20px auto;
	}

	.l1-box {
		width: 11%;
		height: 170px;
		padding: 1%;
		overflow: hidden;
		border-radius: 12px;
		background: #2e2e2e;
		margin-bottom: 20px;
		position: relative;
	}

	.l1-box::after {
		content: "H5 Games";
		position: absolute;
		top: 0;
		z-index: 1;
		right: 0;
		display: inline-flex;
		background: linear-gradient(90deg, #ff9208 0, #ffc002 100%), #d9d9d9;
		border-radius: 0 12px;
		width: fit-content;
		font-size: 14px;
		color: #1e2023;
		justify-content: center;
		padding: 3px 12px;
	}

	.l1-text {
		position: absolute;
		height: auto;
		width: 98%;
		left: 0;
		line-height: 27px;
		border-radius: 0 0 10px 10px;
		align-items: baseline;
		bottom: 0;
		z-index: 2;
		background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0, #000 100%);
		padding: 45px 7px 0;
	}

	.l1-text p {
		font-size: 15px;
		color: #fff;
		line-height: 1.5;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 1;
	}

	.l1-box img {
		width: 100%;
		height: 100%;
		border-radius: 12px;
		transition: all linear 0.3s;
	}
	.l1-box:hover img{
		transform: scale(1.15);
	}
	.list2{
		width: 100%;
		height: auto;
		margin:20px auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.l2-box{
		width: 12%;
		height: 70px;
		padding:5px 10px;
		overflow: hidden;
		border-radius: 12px;
		background: #2e2e2e;
		margin-bottom: 20px;
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
		transition: all linear 0.3s;
		box-shadow: 0px 2px 5px gray;
		
	}
	.l2-box:hover{
		transform: scale(1.15);
	}
	.l2-box img{
		width: 40%;
		height: 100%;
		border-radius: 12px;
	}
	.l2-text{
		width: 55%;
		
	}
	.l2-text p {
		font-size: 15px;
		color: #fff;
		font-weight: 600;
		line-height: 1.5;
		overflow: hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
	}
}

.main {
	transition: all 0.4s linear;
}

.explore {
	width: 180px;
	line-height: 40px;
	margin: 20px auto;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	background-color: #ffffff;
	border: 2px solid #fff;
	box-shadow: 4px 4px 20px 0 rgb(10 148 228 / 50%);
	border-radius: 10px;
	position: relative;
}

.end {
	background-color: transparent;
	color: #000;
	font-size: 20px;
	text-align: center;
	line-height: 40px;
	box-shadow: 0px 0px 0px transparent;
	border: none;
}

.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 999;
	display: flex;
	justify-content: center;
	border: 2px solid #000;
	align-items: center;
	display: none;
}

.loading::after {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 4px solid #fff;
	border-top-color: #000;
	animation: loading 1s linear infinite;
}

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