* {
	box-sizing: border-box;
}

html,
body {
	overflow-x: hidden;
}

body {
	width: 100%;
	height: 100vh;
	margin: 0;
	padding: 0;
	position: relative;
	display: flex;
	flex-direction: column;
	font-family: 'Poppins', sans-serif;
	background-color: #021638;
}

.header {
	padding: 20px 100px;
	background: linear-gradient(90deg, #0c3078 0%, #031538 100%);
}

.logo-header-desktop {
	height: 35px;
}

.logo-header-mobile {
	display: none;
}

main {
	flex-grow: 1;
	display: flex;
	justify-content: space-around;
	background-image: url('./images/background-image.webp');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.left {
	min-width: 0px;
	max-width: 578px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}

.brand-logo2 {
	display: none;
}

.containerforlogo {
	margin-top: 48px;
	position: relative;
}

.logo {
	width: 264px;
	position: absolute;
	top: -200px;
	left: 50%;
	z-index: -1;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-moz-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	-o-transform: translateX(-50%);
}

.welcome-container {
	position: relative;
	width: 430px;
	height: 240px;
	position: relative;
	color: #ffffff;
	text-align: center;
	line-height: 1;
}

.welcome-text {
	font-size: 22px;
	font-weight: 300;
	line-height: 30px;
}
.word {
	display: block;
	font-weight: 700;
	color: #0c317a;
}

.text-logo {
	font-weight: 900;
	font-size: 27px;
	font-style: italic;
}
.word0 {
	font-weight: 700;
}
.welcome-text1 {
	font-weight: 700;
	font-size: 56px;
	line-height: 50px;
	text-transform: uppercase;
	color: white;
	display: block;
	margin-top: 25px;
}

.word-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: -30px;
	gap: 16px;
	display: block;
	margin-top: 15px;
}

.word1 {
	text-transform: none;
	font-size: 36px;
	line-height: 39px;
	color: #ffffff;
}
.word2 {
	font-size: 56px;
	line-height: 50px;
}
.welcome-text2 {
	font-weight: 300;
	font-size: 27px;
	line-height: 30px;
	text-transform: uppercase;
	display: block;
	margin-top: 50px;
}
.word3 {
	font-weight: 700;
	color: white;
}

.promo-code {
	color: #ffffff;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 45px;
}

.promo-text {
	font-weight: 600;
	font-size: 18px;
	line-height: 30px;
	position: relative;
	z-index: 2;
}

.arrow-down {
    position: absolute;
    top: 15px;
    right: -30px;
    pointer-events: none;
}

.code-container {
	background-color: #0b2f76;
	width: 313px;
	height: 60px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #1b3eb8;
	border-radius: 94px;
	-webkit-border-radius: 94px;
	-moz-border-radius: 94px;
	-ms-border-radius: 94px;
	-o-border-radius: 94px;
	gap: 15px;
	cursor: pointer;
	padding-right: 15px;
	z-index: 1;
}

.text-block {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #030f28;
	width: 130px;
	height: 38px;
	text-align: center;
	border-radius: 94px;
	margin-left: 10px;
	-webkit-border-radius: 94px;
	-moz-border-radius: 94px;
	-ms-border-radius: 94px;
	-o-border-radius: 94px;
	border: 1px solid #1b3eb8;
}
.copy-text {
	font-weight: 600;
	font-size: 18px;
	line-height: 1;
	color: white;
}

.copy-img {
	width: 30px;
	height: 30px;
}

.playnow {
	width: 280px;
	height: 56px;
	margin-top: 4vh;
	display: none;
	border: 1px solid #1bbe4b;
	border-radius: 10px;
	background: linear-gradient(0deg, #095c8a, #0df81b);
	font-family: 'Poppins', sans-serif;
	font-size: 19px;
	font-weight: 500;
	color: #ffffff;
	cursor: pointer;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}

.right {
	max-width: 458px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
}

.brand-logo {
	margin-top: -33px;
}
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.modal-content {
	width: 90%;
	max-width: 500px;
	height: 573px;
	background: transparent;
	border-radius: 20px;
	overflow: hidden;
	position: relative;
}

.modal-iframe {
	width: 100%;
	height: 573px;
	border: none;
	border-radius: 20px;
}

iframe {
	width: 100%;
	height: 573px;
	border: none;
	border-radius: 20px;
	overflow: hidden;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

.custom-modal-overlay {
	display: none; /* Hidden by default */
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	backdrop-filter: blur(5px);
	z-index: 2000;
	justify-content: center;
	align-items: center;
}

.custom-modal-content {
	background: #031538;
	padding: 38px 0;
	border-radius: 20px;
	text-align: center;
	max-width: 400px;
	width: 90%;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	color: white;
}

.modal-logo {
	max-width: 150px;
	margin-bottom: 17px;
}

.custom-modal-text1 {
	font-weight: 600;
	size: 20px;
	max-width: 292px;
	text-align: center;
	margin: 0 auto;
	opacity: 0.6;
	text-transform: capitalize;
	margin-bottom: 23px;
}

.custom-modal-text2 {
	font-weight: 600;
	size: 22px;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 30px;
	padding-inline: 5px;
}

.blue-text {
	color: #00a7fe;
}

.close-button {
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 100%;
	background-color: #030f28;
	top: 0;
	right: 0;
	cursor: pointer;
	border: 1px solid #2b3d64;
	display: flex;
	align-items: center;
	justify-content: center;
}
.close-button:hover {
	border-color: white;
}

.container-continue-button {
	width: 100%;
	max-width: 266px;
	margin: 0 auto;
}

.continue-button {
	color: white;
	padding: 17px;
	border: none;
	cursor: pointer;
	font-size: 20px;
	font-weight: bold;
	background: linear-gradient(
		159.68deg,
		#9700ff 5.3%,
		#3234ff 41.57%,
		#00a8ff 81.5%
	);
	border-radius: 62px;
	width: 100%;
	outline: 1px solid #3234ff;
	outline-offset: 1px;
}
.modal-img {
	padding: 0 35px;
	width: 100%;
	margin-top: 25px;
}
.continue-button:hover {
	filter: brightness(0.8);
}

/* Стили для загрузочного экрана */
.loading-screen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #030f28;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	opacity: 1;
	transition: opacity 0.3s ease-out;
}

.loading-content {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.loading-logo {
	width: 100%;
}

.footer {
	background: linear-gradient(90deg, #0c3078 0%, #031538 100%);
}

/* Countdown Timer Styles */
.countdown-container {
	color: white;
	text-align: center;
	margin-top: 50px;
	opacity: 0.5;
	margin-top: 117px;
}

.countdown-title {
	font-size: 24px;
	font-weight: 500;
	margin: 0 0 9px 0;
}

.countdown {
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.28);
	padding: 10px 20px;
	border-radius: 80px;
	box-shadow: 0px 10.73px 16.09px rgba(0, 0, 0, 0.25),
		0px 4.29px 4.29px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(4px);
	width: fit-content;
	margin: 0 auto;
}

.countdown-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0 15px;
	font-variant-numeric: tabular-nums;
	font-family: 'Open Sans', 'Roboto', monospace;
}

.countdown-item span:first-child {
	font-size: 36px;
	font-weight: 700;
}

.countdown-label {
	font-size: 10px;
	font-weight: 300;
	text-transform: uppercase;
}

.countdown-separator {
	font-size: 36px;
	font-weight: 700;
	margin: 0 5px;
	line-height: 1;
	padding-bottom: 12px;
}

footer {
	padding: 20px 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 55px;
	row-gap: 20px;
	flex-wrap: wrap;
}

.footer-logo {
	filter: brightness(0.7);
}

.visa {
	height: 20px;
}
.mastercard {
	height: 23px;
}

.google {
	height: 28px;
}
.apple {
	height: 26px;
}

.deal {
	height: 32px;
}
.revolut {
	height: 32px;
}
.bank {
	height: 32px;
}
.interac {
	height: 32px;
}
.kryptonim {
	height: 16px;
}

@media (max-height: 750px) {
	.header {
		display: none;
	}
}

@media (max-width: 1279px) {
	.header {
		display: block;
	}
	.playnow {
		display: block !important;
	}

	.brand-logo2 {
		display: block !important;
		margin-bottom: 50px;
	}

	.right {
		display: none;
	}

	.logo-header-desktop {
		display: none;
	}

	.logo-header-mobile {
		margin: 0 auto;
		display: block;
	}
}

@media (max-width: 750px) {
	.logo-header-mobile {
		width: 100%;
	}

	main {
		padding: 0 20px;
		/* background-size: contain; */
		background-position: top;
	}

	.countdown-container {
		margin-top: 50px;
	}

	.footer {
		column-gap: 38px;
		row-gap: 31px;
	}

	.visa {
		height: 12px;
	}
	.mastercard {
		height: 15px;
	}

	.google {
		height: 16px;
	}
	.apple {
		height: 17px;
	}

	.deal {
		height: 23px;
	}
	.revolut {
		height: 20px;
	}
	.bank {
		height: 20px;
	}
	.interac {
		height: 26px;
	}
	.kryptonim {
		height: 12px;
	}
}

@media (max-width: 520px) {
	.containerforlogo {
		width: 100%;
		margin-top: 0;
	}

	.welcome-container {
		width: 100%;
	}

	.brand-logo2 {
		margin-bottom: 30px;
		width: 100%;
	}

	.welcome-container {
		transform: scale(0.9);
	}
	.promo-code {
		margin-top: 0;
		transform: scale(0.9);
	}

	.countdown-item span:first-child,
	.countdown-separator {
		font-size: 30px;
		font-weight: 700;
	}
}

@media (max-width: 467px) {
	.header {
		padding: 20px 40px;
	}

	.welcome-text1 {
		font-size: 60px;
	}

	.word2 {
		font-size: 60px;
	}
}

@media (max-width: 430px) {
	.welcome-text {
		font-size: 19px;
	}

	.text-logo {
		max-height: 20px;
	}

	.welcome-text1 {
		font-size: 50px;
	}

	.word2 {
		font-size: 50px;
	}

	.welcome-text2 {
		font-size: 22px;
	}

	.countdown {
		padding: 5px 10px;
	}

	.countdown-item span:first-child,
	.countdown-separator {
		font-size: 26px;
		font-weight: 700;
	}
}

@media (max-width: 375px) {
	.header {
		padding: 20px 20px;
	}

	.welcome-text {
		font-size: 17px;
	}

	.welcome-text1 {
		font-size: 43px;
	}

	.word2 {
		font-size: 43px;
	}

	.welcome-text2 {
		font-size: 19px;
	}

	.welcome-container {
		transform: scale(0.8);
	}
	.promo-code {
		transform: scale(0.8);
	}
}

#toast {
	visibility: hidden;
	min-width: 250px;
	margin-left: -125px;
	background-color: #333;
	color: #fff;
	text-align: center;
	border-radius: 2px;
	padding: 16px;
	position: fixed;
	z-index: 1;
	left: 50%;
	bottom: 30px;
	font-size: 17px;
}

#toast.show {
	visibility: visible;
	-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
	animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

#toast.error {
	background-color: #c0392b;
}

@-webkit-keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}
	to {
		bottom: 30px;
		opacity: 1;
	}
}

@keyframes fadein {
	from {
		bottom: 0;
		opacity: 0;
	}
	to {
		bottom: 30px;
		opacity: 1;
	}
}

@-webkit-keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}
	to {
		bottom: 0;
		opacity: 0;
	}
}

@keyframes fadeout {
	from {
		bottom: 30px;
		opacity: 1;
	}
	to {
		bottom: 0;
		opacity: 0;
	}
}
