@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');

body {
	font-family: 'Montserrat';
	font-weight: normal;
	font-style: normal;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: #b4f753;
}

.Background {
	height: 100vh;
	width: 100%;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
}

.Background video {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 100vh;
	object-fit: cover;
}

.Background::after {
	content: '';
	position: absolute;
	object-fit: cover;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 100vh;
	background-color: rgba(0,0,0,0.6);
}

.Background .Panel {
	display: flex;
	align-items: center;
	justify-content: end;
	gap: 18px;
	position: fixed;
	top: 5%;
	right: 2%;
	z-index: 3;
}

.Background .Panel .ClickSound {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: #ffffff;
	animation: ClickSoundAction 1s infinite alternate;
}

@keyframes ClickSoundAction {
	0% { transform: translateX(0); }
	100% { transform: translateX(-10px); }
}

.Background .Panel button {
	cursor: pointer;
	margin: 0;
	padding: 12px;
	background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #6557c1 0, #483D8B 100%));
	outline: 0;
	border: 0;
	border-radius: 50%;
	animation: Pulse 1.5s infinite;
	transition: 1s;
}

.Background .Panel button:hover {
	background: #8c7aff;
}

.ubutton {
	border: 0;
	outline: 0;
	width: 304px;
	height: 48px;
	border-radius: 15px;
	font-size: 18px;
	text-transform: uppercase;
	background: #b4f753;
	cursor: pointer;
	transition: .5s;
}

.ubutton:hover {
	background: #8c7aff;
}

.Background .Panel img {
	width: 32px;
	height: 32px;
}

@-webkit-keyframes Pulse {
	0% {
		-webkit-box-shadow: 0 0 0 0 rgba(254, 253, 47, 0.4);
	}
	70% {
		-webkit-box-shadow: 0 0 0 20px rgba(254, 253, 47, 0);
	}
	100% {
		-webkit-box-shadow: 0 0 0 0 rgba(254, 253, 47, 0);
	}
}

@keyframes Pulse {
	0% {
		-moz-box-shadow: 0 0 0 0 rgba(254, 253, 47, 0.4);
		box-shadow: 0 0 0 0 rgb(82 70 157);
	}
	70% {
		-moz-box-shadow: 0 0 0 20px rgba(254, 253, 47, 0);
		box-shadow: 0 0 0 20px rgba(254, 253, 47, 0);
	}
	100% {
		-moz-box-shadow: 0 0 0 0 rgba(254, 253, 47, 0);
		box-shadow: 0 0 0 0 rgba(254, 253, 47, 0);
	}
}

img.Logo {
	position: fixed;
    z-index: 3;
    top: 5%;
    left: 2%;
    width: 240px;
    height: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7));
}

.Main {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	
	z-index: 3;
	width: 350px;
}

.Main .Block .Block-Head {
	text-transform: uppercase;
	text-align: center;
	font-size: 24px;
	margin-bottom: 24px;
}

.Main .Block {
    padding: 24px;
    background: linear-gradient(1deg, #1c1b2b99 30%, #1e1c2db5 100%) !important;
    border-radius: 15px;
    color: #ffffff;
}

/* Стили для контейнера кнопки Discord */
.discord-btn-container {
    margin-top: 20px;
    text-align: center;
}

/* Стили для самой кнопки Discord */
.discord-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%) !important;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3) !important;
    gap: 10px;
}

/* Стили для иконки Boxicons */
.discord-btn i {
    font-size: 24px;
    line-height: 1;
}

/* Эффекты при наведении */
.discord-btn:hover {
    background: linear-gradient(135deg, #4752C4 0%, #3a45b8 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(88, 101, 242, 0.4);
}

/* Эффект при нажатии */
.discord-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3) !important;
}

.Main .Block form {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

input[type='text'], input[type='password'], input[type='email'] {
	height: 42px;
	border-radius: 12px;
	width: 304px;
	outline: 0;
	border: 0;
	margin-bottom: 12px;
	background: #2b293f !important;
	color: #eee;
	border: 1px solid #474366 !important;
	text-align: center;
}

input[type='text']::-webkit-input-placeholder,
input[type='text']::placeholder,
input[type='password']::-webkit-input-placeholder,
input[type='password']::placeholder,
input[type='email']::-webkit-input-placeholder,
input[type='email']::placeholder {
	color: #888;
	padding: 8px 14px 8px 14px;
}

input[type='text']:last-child, input[type='password']:last-child, input[type='email']:last-child {
	margin-bottom: 0;
}

input[type='submit'] {
	border: 0;
	outline: 0;
	width: 304px;
	height: 48px;
	border-radius: 15px;
	font-size: 18px;
	text-transform: uppercase;
	background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #8775ff 0, #8c79ff 100%)) !important;
	cursor: pointer;
	transition: .5s;
}

input[type='submit']:hover {
	background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #6557c1 0, #483D8B 100%));
}

.Copyright {
    width: auto;
    max-width: 320px;
    color: #eee;
    text-align: center;
    font-size: 13px;
    margin: 20px auto;
    padding: 15px 25px;
    background: linear-gradient(24deg, #8c7df32b 30%, #6b5dca38 100%)!important;
    backdrop-filter: blur(12px);
    border-radius: 25px;
    border: 1px solid rgb(138 118 255 / 66%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgb(138 118 255 / 66%) inset;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.Copyright::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(24deg, #8c7df32b 30%, #6b5dca38 100%)!important;
    border-radius: 27px;
    z-index: -1;
    opacity: 0.35;
    animation: border-flow 3s ease-in-out infinite;
}

.Copyright::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(180, 247, 83, 0.08), 
        transparent)!important;
    transition: left 0.6s ease;
}

.Copyright:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgb(138 118 255 / 66%) inset;
    border-color: rgb(134 115 255);
}

.Copyright:hover::after {
    left: 100%;
}

.Copyright:hover::before {
    opacity: 0.5;
}

.Copyright a {
        color: #a597ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    position: relative;
    padding: 1px 4px;
    border-radius: 3px;
}

.Copyright a:hover {
	/*background: rgb(149 132 255);*/
    text-shadow: 0 0 8px rgb(147 130 255);
    color: #a597ff;
}

.Copyright a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
       background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #6557c1 0, #483D8B 100%));
    transition: width 0.25s ease;
}

