@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Aclonica&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    line-height: 1.2;
    font-size: 15px;
    color: #191919;
    background: #4fbac4 url("/event/assets/images/catch-the-koi/bg.jpg")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;
}
.t-body {
	overflow: hidden;
}
.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;
	width: 100%;
    max-width: 70px;
	text-align: center;
}
button.float-btn {
    display: block;
    margin: 0;
}
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 {
    background: url("/event/assets/images/catch-the-koi/btm-bg.png")no-repeat bottom center;
    background-size: 100%;
    position: relative;
    text-align: center;
    padding: 10px 0 120px;
}
.logo {
    max-width: 31%;
    margin: 0 auto -8%;
    position: relative;
    z-index: 1;
}
.title-top {
    position: relative;
    margin-bottom: -3%;
}
.deco.ap1 {
    left: -8%;
    top: 15%;
    max-width: 11%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.ap2 {
    right: -2%;
    top: 55%;
    max-width: 11%;
	animation: float 2s ease-in-out infinite;
}
.deco.bubble1 {
    left: 0%;
    top: 56%;
    max-width: 12%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.bubble2 {
    right: 0;
    top: 43%;
    max-width: 15%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.fish1 {
    left: 1%;
    top: 6%;
    max-width: 20%;
}
.deco.fish2 {
    right: 0%;
    top: 19%;
    max-width: 17%;
}
.deco.coin1 {
    left: 1%;
    top: 25%;
    max-width: 13%;
	animation: float 2.5s ease-in-out infinite;
}
.deco.coin2 {
    right: 6%;
    top: 2%;
    max-width: 10%;
	animation: float 2.3s ease-in-out infinite;
}
.deco.coin3 {
    right: 13%;
    top: 53%;
    max-width: 7%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.coin4 {
    left: 41%;
    top: 17%;
    margin: 0 auto;
    max-width: 8%;
	animation: float 2.1s ease-in-out infinite;
}
.deco.yuanbao {
    right: 9%;
    top: 31%;
    max-width: 10%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.cloud-1 {
    left: -19%;
    bottom: -3%;
    max-width: 45%;
    z-index: -1;
	animation: shake 2.2s ease-in-out infinite;
}
.deco.cloud-2 {
    right: -19%;
    bottom: -3%;
    max-width: 45%;
    z-index: -1;
	animation: shake 2s ease-in-out infinite;
}
@keyframes float {
  0% {
	transform: translateY(0);
  }
  50% {
	transform: translateY(-13px);
  }
  100% {
	transform: translateY(0);
  }
}
@keyframes shake {
  0% {
	transform: translateX(0);
  }
  50% {
	transform: translateX(-13px);
  }
  100% {
	transform: translateX(0);
  }
}
.date-wrap {
    position: relative;
    max-width: 600px;
    margin: 0 auto 30px;
}
.date-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Aclonica';
    font-size: 30px;
    color: #fff;
    text-shadow: 0 3px 4px rgb(0, 0, 0, 0.65);
}
.how-title {
    margin: 0 auto 10px;
}
.how-wrapper {
	padding-bottom: 10px
}
.stepbox {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 32%;
}
.claim-note {
    font-size: 23px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgb(0, 0, 0, 0.65);
}
.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;
}
.tkimg {
    margin-bottom: 7px;
}
.tkimg img {
    max-height: 100px;
}
.mstext-1 {
    font-family: 'Aclonica';
    font-size: 110%;
    margin-bottom: 5px;
}
.mstext-2 {
    font-style: italic;
    font-weight: 600;
	margin-bottom: 10px;
}
button.claim-btn {
    background: url(/event/assets/images/catch-the-koi/claim-btn.png) no-repeat;
    background-size: 100% 100%;
    width: 100%;
    height: 70px;
    max-width: 95%;
    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);
  }
}
.token-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto 15px;
}
.tktext {
    position: absolute;
    left: 0;
    right: 0;
    top: 34%;
    color: #fff;
    font-family: 'Aclonica';
    font-size: 40px;
    text-shadow: 1px 0px 5px rgb(0, 0, 0, 0.7);
}
.max-play {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-shadow: 1px 2px 5px rgb(0, 0, 0, 0.7);
}
.deco.btmfish1 {
    left: -10%;
    bottom: -51%;
    max-width: 29%;
    z-index: 12;
}
.deco.btmfish2 {
    right: -6%;
    top: -53%;
    max-width: 28%;
}
.frame-img {
    position: absolute;
    max-width: 90%;
    margin: 0px auto;
    z-index: 10;
    right: 0;
    left: 0;
    top: -37%;
	pointer-events: none;
}
.deco.bble-1 {
    left: 1%;
    top: 15%;
    max-width: 21%;
	animation: float 2.4s ease-in-out infinite;
}
.deco.bble-2 {
    right: -6%;
    top: 49%;
    max-width: 17%;
	animation: float 2.2s ease-in-out infinite;
}
.koi-reward-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 70%;
    margin: 21% auto 0;
}
.ap-event-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
#angpao-container {
    position: relative;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
/* --- Base Angpao Shape --- */
.angpao {
	position: absolute;
	width: 50px;
	height: 80px;
	border-radius: 5px;
	transform: rotateX(180deg);
	cursor: pointer;
}
.angpao:hover {
	filter: drop-shadow(0 0 5px #fce741) drop-shadow(0 0 1px #fce741) brightness(1.1);
}
/* --- Design 1: Classic with Gold Center --- */
.design-1 {
    background: url(/event/assets/images/catch-the-koi/koi1.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/images/catch-the-koi/koi2.gif) no-repeat;
    background-size: 100%;
    width: 220px;
    height: 220px;
    margin: 0 auto;
}
.design-3 {
    background: url(/event/assets/images/catch-the-koi/koi3.gif) no-repeat;
    background-size: 100%;
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

/** Modal **/
button.close-x {
    background: none;
    border: none;
    padding: 0;
    color: #000;
    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,rgba(252, 211, 111, 1) 0%, rgba(247, 233, 167, 1) 84%);
    border: 3px solid #9b1f10;
    box-shadow: inset 0 0 7px #b31a1c;
    border-radius: 12px;
    padding: 15px 20px;
    color: #000;
	font-weight: 500;
}
.poptitle {
    font-family: 'Aclonica';
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}
ul.terms {
	padding-left: 17px;
}

@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) {
.date-wrap {
    max-width: 60%;
}	
.date-text {
    font-size: 3.2vw;
}	
	
}
	
	
@media(max-width: 767px) {
.floating-wrapper {
    transform: scale(0.7);
}	
.music-wrapper {
    transform: scale(0.7);
}	
.stepbox {
    width: 48%;
}
.msbox {
    width: 47%;
    margin: 0 1% 15px;
}	
.deco.bble-1, .deco.bble-2,.deco.btmfish1, .deco.btmfish2 {
    display: none;
}	
.frame-img {
	max-width: 100%;
    height: 90vw;
}	
.frame-img img {
    object-fit: cover;
    height: 100%;
}	
.koi-reward-wrapper {
    max-width: 92%;
    margin: 27% auto 0;
}	
	
}




@media(max-width: 480px) {
.floating-wrapper {
	top: 50px;
    transform: scale(0.6);
}
.top-sec {
    padding: 5px 0 100px;
}	
.logo {
    max-width: 43%;
    margin: 0px auto -7%;
}	
.how-title img {
    max-height: 15vw;
}
.tkimg img {
    max-height: 20vw;
}	
.claim-note {
    font-size: 16px;
}
.how-title {
    max-width: 90%;
}
.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;
}	
}





















