@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body { font-family: "Roboto", sans-serif; line-height:1.2; font-size:15px; color:#fff; background: #050b22 url("../images/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;
}
.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;
}
.top-sec {
	position: relative;
	text-align: center;
	padding: 0 0 30px;
}
.deco.lamp {
    left: -5%;
    top: 86%;
    max-width: 17%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.fireball {
    right: -9%;
    top: 65%;
    max-width: 20%;
	animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
    100% {
        transform: translateY(0);
    }
}
button.reward-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    max-width: 75px;
}
.user-id-wrapper {
    max-width: 800px;
    margin: 30px auto;
    background: #10131d;
    border: 4px solid #313239;
    border-radius: 26px;
    padding: 10px 10px;
    display: grid;
    grid-template-columns: 130px auto;
    align-items: center;
}
.user-crown {
    background: #1b233b;
    height: 100px;
    width: 100px;
    border: 4px solid #fdc438;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-info-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
	text-align: left;
}
.idname {
    color: #fe9d3b;
    font-size: 130%;
    font-weight: 700;
    text-transform: uppercase;
	margin-bottom: 5px;
}
.ywtext {
    color: #ffd100;
}
.usbtn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 270px;
}
button.btn-1 {
	background: url("../images/btn-bg-1.png")no-repeat;
	background-size: cover;
	border: 2px solid #1a1a1e;
	border-radius: 40px;
	height: 45px;
	width: 100%;
	max-width: 120px;
	margin: 0 5px;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 16px;
}
button.btn-2 {
	background: url("../images/btn-bg-2.png")no-repeat;
	background-size: cover;
	border: 2px solid #1a1a1e;
	border-radius: 40px;
	height: 45px;
	width: 100%;
	max-width: 120px;
	margin: 0 5px;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 16px;
}
.usbtn-wrap button:hover {
	transform: scale(0.98);
	filter: brightness(1.08);
}
.how-title {
    margin-bottom: 10px;
}
.step-wrapper {
    padding: 0 0 30px;
}
.stepbox {
    position: relative;
    background: linear-gradient(180deg, rgba(16, 19, 29, 1) 0%, rgba(21, 31, 53, 1) 100%);
    border: 3px solid #ffb708;
    border-radius: 30px;
    max-width: 290px;
    width: 100%;
    display: inline-block;
    vertical-align: top;
    min-height: 216px;
    padding: 0 20px 20px;
	margin: 120px 15px 0;
}
.stepimg {
    max-width: 90%;
    margin: -44% auto 10px;
}
.stepnum {
    font-family: 'Lilita One';
    font-size: 140px;
    line-height: 0;
    opacity: 0.05;
    position: absolute;
    right: 0%;
    bottom: 23%;
}	
.stepinfo {
    font-family: 'Lilita One';
}
.sptext-1 {
    font-size: 30px;
    text-transform: uppercase;
    margin-bottom: 5px;
    background: linear-gradient(180deg, rgba(255, 241, 199, 1) 0%, rgba(253, 206, 70, 1) 20%, rgba(251, 171, 40, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sptext-2 {
    font-size: 22px;
}
.monster-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 100px auto;
}
.event-title {
    position: absolute;
    left: 0;
    right: 0;
    top: -11%;
	z-index: 2;
}
.kraken-img {
	position: relative;
    margin-bottom: -10%;
}
.kraken-img img {
    transition: opacity 0.3s ease;
}
img.hit {
    position: absolute;
	top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
	transition: opacity 1s ease;
}
.life-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24%;
    max-width: 650px;
    margin: 0 auto;
    background: #0b194e;
    border: 2px solid #a7afff;
    border-radius: 8px;
    height: 40px;
    overflow: hidden;
	z-index: 2;
}
.life-pts-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.life-current {
    height: 100%;
    background: linear-gradient(180deg, rgba(57, 255, 18, 1) 0%, rgba(13, 136, 1, 1) 100%);
    width: 99%;
	transition: width 0.3s ease;
    border-radius: 6px;
}
.life-icon {
    margin-right: 10px;
}
.life-pts-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lilita One';
    font-size: 24px;
}
.life-pts {
    text-shadow: -1px -1px 1px #000, 1px 1px 2px #000;
}
.atk-wrap {
    position: relative;
    z-index: 1;
    max-width: 40%;
    margin: 0 auto;
}
button.attack-btn:hover {
	transform: scale(0.98);
	filter: brightness(1.08);
}
.attack-btn:disabled {
    pointer-events: none;
}
.atk-times {
    background: url(../images/frame.png) no-repeat;
    background-size: 100% 100%;
    height: 110px;
    width: 110px;
    position: absolute;
    right: -30%;
    top: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lilita One';
    font-size: 50px;
    color: #f6d14a;
}
.rank-wrapper {
    position: relative;
    background: #151f35;
    border-radius: 15px;
    padding: 60px 15px 15px;
}
.top-rank-title {
    position: absolute;
    left: 0;
    right: 0;
    top: -60px;
}
.rank-bar {
    display: grid;
    grid-template-columns: 5% 15% 49% 30%;
    align-items: center;
    position: relative;
    margin: 10px 0;
    background: #0b194e;
    border: 2px solid #a7afff;
    border-radius: 40px;
    padding: 2px 2px;
    color: #a9bbff;
    font-size: 24px;
    font-weight: 700;
}
.rank-bar.top  {
	border-color: #fecc0b;
}
.playertext {
    color: #fe9d3b;
}
.bluetext {
	color: #07c8ff;
}
.pts-text {
    color: #28d20a;
	font-size: 90%;
}
.deco.treasure {
    left: -15%;
    top: -29%;
    max-width: 25%;
	animation: float 2.2s ease-in-out infinite;
}
.deco.fish {
    bottom: 5%;
    right: -35%;
    max-width: 34%;
	animation: float 2.3s ease-in-out infinite;
}

