#footer.dark {
	border: none;
}

.dark #copyrights {
	padding: 20px 0;
	color: #fff;
}

.footer-wrapper {
	border-image-slice: 1;
	background-color: black;
	background-size: cover;
	background-position: center;
	min-height: 22rem;
}

.footer-wrapper.desktopView a,
.footer-wrapper.desktopView a:hover,
.footer-wrapper.desktopView a:focus {
	text-decoration: none;
}

.footer-bank,
.footer-follow-us {
	text-align: left;
}

.footer-follow-us img {
	margin-right: 5px;
	height: 38px;
	width: auto;
}

.footer-bank img {
	margin: 5px;
	width: 20%;
}

.footer-bottom {
	background: linear-gradient(89.95deg, #9F2EEA 19.94%, #AD07DA 38.75%, #ED06C3 67.63%, #FE0B8B 99.98%);
}

.footerBox.home-category p {
	margin-bottom: 0px;
}

/* ace 126 footer  */
.footer-menu {
	background: linear-gradient(to bottom, #080808 5%, #393939 51%, #080808 87%);
	border-top: 1px solid #b1861c;
	border-bottom: 1px solid #b1861c;
}

.footer-fixed {
	position: fixed;
	width: 100%;
	left: 0;
	z-index: 10;
	bottom: 0;
	overflow: hidden;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
	background: url('../../images/project/footer-bg.webp') no-repeat center bottom;
	background-size: 100% 100%;
}

.footer-item-div {
	padding: 0px;
}

.footer-item-div a {
	display: block;
	height: 100%;
	text-align: center;
	line-height: 30px;
}

.footer-item-div p {
	line-height: 1.0;
}

.footer-item-div img {
	height: 40px;
	width: 40px;
	max-width: 40px;
	max-height: 40px;
	transition: transform 0.3s ease-in-out;
	animation: pulse 1s infinite;
}

/* 动画关键帧：放大再缩小 */
@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.08);
	}

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

.footer-nav {
	position: fixed;
	bottom: 70px;
}

.footer-nav,
.footer-nav .footer-item {
	background: grey;
}

.footer-item {
	/*background: linear-gradient(to right, #102226 0%, #078F86 50%, #102226 100%);*/
	/*background: black;*/
}

.footer-item.active {
	background: grey;
}

.footer-item img {
	max-width: 20px;
}

ul#footerList {
	margin-bottom: 0;
}

ul#footerList li {
	list-style: none;
	display: inline-block;
	padding: 10px;
}

ul#footerList li:last-child {
	border-right: 0;
}

.footerBox {
	padding: 5px;
}

.footerBox .row.row-1,
.footerBox .row.row-2 {
	border-bottom: 1px dashed gold;
}

.footerBox .row.row-1 .col-md-4:nth-child(2),
.footerBox .row.row-2 .col-md-4:nth-child(2) {
	border-left: 1px dashed gold;
	border-right: 1px dashed gold;
}

.footerBox .col-md-4 {
	margin: 20px auto;
}

/* ace 126 footer new end */
@media (max-width: 1200px) {}

@media (max-width: 991px) {
	.footer-follow-us img {
		height: 30px;
	}
}

@media (max-width: 979px) {}

@media (max-width: 767px) {}

@media (max-width: 480px) {}

/* ========== T&C Bonus Angpao + Modal ========== */
@keyframes angpaoFloat {
	0% {
		top: 0;
	}

	50% {
		top: calc(100vh - 100px);
	}

	100% {
		top: 0;
	}
}

#tcBonusAngpao:hover {
	animation-play-state: paused;
}

#tcBonusModal .modal-content {
	border: 2px solid #8400FF;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(132, 0, 255, 0.3);
}

#tcBonusModal .tc-modal-header {
	background: linear-gradient(135deg, #8400FF 0%, #CB93FF 100%);
	border-bottom: 2px solid #CB93FF;
	padding: 12px 24px;
	position: relative;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

#tcBonusModal .tc-modal-header h4 {
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	margin: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#tcBonusModal .tc-modal-header .close {
	color: #fff;
	opacity: 0.8;
	font-size: 24px;
	text-shadow: none;
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
}

#tcBonusModal .tc-modal-header .close:hover {
	opacity: 1;
}

#tcBonusModal .tc-modal-body {
	background: linear-gradient(180deg, #1a0a2e 0%, #0d0d0d 100%);
	color: #e0e0e0;
	padding: 24px;
}

#tcBonusModal .tc-remark-content {
	background: rgba(132, 0, 255, 0.06);
	border: 1px solid rgba(203, 147, 255, 0.2);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.6;
}

