@import "main.css";
@import "styles.css";
@import "account/styles.css";
@import "app.css";

/* FOOTER */
#upMainFooter {
	position: relative;
	box-sizing: border-box;
	background-color: var(--color-dark);
	border-top: 1px solid #1e2133;
}

#upMainFooter:after {
	position: absolute;
	content: "";
	width: 40%;
	height: 40%;
	left: 5%;
	bottom: 0;
	background-color: var(--color-accent);
	filter: blur(100px);
	opacity: 0.6;
	z-index: 1;
}

#upMainFooter p {
	margin: 0;
}

#upMainFooter a {
	text-decoration: none;
	cursor: pointer;
}

#upMainFooter a:hover,
#upMainFooter a:focus,
#upMainFooter a:active {
	color: var(--color-accent);
}

#upMainFooter ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

#upMainFooter .phone-app {
	display: none;
}

#upMainFooter figure {
	margin: 0;
	padding: 0;
}

#upMainFooter figcaption {
	margin-bottom: 0.75rem;
}

.up-footer-container {
	padding: 0 1rem;
	max-width: 75rem;
	margin-left: auto;
	margin-right: auto;
	padding-top: 50px;
	padding-bottom: 50px;
}

.up-footer-col-3 {
	display: grid;
	gap: 1.875rem;
}

#upMainFooter .font-body {
	color: #fff;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
}

#upMainFooter .font-lead {
	color: var(--color-accent);
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 150%;
	margin-bottom: 10px;
}

#upMainFooter .font-button-bold {
	color: #fff;
	font-feature-settings: "liga" off, "clig" off;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 100%;
}

.up-footer-col-1 {
	display: grid;
	gap: 1.5rem;
}

.up-footer-col-2,
.up-footer-col-3,
.up-footer-col-4,
.up-footer-col-5 {
	display: none;
}

.up-footer-col-6 {
	display: flex;
	gap: 1.5rem;
	flex-direction: column-reverse;
	align-items: start;
}

.download-app-buttons-container {
	display: grid;
	justify-items: center;
	gap: 0.625rem;
}

.up-footer-contact {
	display: grid;
	gap: 1.5rem;
}

.social-links-container {
	display: flex;
	gap: 10px;
	align-items: start;
	position: relative;
	z-index: 2;
}

@media screen and (min-width: 800px) {
	.up-footer-col-6 {
		margin-top: -105px;
	}

	.up-footer-col-2,
	.up-footer-col-4,
	.up-footer-col-5 {
		display: block;
	}

	#upMainFooter .phone-app {
		display: block;
	}

	.up-footer-col-3 {
		display: grid;
	}

	.up-footer-col-6 {
		display: grid;
		justify-items: center;
	}

	.mobile-accordion-links {
		display: none;
	}
}

#upMainFooter .accordion {
	margin: 0 auto;
	border: none;
	padding-top: 0;
}

#upMainFooter .accordion-item {
	border-bottom: 1px solid #181a2f;
	margin: 0;
}

#upMainFooter .accordion-toggle {
	display: flex;
	justify-content: space-between;
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 1rem 0;
	cursor: pointer;
}

#upMainFooter .accordion-toggle:focus {
	outline: none;
}

#upMainFooter .accordion-arrow {
	transition: transform 0.3s ease;
}

#upMainFooter .accordion-toggle[aria-expanded="true"] .accordion-arrow {
	transform: rotate(180deg);
}

#upMainFooter .accordion-panel {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0;
}

#upMainFooter .accordion-panel ul {
	padding-top: 10px;
}

#upMainFooter .accordion-panel ul li {
	margin: 0;
}

#upMainFooter .accordion-item.open .accordion-panel {
	max-height: 500px;
	padding-bottom: 30px;
}

/*  */
.site-container {
	height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-main {
	padding-top: 80px;
	flex: 1 1 100%;
}

.page-error {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.page-error-content {
	flex: 1 1 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 50px 0 100px;
	width: 100%;
	overflow: hidden;
}

.page-error-image {
	position: relative;
	max-width: 200px;
	width: 100%;
	margin-bottom: 30px;
}

@media screen and (min-width: 640px) {
	.page-error-image {
		max-width: 350px;
		margin-bottom: 50px;
	}
}

.page-error-image:after {
	position: absolute;
	content: "";
	width: 200%;
	height: 100%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background-color: #f34828;
	filter: blur(100px);
	z-index: -1;
	opacity: 0.4;
}

.page-error-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.page-error-text h1 {
	text-align: center;
	margin-bottom: 20px;
	background: linear-gradient(-90deg, #ffb2a3 40%, #f86b50 80%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.page-error-text p {
	text-align: center;
	max-width: 400px;
	line-height: 1.6;
}

.page-error-button {
	margin-top: 20px;
}

.up-footer-footer-list {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 20px !important;
	justify-content: flex-end;
}

@media (max-width: 767px) {
	.up-footer-footer {
		flex-direction: column-reverse;
	}

	.up-footer-footer-list {
		justify-content: center;
	}
}

.app-support-section {
	padding-bottom: 200px;
}

.app-support-block {
	display: flex;
	gap: 30px;
}

.app-support-form {
	flex: 1 1 60%;
	margin-bottom: 0;
	border-radius: 20px;
	border: 1px solid #1e2133;
}

.app-support-form-text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 10px;
}

.app-support-form-text p {
	margin-bottom: 0;
}

.app-support-form-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	width: 100%;
}

.app-support-cards {
	flex: 1 1 40%;
	gap: 30px;

	display: flex !important;
	flex-direction: column !important;
}

.app-support-cards .card {
	margin-bottom: 0;
	border-radius: 20px;
	border: 1px solid #1e2133;
}

.app-support-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.app-support-cards .card .image-container {
	flex: 0 0 50px;
	height: 50px;
	width: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-border);
	border-radius: 8px;
}

