/* Центровка блока приветствия на странице */
#previewWrap {
	position: relative;
	max-width: 480px;
	margin: 40px auto;
	text-align: center;
}

/* Видео-превью AVA */
#previewWrap #avaIntroVideo {
	width: 100%;
	max-width: 480px;
	border-radius: 24px;
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.6),
	0 0 32px rgba(15, 20, 32, 0.8);
	display: block;
	margin: 0 auto;
	background: #000;
	object-fit: cover;
}

/* Кнопка "Play" поверх видео */
#avaPlayBtn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-52%, -50%); /* можно подправлять по вкусу */
	width: 110px;
	height: 110px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: radial-gradient(circle, #ffc657 0%, #996400 60%, #000 100%);
	box-shadow: 0 0 18px rgba(255, 198, 87, 0.8),
	0 0 32px rgba(0, 0, 0, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
}

#avaPlayBtn::before {
	content: "▶";
	font-size: 44px;
	color: #000;
	margin-left: 4px;
}

#avaPlayBtn:hover {
	box-shadow: 0 0 24px rgba(255, 213, 120, 0.9),
	0 0 40px rgba(0, 0, 0, 0.9);
	transform: translate(-52%, -50%) scale(1.04);
}

/* PRELOADER overlay */
#avaPreloader {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.88);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.4s ease;
}

.ava-spinner {
	width: 60px;
	height: 60px;
	border: 6px solid rgba(255, 198, 87, 0.3);
	border-top-color: #ffc657;
	border-radius: 50%;
	animation: avaSpin 0.9s linear infinite;
}

@keyframes avaSpin {
	to {
		transform: rotate(360deg);
	}
}