#tcBonusModal .tc-remark-content table {
	width: 100%;
	border-collapse: collapse;
}

#tcBonusModal .tc-remark-content td,
#tcBonusModal .tc-remark-content th {
	padding: 6px 10px;
	border: 1px solid rgba(203, 147, 255, 0.2);
}

#tcBonusModal .tc-game-section label {
	color: #CB93FF;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

#tcBonusModal .tc-game-section select {
	background: rgba(132, 0, 255, 0.1);
	border: 1px solid rgba(203, 147, 255, 0.3);
	border-radius: 6px;
	color: #fff;
	font-size: 14px;
	transition: border-color 0.2s;
}

#tcBonusModal .tc-game-section select:focus {
	border-color: #CB93FF;
	box-shadow: 0 0 0 2px rgba(203, 147, 255, 0.2);
	outline: none;
	background: rgba(132, 0, 255, 0.15);
	color: #fff;
}

#tcBonusModal .tc-game-section select option {
	background: #1a0a2e;
	color: #e0e0e0;
}

#tcBonusModal .tc-modal-footer {
	background: #0d0d0d;
	border-top: 1px solid rgba(203, 147, 255, 0.15);
	padding: 14px 24px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

#tcBonusModal .btn-tc-close {
	position: absolute;
	right: 24px;
	background: linear-gradient(135deg, #8400FF, #CB93FF);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 28px;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.2s;
}

#tcBonusModal .btn-tc-close:hover {
	background: linear-gradient(135deg, #9b30ff, #d8b4fe);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(132, 0, 255, 0.4);
}

#tcBonusModal .btn-tc-submit {
	background: linear-gradient(135deg, #00b09b, #96c93d);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 28px;
	font-weight: 700;
	font-size: 14px;
	margin-left: 8px;
	transition: all 0.2s;
}

#tcBonusModal .btn-tc-submit:hover {
	background: linear-gradient(135deg, #00c9a7, #a8e063);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 176, 155, 0.4);
}

#tcBonusModal .btn-tc-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* ========== Free Game Modal ========== */

.free-game-dialog {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: calc(100% - 10rem);
	max-width: 480px;
	margin: auto !important;
}

@media (min-width: 576px) {
	.free-game-dialog {
		min-height: calc(100% - 3.5rem);
	}
}

.free-game-content {
	background: transparent !important;
	border: none;
	box-shadow: none;
}

.free-game-body {
	padding: 0;
	background: transparent;
	position: relative;
}

.free-game-img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}

.free-game-actions {
	display: flex;
	gap: 30px;
	justify-content: center;
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 100%;
	z-index: 10;
}

.free-game-btn-close {
	background: linear-gradient(358.91deg, #FE0B8B -23.89%, #ED06C3 15.97%, #AD07DA 51.53%, #9F2EEA 98.75%);
	color: #fff;
	border: 1px solid #9333ea;
	padding: 10px 28px;
	border-radius: 30px;
	font-weight: 800;
	font-size: 16px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 4px 12px rgba(107, 33, 168, 0.4);
	transition: all 0.2s ease;
}

.free-game-btn-close:hover {
	background: linear-gradient(358.91deg, #9F2EEA -23.89%, #AD07DA 15.97%, #ED06C3 51.53%, #FE0B8B 98.75%);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 6px 16px rgba(107, 33, 168, 0.5);
}

.free-game-btn-play {
	background: linear-gradient(180deg, #ffe28a 0%, #d49b25 45%, #b57a12 55%, #e1aa33 100%);
	color: #3b2302;
	border: 1px solid #d49b25;
	padding: 10px 28px;
	border-radius: 30px;
	font-weight: 800;
	font-size: 16px;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 4px 12px rgba(212, 155, 37, 0.4);
	transition: all 0.2s ease;
}

.free-game-btn-play:hover {
	background: linear-gradient(180deg, #ffedaa 0%, #e1aa33 45%, #c88916 55%, #edbc45 100%);
	color: #3b2302;
	transform: translateY(-2px);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 6px 16px rgba(212, 155, 37, 0.5);
}

@media (max-width: 768px) {
	.free-game-btn-close {
		padding: 10px 18px;
		font-size: 14px;
	}

	.free-game-btn-play {
		padding: 10px 18px;
		font-size: 14px;
	}

	.angpao-img {
		width: 50px !important;
	}
}

@media (max-width: 576px) {
	#tcBonusModal .tc-modal-header h4 {
		font-size: 14px;
	}

	#tcBonusModal .tc-modal-header {
		padding: 14px 18px;
	}

	#tcBonusModal .tc-modal-body {
		padding: 16px;
	}

	#tcBonusModal .tc-remark-content {
		padding: 10px;
		font-size: 11px;
	}

	#tcBonusModal .tc-remark-content td,
	#tcBonusModal .tc-remark-content th {
		padding: 4px 6px;
		font-size: 11px;
	}

	#tcBonusModal .tc-game-section label {
		font-size: 11px;
	}

	#tcBonusModal .tc-game-section select {
		font-size: 12px;
	}

	#tcBonusModal .btn-tc-close {
		font-size: 12px;
		padding: 6px 20px;
	}

	#tcBonusModal .btn-tc-submit {
		font-size: 12px;
		padding: 6px 20px;
		margin-left: 4px;
	}
}

