@import url("https://fonts.googleapis.com/css?family=Exo+2:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&display=swap");

html {
	scroll-behavior: smooth;
}

Body,
div,
img,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
dl,
dd,
dt,
blockquote,
fieldset,
legend,
label,
input,
textarea {
	margin: 0;
	padding: 0;
	border: 0;
	outline: none !important;
}

body {
	/* font-family: "Montserrat", arial, helvetica, sans-serif; */
	font-family: 'Exo 2', sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #454545;
	background: #eef5fa;
	font-size: 16px;
	line-height: 1.6em;
}

body {
	background-color: #fff;
	background-image: url(/files/bg-freefire.png);
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
}

.logo {
	display: block;
	margin: 0 auto;
	text-align: center;
	position: relative;
}

.logo img {
	border-radius: 10px;
	transition: all 0.3s ease;
	animation: logoFloat 3s ease-in-out infinite;
	transform-origin: center;
}

/* .logo:hover img {
	transform: scale(1.05) rotate(2deg);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
} */

@keyframes logoFloat {
	0%, 100% {
		transform: translateY(0px) rotate(0deg);
	}
	50% {
		transform: translateY(-10px) rotate(1deg);
	}
}

.logo::before {
	content: '';
	position: absolute;
	top: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 120px;
	height: 70px;
	background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
	border-radius: 15px;
	z-index: -1;
	opacity: 0;
	animation: glowPulse 4s ease-in-out infinite;
	filter: blur(15px);
}

@keyframes glowPulse {
	0%, 100% {
		opacity: 0;
		transform: translateX(-50%) scale(0.8);
	}
	50% {
		opacity: 0.6;
		transform: translateX(-50%) scale(1.1);
	}
}

.logo img {
	animation: logoEntrance 1s ease-out, logoFloat 3s ease-in-out infinite 1s;
}

@keyframes logoEntrance {
	0% {
		opacity: 0;
		transform: scale(0.5) rotate(-180deg);
	}
	100% {
		opacity: 1;
		transform: scale(1) rotate(0deg);
	}
}

@media (max-width: 768px) {
	.logo::before {
		width: 100px;
		height: 60px;
	}
	
	@keyframes logoFloat {
		0%, 100% {
			transform: translateY(0px);
		}
		50% {
			transform: translateY(-5px);
		}
	}
}

@keyframes sparkle {
	0%, 100% {
		opacity: 0;
		transform: scale(0.5) rotate(0deg);
	}
	50% {
		opacity: 1;
		transform: scale(1) rotate(180deg);
	}
}

.xbanggia img,
.alert-primary img {
	border-radius: 3px;
}

.wbody {
	max-width: 820px;
	margin: auto;
}

.nav-m .avatargame {
	width: 25%;
	float: left;
}

.nav-m .avatargame .avatar {
	float: left;
}

.banner {
	height: 200px;
	background-color: rgba(0, 0, 0, .3);
	position: absolute;
	width: 100%;
	max-width: 800px;
}

.banner .banner-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.banner-img {
	height: 100%;
}

.banner .banner-content__center {
	position: relative;
	width: 100%;
}

.banner .banner-content__center:after {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	top: 0;
	background-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(82%, rgba(0, 0, 0, .75)));
	background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75) 82%);
}

.banner img {
	border-radius: 0;
	height: 100%;
}

.banner .banner-content img {
	-o-object-fit: cover;
	object-fit: cover;
	width: 100%;
	max-height: 400px;
	height: 100%;
}

.banner-title {
	bottom: 40px;
	left: 35px;
	-webkit-transform: unset;
	transform: unset;
}

.banner-title {
	font-size: 24px;
	color: #fff;
	font-weight: 700;
	bottom: 50px;
	position: absolute;
}

.blockdown {
	margin: 0;
	padding: 0 12px;
}

.content {
	margin: 0;
	padding: 0 12px;
	overflow-x: hidden;
	margin-top: 170px;
}

.content .content-box {
	padding: 20px;
	margin: 0 auto 20px auto;
	width: unset;
	overflow: hidden;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	min-height: 130px;
	background: #fff;
	border-radius: 5px;
	-webkit-box-shadow: 0 2px 5px 0 rgb(26 39 66 / 30%);
	box-shadow: 0 2px 5px 0 rgb(26 39 66 / 30%);
	margin-bottom: 30px;
	position: relative;
}

.title {
	text-align: center;
	line-height: 1.4em;
	font-weight: 600;
}

.footer {
	font-size: 14px;
	color: #989898;
	border-top: 1px solid #ebebeb;
	-webkit-transition: all .3s;
	transition: all .3s;
	width: 100%;
	padding: 0 50px;
}

.footer .content {
	max-width: 100%;
	margin: auto;
	padding: 36px 0;
}

.footer .logo {
	max-height: 45px;
	max-width: 200px;
}

