* {
  text-decoration: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
:root {
	--index: calc(1vw + 1vh);
	--transition: 1.5s cubic-bezier(.05,.5,0,1);
}
@font-face {
	font-family: kamerik-3d;
	src: url(../fonts/kamerik205-heavy.woff2);
	font-weight: 900;
}
@font-face {
	font-family: merriweather-italic-3d;
	src: url(../fonts/merriweather-regular-italic.woff2);
}
@keyframes colorFlow {
	0% { color: #ff0092; }
	100% { color: rgb(0, 191, 255); }
}
@keyframes fall {
  0% {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  25% {
    transform: translateX(-10vw) translateY(25vh) rotate(90deg) scale(0.9);
  }
  50% {
    transform: translateX(10vw) translateY(50vh) rotate(180deg) scale(1);
  }
  75% {
    transform: translateX(-5vw) translateY(75vh) rotate(270deg) scale(1.1);
  }
  100% {
    transform: translateX(5vw) translateY(100vh) rotate(360deg) scale(1);
    opacity: 1; 
  }
}
body {
	background-color: #000;
	color: #fff;
	font-family: kamerik-3d;
}
.layers {
	perspective: 1000px;
	overflow: hidden;
}
.layers__container {
	height: 100vh;
	min-height: 500px;
	transform-style: preserve-3d;
	transform: rotateX(var(--move-y)) rotateY(var(--move-x));
	will-change: transform;
	transition: transform var(--transition);
}
.layers__item {
	position: absolute;
	inset: -5vw;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.layer-1 {
	transform: translateZ(125px) scale(.88);
}
.layer-2 {
	transform: translateZ(150px) scale(.88);
}
.layer-3 {
	transform: translateZ(180px) scale(.8);
}
.layer-4 {
	transform: translateZ(190px) scale(.9);
}
.layer-5 {
	transform: translateZ(150px) translateY(-100px) translateX(155px) scale(.9);

}
.layer-6 {
	transform: translateZ(80px);
}
.hero-content {
	font-size: calc(var(--index) * 2);
	text-align: center;
	letter-spacing: calc(var(--index) * -0.05);
	line-height: 1.25em;
	margin-top: calc(var(--index) * 5.5);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent);
	padding: 1.5rem 2rem;
	border-radius: 15px;
	display: inline-block;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.hero-content h1 {
	text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
	animation: colorFlow 5s ease-in-out infinite alternate;
}
.hero-content__p {
	color: rgba(255, 255, 255, 0.85);
	text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}
.button-start, .button-about{
  font-family: Arial;
	font-size: calc(var(--index)*0.7);
	letter-spacing: -.02vw;
	padding: calc(var(--index)*0.3) calc(var(--index)*0.7);
	border-radius: 10em;
	border: 2px solid rgba(255, 255, 255, 0.5);
	outline: none;
	cursor: pointer;
	background: linear-gradient(to right, #ff0092, #d63fff);
	background-size: 200% 200%;
	color: white;
	box-shadow: 0px 5px 15px rgba(255, 0, 146, 0.5);
	transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.button-start:hover, .button-about:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255,0,146,0.8);
}
.layer-4, .layer-5, .layer-6 {
	pointer-events: none;
}
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
	z-index: 999;
}
.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	background: rgba(255, 200, 220, 0.95);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0px 5px 15px rgba(255, 0, 146, 0.5);
	width: 300px;
	text-align: center;
	color: #333;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
	z-index: 1000;
}
.modal.show, .modal-overlay.show {
	visibility: visible;
	opacity: 1;
}
.modal.show {
	transform: translate(-50%, -50%) scale(1);
}
.close-btn {
	margin-top: 10px;
	padding: 5px 15px;
	background: #ff0092;
	border: none;
	color: white;
	border-radius: 10em;
	cursor: pointer;
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.close-btn:hover {
	background-position: right center;
	transform: scale(1.05);
	box-shadow: 0px 8px 20px rgba(255, 0, 146, 0.8);
}
.telegram-login-button {
  background: #0088cc;
  padding: 12px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.telegram-login-button img {
  height: 20px;
  margin-right: 10px;
}