.modal-dialog.popup {
    max-width: 600px;
    top: 7%;
}
.modal-content.popup {
    background: linear-gradient(180deg, rgba(16, 19, 29, 1) 0%, rgba(21, 31, 53, 1) 100%);
    border: 3px solid #ffb708;
    border-radius: 20px;
    padding: 45px 15px 15px;
}
button.close-x {
    position: absolute;
    right: 10px;
    top: 7px;
    color: #ffb708;
    font-size: 18px;
    z-index: 1;
}
.reward-title {
    position: absolute;
    left: 0;
    right: 0;
    top: -9%;
    margin: 0 auto;
    max-width: 50%;
}
.prize-box {
    display: grid;
    grid-template-columns: 180px auto;
    grid-gap: 10px;
    align-items: center;
    max-width: 500px;
    margin: 5px auto;
    text-align: center;
    width: 100%;
}
.ranktext {
    margin-bottom: 7px;
}
.prize-name {
    background: #050732;
    border: 3px solid #ffb708;
    padding: 4px 15px;
    font-size: 22px;
    border-radius: 40px;
    font-family: 'Lilita One';
	max-width: max-content;
	margin: 0 auto;
}
.prize-name span {
	margin-right: 10px;	
}

@media(max-width: 991px) {
.music-wrapper {
    transform: scale(0.85);
	transform-origin: top right;
}	
button.reward-btn {
    max-width: 65px;
}	
.atk-times {
    height: 11vw;
    width: 11vw;
    font-size: 5vw;
}	
}

@media(max-width: 767px) {
.music-wrapper {
    transform: scale(0.75);
}	
button.reward-btn {
    max-width: 55px;
}	
.deco.fireball, .deco.lamp {
	display: none;
}	
.user-id-wrapper {
    align-items: flex-start;
}
.user-info-wrap {
    flex-direction: column;
    align-items: flex-start;
}	
.usbtn-wrap {
    margin: 10px 0 5px;
    display: flex;
    width: 100%;
    justify-content: flex-start;
}	
.stepbox {
    width: 46%;
    margin: 19vw 1% 0;
    min-height: 33vw;
}
.stepnum {
    font-size: 21vw;
}
.sptext-1 {
    font-size: 4.8vw;
}	
.sptext-2 {
    font-size: 3.6vw;
}	
.event-title {
    max-width: 50%;
    margin: 0 auto;
}	
.monster-wrapper {
    margin: 10% auto 12%;
}	
.life-bar {
    max-width: 80%;
    height: 5vw;
}	
.life-pts-wrap {
    font-size: 3vw;
}
span.life-icon img {
    height: 2.5vw;
}	
.deco.treasure, .deco.fish {
	display: none;
}	
.rank-wrapper {
    padding: 7% 15px 15px;
}	
.top-rank-title {
    max-width: 57%;
    margin: 0 auto;
    top: -9%;
}
.rank-bar {
    font-size: 3vw;
}
.prize-box {
    grid-template-columns: 34% auto;
}	
}

@media(max-width: 480px) {
.music-wrapper {
    transform: scale(0.7);
}	
button.reward-btn {
    max-width: 50px;
}	
.user-info-wrap {
    font-size: 4vw;
}
.user-id-wrapper {
    grid-template-columns: 27% auto;
}	
.user-crown {
    width: 20vw;
    height: 20vw;
    border: 1vw solid #fdc438;
    padding: 10%;
}	
button.btn-1, button.btn-2 {
    font-size: 16px;
    height: 12vw;
    font-size: 4vw;
}	
.rank-bar {
	font-size: 3vw;
	border-width: 0.4vw;
	margin: 1.2vw 0;
}	
.prize-name {
    font-size: 4vw;
}
.ranktext img {
    max-height: 5vw;
}	
	
}