.fcta-zalo-ben-trong-nut svg path {
	fill: #fff
}

.fcta-zalo-vi-tri-nut {
	position: fixed;
	bottom: 24px;
	left: 20px;
	z-index: 999
}

.fcta-zalo-nen-nut,
div.fcta-zalo-mess {
	box-shadow: 0 1px 6px rgba(0, 0, 0, .06), 0 2px 32px rgba(0, 0, 0, .16)
}

.fcta-zalo-nen-nut {
	width: 50px;
	height: 50px;
	text-align: center;
	color: #fff;
	background: #0068ff;
	border-radius: 50%;
	position: relative
}

.fcta-zalo-nen-nut::after,
.fcta-zalo-nen-nut::before {
	content: "";
	position: absolute;
	border: 1px solid #0068ff;
	background: #0068ff80;
	z-index: -1;
	left: -20px;
	right: -20px;
	top: -20px;
	bottom: -20px;
	border-radius: 50%;
	animation: zoom 1.9s linear infinite
}

.fcta-zalo-nen-nut::after {
	animation-delay: .4s
}

.fcta-zalo-ben-trong-nut,
.fcta-zalo-ben-trong-nut i {
	transition: all 1s
}

.fcta-zalo-ben-trong-nut {
	position: absolute;
	text-align: center;
	width: 60%;
	height: 60%;
	left: 10px;
	bottom: 25px;
	line-height: 70px;
	font-size: 25px;
	opacity: 1
}

.fcta-zalo-ben-trong-nut i {
	animation: lucidgenzalo 1s linear infinite
}

.fcta-zalo-nen-nut:hover .fcta-zalo-ben-trong-nut,
.fcta-zalo-text {
	opacity: 0
}

.fcta-zalo-nen-nut:hover i {
	transform: scale(.5);
	transition: all .5s ease-in
}

.fcta-zalo-text a {
	text-decoration: none;
	color: #fff
}

.fcta-zalo-text {
	position: absolute;
	top: 6px;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
	transform: scaleX(-1);
	transition: all .5s;
	line-height: 1.5
}

.fcta-zalo-nen-nut:hover .fcta-zalo-text {
	transform: scaleX(1);
	opacity: 1
}

div.fcta-zalo-mess {
	position: fixed;
	bottom: 29px;
	left: 58px;
	z-index: 99;
	background: #fff;
	padding: 7px 25px 7px 15px;
	color: #0068ff;
	border-radius: 0 50px 50px 0;
	font-weight: 700;
	font-size: 15px
}

.fcta-zalo-mess span {
	color: #0068ff !important
}


span#fcta-zalo-tracking {
	font-family: Roboto;
	line-height: 1.5
}

.fcta-zalo-text {
	font-family: Roboto
}

@keyframes zoominoutsinglefeatured {
	0% {
		transform: scale(1, 1);
	}

	50% {
		transform: scale(1.2, 1.2);
	}

	100% {
		transform: scale(1, 1);
	}
}

@keyframes zoom {
	0% {
		transform: scale(.5);
		opacity: 0
	}

	50% {
		opacity: 1
	}

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

@keyframes lucidgenzalo {
	0% to {
		transform: rotate(-25deg)
	}

	50% {
		transform: rotate(25deg)
	}
}

.jscroll-to-top {
	bottom: 100px
}

.input-group-append {
	display: flex;
	align-items: center;
	margin-left: -1px;
}

.input-group-append button {
	border: 1px solid #ced4da;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	color: #495057;
	background-color: #e9ecef;
}

.game-container {
	background-color: #f9f6f7;
	padding: 12px;
	border-radius: 10px;
	max-width: 100%;
	margin: 15px auto;
	text-align: left;
	/* Align text to the left */
	direction: ltr;
	/* Set direction to left-to-right */
}

.game-picture {
	width: 100%;
	max-width: 60px;
	object-fit: cover;
	float: left;
	/* Float image to the left */
	margin-right: 20px;
	/* Add margin to the right of the image */
}

.game-name {
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 10px;
	font-family: 'Arial', sans-serif;
}

.game-id {
	font-size: 1rem;
	color: #888;
}

.image-select-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center
}

.image-option {
	width: 100%;
	flex: 0 0 calc(25% - 10px);
	margin-bottom: 10px;
	cursor: pointer;
	text-align: center;
	border: 2px solid transparent
}

.image-option img {
	max-width: 100%;
	width: 100%;
	height: 58px;
	border: 2px solid #a7a7a7;
	border-radius: 5px
}

.image-option input[type=radio] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0
}

.image-option input[type=radio]:checked+img {
	border-color: #0e02f4;
	box-shadow: 0 0 5px #0e02f4
}

.image-option span {
	display: block;
	padding: 8px 0;
	border: 1px dashed #a7a7a7;
	border-radius: 5px;
	margin-top: 5px;
	font-size: 14px;
	font-weight: 700;
}