.app-support-card-header .image-container > svg {
	object-fit: contain;
	width: 60%;
	height: 60%;
	fill: #fff;
}

.app-support-card-header h4 {
	margin-bottom: 0;
}

.app-support-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.app-support-card-body p {
	margin: 0;
	font-size: 18px;
}

.app-support-card-body p a {
	font-size: 18px;
}

.app-input-label {
	margin-bottom: 0.5rem;
	font-weight: 600;
	color: #fff;
	display: inline-block;
}

.app-input {
	display: block;
	width: 100%;
	padding: 8px 16px;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.5;
	color: #fff;
	background-color: transparent;
	background-clip: padding-box;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: 8px;
	-webkit-box-shadow: unset;
	box-shadow: unset;
	-webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	border: none;
	padding: 10px 15px 13px;
	background-color: #292c42;
}

.app-input.isError {
	outline: 1px solid var(--red);
}

.app-input.isSuccess {
	outline: 1px solid var(--green);
}

.app-input-message {
	font-size: 14px;
	padding-top: 3px;
	padding-left: 5px;
}

.app-input-message .isError {
	color: var(--red);
}

.app-input-message .isSuccess {
	color: var(--green);
}

.app-textarea {
	resize: none;
}

.app-support-form button {
	background: #6069a2;
}

.app-support-form button:hover {
	background: #828bc3 !important;
}

@media (max-width: 1023px) {
	.app-support-section {
		padding-bottom: 100px;
	}
}

@media (max-width: 991px) {
	.app-support-block {
		flex-direction: column;
	}

	.app-support-cards {
		display: grid;
		gap: 20px;
	}

	.app-support-cards .card {
		min-height: auto;
	}

	.app-support-cards .card .image-container {
		margin-bottom: 0;
	}
}

@media (max-width: 767px) {
	.app-support-form-inputs {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media (max-width: 639px) {
	.app-support-section {
		padding-bottom: 50px;
	}
}

.welcome-block {
	margin-bottom: 4rem;
}

.welcome-block h1 {
	max-width: 750px;
	font-size: 50px;
	background: none;
	color: #fff;
	background-clip: unset;
	-webkit-background-clip: unset;
	-webkit-text-fill-color: unset;
}

.welcome-block h1 span {
	display: block;
}

.welcome-block h1 .title-anim:first-child {
	position: relative;
}

.welcome-block h1 .title-anim > div {
	overflow: hidden;
	display: block;
	opacity: 1;
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	z-index: -1;
	border-radius: 4px;
	animation: title-amin-block 0.6s linear 0.7s both;
}

.welcome-block h1 .title-anim > div > div {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	padding-inline: 10px;
}

.welcome-block h1 .title-anim > div > div span {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
	flex: 0 0 100%;
	--_clr-1: #6f8eff;
	--_clr-2: transparent;
	display: inline-block;
	width: 100%;
	height: 100%;
	isolation: isolate;
	/* opacity: 0; */
	background: linear-gradient(90deg, rgba(111, 142, 255, 1) 0%, rgba(111, 142, 255, 0) 80%);
}

.welcome-block h1 .title-anim > div span:nth-child(1) {
	transform: translateX(-100%);
	background: linear-gradient(-90deg, rgba(111, 142, 255, 1) 0%, rgba(111, 142, 255, 0) 80%);
	animation: title-amin-1 7s linear 2s infinite both;
}

.welcome-block h1 .title-anim > div span:nth-child(2) {
	animation: title-amin-2 7s linear 2s infinite both;
}

@keyframes title-amin-block {
	0% {
		width: 0%;
		opacity: 0;
	}
	100% {
		width: 100%;
		opacity: 1;
	}
}

@keyframes title-amin-gradient-1 {
	0% {
		opacity: 1;
		transform: translateX(0%);
	}
	100% {
		opacity: 1;
		transform: translateX(-100%);
	}
}

@keyframes title-amin-gradient {
	0% {
		opacity: 1;
		transform: translateX(100%);
	}
	100% {
		opacity: 1;
		transform: translateX(-100%);
	}
}

@keyframes title-amin-1 {
	0% {
		transform: translateX(-100%);
	}
	50% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-100%);
	}
}

