@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;
}

.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% {
		transform: rotate(-25deg);
	}

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

	100% {
		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;
	width: 100%;
	margin: 15px 0;
	text-align: left;
	direction: ltr;
	display: flex;
	align-items: center;
}

.game-picture {
	width: 60px;
	height: 60px;
	object-fit: cover;
	margin-right: 20px;
	flex-shrink: 0;
}

.game-info {
	flex: 1;
}

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

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

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

	.top-users .card-header h5 {
		margin-bottom: 0;
		font-size: 16px;
	}
}

/* Transaction History Styling */
.transaction-history {
	border: none;
	border-radius: 10px;
	overflow: hidden;
	background: #f8f9fa;
	box-shadow: 0 0 20px rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.1);
}

/* Header của lịch sử giao dịch */
.transaction-history .card-header {
	border-bottom: 2px solid #e9ecef;
	padding: 1rem;
	background: linear-gradient(to right, #f1f3f5, #e9ecef);
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	gap: 1rem;
}

.transaction-history .card-header h5 {
	margin: 0;
	font-size: 15px;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.transaction-history .card-body {
	max-height: 400px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(0,0,0,0.2) transparent;
}

/* Custom scrollbar styling */
.transaction-history .card-body::-webkit-scrollbar {
	width: 6px;
}

.transaction-history .card-body::-webkit-scrollbar-track {
	background: transparent;
}

.transaction-history .card-body::-webkit-scrollbar-thumb {
	background-color: rgba(0,0,0,0.3);
	border-radius: 20px;
	border: transparent;
}

.transaction-history .card-body::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0,0,0,0.4);
}


/* Ensure transaction items are visible properly */
.transaction-list {
	position: relative;
	padding-bottom: 30px;
}

/* Add shadow when scrolling */
.transaction-history.is-scrolling .card-body {
	box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,0.1);
}

/* Form tìm kiếm */
.search-form {
	width: auto;
	margin-top: 0;
	flex: 1;
	max-width: 300px;
	margin-left: auto;
}

.search-form .input-group {
	width: 100%;
}

.search-form .form-control {
	height: 38px;
	font-size: 14px;
	border: 1px solid #e0e0e0;
	border-radius: 4px 0 0 4px;
}

.search-form .form-control:focus {
	border-color: #007bff;
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.15);
}

.search-form .btn {
	padding: 0.375rem 1rem;
	background: #007bff;
	border: none;
	color: #fff;
	transition: all 0.2s;
}

.search-form .btn:hover {
	background: #0056b3;
}

.search-form .btn i {
	font-size: 14px;
}

/* Responsive */
@media (max-width: 576px) {
	.transaction-history .card-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.search-form {
		width: 100%;
		max-width: 100%;
		margin-top: 0.75rem;
	}
}

.transaction-item {
	background-color: #fff;
	margin: 0.5rem;
	border-radius: 8px;
	border-left: 3px solid transparent;
	transition: all 0.3s ease;
	border-bottom: 1px solid #eee;
}

