/*
 * Приветственный экран (гость)
 */

.gl-welcome {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 1.25rem 3rem;
	overflow: hidden;
}

.gl-welcome__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.gl-welcome__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.55;
	animation: gl-float 14s ease-in-out infinite;
}

.gl-welcome__orb--a {
	width: min(52vw, 420px);
	height: min(52vw, 420px);
	background: radial-gradient(circle at 30% 30%, #1bff9e, transparent 65%);
	top: -8%;
	left: -10%;
	animation-delay: 0s;
}

.gl-welcome__orb--b {
	width: min(60vw, 520px);
	height: min(60vw, 520px);
	background: radial-gradient(circle at 70% 40%, #0a6bff, transparent 60%);
	bottom: -15%;
	right: -18%;
	animation-delay: -4s;
	animation-duration: 18s;
}

.gl-welcome__orb--c {
	width: min(45vw, 380px);
	height: min(45vw, 380px);
	background: radial-gradient(circle at 50% 50%, #00c2a8, transparent 55%);
	top: 35%;
	left: 40%;
	opacity: 0.35;
	animation-delay: -7s;
	animation-duration: 20s;
}

.gl-welcome__grid {
	position: absolute;
	inset: -1px;
	background-image:
		linear-gradient(rgba(27, 255, 158, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(27, 255, 158, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 72%);
	opacity: 0.9;
	animation: gl-grid-pulse 10s ease-in-out infinite;
}

.gl-welcome__inner {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	text-align: center;
	animation: gl-rise 0.9s ease-out both;
}

.gl-welcome__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
	text-align: center;
}

.gl-welcome__logo-heading {
	margin: 0;
	line-height: 0;
	font-weight: 400;
}

.gl-welcome__logo {
	display: inline-block;
	width: auto;
	height: auto;
	filter: drop-shadow(0 0 18px rgba(27, 255, 158, 0.45));
	animation: gl-logo-glow 3.2s ease-in-out infinite;
}

/* Квадратная пиктограмма (logo2.png) */
.gl-welcome__logo--mark {
	max-width: min(200px, 42vw);
	max-height: min(200px, 42vw);
	aspect-ratio: 1 / 1;
	object-fit: contain;
}

.gl-welcome__tagline {
	margin: 0;
	font-size: 0.95rem;
	color: var(--gl-muted);
	max-width: 22rem;
	line-height: 1.45;
}

.gl-welcome__lead {
	margin: 0 0 2rem;
	font-size: 1.05rem;
	color: rgba(244, 255, 251, 0.78);
	line-height: 1.65;
}

.gl-welcome__actions {
	display: flex;
	justify-content: center;
}

.gl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	padding: 0.85rem 1.5rem;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 400;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	text-decoration: none;
}

.gl-btn:hover {
	text-decoration: none;
	transform: translateY(-2px);
}

.gl-btn--steam {
	color: #d5d8de;
	background: linear-gradient(180deg, #3d556b 0%, #2a475e 42%, #1b2838 100%);
	border: 1px solid #1f3044;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.06) inset,
		0 10px 28px rgba(0, 0, 0, 0.45);
}

.gl-btn--steam:hover {
	color: #ffffff;
	background: linear-gradient(180deg, #4f6d88 0%, #33526b 45%, #22384a 100%);
	border-color: #66c0f4;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.08) inset,
		0 0 0 1px rgba(102, 192, 244, 0.25),
		0 14px 36px rgba(0, 0, 0, 0.5);
}

.gl-btn--steam img {
	flex-shrink: 0;
}

.gl-welcome__notice {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: 10px;
	font-size: 0.9rem;
	text-align: left;
	max-width: 28rem;
	margin-left: auto;
	margin-right: auto;
	background: rgba(180, 60, 60, 0.2);
	border: 1px solid rgba(255, 120, 120, 0.35);
	color: #ffc9c9;
}

@keyframes gl-float {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(3%, 4%) scale(1.06);
	}
}

@keyframes gl-grid-pulse {
	0%,
	100% {
		opacity: 0.65;
	}
	50% {
		opacity: 0.95;
	}
}

@keyframes gl-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes gl-logo-glow {
	0%,
	100% {
		filter: drop-shadow(0 0 14px rgba(27, 255, 158, 0.35));
	}
	50% {
		filter: drop-shadow(0 0 26px rgba(27, 255, 158, 0.65));
	}
}

@media (prefers-reduced-motion: reduce) {
	.gl-welcome__orb,
	.gl-welcome__grid,
	.gl-welcome__logo,
	.gl-btn {
		animation: none !important;
		transition: none !important;
	}

	.gl-welcome__inner {
		animation: none;
		opacity: 1;
		transform: none;
	}
}