.Copyright a:hover::after {
    width: 100%;
}

@keyframes border-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Анимация появления */
.Copyright {
    animation: fade-in-up 0.7s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .Copyright {
        max-width: 280px;
        padding: 12px 20px;
        font-size: 12px;
        margin: 15px auto;
        border-radius: 20px;
    }
    
    .Copyright::before {
        border-radius: 22px;
    }
}

[data-panel-change] {
	display: none;
}

.bi-arrow-right-short {
	color: #ffffff;
}

.Main-Panel {
	position: absolute;
	bottom: 160px;
	right: 320px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.Main-Panel button {
	border: 0;
	outline: 0;
	padding: 5px 15px 5px 15px;
	height: 54px;
	border-radius: 50%;
	font-size: 18px;
	text-transform: uppercase;
	color: #ffffff;
	background: var(--GLOBAL, radial-gradient(100% 100% at 50% 0, #6557c1 0, #483D8B 100%));
	cursor: pointer;
	transition: .5s;
	position: relative;
}

.Main-Panel button span {
	position: absolute;
	transform: skewY(345deg);
	top: 0;
	left: 70px;
	color: #ffffff;
	transition: .5s;
}

.Main-Panel button:hover {
	background: #8c7aff;
}

.Main-Panel button:hover > span {
	color: #8c7aff;
}

.Flow-Donate {
	display: none !important;
}

#result3 {
	margin-bottom: 14px;
}

.AuthSocial {
	display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
	margin-top: 20px;
    gap: 14px;
}

.modal {
	transition: 1s;
	display: none;
}

.modal.show {
	display: block;
}

.modal.show .modal-content {
	border-radius: 15px;
	padding: 15px;
}

.modal.show .backstage {
	width: 100%;
    height: 100%;
    background: #000000f2;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 5;
}

.modal.show .modal-dialog {
    position: fixed;
    z-index: 6;
    margin-left: auto;
    margin-right: auto;
    left: 30%;
    right: 30%;
	top: 10%;
    text-align: center;
}

.modal.show  .modal-header {
	display: flex;
	align-items: center;
}

.modal.show  .modal-header .modal-title {
	text-align: start;
    font-size: 24px;
    text-transform: uppercase;
	margin: 0;
}

.modal.show  .modal-header button {
    margin-left: auto;
    width: 40px;
    height: 40px;
    background: #00000063;
    outline: 0;
    border: 0;
    border-radius: 10px;
}

/* Футер */
.auth-footer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(24deg, #8c7df32b 30%, #6b5dca38 100%);
    backdrop-filter: blur(10px);
	border: 1px solid #8a76ffa8;
    border-radius: 25px;
    padding: 15px 30px;
    text-align: center;
    color: #eee;
    z-index: 3;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgb(138 118 255 / 66%) inset;
    transition: all 0.3s ease;
}

.auth-footer:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgb(138 118 255 / 66%) inset;
    transform: translateX(-50%) translateY(-2px);
}

.footer-link {
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 5px 10px;
    border-radius: 8px;
}

.footer-link:hover {
    color: #ffffff;
        background: linear-gradient(24deg, #8c7df32b 30%, #6b5dca38 100%);
    text-decoration: none;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
	color: #ffffff;
	background: #9a8aff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-link:hover::after {
    width: 80%;
}

.auth-footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
	background: linear-gradient(24deg, #8c7df32b 30%, #6b5dca38 100%);
    border-radius: 27px;
    z-index: -1;
    opacity: 0.3;
    animation: border-glow 3s ease-in-out infinite alternate;
}

@keyframes border-glow {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.5;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .auth-footer {
        bottom: 20px;
        padding: 12px 20px;
        font-size: 12px;
        width: 90%;
        max-width: 300px;
    }
    
    .footer-link {
        padding: 3px 6px;
    }
}