@charset "utf-8";
/* CSS Document */
* {
	box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
}
html {
	scroll-behavior: smooth;
}
a:focus,
button:focus {
	outline-width: 0px;
}
.color-red {
	color: #e60707;
}
.color-yellow {
	color: #ecd361;
}
.color-orange {
	color: #fc3d11;
}
.color-pink {
	color: #e60088;
}
.color-blue {
	color: #2965b0;
}
a:hover,
button:hover {
	filter: brightness(120%);
}
button:disabled {
	filter: grayscale(80%);
}
button:focus {
    outline: 0px dotted;
    outline: 0px auto -webkit-focus-ring-color;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
    border-color: transparent;
}
#particles-js {
	position: fixed;left: 0;top: 0;width: 100%;height: 100%;display: block;z-index: 0;pointer-events: none;
}
.float {
	animation: float_2462 2s ease-in-out infinite;
	transform-origin: 50% 50%;
}
@keyframes float_2462 {
	0% {transform: translateY(0);}
	50% {transform: translateY(-6px);}
	100% {transform: translateY(0);}
}
.hvr-float-shadow {
	display: block;
	max-width: 240px;
	margin-left: auto;
	margin-right: auto;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	position: relative;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
}
.redeem-btn .hvr-float-shadow {
	display: inline-block;
	max-width: 100%;
	margin-left: inherit;
	margin-right: inherit;
}
.hvr-float-shadow:active,
.hvr-float-shadow:focus,
.hvr-float-shadow:hover {
	transform: scale(105%) translateY(-5px);
}
.hvr-float-shadow:active:before,
.hvr-float-shadow:focus:before,
.hvr-float-shadow:hover:before {
	opacity: 1;
	-webkit-transform: translateY(5px);
	transform: translateY(5px);
}
body {
	font-family: "Mitr", sans-serif;
	position: relative;
}
body.main-bg {
	background-image:url("https://cdn.exe.in.th/activities/audd/assets/audd-mystic-luck-event-may-2025/images/main-bg.jpg") ;
	background-color:#170e4e;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	height: 100vh;
}
body.index-bg {
	background-image:url("https://cdn.exe.in.th/activities/audd/assets/audd-mystic-luck-event-may-2025/images/index-bg.jpg") ;
	background-color:#170e4e;
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
/* NAVBAR */
.main-navbar {
    width: 100%;
    position: fixed;
    top: 0;
    color: #efefef;
    background-color: rgba(33, 4, 86, 0.9);
    z-index: 4;
}
.navbar-brand {
    position: relative;
}
.navbar-brand img {
    width: 120px;
}
.navbar-nav {
    margin: 0 auto;
}
.navbar-nav a.nav-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-weight: 600;
    text-align: center;
    color: #efefef;
    font-size: 18px;
    transition: 0.1s;
}
.navbar-nav a.nav-item span {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #aaaaaa;
}
.navbar-nav a.nav-item.active,
.navbar-nav a.nav-item:hover,
.navbar-nav a.nav-item.active span,
.navbar-nav a.nav-item:hover span {
    color: #cfac5a !important;
}
.navbar-social a {
    margin-left: 5px;
    margin-right: 5px;
    background-color: #efefef;
    transition: 0.1s;
}
.navbar-social a:hover {
    background-color: #cfac5a;
}
.navbar {
    padding-left: 0;
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 5px;
}
.id-name {
    border: 2px solid #d610ed9c;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    font-size: 14px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    color: #fff;
    background-color: #00000059;
}
.id-name span {
    padding-right: 10px;
    color: #ffffff;
    font-weight: 600;
}
.logout-btn {
    background: rgb(97, 21, 211);
    background: -moz-linear-gradient(45deg, #6115d3, #dd10ee, #dd10ee, #dd10ee);
    background: -webkit-linear-gradient(45deg, #6115d3, #dd10ee, #dd10ee, #dd10ee);
    background: linear-gradient(45deg, #6115d3, #dd10ee, #6115d3, #dd10ee);
    background-size: 300% auto;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.45s linear;
    color: #fff;
    border-radius: 4px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    font-size: 14px;
    font-weight: 600;
    padding-top: 12px;
    padding-bottom: 9px;
    border-left: 1px;
}
.logout-btn:hover {
    color: #ffffff !important;
    background-position: 100% 0;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    transition: all 0.3s linear;
    box-shadow: 0px 0px 2px 0px rgba(214, 67, 227, 0.6);
}
.point-reward {
	font-size: 14px;
	background: #00000059;
	border: 2px solid #d610ed9c;
	color: #ffffff;
	border-radius: 40px;
}
.bonus-point {
	width: 100%;
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	text-transform: uppercase;
	padding: 8px 14px 0px 20px;
}
.bonus-point .total-point {
	color: #fff401;
}
.items-shop-btn {
	margin-left: 10px;
	font-weight: 500;
	color: #ffffff !important;
	background: rgb(248, 169, 107);
	background: -moz-linear-gradient(45deg, #ffaf20, #fa7725, #fa7725, #fa7725);
	background: -webkit-linear-gradient(45deg, #ffaf20, #fa7725, #fa7725, #fa7725);
	background: linear-gradient(45deg, #ffaf20, #fa7725, #fa7725, #fa7725);
	background-size: 300% auto;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	transition: all 0.45s linear;
	border-radius: 40px;
	border: 2px solid #f8a96b;
	padding-top: 10px;
	padding-left: 20px;
	padding-right: 20px;
} 
.items-shop-btn:hover {
	color: #ffffff !important;
	background-position: 100% 0;
	-webkit-transition: all 0.3s linear;
	-moz-transition: all 0.3s linear;
	transition: all 0.3s linear;
	box-shadow: 0px 0px 2px 0px rgba(214, 67, 227, 0.6);
}
.btn-refresh {
	padding: 0px 2px;
	color: #ffffff;
}
.btn-refresh i {
	transform: rotate(0deg);
	transition: 1s;
	font-size: 16px;
	line-height: 1em;
}
.btn-refresh:hover,
.btn-refresh:active {
	color: #ffaf20;
}
.btn-refresh:hover i,
.btn-refresh:active i {
	transform: rotate(360deg);
}
.main-logo-event {
	position: relative;
	margin-top: 120px;
	margin-left: auto;
	margin-right: auto;
}
body.index-bg .main-logo-event {
	margin-top: 40px;
}
body.index-bg .main-logo-event img {
	width: 900px;
}
body.index-bg .hvr-float-shadow {
	margin-top: 20px;
}
body.index-bg .ch-center {
    margin-top: 80px;
}
.index-bg .ch-center img {display: block;margin-left: auto;margin-right: auto;}

.random-box {
	position: relative;
	margin-bottom: 20px;
	margin-top: 60px;
}
.gacha-box {position: relative;}
.gacha-box img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
body.index-bg .gacha-box {
	margin-top: 30px;
}
.random-box button {
	background-color: transparent;
	border: none;
}
.random-box button.selected {
	cursor: not-allowed;
}
.random-box button.selected:hover {
	filter: brightness(100%);
}
.random-box button.selected .gacha-box {
	filter: grayscale(1);
}
.random-box button.selected .gacha-box .float {
	animation: none;
}
.redeem-btn {
	position: relative;
	z-index: 2;
}
.redeem-btn-absolute {
	position: absolute;
	bottom: 10px;
	width: 100%;
	text-align: center;
}
.redeemx10 {
	margin-top: 40px;
}
.box-btn {
	margin: 0 auto;
	display: block;
}
.belt-notice-wrap {
	position: relative;
	background-color: transparent;
	padding: 0px 5px 0px 5px;
	height: auto;
	margin-bottom: 30px;
}
.belt-notice-wrap,
.belt-notice-wrap a {
	cursor: pointer;
	font-size: 18px;
	text-align: center;
	color: #ffffff;
	position: relative;
	z-index: 2;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none;
}
.belt-notice-wrap a.history-color,
.belt-notice-wrap a.history-color:visited {
	color: #ffffff;
}
.belt-notice-wrap a:hover {
	color: #c71388;
}
.belt-notice-wrap a.history-color:hover {
	color: #c71388;
}
.rule-wrap {
	margin-bottom: 40px;
}
.rule-content {
	padding: 30px 30px;
	background-color: rgba(0, 0, 0, .6);
	background-image: none;
	border-radius: 10px;
	border: 5px solid #f0b6ff;
}
.rule-content ul {
	list-style-type: disc;
	padding-left: 20px;
	margin-bottom: 0;
	color: #ffffff;
	position: relative;
	z-index: 1;
}
.rule-content ul li {
	font-weight: 300;
}
.rule-content ul li::marker {
	color: #f0b6ff;
}
.rule-content ul li:not(:last-child) {
	margin-bottom: 10px;
}
.rule-content ul a,
.rule-content ul a:visited {
	color: #e60088;
	text-decoration: none;
	border: 1px solid #e60088;
	border-radius: 4px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}
.rule-content ul a:hover {
	color: #ffffff;
	background: #e60088;
}
.rule-content h3 {
	color: #f0b6ff;
	font-size: 32px;
	font-weight: 500;
	margin-bottom: 30px;
}
.table-hard-pity.table {
	border-collapse: collapse;
	border-radius: 10px;
	overflow: hidden;
	max-width: 480px;
}
.table-hard-pity.table td, .table-hard-pity.table th {
    padding: 5px 15px;
    border: 1px solid #ffffff;
    border-top: 0;
	color: #171717;
}
.table-hard-pity.table thead th {
    background-color: #8fb6e1;
	font-size:16px;
	font-weight: 500;
}
.table-hard-pity.table td {
    background-color: #c1d9f3;
	font-size:16px;
	font-weight: 300;
}
/* footer */
footer {
	padding-top: 15px;
	padding-bottom: 15px;
	position: relative;
	z-index: 3;
}
footer p {
	padding-top: 15px;
	margin-bottom: 0;
	font-weight: 400;
	color: #efefef;
	font-size: 12px;
}
/*swal alert*/
.swal2-popup {
	position: relative;
	background-color: #ffffff !important;
	border: none !important;
	padding-bottom: 30px !important;
	padding-top: 30px !important;
}
.swal2-popup .swal2-header {
	position: relative;
	z-index: 1;
}
.swal2-popup.confirmopen-popup .swal2-header {
	padding: 0 10px;
}
.swal2-popup.confirmopen-popup .swal2-image {
	position: relative;
	top: 0px;
	width: 200px;
	margin-top: 0;
	margin-bottom: 20px;
	z-index: 2;
}
.swal2-popup.not-angpao .swal2-image {
	width: 200px;
}
.swal2-content {
	color: #171717 !important;
	padding: 0px 10px !important;
	max-height: 320px !important;
	overflow-y: auto;
}
.swal2-icon.swal2-error {
	border-color: #ff0101 !important;
	color: #ff0101 !important;
}
.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
	background-color: #ff0101 !important;
}
.swal2-title {
	font-size: 24px !important;
	color: #e60088 !important;
	font-weight: 500 !important;
}
.swal2-title.action-title {
    color: #e60088 !important;
    font-size: 24px!important;
    font-weight: 600!important;
    margin-bottom: 5px!important;
}
.swal2-icon.swal2-info {
	border-color: #ff0101 !important;
	color: #ff0101 !important;
}
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation {
	background: rgba(0, 0, 0, 0.7) !important;
}
.swal2-styled:focus {
	outline: 0;
	box-shadow: 0 0 0 3px rgba(100, 150, 200, 0) !important;
}
.swal2-content a {
	color: #e60088 !important;
	font-weight: 500;
}
.modal-item {
	padding: 10px 10px;
	margin-bottom: 6px;
	background-color: rgb(236 236 236);
	border-radius: 6px;
}
.modal-item:nth-of-type(2n+0) {
	background-color: rgb(236 236 236);
}
.getitem-single .modal-item {
	padding: 20px 20px;
}
.modal-item:first-child {
	margin-top: 15px;
}
.modal-item-name {
	font-size: 14px;
}
.modal-item-name2 {
	margin-top: 0px;
	font-size: 24px;
}
.modal-item-pic {
	flex-basis: 60px;
}
.modal-item-pic img {
	width: 60px;
}
.modal-item-qty {
	color: #e60088;
	font-size: 14px;
}
.modal-item-rarity {
	color: #e60088;
	font-size: 13px;
	margin-bottom: 0;
}
.modal-item-trade {
	font-size: 13px;
	color: #e60088;
}
.swal2-styled.swal2-confirm {
	background-color: #d412ec !important;
	color: #ffffff !important;
	font-size: 1.0625em;
	border: 0px solid #a75b22 !important;
	border-radius: 40px !important;
	padding-left: 20px;
	padding-right: 20px;
	width: 140px;
}
.swal2-styled.swal2-confirm:hover {
	filter: brightness(120%) !important;
    background-color: #d412ec !important;
    color: #ffffff !important;
}
.swal2-cancel.swal2-styled {
	background-color: transparent !important;
	color: #5a5a5a !important;
	font-size: 1.0625em;
	border: 2px solid #5a5a5a !important;
	border-radius: 40px !important;
	padding-left: 20px;
	padding-right: 20px;
	width: 140px;
}
.swal2-cancel.swal2-styled:hover {
	background-color: #5a5a5a !important;
	color: rgb(194, 194, 194) !important;
}
.close-btn {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
	pointer-events: none;
}
.history-btn {
	background-color: transparent;
	color: #fff;
	width: 180px;
	border: 2px solid #b54c47;
	border-radius: 20px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 30px;
}
.history-btn:hover {
	color: rgb(255, 73, 73);
}
.history-box {
	background: none;
	background-color: #ffffff;
	border: 0px solid #c67739 !important;
	padding: 20px 20px 30px 20px;
	margin-top: 30px;
}
.modal-body-history {
	padding: 0;
	font-size: 16px;
	margin-bottom: 15px;
	overflow-y: scroll;
	height: 320px;
	border: 2px solid #c9c9c945;
    padding: 0px 10px;
}
.modal-content {
	text-align: center;
	color: #121212;
}
.modal-header {
	color: #ffffff;
	display: inline-block;
	font-size: 24px;
	border: none;
	padding-bottom: 15px;
	background-color: #e60088;
}
.history-box .items-name {
	text-align: left;
	font-size: 13px;
	color: #121212;
	font-weight: 500;
}
.history-box .date {
	text-align: right;
	width: 100px;
	font-size: 12px;
	color: #121212;
	font-weight: 500;
}
.thead-dark {
	font-size: 14px;
}
.table {
	margin-bottom: 0;
}
.table td,
.table th {
	padding: 10px 5px;
	border-bottom: 1px solid #34383c;
	border-top: 0;
}
.btn-blue-modal {
	width: 120px;
	height: 45px;
	border-radius: 30px;
	color: #ffffff;
	background-color: #d412ec ;
	border: none;
	cursor: pointer;
	outline: none !important;
	font-size: 20px;
	margin-top: 15px;
}
.page-select {
	display: inline-block;
	margin: 0 auto;
}
.page-link {
	position: relative;
	display: block;
	padding: 0.5rem 0.75rem;
	margin-left: -1px;
	line-height: 1.25;
	color: #ffffff;
	background-color: #000000;
	border: 1px solid #363636;
}
.page-item.active .page-link {
	z-index: 3;
	color: #fff;
	background-color: #d412ec;
	border-color: #d412ec;
}
.page-link:hover {
	color: #fff;
	background-color: #d412ec;
	border-color: #d412ec;
}
.page-item.disabled .page-link {
	color: #ffffff;
	pointer-events: none;
	cursor: auto;
	background-color: #000000c7 !important;
	border-color: #d610ed9c !important;
}
@media only screen and (min-width: 768px) and (max-width: 1440px) {
	body.main-bg {
		background-image:url("https://cdn.exe.in.th/activities/audd/assets/audd-mystic-luck-event-may-2025/images/main-bg-md.jpg") ;
	}
}
@media only screen and (max-width: 1199.98px) {
	body.main-bg {
		background-image:url("https://cdn.exe.in.th/activities/audd/assets/audd-mystic-luck-event-may-2025/images/main-bg-md.jpg") ;
		min-height: 100vh;
	}
	body.index-bg {
		background-image: url("https://cdn.exe.in.th/activities/audd/assets/audd-mystic-luck-event-may-2025/images/index-bg-sm.jpg");
		background-size: cover;
	}
	body.index-bg .main-logo-event img {
		width: 800px;
	}
	body.index-bg .gacha-box {
		margin-top: 40px;
	}
	.random-box {
		margin-top: 20px;
	}
}

@media only screen and (max-width: 991.98px) {
	.main-navbar {
		position: static;
	}
	.navbar {
		justify-content: center !important;
		flex-direction: column !important;
	}
	.point-bar {margin-bottom: 10px;}
	.point-bar .point-reward:last-of-type {margin-right: 0;}
	.items-shop {
        position: fixed;
        top: 6px;
        right: 0px;
        z-index: 10;
    }
	.items-shop-btn {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        font-size: 13px;
        font-weight: 400;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
	.main-logo-event {
		margin-top: 50px;
	}
	.btn-refresh i {
		font-size: 14px;
	}
	.random-box {
		margin-top: 40px;
	}
	.gacha-box {
		width: 95%;
		margin: 0 auto;
		margin-bottom: 10px;
	}
	.reward-image,
	.reward-detial {
		position: relative;
		width: 100%;
	}
	.reward-image {
	  	margin-bottom: 15px;
	}
	.reward-image img {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.btn-get-reward {
	  	margin-top: 20px;
	}
	.reward-detial {
	  	padding-left: 0px;
	}
}

@media only screen and (max-width: 767.98px) {
	body.main-bg {
		background-image: url("https://cdn.exe.in.th/activities/audd/assets/audd-mystic-luck-event-may-2025/images/main-bg-sm.jpg");
		background-size: 768px;
	}
	body.index-bg .gacha-box {
		margin-top: 40px;
	}
	.point-reward {
		margin-bottom: 8px;
		margin-right: 0;
	}
	.redeem-btn img{
		width: 85%;
	}
	body.index-bg .gacha-box {
		margin-bottom: 0;
	}
	.bonus-point {
		padding-bottom: 8px;
	}
	.exe-profile {
		margin-top: 5px !important;
		margin-bottom: 5px;
	}
	.main-logo-event {
		margin-top: 30px;
	}
	.point-bar {margin-bottom: 0;width: 100%;}
	.random-box {
		margin-top: 30px;
		margin-bottom: 30px;
	}
	.redeem-btn-absolute {
		bottom: 0px;
	}
	.belt-notice-wrap, 
	.belt-notice-wrap a {
		font-size: 16px;
	}
	.rule-content h3 {
		font-size: 18px;
		margin-bottom: 15px;
	}
	.rule-content {
		padding: 15px 15px;
		margin: 0 0;
	}
	.rule-fram-top {
		display: none;
	}
	.rule-fram-bottom {
		display: none;
	}
	.rule-content ul li {
		font-size: 14px;
	}
	.table-responsive > .table > tbody > tr > td,
	.table-responsive > .table > tbody > tr > th,
	.table-responsive > .table > tfoot > tr > td,
	.table-responsive > .table > tfoot > tr > th,
	.table-responsive > .table > thead > tr > td,
	.table-responsive > .table > thead > tr > th {
		white-space: nowrap;
	}
	.history {
		position: absolute;
		right: -5px;
		font-size: 12px;
		top: 0;
	}
	.history-btn {
		font-size: 11px;
		padding: 3px 8px 3px 8px;
		border-radius: 3px;
	}
	.bonus-point {
		padding: 6px 20px 6px 20px;
	}
	.swal2-title {
		font-size: 20px !important;
	}
	.swal2-styled.swal2-confirm {
		margin-bottom: 15px;
	}
	.getitem-single .swal2-actions {
		margin-top: 15px;
	}
	.modal-item {
		padding: 10px 15px;
	}
	.modal-item-pic {
		flex-basis: 40px;
	}
	.modal-item-pic img {
		width: 40px;
	}
	.swal2-popup {
		min-height: auto !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	.getitem-single .modal-item {
		padding: 12px 12px;
	}
}