﻿/* --- Hero --- */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;

	background:
		/* существующие фоновые градиенты */
		radial-gradient(at 20% 30%, #1e162a, transparent 55%),
		radial-gradient(at 80% 40%, #2b0b49, transparent 60%),
		radial-gradient(at 50% 80%, #47256b, transparent 70%),
		radial-gradient(at 70% 10%, #22142e, transparent 60%),
		/* новые “ореолы” для подсветки сверху и снизу */
		radial-gradient(at 50% 0%, rgba(90, 60, 150, 0.35), transparent 70%),
		radial-gradient(at 50% 100%, rgba(60, 40, 100, 0.4), transparent 70%),
		#0a0a0a;
	background-blend-mode: lighten;
	overflow: hidden;
	z-index: 0;
}

/* слой глубины и мягкой диффузной подсветки */
.hero::before {
	content: '';
	position: absolute;
	inset: 0;

	background:
		radial-gradient(circle at center, rgba(80, 50, 130, 0.25), rgba(20, 10, 30, 0.25) 60%, transparent 100%);
	opacity: 0.07;
	mix-blend-mode: soft-light;
	z-index: 1;
	pointer-events: none;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 40px;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 20px;
	background: linear-gradient(270deg, #6709e2, #5bf181);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 40px;
	color: rgba(255, 255, 255, 0.85);
}

.hero-button {
	display: inline-block;
	padding: 14px 32px;
	border-radius: 0px;
	font-size: 1rem;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(45deg, #6709e2, #5bf181);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(141, 70, 231, 0.4);
}

@keyframes gradientFlow {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}
