/* Homepage VMS monitoring headline band */

.autonemo-vms-band {
	--vms-band-bg: #05070a;
	--vms-band-accent: #e2231a;
	--vms-band-glow: rgba(226, 35, 26, 0.65);
	--vms-band-text: #ffffff;
	--vms-band-muted: rgba(255, 255, 255, 0.88);
	position: relative;
	width: 100%;
	margin: 0;
	padding: clamp(58px, 8vw, 96px) clamp(20px, 4vw, 40px);
	background: var(--vms-band-bg);
	color: var(--vms-band-text);
	overflow: hidden;
	isolation: isolate;
}

.autonemo-vms-band__glow {
	position: absolute;
	left: 50%;
	top: 54%;
	width: min(680px, 88vw);
	height: min(300px, 42vh);
	transform: translate(-50%, -50%);
	background: radial-gradient(
		ellipse at center,
		rgba(226, 35, 26, 0.22) 0%,
		rgba(226, 35, 26, 0.08) 44%,
		transparent 72%
	);
	pointer-events: none;
	z-index: 0;
	filter: blur(2px);
}

.autonemo-vms-band__inner {
	position: relative;
	z-index: 1;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.autonemo-vms-band__title {
	margin: 0;
	font-size: clamp(1.9rem, 4.6vw, 3.25rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: 0;
	color: var(--vms-band-text) !important;
	-webkit-text-fill-color: var(--vms-band-text) !important;
}

.autonemo-vms-band__line {
	display: block;
	margin-bottom: clamp(16px, 2.5vw, 24px);
	color: rgba(255, 255, 255, 0.86) !important;
	-webkit-text-fill-color: rgba(255, 255, 255, 0.86) !important;
}

.autonemo-vms-band__rotate {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: min(560px, 86vw);
	min-height: clamp(92px, 13vw, 132px);
	margin: 0 auto;
	padding: clamp(12px, 2vw, 18px);
	border: 1px solid rgba(226, 35, 26, 0.48);
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
		radial-gradient(circle at 50% 50%, rgba(226, 35, 26, 0.24), transparent 64%);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.05),
		0 24px 72px rgba(0, 0, 0, 0.36),
		0 0 70px rgba(226, 35, 26, 0.18);
	overflow: hidden;
}

.autonemo-vms-band__rotate-track {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	animation: none;
}

.autonemo-vms-band__rotate-track:not([data-autonemo-rotator='1']) .autonemo-vms-band__word:not(:first-child) {
	display: none;
}

.autonemo-vms-band__word {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: clamp(64px, 9vw, 92px);
	padding: 0 0.2em;
	font-size: clamp(2.8rem, 8vw, 5.9rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #fff5f6 !important;
	-webkit-text-fill-color: #fff5f6 !important;
	text-shadow:
		0 0 18px rgba(226, 35, 26, 0.72),
		0 0 38px rgba(226, 35, 26, 0.42);
}

.autonemo-vms-band__word--live {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition: opacity 0.32s ease, transform 0.32s ease;
}

.autonemo-vms-band__word--live.is-out {
	opacity: 0;
	transform: translateY(10px) scale(0.97);
}

.autonemo-vms-band__word--live.is-in {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.autonemo-vms-band__subtitle {
	margin: clamp(22px, 3vw, 30px) auto 0;
	max-width: 760px;
	font-size: clamp(0.98rem, 1.4vw, 1.125rem);
	line-height: 1.7;
	font-weight: 400;
	color: var(--vms-band-muted) !important;
	-webkit-text-fill-color: var(--vms-band-muted) !important;
}

/* Keep band readable regardless of global theme span rules */
body.home .autonemo-vms-band :is(h2, p, span) {
	color: inherit;
	-webkit-text-fill-color: inherit;
}

body.home .autonemo-vms-band__word {
	color: #fff5f6 !important;
	-webkit-text-fill-color: #fff5f6 !important;
}

@media (prefers-reduced-motion: reduce) {
	.autonemo-vms-band__rotate-track {
		animation: none;
		transform: none !important;
	}

	.autonemo-vms-band__word:not(:first-child) {
		display: none;
	}

	.autonemo-vms-band__word--live {
		transition: none;
	}
}

@media (max-width: 575px) {
	.autonemo-vms-band {
		padding: 48px 16px;
	}

	.autonemo-vms-band__line {
		margin-bottom: 14px;
	}

	.autonemo-vms-band__rotate {
		width: min(100%, 340px);
		min-height: 92px;
		border-radius: 22px;
	}

	.autonemo-vms-band__word {
		min-height: 62px;
		font-size: clamp(2.2rem, 15vw, 3.7rem);
	}

	.autonemo-vms-band__subtitle {
		font-size: 0.95rem;
		line-height: 1.65;
	}
}
