/* Base styles */
html,
body {
	margin: 0;
	padding: 0;
	width: 100%;
	overflow-x: hidden;
	scroll-behavior: smooth;
}

body {
	background: linear-gradient(135deg, #2f1ea2 0%, #a027b4 100%);
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

main {
	margin: 0;
	padding: 0;
	width: 100%;
}

/* Home Page Styles */
.home {
	width: 100%;
}

/* Vertical Brake */
.vertical-brake {
	height: 80px;
	width: 100%;
}

/* Main Block */
.main-block {
	width: 100%;
	display: flex;
	flex-direction: column;
	background: linear-gradient(0deg, #2f1ea2 0%, #a027b4 100%);
	margin: 0;
	padding: 0;
}

/* Navigation */
nav {
	position: fixed;
	top: 0;
	left: 0;
	height: 90px !important;
	display: flex;
	align-items: center;
	width: 100%;
	z-index: 1000;
	background: linear-gradient(135deg, #2f1ea2 0%, #a027b4 100%);
}

nav::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.nav-links {
	display: flex;
	gap: 2rem;
	margin-left: 2rem;
	position: relative;
	z-index: 2;
}

.nav-link {
	color: white;
	text-decoration: none;
	font-size: 1rem;
	font-weight: 500;
	position: relative;
	padding: 0.5rem 0;
	transition: all 0.3s ease;
}

.nav-link::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right, #0e56f8, #28eaea);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.3s ease;
}

.nav-link:hover::after {
	transform: scaleX(1);
	transform-origin: left;
}

.nav-button img {
	width: 40px;
	height: 40px;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
}

.nav-button span {
	position: absolute;
	color: white;
	font-size: 1.1rem;
	font-weight: 700;
	opacity: 0;
	transform: translateX(-20px);
	transition: all 0.3s ease;
	white-space: nowrap;
	z-index: 1;
}

.nav-button {
	position: absolute;
	right: 2rem;
	width: 60px;
	height: 60px;
	border-radius: 16px;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.nav-button::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right, #0e56f8, #28eaea);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nav-button:hover {
	width: 260px;
}

.nav-button:hover::before {
	opacity: 1;
}

.nav-button:hover img {
	opacity: 0;
	transform: translateX(-100px);
}

.nav-button:hover span {
	opacity: 1;
	transform: translateX(0);
}

/* Video Section */
.video-background {
	top: 33px;
	left: 0;
	width: 100%;
	z-index: 1;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.video-background::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 2;
}

.video-iframe {
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	object-fit: cover;
	z-index: 1;
	margin: 0;
	padding: 0;
	transform: scale(1.02);
}

.main-content {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	text-align: center;
	padding-bottom: 0px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
	.nav-links {
		display: none;
	}
}

/* Main Section */
.main-section {
	position: relative;
	width: 100%;
	min-height: calc(100vh - 113px);
	background: linear-gradient(0deg, #2f1ea2 0%, #a027b4 100%);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
	.main-content,
	.registration-section {
		padding: 0 15px;
	}
}

.book-overlay {
	width: 180px;
	height: 300px;
	position: absolute;
	top: 40px;
	right: 80px;
	z-index: 2;
	background-image: url("/images/main/book.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	transform: rotate(10deg);
}

.book-shadow {
	width: 180px;
	height: 300px;
	position: absolute;
	top: 40px;
	right: 80px;
	z-index: 2;
	transform: rotate(2deg);
	background: grey;
	transition: transform 0.3s ease;
}

.main-logo-wrapper {
	height: 160px;
	margin: 20px 0;
}

.main-logo-title {
	font-size: 6rem;
	font-weight: 700;
	color: #fff;
	font-family: inherit;
	font-style: italic;
	margin-top: 72px;
	padding-top: 3rem;
}

.main-logo-subtitle {
	font-size: 2rem;
	font-weight: 500;
	color: white;
	font-family: inherit;
	font-style: italic;
	text-shadow:
		0 0 5px #777,
		0 0 10px #777,
		0 0 20px #777,
		0 0 30px #777,
		0 0 40px #777;
	margin-top: -40px;
}

.main-subtitle {
	font-size: 1.7rem;
	letter-spacing: 15px;
	font-weight: 600;
	font-family: inherit;
	color: white;
	margin-top: 7rem;
}

/* Registration Form Styles */
.registration-section {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1200px;
	margin: 20px auto;
	padding: 0 20px;
	margin-top: 0px;
}

.registration-form-container {
	width: 70%;
	min-width: 758px;
	margin: 20px auto;
	display: flex;
	padding: 10px 20px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	position: relative;
	border: 1px solid #944eed;
	border-radius: 5px;
	background-color: rgba(255, 255, 255, 0.2);
}

.registration-form-horizontal-container {
	position: relative;
	width: 100%;
	background: linear-gradient(180deg, #2f1ea2 0%, #a027b4 100%);
	z-index: 2;
	text-align: center;
	padding-top: 92px;
	padding-bottom: 66px;
}

.registration-form-horizontal-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
}

.email-password-note {
	font-size: 0.9rem;
	color: #fff;
	text-align: left;
	width: 100%;
	margin: 0 0 10px 0;
}

.reset-password {
	font-size: 0.8rem;
	color: #fff;
	text-align: left;
	width: 100%;
	margin: 0 0 10px 0;
	cursor: pointer;
	pointer-events: auto;
	text-decoration: underline;
	font-weight: 500;
}

input {
	font-family: "Jost", sans-serif;
}

.input-wrapper {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.form-title {
	font-family: "Jost", sans-serif;
	font-weight: 600;
	font-size: 1.7rem;
	color: #fff;
	width: 100%;
	text-shadow: 1px 1px 10px #27104680;
	padding-top: 20px;
}

#main-form-title {
	margin-top: 70px;
	padding-top: 20px;
}

.email {
	margin-right: 30px;
}

.email,
.password {
	background-color: rgba(255, 255, 255, 0);
	border: 1px solid #fff;
	min-width: 250px;
	height: 40px;
	border-radius: 2px;
	color: #fff;
	padding: 0 10px;
	font-size: 16px;
}

.email:focus,
.password:focus {
	outline: none;
	border-color: #944eed;
	box-shadow: 0 0 5px rgba(148, 78, 237, 0.5);
}

.email::placeholder,
.password::placeholder {
	color: #fff;
	font-size: 0.8rem;
}

.email {
	background-color: rgba(255, 255, 255, 0);
	border: 1px solid transparent;
	border-image: linear-gradient(to right, rgba(125, 18, 255, 1), rgba(255, 255, 255, 1)) 1;
	min-width: 250px;
	height: 40px;
	border-radius: 2px;
	color: #fff;
	padding: 0 10px;
	font-size: 16px;
}

.checkbox {
	display: inline-block;
	width: 18px;
	height: 18px;
	appearance: none;
	border: 1px solid #fff;
	border-radius: 4px;
	cursor: pointer;
	position: relative;
	margin-right: 5px;
}

.checkbox:checked {
	background-color: #944eed;
	border-color: #944eed;
}

.checkbox:checked::after {
	content: "✓";
	color: white;
	font-size: 14px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.label-terms {
	position: relative;
	top: -3px;
	text-decoration: underline;
	color: #fff;
}

.checkbox-wrapper {
	display: flex;
	align-items: center;
	flex-direction: row;
	justify-content: center;
	font-size: 0.8rem;
	margin: 0 10px;
}

.checkbox-wrapper .label-terms {
	position: relative;
}

.checkbox-wrapper .checkbox {
	top: -4px;
	margin: 0 0 0 10px;
}

.button-wrapper {
	width: 100%;
}

.button-wrapper .register-button,
.button-wrapper .cancel-button {
	background: #7d12ff;
	border: none;
	color: white;
	font-size: 18px;
	font-weight: 600;
	padding: 12px 24px;
	margin: 15px 0;
	border-radius: 8px;
	cursor: pointer;
	transition:
		box-shadow 0.3s ease,
		transform 0.3s ease;
	box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.5);
}

.button-wrapper .register-button:hover,
.button-wrapper .cancel-button:hover {
	cursor: pointer;
	opacity: 0.9;
	transform: scale(1.1);
}

.button-wrapper .cancel-button {
	background: #98969b;
	margin-right: 20px;
}

/* Video Block */
.video-block {
	position: relative;
	width: 100%;
	background: linear-gradient(0deg, #2f1ea2 0%, #a027b4 100%);
	z-index: 2;
}

.video-block::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
	pointer-events: none;
}

.video-container {
	position: relative;
	margin: 20px 0;
	padding: 20px;
	width: 60%;
	height: 90%;
	border-radius: 5px;
	z-index: 2;
	background: black !important;
}

.video-container::before {
	content: "";
	position: absolute;
	top: -20px;
	left: -20px;
	width: calc(100% + 40px);
	height: calc(100% + 40px);
	border: 1px solid grey;
	border-image: linear-gradient(to bottom, grey, transparent) 1;
	border-radius: 10px;
	z-index: 1;
}

/* Author Block */
.author-block {
	position: relative;
	width: 100%;
	background: linear-gradient(0deg, #2f1ea2 0%, #a027b4 100%);
	z-index: 2;
	padding: 40px 0;
	margin-top: 110px;
}

.author-main-wrapper {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
}

.author-content-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 40px;
	width: 100%;
}

.author-left-section {
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.author-image-container {
	display: flex;
	align-items: center;
	gap: 20px;
}

.author-image {
	width: 170px;
	height: auto;
	object-fit: cover;
	border-radius: 6px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.author-title {
	font-weight: 500;
	font-size: 2.4rem;
	color: #fff;
	margin: 0;
	font-family: inherit;
}

.text-container {
	width: 100%;
}

.text-container p {
	line-height: 1.6;
	text-align: justify;
	color: #fff;
	margin: 0;
}

.book-covers {
	width: 70%;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	max-width: 80%;
	margin: 0 auto;
	display: block;
}

@media (max-width: 768px) {
	.author-content-wrapper {
		flex-direction: column;
		align-items: center;
	}

	.author-left-section {
		width: 100%;
	}

	.book-covers {
		width: 100%;
		max-width: 80%;
	}
}

/* Gallery Block */
.slider-title {
	position: relative;
	font-weight: 600;
	font-size: 2.4rem;
	color: #fff;
	text-align: center;
	width: 100%;
	font-family: inherit;
	margin-bottom: 20px;
}

.slider-wrapper {
	position: relative;
	width: 100%;
	background: linear-gradient(180deg, #2f1ea2 0%, #a027b4 100%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 0;
}

.slider-content {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80%;
	margin: 0 auto;
	box-sizing: border-box;
}

.nav-column {
	width: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 10px;
	flex-shrink: 0;
}

.swiper-column {
	flex: 1;
	width: 100%;
}

.swiper-wrapper {
	transition-timing-function: linear;
}

.mySwiper {
	width: 100%;
	height: 400px;
	visibility: visible !important;
}

.slide {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.3s ease;
	visibility: visible !important;
	opacity: 1 !important;
}

.slide-image {
	width: 100%;
	height: 350px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.swiper-slide {
	visibility: visible !important;
	opacity: 1 !important;
}

.swiper-slide-prev,
.swiper-slide-next {
	visibility: visible !important;
	opacity: 1 !important;
}

.swiper-slide-duplicate-prev,
.swiper-slide-duplicate-next {
	visibility: visible !important;
	opacity: 1 !important;
}

.swiper-button-prev,
.swiper-button-next {
	position: static;
	transform: none;
	width: 40px;
	height: 40px;
	z-index: 10;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white !important;
	margin: 0;
}

.swiper-button-prev:after,
.swiper-button-next:after {
	font-size: 24px;
	color: white;
}

h2 {
	font-family: "Jost", sans-serif;
	font-weight: 600;
}

/* Info Block */
.info-block-title {
	position: relative;
	font-weight: 600;
	font-size: 2.4rem;
	color: #fff;
	text-align: center;
	width: 100%;
	font-family: inherit;
	margin-bottom: 20px;
}

.info-block-container {
	position: relative;
	width: 100%;
	background: linear-gradient(0deg, #2f1ea2 0%, #a027b4 100%);
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 0;
}

.info-block-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
	pointer-events: none;
}

/* When expandable content is open, remove bottom border radius from all headers */
.info-block-container.has-expanded-content .block-header {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.blocks-wrapper {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.block-item {
	position: relative;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 12px;
	padding: 1px;
	background: linear-gradient(90deg, #0e56f8, #28eaea);
	transition: height 0.3s ease-in-out;
}

.block-content-wrapper {
	background: rgba(0, 0, 0, 0.9);
	border-radius: 11px;
	height: 100%;
	padding: 24px;
	display: flex;
	flex-direction: column;
	transition: height 0.3s ease-in-out;
	position: relative;
}

.block-content-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
	pointer-events: none;
	border-radius: inherit;
}

.block-header,
.block-link-header {
	width: 100%;
	background: transparent;
	cursor: pointer;
	text-decoration: none;
	border: none;
	padding: 0;
	margin: 0;
	position: relative;
	z-index: 2;
}

.block-title {
	font-size: 1.5rem;
	color: #ffffff;
	margin-bottom: 16px;
	text-align: left;
}

.expandable-content {
	position: relative;
	z-index: 2;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	visibility: hidden;
	transition: all 0.3s ease-in-out;
	color: rgba(255, 255, 255, 0.9);
	margin-top: 0;
}

.block-item.active .expandable-content {
	max-height: 500px;
	opacity: 1;
	visibility: visible;
	margin-top: 16px;
}

.content-inner {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	line-height: 1.5;
	transform: translateY(0);
	transition: transform 0.3s ease-in-out;
}

.info-title {
	font-size: 1.2rem;
	color: #ffffff;
	margin: 12px 0;
}

.info-ul {
	list-style: none;
	padding: 0;
	margin: 8px 0;
}

.info-list {
	margin: 8px 0;
	color: rgba(255, 255, 255, 0.9);
	padding-left: 8px;
}

.info-list.sub-list {
	padding-left: 24px;
}

.block-item.active {
	height: auto;
}

.block-item.active .block-header {
	border-bottom: none;
}

.block-item.active .expandable-content {
	display: block;
}

@media (max-width: 1024px) {
	.blocks-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.blocks-wrapper {
		grid-template-columns: 1fr;
	}
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.blocks-wrapper {
		flex-direction: column;
		align-items: center;
	}

	.block-item,
	.block-link {
		width: 100%;
	}

	.limit-width-60,
	.limit-width-45 {
		width: 90%;
	}

	.info-tabs-nav {
		flex-wrap: wrap;
	}

	.info-tab-button {
		flex: 0 0 50%;
	}

	.main-block h1 {
		font-size: 2rem;
	}

	.subtitle {
		font-size: 1.2rem;
	}

	.video-block {
		height: 50vh;
	}

	.video-container {
		width: 90%;
	}

	.mobile-image-modal {
		display: none;
		position: fixed;
		z-index: 100000;
		left: 0;
		top: 0;
		width: 100vw;
		height: 100vh;
		background: rgba(0, 0, 0, 0.85);
		align-items: center;
		justify-content: center;
		flex-direction: column;
		transition: opacity 0.2s;
	}
	.mobile-image-modal-content {
		max-width: 90vw;
		max-height: 70vh;
		border-radius: 10px;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
		background: #222;
		object-fit: contain;
	}
	.mobile-image-modal-close {
		color: #fff;
		font-size: 2.5rem;
		font-weight: bold;
		position: absolute;
		top: 24px;
		right: 32px;
		cursor: pointer;
		z-index: 100001;
		user-select: none;
		background: none;
		border: none;
		line-height: 1;
	}

	.mobile-image-modal-arrow {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		color: #fff;
		font-size: 2.2rem;
		background: rgba(0, 0, 0, 0.3);
		border-radius: 50%;
		width: 44px;
		height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		z-index: 100002;
		user-select: none;
		transition: background 0.2s;
	}
	.mobile-image-modal-arrow.left {
		left: 18px;
	}
	.mobile-image-modal-arrow.right {
		right: 18px;
	}
	.mobile-image-modal-arrow:active {
		background: rgba(0, 0, 0, 0.6);
	}

	.mobile-overlay {
		display: block !important;
		position: absolute;
		top: 0;
		left: 0;
		width: 100vw;
		min-height: 100vh;
		background: linear-gradient(135deg, #2f1ea2 0%, #a027b4 100%);
		z-index: 99999;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		touch-action: auto;
	}
	.mobile-overlay-content {
		width: 100vw;
		max-width: 400px;
		margin: 0 auto;
		display: block;
		padding: 32px 12px 32px 12px;
		box-sizing: border-box;
		background: rgba(0, 0, 0, 0.7);
		border-radius: 16px;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
		overflow-y: visible;
		max-height: none;
	}
}

/* Footer Styles have been moved to styles.css */

.video-container {
	width: 60%;
}

/* Download buttons styles */
.download-buttons-container {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	margin: 0 0 3rem 0;
	width: 100%;
	opacity: 1;
	padding-top: 1.5rem;
}

.download-button {
	background: #944eed;
	border: 1px solid #944eed;
	backdrop-filter: blur(10px);
	border-radius: 10px;
	font-family: inherit;
	color: white;
	font-size: 1.8rem;
	font-weight: 500;
	padding: 1rem 2rem;
	cursor: pointer;
	transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(.4,2,.6,1), background 0.3s, color 0.3s;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	border: 1px solid white;
	display: none;
	position: relative;
	overflow: hidden;
}

.download-button:hover,
.download-button:focus {
	background: #f48e2b;
	color: #fff;
	transform: scale(1.07);
	box-shadow: 0 6px 18px rgba(244, 142, 43, 0.25);
}

.download-button::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		120deg,
		rgba(255,255,255,0) 0%,
		rgba(255,255,255,0.4) 50%,
		rgba(255,255,255,0) 100%
	);
	transform: translateX(-100%) rotate(25deg);
	pointer-events: none;
	z-index: 2;
	transition: opacity 0.2s;
	opacity: 1;
	animation: shine-sweep 1.8s linear infinite;
}

/* Remove hover/focus trigger for shine */
.download-button:hover::before,
.download-button:focus::before {
	animation: none;
}

@keyframes shine-sweep {
	0% {
		transform: translateX(-100%) rotate(25deg);
		opacity: 0.2;
	}
	60% {
		opacity: 0.7;
	}
	100% {
		transform: translateX(100%) rotate(25deg);
		opacity: 0;
	}
}

#download-mac-bottom,
#download-mac-top {
	background-image: url("../images/mac_version_download_btn.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100px;
	width: 241px;
}

#download-windows-bottom,
#download-windows-top {
	background-image: url("../images/pc_version_download_btn.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 100px;
	width: 274px;
}

/* Keyframe animation for download buttons */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.download-buttons-container.visible {
	display: flex;
	animation: fadeIn 0.5s ease forwards;
}

/* Reset Password Modal Styles */
.reset-password-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

.reset-password-modal.visible {
	display: block;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1001;
	padding: 10px 20px;
}

.modal-content {
	border: 1px solid #944eed;
	background-color: #191825;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.3);
	max-width: 600px;
	width: 90%;
}

.modal-title {
	font-weight: 600;
	font-size: 2.4rem;
	color: #fff;
	width: 100%;
	text-shadow: 1px 1px 10px #27104680;
	margin-bottom: 20px;
}

.reset-password-input {
	background-color: rgba(255, 255, 255, 0);
	border: 1px solid #fff;
	min-width: 250px;
	height: 40px;
	border-radius: 5px;
	color: #fff;
	padding: 0 10px;
	font-size: 16px;
	width: 100%;
	margin-bottom: 20px;
}

.reset-password-input:focus {
	outline: none;
	border-color: #944eed;
	box-shadow: 0 0 5px rgba(148, 78, 237, 0.5);
}

.reset-password-input::placeholder {
	color: #fff;
	font-size: 0.8rem;
}

#reset-password-form .button-wrapper {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
}

#reset-password-form .cancel-button {
	background: #98969b;
	border: none;
	color: white;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

#reset-password-form .register-button {
	background: #7d12ff;
	border: none;
	color: white;
	font-size: 16px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 8px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

#reset-password-form .cancel-button:hover,
#reset-password-form .register-button:hover {
	transform: scale(1.1);
	opacity: 0.9;
}

/* Footer */
footer {
	width: 100%;
	background: linear-gradient(0deg, #2f1ea2 0%, #a027b4 100%);
	position: relative;
}

footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
	pointer-events: none;
}

.footer-wrapper {
	position: relative;
	z-index: 2;
}

/* Add overlay to other sections */
.video-block::before,
.author-block::before,
.slider-wrapper::before,
.info-block-container::before,
.registration-form-horizontal-container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1;
	pointer-events: none;
}

.video-block,
.author-block,
.slider-wrapper,
.info-block-container,
.registration-form-horizontal-container {
	position: relative;
	z-index: 2;
}

/* Ensure content is above the overlay */
.video-block > *,
.author-block > *,
.slider-wrapper > *,
.info-block-container > *,
.registration-form-horizontal-container > * {
	position: relative;
	z-index: 3;
}

/* Mobile Overlay */
.mobile-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #2f1ea2 0%, #a027b4 100%);
	z-index: 9999;
	align-items: center;
	justify-content: center;
}

.mobile-overlay::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1;
}

.mobile-overlay-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 2rem;
	color: #ffffff;
	max-width: 80%;
}

.mobile-overlay-content h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	font-weight: 700;
	font-family: inherit;
}

.mobile-overlay-content p {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	line-height: 1.4;
}

@media screen and (max-width: 768px) {
	.mobile-overlay {
		display: flex;
	}
}

/* Mobile Overlay for Game Info (mobile only) */
@media (max-width: 768px) {
	body > *:not(.mobile-overlay) {
		display: none !important;
	}
	.mobile-overlay {
		display: flex !important;
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background: linear-gradient(135deg, #2f1ea2 0%, #a027b4 100%);
		z-index: 99999;
		align-items: center;
		justify-content: center;
		overflow-y: auto !important;
		-webkit-overflow-scrolling: touch;
		touch-action: auto;
	}
	.mobile-overlay-content {
		width: 100vw;
		max-width: 400px;
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 32px 12px 32px 12px;
		box-sizing: border-box;
		background: rgba(0, 0, 0, 0.7);
		border-radius: 16px;
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		touch-action: auto;
	}
	.mobile-logo {
		font-size: 2.2rem;
		font-weight: 700;
		color: #fff;
		text-align: center;
		margin-bottom: 8px;
		letter-spacing: 2px;
		font-family: inherit;
	}
	.mobile-subtitle {
		font-size: 1.1rem;
		font-weight: 400;
		color: #fff;
		display: block;
		margin-top: 2px;
		letter-spacing: 1px;
	}
	.mobile-description {
		color: #fff;
		font-size: 1rem;
		text-align: center;
		margin-bottom: 18px;
		margin-top: 8px;
		line-height: 1.4;
	}
	.mobile-video-wrapper {
		width: 100%;
		max-width: 320px;
		aspect-ratio: 16/9;
		margin: 0 auto 18px auto;
		background: #222;
		border-radius: 8px;
		overflow: hidden;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.mobile-video-iframe {
		width: 100%;
		height: 180px;
		border: none;
		border-radius: 8px;
		background: #222;
	}
	.mobile-gallery-headline {
		font-size: 1.2rem;
		font-weight: 600;
		color: #fff;
		margin: 18px 0 10px 0;
		text-align: center;
		letter-spacing: 1px;
	}
	.mobile-gallery-images {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
		justify-content: center;
		width: 100%;
		margin-bottom: 8px;
	}
	.mobile-gallery-image {
		width: 46%;
		max-width: 140px;
		border-radius: 6px;
		object-fit: cover;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
		margin-bottom: 4px;
	}
}

/* Hide mobile overlay on desktop */
@media (min-width: 769px) {
	.mobile-overlay {
		display: none !important;
	}
}