.image-option input[type=radio]:checked+span {
	border-color: red;
	box-shadow: 0 0 5px red;
}

@media (max-width: 767px) {
	.image-option {
		flex: 0 0 calc(33.333% - 10px);
	}
}

/* News Section Styles */
.news-section {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.news-section:hover {
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.news-header {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 16px 20px;
	border-radius: 10px;
	position: relative;
	overflow: hidden;
}

.news-header::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
				linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
				linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
				linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
	background-size: 20px 20px;
	background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
	opacity: 0.3;
}

.news-title {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	position: relative;
	z-index: 1;
}

.news-title i {
	font-size: 20px;
	animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
	from {
		transform: scale(1);
	}
	to {
		transform: scale(1.1);
	}
}

.news-content {
	padding: 0;
}

.news-item {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.3s ease;
	position: relative;
}

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

.news-item:hover {
	background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
	transform: translateX(5px);
}

.news-image {
	flex-shrink: 0;
	margin-right: 16px;
	position: relative;
}

.news-thumb {
	width: 80px;
	height: 60px;
	object-fit: cover;
	border-radius: 8px;
	border: 2px solid #e8e8e8;
	transition: all 0.3s ease;
}

.news-thumb:hover {
	border-color: #667eea;
	transform: scale(1.05);
}

.news-thumb-placeholder {
	width: 80px;
	height: 60px;
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 24px;
	border: 2px solid #e8e8e8;
}

.news-info {
	flex: 1;
	min-width: 0;
}

.news-item-title {
	margin: 0 0 8px 0;
	font-size: 16px;
	line-height: 1.4;
}

.news-item-title a {
	color: #2c3e50;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: left;
	word-spacing: 0.1em;
}

.news-item-title a:hover {
	color: #667eea;
	text-decoration: none;
}

.news-meta {
	display: flex;
	/* flex-wrap: wrap; */
	gap: 16px;
	font-size: 13px;
	color: #7f8c8d;
}

.news-date,
.news-views {
	display: flex;
	align-items: center;
	gap: 4px;
}

.news-date i,
.news-views i {
	font-size: 12px;
	color: #95a5a6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	.news-section {
		margin: 0 -12px 20px -12px;
		border-radius: 0;
	}
	
	.news-header {
		padding: 14px 16px;
		text-align: center;
	}
	
	.news-title {
		font-size: 16px;
		justify-content: center;
	}
	
	.news-item {
		padding: 14px 16px;
		text-align: justify;
	}
	
	.news-image {
		margin-right: 12px;
	}
	
	.news-thumb,
	.news-thumb-placeholder {
		width: 70px;
		height: 50px;
	}
	
	.news-thumb-placeholder {
		font-size: 20px;
	}
	
	.news-item-title {
		font-size: 15px;
		margin-bottom: 6px;
		text-align: left;
	}
	
	.news-item-title a {
		text-align: justify;
		word-break: break-word;
		hyphens: auto;
	}
	
	.news-meta {
		font-size: 12px;
		gap: 12px;
		justify-content: space-between;
		text-align: left;
	}
}

@media (max-width: 480px) {
	.news-thumb,
	.news-thumb-placeholder {
		width: 60px;
		height: 45px;
	}
	
	.news-thumb-placeholder {
		font-size: 18px;
	}
	
	.news-item-title {
		font-size: 14px;
		text-align: justify;
	}
	
	.news-item-title a {
		text-align: justify;
		line-height: 1.3;
	}
	
	.news-meta {
		/* flex-direction: column; */
		gap: 4px;
		align-items: flex-start;
	}
	
	.news-date,
	.news-views {
		width: 100%;
		justify-content: flex-start;
	}
	
	/* Cải thiện căn chỉnh text cho mobile nhỏ */
	.news-info {
		text-align: justify;
		text-justify: inter-word;
	}
	
	.news-item {
		align-items: flex-start;
		padding-top: 12px;
		padding-bottom: 12px;
	}
	
	.news-image {
		margin-top: 2px;
	}
}

.related-sites-section {
    margin: 1.5rem 0;
    padding: 1.25rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    overflow: hidden; /* Prevent box-shadow overflow issues */
}

.related-sites-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}

.related-sites-title .fa-info-circle {
    color: #0d6efd;
    margin-right: 0.5rem;
    animation: pulse 2.5s infinite ease-in-out;
}

.related-sites-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.related-sites-links a {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border: none;
    background: linear-gradient(145deg, #0d6efd, #0a58ca, #3c97ff, #0a58ca);
    background-size: 300% 100%;
    transition: all .4s ease;
    box-shadow: 0 2px 5px rgba(0, 91, 202, 0.2);
}

.related-sites-links a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
    animation-play-state: paused;
}

@media (max-width: 576px) {
    /* Keep links in a row on mobile */
    .related-sites-links {
        flex-direction: row;
        align-items: center;
    }
}