@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&family=Metal+Mania&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
    font-size: 15px;
    color: #191919;
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("/event/assets/casinojr/images/halloween_bat/bg.png") no-repeat top center;
    background-size: cover;
}
a { text-decoration: none; cursor:pointer; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -o-transition: all 0.3s; transition: all 0.3s; }

a:hover, a:focus, button:focus, button:hover { text-decoration: none; outline: none; }

img { max-width:100%;}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], textarea, select {
    color: #666;
    width: 100%;
}

button {
	background: none;
	border: none;
	padding: 0;
}
@font-face {
    font-family: "midnight-en";
    src: url("../font/MidnightMinutes_DEMO.otf") format("opentype");
}

@font-face {
    font-family: "midnight-cn";
    src: url("../font/MidnightMinutes_cn.ttf") format("truetype");
}

.t-body {
	overflow: hidden;
    position: relative;
}
.deco {
	position: absolute;
	pointer-events: none;
}
.max-container {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
}
.music-wrapper {
    position: fixed;
    z-index: 99;
    right: 0;
    bottom: 50px;
    opacity: 1;
    transition: 0.3s;
    overflow: hidden;
    height: 40px;
    width: 40px;
    background: #fff;
    border-radius: 10px 0 0 10px;
}
.music-wrapper audio {
    position: absolute;
    left: -6px;
    top: -7px;
}
audio:focus {
	outline: none;
}
.floating-wrapper {
    position: fixed;
    z-index: 99;
    right: 2px;
    top: 100px;
    padding: 20px;
    text-align: center;
    background: url(/event/assets/casinojr/images/halloween_bat/side-menu-bg.png) no-repeat center / 100% 100%;
}
button.float-btn {
    display: block;
    margin: 0;
    max-width: 50px;
}
button.float-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.08);
}
.dropdown-menu.language {
    min-width: 155px;
    background: none;
    border: none;
    width: 100%;
    padding: 0;
    margin: 0;
	margin-top: 15px;
}
a.float-item {
    display: inline-block;
    max-width: 45px;
}
a.float-item:hover {
	filter: brightness(1.07);
	transform: scale(1.03);
}
.top-sec {
	position: relative;
	text-align: center;
	padding: 10px 0 120px;
}
.logo {
    max-width: 35%;
    margin: 0 auto -3%;
    position: relative;
    z-index: 1;
}
.title-top {
    position: relative;
}
.title-img{
    margin: 0 auto 20px;
}
.deco.coin1 {
    left: 18%;
    top: 40%;
    max-width: 6%;
}
.deco.coin2 {
    right: 18%;
    top: 40%;
    max-width: 8%;
}
.deco.coin3 {
    right: -20%;
    top: 40%;
    max-width: 20%;
}
.deco.coin4 {
    left: -24%;
    top: 40%;
    max-width: 20%;
}
.deco.lantern-left {
    left: 9%;
    top: -1%;
    max-width: 6%;
    z-index: -1;
	transform-origin: top center;
}
.deco.lantern-right {
    right: 6%;
    top: 66%;
    max-width: 11%;
    z-index: -1;
	transform-origin: top center;
}
.deco.cloud-a, .deco.cloud-b {
	z-index: -1;
	opacity: 0.6;
	filter: brightness(0.45) sepia(1) hue-rotate(235deg) saturate(3.5);
}
.deco.cloud-a {
	top: 0%;
	left: -25%;
	width: 55%;
	animation: cloudDriftA 50s linear infinite;
}
.deco.cloud-b {
	top: 18%;
	left: 110%;
	width: 42%;
	animation: cloudDriftB 38s linear infinite;
}
@keyframes cloudDriftA {
  from { transform: translateX(0); }
  to { transform: translateX(160vw); }
}
@keyframes cloudDriftB {
  from { transform: translateX(0); }
  to { transform: translateX(-170vw); }
}
.claim-note {
    font-size: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.65);
    font-family: "midnight-en", sans-serif;
}
.claim-note h2{
    color: #98edf8;
}
.mission-wrapper {
    position: relative;
    padding: 20px 0;
}
.msbox {
    position: relative;
    display: inline-block;
    margin: 5px 10px 15px;
    vertical-align: top;
    font-size: 18px;
    color: #fff;
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.7);
    width: 100%;
    max-width: 250px;
    background: url(/event/assets/casinojr/images/halloween_bat/daily-frame.png) no-repeat center / 100% 100%;
}
.tkimg {
    margin-bottom: 7px;
    padding: 30px 20px 0px;
}