@keyframes title-amin-2 {
	0% {
		transform: translateX(0%);
	}
	50% {
		transform: translateX(100%);
	}
	100% {
		transform: translateX(0%);
	}
}

.welcome-block h1 .icon {
	font-size: 35px;
	width: 55px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.welcome-block-bg {
	--size: 20px;

	opacity: 0.5;
	position: absolute;
	top: 0;
	left: 0;
	background: conic-gradient(from 180deg at 50% 70%, hsla(0, 0%, 98%, 1) 0deg, #354376 72.0000010728836deg, #3b487f 144.0000021457672deg, #709ab9 216.00000858306885deg, #6f8eff 288.0000042915344deg, hsla(0, 0%, 98%, 1) 1turn);
	width: 100%;
	height: 100%;
	mask: radial-gradient(circle at 50% 50%, white 2px, transparent 2.5px) 50% 50% / var(--size) var(--size), url("../images/noise-mask.webp") 256px 50% / 256px 256px;
	mask-composite: intersect;
	animation: flicker 20s infinite linear;
}

.welcome-block-top-bg {
	width: 100vw;
	height: 80%;
	margin-left: auto;
	margin-right: auto;
	position: absolute;
	top: -80px;
	left: 0;
	opacity: 0.7;
	background: radial-gradient(ellipse 50% 100% at 50% -10%, rgb(119 138 232 / 50%), rgb(119 138 232 / 0%));
}

@keyframes flicker {
	to {
		mask-position: 50% 50%, 0 50%;
	}
}

.welcome-block-box {
	position: relative;
	z-index: 0;
	padding: 0 !important;
	overflow: hidden !important;
	margin-top: 80px !important;
}

.welcome-block-box-wrap {
	background: #141520;
	margin: 4px;
	padding: 45px;
	border-radius: inherit;
}

.welcome-block-box:after {
	content: "";
	position: absolute;
	z-index: -2;
	left: -50%;
	top: -50%;
	width: 200%;
	height: 200%;
	background-color: transparent;
	background-repeat: no-repeat;
	background-size: 50% 50%, 50% 50%;
	background-position: 0 0, 100% 0, 100% 100%, 0 100%;
	background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
	-webkit-animation: rotate 3.8s linear infinite;
	animation: rotate 3.8s linear infinite;
	opacity: 0.15;
}

@-webkit-keyframes rotate {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes rotate {
	100% {
		transform: rotate(360deg);
	}
}

.title-icon {
	position: absolute;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-accent);
	opacity: 0.4;
}

.title-icon:nth-child(1) {
	bottom: 0;
	left: 50px;
	width: 60px;
	height: 60px;
}

.title-icon:nth-child(2) {
	top: -30px;
	right: 100px;
}

@media (max-width: 1535px) {
	.title-icon:nth-child(1) {
		left: 0;
	}

	.title-icon:nth-child(2) {
		right: 0;
	}
}

@media (max-width: 1199px) {
	.title-icon:nth-child(2) {
		right: 20px;
		bottom: -20px;
		top: unset;
	}
}

@media (max-width: 991px) {
	.welcome-block {
		margin-bottom: 2rem;
	}

	.welcome-block-box {
		margin-top: 50px !important;
	}

	.welcome-block h1 {
		font-size: 46px;
	}

	.title-icon {
		display: none;
	}
}

@media screen and (max-width: 767px) {
	.welcome-block h1 {
		font-size: 35px;
	}
}

@media (max-width: 639px) {
	.welcome-block h1 .title-anim > div {
		display: none;
	}

	.welcome-block h1 span {
		display: inline;
	}

	.welcome-block-box-wrap {
		padding: 25px;
	}

	.home-page {
		padding-top: 50px;
		padding-bottom: 50px;
	}
}

@media (max-width: 575px) {
	.hero-pulse-home-section .container {
		padding: 0;
	}
}

@media (max-width: 499px) {
	.welcome-block h1 {
		font-size: 30px;
	}

	.welcome-block {
		margin-bottom: 0;
	}

	.welcome-block-box {
		margin-top: 30px !important;
	}
}

/* pre_lodaer */
body.preloader-active {
	overflow: hidden;
	transition: all 0.5s ease;
}

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #0b0c14;
	overflow: hidden;
	transition: all 0.5s;
}

.preloader-wrap {
	position: relative;
}

.preloader-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 80px;
	background-image: url("../favicon.png");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

.preloader-loader {
	display: block;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #9db2ff;
	-webkit-animation: spin 2s linear infinite;
	animation: spin 2s linear infinite;
}

.preloader-loader:before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	right: 5px;
	bottom: 5px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #50b353;
	-webkit-animation: spin 3s linear infinite;
	animation: spin 3s linear infinite;
}
.preloader-loader:after {
	content: "";
	position: absolute;
	top: 15px;
	left: 15px;
	right: 15px;
	bottom: 15px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-top-color: #e65936;
	-webkit-animation: spin 1.5s linear infinite;
	animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes spin {
	0% {
		-webkit-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		transform: rotate(0deg);
	}
	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}