/* ========== Promo Modal (Reusable Component) ========== */
.promo-modal .modal-content {
	border: 2px solid #8400FF;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(132, 0, 255, 0.3);
	overflow: hidden;
}

.promo-modal .promo-modal-header {
	padding: 0;
	position: relative;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.promo-modal .promo-modal-banner {
	width: 90%;
	height: auto;
	display: block;
	border-radius: 0;
}

.promo-modal .promo-modal-close {
	color: #fff;
	opacity: 0.85;
	font-size: 26px;
	text-shadow: none;
	position: absolute;
	right: 14px;
	top: 12px;
	margin: 0;
	padding: 0;
	background: rgba(0, 0, 0, 0.35);
	border-radius: 50%;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: background 0.2s, opacity 0.2s;
	z-index: 10;
}

.promo-modal .promo-modal-close:hover {
	opacity: 1;
	background: rgba(0, 0, 0, 0.6);
}

.promo-modal .promo-modal-title-bar {
	width: 100%;
	background: linear-gradient(135deg, #5a0099 0%, #8400FF 100%);
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.promo-modal .promo-modal-title-bar .promo-name {
	color: #fff;
	font-weight: 700;
	font-size: 17px;
	margin: 0;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	flex: 1;
}

.promo-modal .promo-modal-title-bar .promo-badge {
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #ffe;
	font-size: 12px;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.promo-modal .promo-modal-body {
	background: linear-gradient(180deg, #1a0a2e 0%, #0d0d0d 100%);
	color: #e0e0e0;
	padding: 20px 24px;
}

.promo-modal .promo-short-desc {
	background: rgba(132, 0, 255, 0.08);
	border: 1px solid rgba(203, 147, 255, 0.2);
	border-radius: 8px;
	padding: 12px 16px;
	font-size: 14px;
	font-weight: 500;
	color: #CB93FF;
	margin-bottom: 16px;
	line-height: 1.5;
}

.promo-modal .promo-desc-content {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(203, 147, 255, 0.12);
	border-radius: 8px;
	padding: 16px;
	font-size: 13px;
	line-height: 1.7;
	color: #d0d0d0;
}

.promo-modal .promo-desc-content table {
	width: 100%;
	border-collapse: collapse;
}

.promo-modal .promo-desc-content td,
.promo-modal .promo-desc-content th {
	padding: 6px 10px;
	border: 1px solid rgba(203, 147, 255, 0.2);
}

.promo-modal .promo-desc-content th {
	background: rgba(132, 0, 255, 0.15);
	color: #CB93FF;
}

.promo-modal .promo-modal-footer {
	background: #0d0d0d;
	border-top: 1px solid rgba(203, 147, 255, 0.15);
	padding: 14px 24px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.promo-modal .btn-promo-close {
	background: linear-gradient(135deg, #8400FF, #CB93FF);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 28px;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.2s;
}

.promo-modal .btn-promo-close:hover {
	background: linear-gradient(135deg, #9b30ff, #d8b4fe);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(132, 0, 255, 0.4);
}

.promo-modal .btn-promo-join {
	background: linear-gradient(135deg, #00b09b, #96c93d);
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 8px 28px;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.2s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.promo-modal .btn-promo-join:hover {
	background: linear-gradient(135deg, #00c9a7, #a8e063);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 176, 155, 0.4);
	color: #fff;
	text-decoration: none;
}

.footer-spacing {
	padding: 2rem;
}

@media (max-width: 576px) {


	.promo-modal .promo-modal-title-bar .promo-name {
		font-size: 14px;
	}

	.promo-modal .promo-modal-body {
		padding: 14px 16px;
	}

	.promo-modal .promo-short-desc {
		font-size: 12px;
		padding: 10px 12px;
	}

	.promo-modal .promo-desc-content {
		font-size: 12px;
		padding: 12px;
	}

	.promo-modal .btn-promo-close,
	.promo-modal .btn-promo-join {
		font-size: 12px;
		padding: 6px 18px;
	}
}