button.claim-btn {
    background: url(/event/assets/casinojr/images/halloween_bat/en/claim-btn.png) no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 72px;
    max-width: 65%;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    font-style: italic;
    text-shadow: 1px 2px 5px rgb(0, 0, 0, 0.7);
    text-transform: uppercase;
}
.msbox.active button.claim-btn {
	animation: glowing 2s ease-in-out infinite;
}
@keyframes glowing {
  0% {
	filter: brightness(1.07) drop-shadow(0 0 8px #fff);
	transform: scale(1);
  }
  50% {
	filter: brightness(1) drop-shadow(0 0 1px #fff);
	transform: scale(0.98);
  }
  100% {
	filter: brightness(1.07) drop-shadow(0 0 8px #fff);
	transform: scale(1);
  }
}
.msbox.claimed{
	filter: grayscale(1);
}
.token-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto 40px;
}
.tktext {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    padding-left: 20%;
    color: #98edf8;
    font-family: "Metal Mania", system-ui;
    font-size: 40px;
    text-shadow: 1px 0px 5px rgb(0, 0, 0, 0.7);
}
.max-play {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    font-size: 20px;
    font-family: "Metal Mania", system-ui;
    color: #fff;
    text-shadow: 1px 2px 5px rgb(0, 0, 0, 0.7);
}
.frame-img {
    position: absolute;
    max-width: 90%;
    margin: 0px auto;
    z-index: 10;
    right: 0;
    left: 0;
    top: 0%;
	pointer-events: none;
}
.bat-reward-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 90%;
    aspect-ratio: 1248 / 921;
    margin: 0% auto 0;
}
.waterbase {
    position: absolute;
    top: 4%;
    bottom: 2%;
    left: 14%;
    right: 14%;
    z-index: 0;
}
.waterbase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ap-event-wrapper {
    position: absolute;
    top: 4%;
    bottom: 2%;
    left: 14%;
    right: 14%;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}
#bats-container {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
/* --- Base bats Shape --- */
.bats {
	position: absolute;
	width: 50px;
	height: 80px;
	border-radius: 5px;
	transform: rotateX(180deg);
	cursor: pointer;
}
.bats:hover {
	filter: drop-shadow(0 0 5px #ff8a00) drop-shadow(0 0 1px #ff8a00) brightness(1.1);
}
/* --- Design 1: Classic with Gold Center --- */
.design-1 {
    background: url(/event/assets/casinojr/images/halloween_bat/bat.gif) no-repeat;
    background-size: 100%;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}
/* --- Design 2: Curved Flap (Simulated with CSS) --- */
.design-2 {
    background: url(/event/assets/casinojr/images/halloween_bat/bats.gif) no-repeat;
    background-size: 100%;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}
.design-3 {
    background: url(/event/assets/casinojr/images/halloween_bat/bat.gif) no-repeat;
    background-size: 100%;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

/** Modal **/
button.close-x {
    background: none;
    border: none;
    padding: 0;
    color: #fff;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
}
.modal-content.reward {
    background: none;
    border: none;
	max-width: 350px;
    margin: 0 auto;
}
.reward-box {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
    text-align: center;
	cursor: pointer;
}
.prize {
    position: absolute;
    left: 0;
    right: 0;
    top: 42%;
    z-index: 3;
    font-size: 44px;
    font-weight: 700;
    text-transform: uppercase;
	filter: drop-shadow(0 0 2px #fff)  drop-shadow(0 0 8px #fff);
    color: #000;
    border-radius: 45px;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.3);
}
.congratz {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0px 2px 5px rgb(0, 0, 0, 0.8);
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
}
img.open {
	position: absolute;
	left: 0;
	right: 0;
	transition: 0.2s;
}
img.open {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.reward-box.active img.closed {
    opacity: 0;
    visibility: hidden;
	transition: 0.2s;
}
.reward-box.active img.open {
    opacity: 1;
    visibility: visible;
	transition: 0.2s;
}
.reward-box.active .prize, .reward-box.active .congratz {
	opacity: 1;
	visibility: visible;
	transform: scale(1);
	transition: 0.3s;
	transition-delay: 0.3s;
}

.modal-dialog.popup {
	max-width: 750px;
}
.modal-content.popup {
    background: linear-gradient(180deg,#642fa1 0%, #0d0820 84%);
    border: 3px solid #fff19a;
    box-shadow: inset 0 0 7px #fff19a;
    border-radius: 12px;
    padding: 15px 20px;
    color: #fff;
	font-weight: 500;
}
.poptitle {
    font-family: "Metal Mania", system-ui;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}
ul.terms {
	padding-left: 17px;
}

/* how modal */
.modal-dialog.how {
	max-width: 800px;
}
.modal-content.how {
    position: relative;
    background: url(/event/assets/casinojr/images/halloween_bat/how/how-bg.png) no-repeat center / 100% 100%;
    border: none;
    padding: 8% 6%;
}
.modal-content.how .close-x {
	color: #fff;
}
.how-lt-l, .how-lt-r {
	top: 18%;
	max-width: 9%;
	z-index: 2;
	transform-origin: top center;
	animation: blink 1.6s ease-in-out infinite;
}
.how-lt-l {
	left: -2%;
}
.how-lt-r {
	right: -2%;
}
@keyframes blink {
  0% {
	filter: brightness(1) drop-shadow(0 0 4px #ff8a00);
  }
  50% {
	filter: brightness(1.5) drop-shadow(0 0 12px #ff8a00);
  }
  100% {
	filter: brightness(1) drop-shadow(0 0 4px #ff8a00);
  }
}
.how-cn-l, .how-cn-r {
	bottom: 6%;
	z-index: 2;
}
.how-cn-l {
	left: -4%;
    max-width: 12%;
}
.how-cn-r {
	right: -2%;
    max-width: 10%;
}
.how-title {
	font-family: 'Metal Mania', cursive;
	font-size: 32px;
	text-align: center;
	color: #98edf8;
	margin-bottom: 20px;
}
.how-list {
	display: flex;
	justify-content: space-between;
	text-align: center;
}
.how-item {
	width: 32%;
}
.how-item img {
	max-width: 80%;
	margin: 0 auto 8px;
}
.how-item p {
	color: #98edf8;
	font-size: 13px;
	margin: 0;
	line-height: 1.3;
}

@media(max-width: 1080px) {
.floating-wrapper {
    transform: scale(0.8);
    transform-origin: right top;
}	
.music-wrapper {
    transform: scale(0.8);
    transform-origin: right bottom;
}
.design-1, .design-2 { 
    width: 19vw;
    height: 19vw;
}
.design-3 {
	width: 18.5vw;
    height: 18.5vw;
}
}


@media(max-width: 991px) {
.deco.coin1 {
    left: 40px;
    max-width: 9%;
}
.deco.coin2 {
    right: 45px;
    max-width: 10%;
}
.claim-note h2{
    font-size: 22px;
}
.tktext {
    top: 47%;
    padding-left: 25%;
}
	
}
	
	
@media(max-width: 767px) {
.floating-wrapper {
    transform: scale(0.7);
}	
.music-wrapper {
    transform: scale(0.7);
}
.msbox {
    width: 47%;
    margin: 0 1% 15px;
}
.frame-img {
	max-width: 96%;
}
.bat-reward-wrapper {
    max-width: 96%;
}
.title-img {
    max-width: 90%;
}
	
}




@media(max-width: 480px) {
.floating-wrapper {
	top: 50px;
    transform: scale(0.5);
}
.top-sec {
    padding: 5px 0 100px;
}		
.claim-note {
    font-size: 16px;
}
.msbox {
    font-size: 3.6vw;
}	
button.claim-btn {
    height: 14vw;
    font-size: 4.2vw;
}
.token-wrap {
    max-width: 85%;
}	
.tktext {
    font-size: 7.4vw;
}
.max-play {
    font-size: 3.5vw;
}	
.modal-content.popup {
    font-size: 14px;
    padding: 15px 15px;
}	
.poptitle {
    font-size: 20px;
}	
.modal-content.how {
	padding: 12% 6% 8%;
}
.how-title {
	font-size: 22px;
	margin-bottom: 12px;
}
.how-item p {
	font-size: 10px;
}
.how-lt-l, .how-lt-r {
	max-width: 10%;
}
.how-cn-l, .how-cn-r {
	max-width: 15%;
	bottom: -8%;
}
.deco.lantern-left{
    max-width: 9%;
    left: 3%;
}
.logo{
    max-width: 30%;
}
.deco.coin3, .deco.coin4{
    display: none;
}
}





















