/* Homepage video hero: transparent text overlay + bottom-standing character. */
.zlz-video-hero-wrap {
	padding: 0 0 24px;
}

.zlz-video-hero {
	position: relative;
	width: 100%;
	height: var(--zlz-video-hero-desktop-height, 620px);
	min-height: 340px;
	overflow: hidden;
	background: #000;
	line-height: 0;
	border-radius: 30px;
	isolation: isolate;
	box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.zlz-video-hero__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: var(--zlz-video-fit, cover);
	object-position: var(--zlz-video-position, center center);
	background: #000;
}

.zlz-video-hero__shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(18,16,25,.40) 0%, rgba(18,16,25,.16) 42%, rgba(18,16,25,.05) 100%);
}

/* Transparent text overlay; no speech-bubble arrow. */
.zlz-video-hero__content {
	position: absolute;
	left: 42px;
	bottom: 68px;
	z-index: 3;
	width: min(430px, calc(100% - 380px));
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	line-height: 1.05;
}

.zlz-video-hero__content::before,
.zlz-video-hero__content::after {
	display: none;
}

.zlz-video-hero__headline {
	margin: 0;
	font-family: 'Fredoka', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
	font-size: clamp(34px, 3.6vw, 58px);
	line-height: .94;
	font-weight: 700;
	letter-spacing: -.035em;
	text-wrap: balance;
	filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
}

.zlz-video-hero__headline-line {
	display: inline;
	white-space: nowrap;
}

.zlz-video-hero__headline-line--one::after {
	content: ' ';
}

.zlz-video-hero__headline-word {
	display: inline-block;
	position: relative;
	paint-order: stroke fill;
	-webkit-text-stroke: 1.8px rgba(35, 25, 58, .72);
	text-shadow:
		0 1px 0 rgba(255,255,255,.18),
		0 2px 0 rgba(35,25,58,.10),
		0 3px 0 rgba(35,25,58,.14),
		0 4px 0 rgba(35,25,58,.18),
		0 5px 0 rgba(35,25,58,.24),
		0 10px 18px rgba(0,0,0,.16);
}

.zlz-video-hero__headline-word--one {
	color: #B9D355;
}

.zlz-video-hero__headline-word--two {
	color: #F09C39;
}

.zlz-video-hero__headline-word--three {
	color: #46BFE0;
}

.zlz-video-hero__headline {
	overflow: visible;
}

.zlz-video-hero__headline-word {
	padding-right: .12em;
}

.zlz-video-hero__headline-word--one::after,
.zlz-video-hero__headline-word--two::after,
.zlz-video-hero__headline-word--three::after {
	content: '';
	position: absolute;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 3;
}

.zlz-video-hero__headline-word--one::after {
	width: 28px;
	height: 28px;
	left: .52em;
	top: -.24em;
	transform: rotate(-14deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23B9D355' stroke='%23231B41' stroke-width='2.6' stroke-linejoin='round'%3E%3Ccircle cx='22' cy='18' r='6'/%3E%3Ccircle cx='42' cy='18' r='6'/%3E%3Ccircle cx='16' cy='30' r='5.2'/%3E%3Ccircle cx='48' cy='30' r='5.2'/%3E%3Cpath d='M31.8 29.5c-8.6 0-16.5 6.1-16.5 13.6 0 6.7 5.2 11.4 11.8 11.4 2.8 0 4.7-.8 6.2-2.3 1.6 1.5 3.5 2.3 6.3 2.3 6.7 0 11.9-4.7 11.9-11.4 0-7.5-7.9-13.6-16.5-13.6-1.1 0-2.2.1-3.2.4-1-.3-2.1-.4-3.2-.4z'/%3E%3C/g%3E%3C/svg%3E");
	filter: drop-shadow(0 3px 0 rgba(35,27,65,.28)) drop-shadow(0 1px 1px rgba(255,255,255,.15));
}

.zlz-video-hero__headline-word--two::after {
	width: 22px;
	height: 22px;
	left: 2.0em;
	top: -.18em;
	transform: rotate(-10deg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23D95380' stroke='%23231B41' stroke-width='2.8' d='M32 56c-1.2 0-2.4-.4-3.4-1.2C15.6 43.9 8 36.9 8 25.3 8 17 14.3 10 22.4 10c4.2 0 7.9 1.8 10.3 4.9 2.4-3.1 6.2-4.9 10.4-4.9C49.7 10 56 17 56 25.3c0 11.6-7.6 18.6-20.6 29.5-1 .8-2.2 1.2-3.4 1.2z'/%3E%3C/svg%3E");
	filter: drop-shadow(0 3px 0 rgba(35,27,65,.28)) drop-shadow(0 1px 1px rgba(255,255,255,.15));
}

.zlz-video-hero__headline-word--three::after {
	width: 30px;
	height: 18px;
	right: -.02em;
	top: -.12em;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 48'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M8 12h18' stroke='%2346BFE0' stroke-width='8'/%3E%3Cpath d='M22 24h24' stroke='%23F09C39' stroke-width='8'/%3E%3Cpath d='M36 36h28' stroke='%237B3FE4' stroke-width='8'/%3E%3C/g%3E%3C/svg%3E");
	opacity: 1;
	filter: drop-shadow(0 2px 0 rgba(35,27,65,.22));
}

.zlz-video-hero__subtext {
	display: none;
}

.zlz-video-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	padding: 11px 18px;
	border: 2px solid #23193A;
	border-radius: 999px;
	background: #7B3FE4;
	color: #fff;
	font-family: 'Fredoka', 'Arial Rounded MT Bold', sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(37, 24, 64, .20);
	transition: transform .15s ease, box-shadow .15s ease;
}

.zlz-video-hero__button::after {
	content: '→';
	font-size: 18px;
}

.zlz-video-hero__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(37, 24, 64, .24);
}

