body{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	font-family: 'Jost', sans-serif;
	background: linear-gradient(180deg, #0b0b0f 0%, #151425 50%, #0b0b0f 100%);
	position: relative;
}
.main{
	width: 450px;
	overflow: hidden;
	background: rgba(16, 14, 24, 0.85); /* Slightly darker for better readability without blur */
	border: 1px solid rgba(124, 58, 237, 0.25);
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(236, 72, 153, 0.06) inset;
	position: relative;
	z-index: 1;
}
#chk{
	display: none;
}
.signup{
	position: relative;
	width:100%;
	height: 100%;
}
label{
	color: #fff;
    font-size: 12px;
    justify-content: center;
    display: flex;
    margin: 0px;
    font-weight: bold;
    cursor: pointer;
    transition: .5s ease-in-out;
}
input{
	width: 60%;
	height: 20px;
	background: #e0dede;
	justify-content: center;
	display: flex;
	margin: 20px auto;
	padding: 10px;
	border: none;
	outline: none;
	border-radius: 5px;
}
.auth-links{
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-right: 19px;
	margin-top: 8px;
}
.forgot-link{
	color: #fff;
	
	font-weight: 600;
	text-decoration: none;
	letter-spacing: .6px;
}
.forgot-link:hover{
	color: #f472b6;
	text-decoration: underline;
}
.signup-link{
	color: transparent;
	background-image: linear-gradient(90deg, #7c3aed, #ec4899);
	-webkit-background-clip: text;
	        background-clip: text;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	text-decoration: none;
}
.signup-link:hover{
	opacity: .85;
}
button{
	width: 60%;
	height: 40px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	color: #fff;
	background: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
	font-size: 1em;
	font-weight: bold;
	margin-top: 20px;
	outline: none;
	border: none;
	border-radius: 5px;
	transition: .2s ease-in;
	cursor: pointer;
}
button:hover{
	background: linear-gradient(90deg, #8b5cf6 0%, #f472b6 100%);
}
.login{
	height: 460px;
	background: #eee;
	border-radius: 60% / 10%;
	transform: translateY(-180px);
	transition: .8s ease-in-out;
}
.login label{
	color: #7c3aed;
	transform: scale(.6);
}

#chk:checked ~ .login{
	transform: translateY(-500px);
}
#chk:checked ~ .login label{
	transform: scale(1);	
}
#chk:checked ~ .signup label{
	transform: scale(.6);
}