.transaction-item:hover {
	background-color: #fff;
	border-left: 3px solid #007bff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Status colors for left border */
.transaction-item .badge-warning ~ .transaction-info {
	border-left-color: #ffc107;
}

.transaction-item .badge-success ~ .transaction-info {
	border-left-color: #28a745;
}

.transaction-item .badge-danger ~ .transaction-info {
	border-left-color: #dc3545;
}

.transaction-item .badge-info ~ .transaction-info {
	border-left-color: #17a2b8;
}

.transaction-item .badge {
	padding: 0.5em 0.8em;
	font-weight: 500;
}

.package-info {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 0.5rem;
	font-size: 13px;
	width: 100%;
}

.package-info img {
	width: 14px !important;
	height: 14px !important;
	flex-shrink: 0;
}

.package-info .text-success {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 120px;
}

.package-info .text-muted {
	white-space: nowrap;
	flex-shrink: 0;
}

.transaction-item.empty {
	opacity: 0.7;
}

/* Top Users Styling */
.top-users {
	border: none;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 20px rgba(0,0,0,0.05);
	border: 1px solid rgba(255, 215, 0, 0.3);
}

.top-users .card-header {
	background: linear-gradient(45deg, #FFD700, #FFA500);
	border: none;
	padding: 1rem;
	border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.top-user-item {
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
	position: relative;
}

.top-user-item:hover {
	background-color: rgba(255, 215, 0, 0.05);
	border-left: 3px solid #FFD700;
}

/* Special styling for top 3 */
.top-user-item:nth-child(1) {
	background: linear-gradient(to right, rgba(255, 215, 0, 0.1), transparent);
}

.top-user-item:nth-child(2) {
	background: linear-gradient(to right, rgba(192, 192, 192, 0.1), transparent);
}

.top-user-item:nth-child(3) {
	background: linear-gradient(to right, rgba(205, 127, 50, 0.1), transparent);
}

/* Add subtle border between items */
.top-user-item:not(:last-child),
.transaction-item:not(:last-child) {
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Enhance hover effects */
.top-user-item:hover,
.transaction-item:hover {
	transform: translateX(5px);
	box-shadow: -5px 0 10px rgba(0,0,0,0.05);
}

/* Add subtle animation for loading */
@keyframes cardAppear {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.transaction-history,
.top-users {
	animation: cardAppear 0.5s ease-out;
}

.rank-badge {
	width: 40px;
	text-align: center;
}

.rank-badge .badge {
	width: 25px;
	height: 25px;
	line-height: 25px;
	padding: 0;
	border-radius: 50%;
}

/* Medal colors */
.fa-medal.text-danger {
	color: #FFD700 !important;
}

.fa-medal.text-primary {
	color: #C0C0C0 !important;
}

.fa-medal.text-success {
	color: #CD7F32 !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
	
	.transaction-meta {
		text-align: right;
	}
	
	.amount {
		font-size: 0.9rem;
	}

	.transaction-item {
		padding: 0.75rem;
	}

	.package-info {
		font-size: 12px;
		gap: 0.35rem;
	}

	.package-info .text-success {
		max-width: 100px;
	}

	.package-info img {
		width: 12px !important;
		height: 12px !important;
	}

	.transaction-meta {
		min-width: 80px;
		margin-left: 0.5rem;
	}
}

.transaction-meta {
	flex-shrink: 0;
	margin-left: 1rem;
	min-width: 100px;
	text-align: right;
}

.transaction-meta .badge {
	font-size: 0.85rem;
	padding: 0.4em 0.8em;
}

.transaction-meta .time {
	font-size: 12px;
	opacity: 0.8;
	color: #6c757d;
}

.payment-btn {
	font-size: 0.85rem;
	padding: 0.4em 0.8em;
	white-space: nowrap;
	transition: all 0.3s ease;
	background: linear-gradient(45deg, #ffc107, #ff9800);
	border: none;
	color: #fff;
	text-decoration: none !important;
	margin-bottom: 0.3rem;
}

.payment-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	background: linear-gradient(45deg, #ff9800, #f57c00);
	color: #fff;
}

.payment-btn i {
	margin-right: 0.3rem;
}

/* Thêm hiệu ứng nhấp nháy nhẹ */
@keyframes softPulse {
	0% { opacity: 1; }
	50% { opacity: 0.8; }
	100% { opacity: 1; }
}

.payment-btn {
	animation: softPulse 2s infinite;
}

.payment-btn:hover {
	animation: none;
}

/* Điều chỉnh màu fade effect */
.transaction-history .card-body::after {
	background: linear-gradient(to top, #f8f9fa, rgba(248, 249, 250, 0));
}

/* Điều chỉnh màu scrollbar */
.transaction-history .card-body::-webkit-scrollbar-thumb {
	background-color: rgba(0,0,0,0.3);
}

.transaction-history .card-body::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0,0,0,0.4);
}

/* Tăng độ tương phản cho text */
.transaction-info .game-id {
	color: #495057;
}

/* Điều chỉnh màu badge */
.badge-warning {
	background: linear-gradient(45deg, #ffc107, #ff9800);
	color: #fff;
}

.badge-danger {
	background: linear-gradient(45deg, #dc3545, #c82333);
	color: #fff;
}

.badge-info {
	background: linear-gradient(45deg, #17a2b8, #138496);
	color: #fff;
}

.badge-success {
	background: linear-gradient(45deg, #28a745, #218838);
	color: #fff;
}

/* News Section Styling */
.news-section {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.news-section .card-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border: none;
    padding: 1rem;
}

.news-section .card-header i {
    font-size: 1.2rem;
}

.news-list {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.news-item {
    text-decoration: none !important;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-item:hover {
    background-color: rgba(0,123,255,0.05);
    color: inherit;
}

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

.news-content h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.news-item:hover .news-content h6 {
    color: #007bff;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.news-meta small {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-item .fa-chevron-right {
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.news-item:hover .fa-chevron-right {
    opacity: 1;
    transform: translateX(0);
}

/* Custom scrollbar for news list */
.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-track {
    background: transparent;
}

.news-list::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 20px;
}

.news-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .news-content h6 {
        font-size: 0.9rem;
    }
    
    .news-meta small {
        font-size: 0.8rem;
    }
}

/* Form animations */
#formRecharge {
    animation: formFadeIn 0.5s ease-out;
}

.input-group {
    position: relative;
    overflow: hidden;
}

.input-group input {
    transition: all 0.3s ease;
}

.input-group input:focus {
    transform: translateX(3px);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.1);
}

.btn-outline-secondary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline-secondary:active {
    transform: translateY(0);
}

/* Hiệu ứng ripple khi click button */
.btn-outline-secondary::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.3);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.btn-outline-secondary:active::after {
    transform: scale(2);
    opacity: 0;
}

/* Animation cho game container */
.game-container {
    transform-origin: top;
}

.form-control:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Nút submit animation */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

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

/* Keyframes */
@keyframes formFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animation cho button check */
.btn-outline-secondary.loading {
    position: relative;
    color: transparent !important;
}

.btn-outline-secondary.loading::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
    border: 2px solid #6c757d;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.youtube-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 0 0 8px 8px;
}

.youtube-video img {
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 8px 8px;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 0 8px 8px;
}

/* Điều chỉnh header video */
.border.rounded.shadow-sm.mb-2 {
    border-radius: 8px !important;
    overflow: hidden;
}

.border.rounded.shadow-sm.mb-2 h6 {
    margin: 0;
    padding: 10px;
    background-color: #8a8f99;
    color: #fff;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

/* Form styling */
.recharge-form {
    max-width: 100%;
    margin: 0 auto;
}

.recharge-form .form-group {
    margin-bottom: 1rem;
}

.recharge-form .input-group {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
}

.recharge-form .input-group .form-control {
    border: none;
    border-radius: 0;
    height: 42px;
    font-size: 14px;
    width: calc(100% - 140px);
}

.recharge-form .input-group-append {
    width: 140px;
    flex: none;
}

.recharge-form .btn-outline-secondary {
    border: none;
    padding: 0 1rem;
    background: #007bff;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.recharge-form .btn-outline-secondary:hover {
    background: #0056b3;
}

.recharge-form .btn-outline-secondary:active {
    background: #004494;
}

.recharge-form .btn-outline-secondary i {
    font-size: 15px;
}

/* Loading state đơn giản */
.recharge-form .btn-outline-secondary.loading {
    background: #0056b3;
    color: transparent;
    pointer-events: none;
}

.recharge-form .btn-outline-secondary.loading::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.recharge-form select.form-control {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    padding-right: 2.5rem;
    height: 42px;
    font-size: 14px;
}

.recharge-form .btn-primary {
    border: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 8px;
    background: #007bff;
    transition: all 0.2s ease;
}

.recharge-form .btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Game info container */
.game-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.5s ease 0.1s forwards;
}

.game-picture {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.8);
    animation: zoomInFade 0.4s ease 0.3s forwards;
}

.game-info {
    flex: 1;
    opacity: 0;
    transform: translateX(20px);
    animation: slideFade 0.4s ease 0.4s forwards;
}

.game-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.game-id {
    color: #6c757d;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Nút kiểm tra */
.btn-check {
    padding: 8px 20px;
    background: #2196F3;
    border: none;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
    min-width: 100px;
}

.btn-check:hover {
    background: #1976D2;
}

.btn-check:active {
    background: #1565C0;
}

.btn-check i {
    font-size: 14px;
}

/* Loading state */
.btn-check[disabled] {
    background: #90CAF9;
    cursor: not-allowed;
}

/* Input style */
.recharge-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    height: 40px;
    font-size: 14px;
    padding: 8px 12px;
    flex: 1;
}

.recharge-form .form-control:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* Container cho input và button */
.d-flex.gap-2 {
    display: flex !important;
    gap: 8px !important;
    align-items: center;
}

/* Animation cho info nhân vật */
.info-id {
    transition: all 0.3s ease;
    transform-origin: top;
}

.info-id.d-none {
    display: none !important;
    transform: scaleY(0);
    opacity: 0;
}

.info-id:not(.d-none) {
    animation: showInfo 0.4s ease forwards;
}

@keyframes showInfo {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes slideUpFade {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomInFade {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Thêm animation cho top users */
.top-users .card-header {
    transition: all 0.3s ease;
}


.top-users .card-header:hover {
    transform: translateY(-5px);
}

.top-users .card-header:hover h5 {
    color: #000;
}

.gift {
    position: relative;
    display: inline-block;
    padding: 4px 12px;
    background: #dc3545;
    color: #fff !important;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
    animation: shine 3s infinite;
    overflow: hidden;
}

.gift::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    animation: shine-effect 3s infinite;
}

.gift i {
    color: #fff;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shine-effect {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@media (max-width: 576px) {
    .gift {
        padding: 2px 8px;
        font-size: 12px;
    }
}

        /* Footer styles */
		.footer {
			padding: 40px 0 20px;
			/* background: #f8f9fa; */
			border-top: 1px solid #e9ecef;
			margin-top: 40px;
			max-width: 620px;
			margin-left: auto;
			margin-right: auto;
		}
		
		.footer .row {
			margin-left: 0;
			margin-right: 0;
		}
		
		.footer .col-md-6 {
			padding-left: 15px;
			padding-right: 15px;
		}
		
		.footer-title {
			font-size: 1.1rem;
			font-weight: 600;
			color: #2c3e50;
			margin-bottom: 15px;
		}
		
		.footer-desc {
			color: #6c757d;
			font-size: 0.95rem;
			line-height: 1.6;
		}
		
		.footer-contact {
			list-style: none;
			padding: 0;
			margin: 0;
		}
		
		.footer-contact li {
			margin-bottom: 10px;
			display: flex;
			align-items: center;
		}
		
		.footer-contact li i {
			width: 20px;
			color: #3498db;
			margin-right: 10px;
		}
		
		.footer-contact li a {
			color: #6c757d;
			text-decoration: none;
			transition: color 0.3s ease;
		}
		
		.footer-contact li a:hover {
			color: #3498db;
		}
		
		.footer-bottom {
			margin-top: 30px;
			padding-top: 20px;
			border-top: 1px solid #e9ecef;
		}
		
		.footer-bottom p {
			color: #6c757d;
			font-size: 0.9rem;
			margin: 0;
		}
		
		@media (max-width: 768px) {
			.footer {
				padding: 30px 0 15px;
			}
			
			.footer-title {
				margin-top: 20px;
			}
			
			.footer-contact li {
				margin-bottom: 8px;
			}
		} 