/* Character stands flush on the bottom edge, smaller and cleaner. */
.zlz-video-hero__character {
	position: absolute;
	right: 54px;
	bottom: -1px;
	z-index: 2;
	pointer-events: none;
}

.zlz-video-hero__character-card {
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.zlz-video-hero__character img {
	display: block;
	width: clamp(228px, 21.6vw, 324px);
	height: auto;
	background: transparent;
	filter: drop-shadow(0 14px 20px rgba(0,0,0,.22));
}

.zlz-video-hero-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 24px;
	background: #111;
}

.zlz-video-hero-empty a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 1100px) {
	.zlz-video-hero__content {
		left: 28px;
		bottom: 52px;
		width: min(380px, calc(100% - 310px));
	}
	.zlz-video-hero__headline {
		font-size: clamp(30px, 4vw, 46px);
	}
	.zlz-video-hero__character {
		right: 26px;
	}
	.zlz-video-hero__character img {
		width: 264px;
	}
}

@media (max-width: 767px) {
	.zlz-video-hero-wrap {
		padding-bottom: 18px;
	}
	.zlz-video-hero {
		height: var(--zlz-video-hero-mobile-height, 430px);
		min-height: 340px;
		border-radius: 22px;
	}
	.zlz-video-hero__shade {
		background: linear-gradient(180deg, rgba(18,16,25,.10) 0%, rgba(18,16,25,.22) 38%, rgba(18,16,25,.48) 100%);
	}
	.zlz-video-hero__content {
		left: 14px;
		right: 132px;
		bottom: 18px;
		width: auto;
	}
	.zlz-video-hero__headline {
		font-size: clamp(19px, 6.7vw, 24px);
		line-height: .98;
	}
	.zlz-video-hero__headline-line {
		display: block;
		white-space: nowrap;
	}
	.zlz-video-hero__headline-line--one::after { content: none; }
	.zlz-video-hero__headline-word {
		-webkit-text-stroke: 1.2px rgba(35, 25, 58, .68);
		text-shadow:
			0 1px 0 rgba(255,255,255,.18),
			0 2px 0 rgba(35,25,58,.12),
			0 3px 0 rgba(35,25,58,.18),
			0 6px 10px rgba(0,0,0,.14);
	}
	.zlz-video-hero__button {
		margin-top: 12px;
		padding: 9px 15px;
		font-size: 14px;
	}
	.zlz-video-hero__character {
		right: 8px;
		bottom: -1px;
	}
	.zlz-video-hero__character img {
		width: 139px;
	}
	.zlz-video-hero__headline {
		padding-top: 10px;
	}
	.zlz-video-hero__headline-word--one::after {
		width: 14px;
		height: 14px;
		left: .08em;
		top: -.50em;
	}
	.zlz-video-hero__headline-word--two::after {
		width: 12px;
		height: 12px;
		left: auto;
		right: .06em;
		top: -.40em;
	}
	.zlz-video-hero__headline-word--three::after {
		width: 18px;
		height: 10px;
		right: -.42em;
		top: .14em;
	}
}

@media (max-width: 480px) {
	.zlz-video-hero__content {
		right: 116px;
		left: 12px;
		bottom: 14px;
	}
	.zlz-video-hero__headline {
		font-size: clamp(18px, 6.6vw, 22px);
		padding-top: 12px;
	}
	.zlz-video-hero__button {
		padding: 8px 14px;
		font-size: 13px;
	}
	.zlz-video-hero__character {
		right: 6px;
	}
	.zlz-video-hero__character img {
		width: 125px;
	}
	.zlz-video-hero__headline-word--one::after {
		top: -.56em;
		left: .02em;
	}
	.zlz-video-hero__headline-word--two::after {
		top: -.46em;
		right: .02em;
	}
	.zlz-video-hero__headline-word--three::after {
		right: -.34em;
		top: .18em;
	}
}