.madverse-loader{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(60% 60% at 20% 30%, rgba(124,58,237,0.15), transparent 60%),
		radial-gradient(50% 50% at 80% 20%, rgba(236,72,153,0.12), transparent 60%),
		linear-gradient(180deg, #0b0b0f 0%, #151425 100%);
	z-index: 9999;
	transition: opacity .4s ease, visibility .4s ease;
}
.madverse-loader.hidden{
	opacity: 0;
	visibility: hidden;
}
.madverse-spinner{
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 6px solid rgba(255,255,255,0.08);
	border-top-color: #ec4899;
	border-right-color: #7c3aed;
	animation: mvspin 1s linear infinite;
	box-shadow: 0 0 24px rgba(124,58,237,0.4), 0 0 12px rgba(236,72,153,0.3);
}
@keyframes mvspin{
	to{ transform: rotate(360deg); }
}

.login-form{
	position: relative;
	padding: 10px 0; /* Reduced padding from 16px */
	border-radius: 10px;
}
.form-title{
	margin: 4px 0 2px 0; /* Reduced margins from 8px/4px */
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	text-align: left;
	width: 86%;
	margin-left: auto;
	margin-right: auto;
}
.login-form .form-group{
	width: 86%;
	margin: 8px auto; /* Reduced margin from 12px */
}
.login-form .form-label{
	display: block;
	margin: 0 0 6px 4px;
	font-size: 13px;
	color: #cfd2da;
	letter-spacing: .2px;
}
.login-form .form-input{
	width: 100%;
	height: 24px;
	background: #eef0f3;
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 12px;
	/* padding: 12px 14px; */
	outline: none;
}
.login-form .form-input::placeholder{
	color: #9aa0a6;
}
.login-form .options{
	width: 86%;
	margin: 6px auto 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
}
.login-form .remember{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #cfd2da;
	font-size: 14px;
	white-space: nowrap;
}
.login-form button{
	width: 86%;
	height: 44px;
}
.signup-row{
	width: 86%;
	margin: 10px auto 0;
	text-align: center;
	color: #cfd2da;
	font-size: 14px;
}
.mv-errors{
	width: 86%;
	margin: 6px auto 0;
	font-size: 13px;
}
.mv-errors ul{
	margin: 0;
	padding-left: 18px;
}
.mv-error{
	color: #ff4d4f;
}
.mv-success{
	color: #cfd2da;
}
.mv-field-error{
	width: 86%;
	margin: 6px auto 0;
	font-size: 12px;
	color: #ff4d4f;
}
.mv-field-error ul{
	margin: 0;
	padding-left: 18px;
}
.mv-strength{
	width: 86%;
	margin: 8px auto 0;
}
.mv-strength-bar{
	height: 6px;
	width: 0%;
	border-radius: 6px;
	background: linear-gradient(90deg, #7c3aed, #ec4899);
	transition: width .25s ease;
	box-shadow: 0 0 8px rgba(236,72,153,0.28);
}
.mv-strength-label{
	margin-top: 6px;
	font-size: 12px;
	color: #cfd2da;
}
.mv-strength-bar.weak{ opacity: .45; }
.mv-strength-bar.medium{ opacity: .75; }
.mv-strength-bar.strong{ opacity: 1; }
/* .login-form::before{
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background: conic-gradient(#ff004c, #ffcf00, #00ff8a, #00cfff, #7c3aed, #ec4899, #ff004c);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	padding: 2px;
	animation: rgbRotate 6s linear infinite;
	pointer-events: none;
} */
/* .login-form::after{
	content: "";
	position: absolute;
	inset: -8px;
	border-radius: inherit;
	background: conic-gradient(#ff004c, #ffcf00, #00ff8a, #00cfff, #7c3aed, #ec4899, #ff004c);
	filter: blur(20px);
	opacity: .25;
	animation: rgbRotate 8s linear infinite;
	pointer-events: none;
} */
@keyframes rgbRotate{
	to{ transform: rotate(1turn); }
}

.hero-right{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50vw;
	background-image: url("../images/p.avif");
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	animation: heroPan 14s ease-in-out infinite alternate;
	opacity: .9;
	pointer-events: none;
	z-index: 0;
	box-shadow: inset 24px 0 48px rgba(11,11,15,.6);
}
.hero-right::before{
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 60% at 80% 20%, rgba(124,58,237,0.12), transparent 60%),
		radial-gradient(50% 50% at 40% 80%, rgba(236,72,153,0.10), transparent 60%),
		linear-gradient(180deg, rgba(11,11,15,0.55) 0%, rgba(21,20,37,0.70) 100%);
	mix-blend-mode: multiply;
	pointer-events: none;
}
@keyframes heroPan{
	0%{ background-position: 50% 50%; }
	100%{ background-position: 47% 53%; }
}
.hero-left{
	position: fixed;
	left: 2vw;
	top: 50%;
	width: 28vw;
	height: 28vw;
	transform: translateY(-50%);
	background-image: url("../images/back.gif");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	animation: leftFloat 8s ease-in-out infinite alternate;
	opacity: .22;
	filter: saturate(1.05);
	pointer-events: none;
	z-index: 0;
}
.hero-left-2{
	position: fixed;
	left: 26vw;
	top: 50%;
	width: 26vw;
	height: 26vw;
	transform: translateY(-50%);
	background-image: url("../images/back.gif");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	animation: leftFloat 8s ease-in-out infinite alternate;
	animation-delay: .4s;
	opacity: .18;
	filter: saturate(1.05);
	pointer-events: none;
	z-index: 1;
}
@keyframes leftFloat{
	0%{ transform: translate(-2px, -50%) scale(1); }
	100%{ transform: translate(6px, -48%) scale(1.02); }
}
@media (max-width: 992px){
	.hero-right{
		width: 100vw;
		opacity: .5;
		filter: blur(1px);
	}
	.hero-left{
		left: -4vw;
		top: 56%;
		width: 40vw;
		height: 40vw;
		opacity: .18;
	}
	.hero-left-2{
		left: 10vw;
		top: 56%;
		width: 36vw;
		height: 36vw;
		opacity: .14;
	}
}
@media (max-width: 576px){
	.hero-right{
		width: 100vw;
		opacity: .4;
		filter: blur(1.5px);
	}
	.hero-left{
		left: -15vw;
		top: 60%;
		width: 70vw;
		height: 70vw;
		opacity: .12;
	}
	.hero-left-2{
		left: -2vw;
		top: 60%;
		width: 60vw;
		height: 60vw;
		opacity: .10;
	}
}
.mv-modal{
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(11,11,15,0.7); /* Slightly darker backdrop since no blur */
	z-index: 9998;
}
.mv-modal.show{
	display: flex;
}
.mv-modal-card{
	position: relative;
	width: min(92vw, 520px);
	background: rgba(16,14,24,0.95);
	border-radius: 12px;
	border: 1px solid rgba(124, 58, 237, 0.25);
	box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(236, 72, 153, 0.08) inset;
	padding: 24px;
	overflow: hidden;
	z-index: 20001; /* Higher than ticker (20000) */
}
.mv-modal.show .mv-modal-card{
	animation: mvCardIn .5s ease-out both;
}
@keyframes mvCardIn{
	0%{ opacity: 0; transform: translateY(12px) scale(.98); filter: brightness(.95); }
	100%{ opacity: 1; transform: translateY(0) scale(1); filter: brightness(1); }
}
/* .mv-modal-card::before{
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background: conic-gradient(#ff004c, #ffcf00, #00ff8a, #00cfff, #7c3aed, #ec4899, #ff004c);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	        mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	padding: 2px;
	animation: rgbRotate 10s linear infinite;
	pointer-events: none;
}
.mv-modal-card::after{
	content: "";
	position: absolute;
	inset: -10px;
	border-radius: inherit;
	background: conic-gradient(#ff004c, #ffcf00, #00ff8a, #00cfff, #7c3aed, #ec4899, #ff004c);
	filter: blur(28px);
	opacity: .20;
	animation: rgbRotate 12s linear infinite reverse;
	pointer-events: none;
} */
.mv-modal-title{
	margin: 0 0 8px 0;
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	letter-spacing: .6px;
}
.mv-modal-form input{
	width: 86%;
}
.mv-modal-form input:focus{
	border-color: rgba(124,58,237,0.45);
	box-shadow: 0 0 0 3px rgba(124,58,237,0.18), 0 0 0 6px rgba(236,72,153,0.12);
}
.mv-modal-submit{
	width: 86%;
	height: 40px;
	margin: 10px auto;
	display: block;
	color: #fff;
	background: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
	font-size: 1em;
	font-weight: bold;
	margin-top: 10px;
	outline: none;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.mv-modal-submit::after{
	content: "";
	position: absolute;
	left: -40%;
	top: 0;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
	transform: skewX(-20deg);
	animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine{
	0%{ left: -40%; }
	60%{ left: 120%; }
	100%{ left: 120%; }
}
.mv-modal-close{
	position: absolute;
	top: 8px;
	right: 10px;
	width: 32px;
	height: 32px;
	border: none;
	border-radius: 8px;
	background: rgba(255,255,255,0.08);
	color: #fff;
	font-size: 20px;
	cursor: pointer;
}
.mv-modal-close:hover{
	background: rgba(255,255,255,0.15);
	transform: scale(1.06) rotate(2deg);
}
.mv-modal-music{
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.mv-modal-music::before{
	content: "♪";
	position: absolute;
	left: 10%;
	top: 110%;
	color: #ec4899;
	font-size: 24px;
	opacity: .25;
	animation: noteFloat 6s ease-in-out infinite;
}
.mv-modal-music::after{
	content: "♫";
	position: absolute;
	left: 80%;
	top: 110%;
	color: #7c3aed;
	font-size: 20px;
	opacity: .22;
	animation: noteFloat 7s ease-in-out infinite reverse;
}
@keyframes noteFloat{
	0%{ transform: translateY(0) rotate(0deg); opacity: .0; }
	10%{ opacity: .22; }
	50%{ transform: translateY(-60vh) rotate(6deg); opacity: .26; }
	100%{ transform: translateY(-100vh) rotate(-8deg); opacity: .0; }
}
