*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: #EFEDE8;
	background: #f7f7f5;
	background: #fffcf5;
	font-family: "Fraunces", sans-serif;
	color: #111;
	transition: background 0.3s linear;
}

/* Preload images */
.preload-img {
	width: 0px;
	height: 0;
	opacity: 0;
	margin: 0;
	padding: 0;
}

/* —— Header —— */
#h {
	font-family: "Source Sans 3", sans-serif;
	background: rgba(255, 255, 255, 0.2);
	padding: 32px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 1px;
	display: flex;
	justify-content: space-between;
	gap: 32px;
	border-bottom: 1px solid rgba(62, 47, 0, 0.1);
	position: fixed;
	width: 100%;
	backdrop-filter: blur(32px);
	z-index: 1000;
}

#h a {
	text-decoration: none;
	color: #463019;
	line-height: 24px;
}

#h #n {
	font-weight: 600;
	font-size: 24px;
	letter-spacing: 0;
	text-transform: none;
}

/* Hero */
#hero {
	font-size: 32px;
	position: relative;
	padding-top: 90px;
	/* padding-bottom: 80px; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#hero-carousel {
	/* hero padding-top (90px, clears fixed header) + carousel margin-top + row-gap */
	--hero-pad: 90px;
	--margin-top: 40px;
	--grid-gap: 2px;
	--hero-row-h: calc((100vh - var(--hero-pad) - var(--margin-top) - var(--grid-gap)) / 2);
	position: relative;
	max-width: 90%;
	width: fit-content;
	margin: var(--margin-top) auto;
}

/* 3x2 Grid Layout */
.hero-grid {
	display: grid;
	grid-template-columns: repeat(3, calc(var(--hero-row-h) * 3 / 4));
	grid-template-rows: repeat(2, var(--hero-row-h));
	column-gap: 2px;
	row-gap: 2px;
	width: fit-content;
}

/* Canvas cells */
.grid-cell.canvas-cell {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: relative;
}

/* Mexican wave animation */
@keyframes canvas-wave {
	0%   { transform: translateY(0); }
	30%  { transform: translateY(-28px); }
	60%  { transform: translateY(3px); }
	100% { transform: translateY(0); }
}

/* Gradient flash overlay */
@keyframes canvas-flash {
	0%   { opacity: 0; }
	10%  { opacity: 0.85; }
	100% { opacity: 0; }
}

.grid-cell.canvas-cell.wave-active {
	animation: canvas-wave 1.2s ease-in-out forwards;
}

.grid-cell.canvas-cell.wave-active::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #ff00ff, #ff6600);
	pointer-events: none;
	animation: canvas-flash 1.5s ease-out forwards;
	z-index: 20;
}

/* Carousel cell spans full bottom row */
.grid-cell.carousel-cell {
	grid-column: span 3;
	overflow: hidden;
	position: relative;
	background: rgba(255, 255, 255, 1.0);
}

/* Carousel nav buttons */
.carousel-nav {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 16px;
	z-index: 10;
}

.carousel-nav-btn.disabled {
	opacity: 0.3;
	pointer-events: none;
}

.carousel-nav-btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Carousel container — non-scrollable; slides moved via transform */
.carousel-scroll-container {
	height: 100%;
	overflow: hidden;
}

.carousel-slides-wrapper {
	transition: transform 0.45s cubic-bezier(0.77, 0, 0.18, 1);
}

/* Individual carousel slides */
.carousel-slide {
	height: var(--hero-row-h, 480px);
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
	scroll-snap-align: start;
	overflow: hidden;
}

.carousel-slide .text {
	max-width: 90%;
	margin: 8px auto;
	text-wrap: pretty;
	padding: 16px;
	backdrop-filter: blur(10px);
	text-align: center;
	font-size: 24px;
}

/* Emphasized text styling */
.carousel-slide .emphasized {
	font-size: 36px;
	line-height: 1.2;
	margin-bottom: 12px;
}

.carousel-slide .emphasized.h1plus4 {
	font-size: 64px;
}

.carousel-slide .subtext {
	font-size: 18px;
	line-height: 1.5;
	opacity: 0.9;
}

/* First slide specific */
.carousel-slide[data-slide="0"] .text {
	font-size: 32px;
}


#hi1, #hi2, #hi3 {
	flex-shrink: 0;
	position: relative;
	width: 100%;
	height: 100%;
}

#hic1, #hic2, #hic3 {
	width: 100%;
	height: 100%;
	border: 16px solid #fff;
	display: block;
}

#hi1-time-phase, #hi2-weather-condition {
	margin-left: 0.2em;
}

/* ===========================
   HI WLMENU COMPONENT
   =========================== */
@property --hi-gradient-angle {
	syntax: "<angle>";
	initial-value: 130deg;
	inherits: false;
}

@keyframes hi-rotate-gradient {
	from { --hi-gradient-angle: 130deg; }
	to { --hi-gradient-angle: 490deg; }
}

@keyframes hi-sparkle-pulse {
	0% { transform: scale(0.1) translateX(2px) rotate(-30deg); opacity: 0; }
	10% { transform: scale(0.9) translateX(1px); opacity: 0.8; }
	15% { transform: scale(1) translateX(0); opacity: 1; }
	100% { transform: scale(1) translateX(0); opacity: 1; }
}

.hi-wlwrapper {
	position: absolute;
	z-index: 200;
	padding: 8px;
	border-radius: 24px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background: linear-gradient(var(--hi-gradient-angle), rgba(254, 121, 72, 1) 11.09%, rgba(235, 64, 206, 0.85) 86.1%);
	animation: hi-rotate-gradient 18s linear infinite;
	border: 1px solid color(display-p3 1 0 0.777);
	border-right: none;
	border-left: none;
	padding-bottom: 8px;
	box-sizing: content-box;
	padding-right: 16px;
	text-wrap: nowrap;
	overflow-y: hidden;
	overflow-x: hidden;
	display: flex;
	align-items: center;
	box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
	backdrop-filter: blur(8px);
	transition: all 0.2s cubic-bezier(0.71, 0.05, 0.68, 1.07), opacity 0.3s ease;
	transform-origin: 0 100%;
	bottom: 16px;
	left: 16px;
	width: 30px;
	opacity: 0;
	pointer-events: none;
}

.hi-wlwrapper.visible {
	opacity: 1;
	pointer-events: all;
}

.hi-wlwrapper:hover:not(.expanded) {
	transform: scale(1.1);
}

.hi-wlwrapper.expanded {
	overflow-x: scroll;
	scrollbar-color: rgba(255, 255, 255, 0.2) black;
	width: calc(100% - 24px - 32px);
	border-radius: 0;
	box-shadow: 0 0 32px rgba(255, 0, 255, 0.15);
	backdrop-filter: blur(10px);
}

.hi-wlwrapper:not(.expanded) .wl_sparkle_big {
	animation: hi-sparkle-pulse 2.7s ease-out infinite;
	animation-delay: 0.18s;
}

.hi-wlwrapper:not(.expanded) .wl_sparkle_small {
	animation: hi-sparkle-pulse 2.7s linear infinite;
	animation-delay: 0.1s;
}

.hi-wlwrapper:not(.expanded) .wl_dot {
	animation: hi-sparkle-pulse 2.7s linear infinite;
	animation-delay: 0.05s;
}

.hi-wlwrapper .wl_o,
.hi-wlwrapper .wl_w2 {
	opacity: 0;
	transform: scale(0);
}

.hi-wlwrapper.expanded .wl_o,
.hi-wlwrapper.expanded .wl_w2 {
	opacity: 1;
	transform: scale(1.0);
}

.hi-wmenu {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding-left: 24px;
	padding-right: 18px;
	text-wrap: nowrap;
	color: #fff;
	transform: translateY(2px);
	cursor: pointer;
}

.hi-wmenuitem {
	display: none;
}

.hi-wlwrapper.expanded .hi-wmenuitem {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.hi-wmenuitem > div {
	display: flex;
	align-items: center;
}

.hi-wmiicon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.hi-wmenuitem:hover .hi-wmiicon {
	transform: scale(1.2);
}

.hi-wmenuitem img {
	width: 24px;
	height: 16px;
	object-fit: contain;
	display: block;
}

.hi-wmitext {
	vertical-align: middle;
	line-height: 24px;
}

#hcontrols {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	background: #fff;
	border: 1px solid #eee;
	padding: 8px;
	border-radius: 128px;
	width: 90%;
	max-width: 500px;
	margin: 24px auto;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

#hcdivider {
	width: 2px;
	border-radius: 2px;
	height: 24px;
	background: #eee;
}

#htodcs {
	display: flex;
	background: linear-gradient(#fff, #f6f6f6);
	border: 1px solid rgb(223, 223, 223);
	border-radius: 48px;
	width: 200px;
	justify-content: center;
	align-items: center;
	padding: 6px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.03);
	transition: all 0.15s cubic-bezier(0.62, 0.01, 0.51, 0.98);
}

#hcontrols:hover #htodcs {
	background: linear-gradient(#fff, #f8f8f8);
	transform: scale(1.005);
}

#htod {
	display: flex;
	align-items: center;
	gap: 16px;
	cursor: pointer;
}

.htodc {
	border-radius: 4px;
	padding: 2px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.8);
	transition: all 0.15s cubic-bezier(0.62, 0.01, 0.51, 0.98);
	cursor: pointer;
}

.htodc:hover {
	transform: scale(0.9);
}

.htodc.selected {
	transform: scale(1.2);
}

.htodc.selected::after {
	content: " ";
	position: absolute;
	width: 4px;
	height: 4px;
	border-radius: 12px;
	background: linear-gradient(#93E703, #34C759);
	top: 90%;
}

/* Senses */
#sensesv {
	display: flex;
	flex-direction: row;
	gap: 16px;
	padding: 8px 0;
}

.sense {
	text-align: center;
	cursor: pointer;
}

.sense > canvas,
.sense > video {
	width: 140px;
	height: 198px;
	background: #fce588;
	border: 2px solid white;
	display: block;
	object-fit: cover;
}

.sense > p {
	font-size: 12px;
}

/*  Charms */

#charms {
	margin-top: 80px;
	margin-bottom: 80px;
}

#charmsSurface {
	position: relative;
	aspect-ratio: 1217 / 917;
	background: url("images/wow_CharmsEditor.png");
	background-size: cover;
	background-position: center;
}

#charmsSurface-desc {
	position: absolute;
	bottom: -60px;
	width: 100%;
	text-align: center;
	opacity: 0.75;
}

.charmsPanel {
	position: absolute;
	top: 8.5%;
	right: 3.6%;
	display: flex;
	flex-direction: column;
	width: 30%;
	height: calc(100% - 8.5%);
	background-color: #363739;
	box-sizing: border-box;

	position: absolute;
	top: 48.5%;
	right: 3.6%;
	display: flex;
	flex-direction: column;
	width: 30%;
	height: calc(100% - 55.5%);
	background-color: #363739;
	box-sizing: border-box;

	border: 1px solid black;
	border-radius: 8px;
	box-shadow: 0 0 24px rgba(0, 0, 0, 0.4);

	display: none;

	overflow-y: scroll;
}

.charmsPanel.visible {
	display: block;
}

.charmsPanel.topAligned {
	top: 18%;
	height: calc(100% - 30%);
}

/* Header */
.charmsPanel__header {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	/* background-color: #363739; */
	box-shadow: 0px 1px 0px 0px #121213;
	box-sizing: border-box;
}

.charmsPanel__title {
	margin: 0;
	font-weight: 700;
	font-size: 18px;
	line-height: normal;
	font-style: normal;
	color: #fff;
	padding-left: 16px;

	display: none;
}

.charmsPanel__title::before {
	content: " ";
	position: absolute;
	height: 8px;
	width: 8px;
	border-radius: 4px;
	background: linear-gradient(0deg, rgba(254, 121, 72, 1) 11.09%, rgba(235, 64, 206, 1) 86.1%);
	top: 30px;
	margin-left: -16px;

	display: none;
}

#charmsPanel-hzTop {
	position: absolute;
	background: transparent;
	height: 49px;
	width: 220px;
	top: 10%;
	right: 4%;
	cursor: pointer;
}

#charmsPanel-hzBottom {
	position: absolute;
	background: transparent;
	height: 49px;
	width: 281px;
	bottom: 0%;
	right: 4%;
	cursor: pointer;
}

/* Dropdown */
.charmsPanel__dropdown {
	width: 100%;
}

.charmsPanel__select {
	width: 100%;
	height: 20px;
	padding: 0 6px;
	background-color: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 5px;
	font-size: 13px;
	font-weight: 510;
	color: #4c4c4c;
	cursor: pointer;
	box-sizing: border-box;
}

/* Scrollable list */
.charmsPanel__list {
	flex: 1;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	padding-top: 16px;
}

.charmItem {
	position: relative;
	display: flex;
	align-items: start;
	gap: 16px;
	width: 100%;
	/* background-color: #363739; */
	box-sizing: border-box;
	padding: 16px;
}

.charmItem + .charmItem {
	border-top: 1px solid #000;
}

.charmItem__icon {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.charmItem__icon img {
	width: 100%;
	height: 100%;
	display: block;
}

.charmItem__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	color: #e6e6e6;
	font-style: normal;
	line-height: normal;
	align-content: start;
}

.charmItem__title {
	margin: 0;
	font-weight: 700;
	font-size: 14px;
}

.charmItem__subtitle {
	margin: 0;
	font-weight: 400;
	font-size: 12px;
	opacity: 0.5;
}

.charmsPanel__category {
	display: flex;
	flex-direction: column;
}

.charmsPanel__category[hidden] {
	display: none;
}

/* End of Charms Editor Section */

/* Why Now */
#moderndisplays {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* iOS Switch */
#hcam {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ios-switch {
	position: relative;
	display: inline-block;
	width: 51px;
	height: 31px;
}

.ios-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.ios-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #e9e9ea;
	transition: 0.4s;
	border-radius: 31px;
	transition: background 0.3s linear;
}

.ios-slider:before {
	position: absolute;
	content: "";
	height: 27px;
	width: 27px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	transition: all 0.2s linear;
	border-radius: 50%;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 3px 1px rgba(0, 0, 0, 0.06);
}

.ios-slider.cam-hint:before {
	background: linear-gradient(rgba(254, 121, 72, 1), rgba(235, 64, 206, 0.85));
}

.ios-switch input:checked + .ios-slider {
	transition: background 0.3s linear;
	background: linear-gradient(#34C759, #93E703);
}

.ios-switch input:checked + .ios-slider:before {
	transform: translateX(20px);
}

.ios-switch input:disabled + .ios-slider {
	opacity: 0.5;
	cursor: not-allowed;
}

#hi3-cam-video {
	position: absolute;
	right: 4px;
	top: 4px;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	object-fit: cover;
	transform: scaleX(-1);
	z-index: 20;
	pointer-events: none;
	/* opacity: 0; */
	transition: opacity 0.3s ease;
}

#hi3-cam-video.active {
	opacity: 1;
}

/* Footer */
.footer-title {
	padding-bottom: 120px;
}

/* Phone: all 4 canvases in one horizontally scrollable row, carousel below */
@media (max-width: 768px) {
	
	#h { position: unset; }

	#hero-carousel {
		--margin-top: 10px;
		width: 100%;
		max-width: 100%;
		margin: 10px auto;
		overflow-x: auto;
	}

	.hero-grid {
		grid-template-columns: repeat(3, calc(var(--hero-row-h) * 3 / 4));
		grid-template-rows: repeat(2, var(--hero-row-h));
		width: max-content;
	}

	#hi1, #hi2, #hi3 {
		width: 100%;
		height: 100%;
	}

	#hic1, #hic2, #hic3 {
		width: 100%;
		height: 100%;
		border-width: 6px;
	}

	/* Carousel spans all 4 cols and sticks to the left so it doesn't scroll with canvases */
	.grid-cell.carousel-cell {
		grid-column: 1 / -1;
		position: sticky;
		left: 0;
		width: 100vw;
		min-height: unset;
	}

	.carousel-slide .text {
		font-size: 14px;
		padding: 12px;
		margin: 4px auto;
	}

	.carousel-slide[data-slide="0"] .text {
		font-size: 18px;
	}

	.carousel-slide .text.h1 {
		font-size: 18px;
	}

	.carousel-slide .text .h2 {
		font-size: 15px;
	}

	.carousel-slide .text .h3 {
		font-size: 14px;
	}

	.carousel-slide .emphasized {
		font-size: 18px;
		margin-bottom: 8px;
	}

	.carousel-slide .emphasized.h1plus4 {
		font-size: 32px;
	}

	.carousel-slide .emphasized.h1plus {
		font-size: 24px;
	}

	.carousel-slide .subtext {
		font-size: 12px;
		line-height: 1.4;
	}

	.sense > canvas,
	.sense > video {
		width: 60px;
		height: 85px;
	}

	#sensesv {
		gap: 8px;
	}

	.hi-wlwrapper {
		bottom: 6px;
		left: 6px;
	}

	/* Controls bar on slide 4 — vertical layout */
	#hcontrols {
		flex-direction: column;
		gap: 6px;
		padding: 8px 12px;
		margin: 8px auto;
		max-width: 60vw;
		border-radius: 16px;
	}

	#htod {
		gap: 8px;
		width: 100%;
		justify-content: space-between;
	}

	#htodcs {
		width: auto;
		padding: 4px;
		flex: 1;
	}

	#htodct {
		font-size: 11px;
	}

	.htodc {
		width: 24px;
		height: 24px;
		font-size: 14px;
	}

	.htodc.selected {
		transform: scale(1.1);
	}

	.htodc.selected::after {
		width: 3px;
		height: 3px;
	}

	#hcdivider {
		width: 100%;
		height: 1px;
	}

	#hcam {
		gap: 6px;
		width: 100%;
		justify-content: space-between;
		flex-direction: row-reverse;
	}

	.ios-switch {
		width: 40px;
		height: 24px;
	}

	.ios-slider:before {
		height: 20px;
		width: 20px;
	}

	#hcam label {
		font-size: 11px;
		line-height: 24px;
	}

	/* Demo slide header text */
	.ev-slide-text {
		font-size: 12px;
		padding: 10px;
		line-height: 1.2;
	}

	.ev-slide-subtext {
		font-size: 11px;
		padding: 8px 16px;
	}

	/* Education demo canvas — slightly smaller on mobile */
	.ev2-eduwow {
		width: 290px !important;
		margin-bottom: 32px;
	}
}

/* ===========================
   .WOW LOGO COMPONENT
   =========================== */
.wl {
	display: inline-block;
	position: relative;
	width: 54px;
	min-width: 54px;
	height: 24px;
	top: -3px;
	flex-shrink: 0;
	cursor: pointer;
}

.wl > div {
	position: absolute;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: all 0.3s ease;
	transform-origin: 0% 50%;
}

.wl_sparkle_big {
	left: 4.11%;
	top: 0%;
	width: 24.18%;
	height: 63.71%;
	background-image: url('images/wl_sparkle_big.svg');
}

.dark > .wl_sparkle_big { background-image: url('images/wl_sparkle_big_d.svg'); }
.colored > .wl_sparkle_big { background-image: url('images/wl_sparkle_big_c.svg'); }

.wl_sparkle_small {
	left: 0%;
	top: 46.03%;
	width: 11.41%;
	height: 29.50%;
	background-image: url('images/wl_sparkle_small.svg');
}

.dark > .wl_sparkle_small { background-image: url('images/wl_sparkle_small_d.svg'); }
.colored > .wl_sparkle_small { background-image: url('images/wl_sparkle_small_c.svg'); }

.wl_w1 {
	left: 24.75%;
	top: 52%;
	width: 27.35%;
	height: 46.34%;
	background-image: url('images/wl_sparkle_w1.svg');
}

.dark > .wl_w1 { background-image: url('images/wl_sparkle_w1_d.svg'); }
.colored > .wl_w1 { background-image: url('images/wl_sparkle_w1_c.svg'); }

.wl_o {
	left: 50%;
	top: 52%;
	width: 20.43%;
	height: 46.81%;
	background-image: url('images/wl_sparkle_o.svg');
}

.dark > .wl_o { background-image: url('images/wl_sparkle_o_d.svg'); }
.colored > .wl_o { background-image: url('images/wl_sparkle_o_c.svg'); }

.wl_w2 {
	left: 71.67%;
	top: 52%;
	width: 27.35%;
	height: 46.34%;
	background-image: url('images/wl_sparkle_w2.svg');
}

.dark > .wl_w2 { background-image: url('images/wl_sparkle_w2_d.svg'); }
.colored > .wl_w2 { background-image: url('images/wl_sparkle_w2_c.svg'); }

.wl_dot {
	left: 13.68%;
	top: 84.42%;
	width: 6.09%;
	height: 15.57%;
	background-image: url('images/wl_sparkle_dot.svg');
}

.dark > .wl_dot { background-image: url('images/wl_sparkle_dot_d.svg'); }
.colored > .wl_dot { background-image: url('images/wl_sparkle_dot_c.svg'); }

.wl_o,
.wl_w2 {
	opacity: 0;
	transform: scale(0);
}

@keyframes sparkle-pulse {
	0% { transform: scale(0.1) translateX(2px) rotate(-30deg); opacity: 0; }
	10% { transform: scale(0.9) translateX(1px); opacity: 0.8; }
	15% { transform: scale(1) translateX(0); opacity: 1; }
	100% { transform: scale(1) translateX(0); opacity: 1; }
}

.salogo {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0px;
	transition: all 0.3s ease;
	width: 200px;
	height: 100px;
	margin-top: 24px;
}

.salogo .wl {
	width: 100%;
	height: 100%;
}

.salogo .wl_o,
.salogo .wl_w2 {
	opacity: 0;
	transform: scale(0);
}

.salogo.expanded .wl_o,
.salogo.expanded .wl_w2 {
	opacity: 1;
	transform: scale(1.0);
}

/* ===========================
   EVERYWHERE CAROUSEL
   =========================== */
#everywhere {
	padding: 80px 0 40px;
}

.ev-grid {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-left: calc((100vw - 80vw) / 2);
	padding-right: calc((100vw - 80vw) / 2);
	align-items: flex-start;
}

.ev-grid::-webkit-scrollbar {
	display: none;
}

.ev-item {
	flex: 0 0 80vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.ev-slide {
	width: 100%;
	height: 70vh;
	border-radius: 24px;
	overflow: hidden;
	display: flex;
	gap: 16px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: #f0ede7;
	position: relative;
}

.ev-placeholder {
	font-size: 24px;
	opacity: 0.4;
}

.ev-slide-text {
	flex-shrink: 0;
	width: 540px;
	max-width: 90%;
	font-size: 18px;
	line-height: 1.4;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.3);
	z-index: 50;
	text-wrap: pretty;
	text-align: center;
	backdrop-filter: blur(40px);
	padding: 16px;
	border-radius: 2px;
	font-weight: 600;
}

/* #ev-slide-1 .ev-slide-text {
	color: #45290d;
}

#ev-slide-2 .ev-slide-text {
	color: #52360d;
}

#ev-slide-3 .ev-slide-text {
	color: #3c2525;
} */

.ev-slide-subtext {
	padding: 0 24px 16px;
	color: #666;
	text-align: center;
}

.ev-nav {
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 24px;
}

.ev-nav-btn {
	width: 40px;
	height: 40px;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
	transition: all 0.2s ease;
}

.ev-nav-btn:hover {
	transform: scale(1.1);
}

.ev-nav-btn:disabled {
	opacity: 0.2;
	pointer-events: none;
}

.ev-nav-btn img {
	width: 100%;
	height: 100%;
	display: block;
}

/* ===========================
   SLIDE 1: E-COMMERCE DEMO
   =========================== */
#ev-slide-1 {
	background: #000 url("images/obg.jpg") no-repeat 50% 50%;
	background-size: cover;
}

.ev1-layout {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 1;
	min-height: 0;
	max-height: 480px;
	width: 100%;
	gap: 16px;
	position: relative;
}

.ev1-cal-icon {
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 48px;
	background: #f1f1f1;
	padding: 0 8px;
	border-radius: 4px;
	gap: 12px;
	border-top: 2px solid #ce0000;
}

.ev1-cal-m {
	font-size: 12px;
	color: #ce0000;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	line-height: 15px;
}

.ev1-cal-d {
	font-weight: 100;
	font-size: 24px;
	line-height: 30px;
	cursor: default;
	color: #111;
}

.ev1-cal-d .date-digit {
	display: inline-block;
	transform-style: preserve-3d;
	padding-left: 1px;
}

.ev1-cal-d .date-digit.date-transitioning {
	animation: date-flip 0.6s ease-in-out;
}

.ev1-wowcon {
	aspect-ratio: 295 / 369;
	max-height: 480px;
	flex: 1;
	min-height: 0;
	position: relative;
}

#ev1-canvas {
	display: block;
	width: 100%;
	height: 100%;
	cursor: pointer;
	border-radius: 8px;
}

/* Wow menu */
@property --ev1-gradient-angle {
	syntax: "<angle>";
	initial-value: 130deg;
	inherits: false;
}

@keyframes ev1-rotate-gradient {
	from { --ev1-gradient-angle: 130deg; }
	to { --ev1-gradient-angle: 490deg; }
}

.ev1-wlwrapper {
	position: absolute;
	z-index: 200;
	padding: 8px;
	border-radius: 24px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background: linear-gradient(var(--ev1-gradient-angle), rgba(254, 121, 72, 1) 11.09%, rgba(235, 64, 206, 0.85) 86.1%);
	animation: ev1-rotate-gradient 18s linear infinite;
	border: 1px solid color(display-p3 1 0 0.777);
	border-right: none;
	border-left: none;
	padding-bottom: 8px;
	box-sizing: content-box;
	padding-right: 16px;
	text-wrap: nowrap;
	overflow-y: hidden;
	overflow-x: hidden;
	display: flex;
	align-items: center;
	box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
	backdrop-filter: blur(8px);
	transition: all 0.2s cubic-bezier(0.71, 0.05, 0.68, 1.07);
	transform-origin: 0 100%;
	bottom: 0;
	left: 0;
	width: 30px;
}

.ev1-wlwrapper:hover:not(.expanded) {
	transform: scale(1.1);
}

.ev1-wlwrapper.expanded {
	overflow-x: scroll;
	scrollbar-color: rgba(255, 255, 255, 0.2) black;
	width: calc(100% - 24px);
	border-radius: 0;
	box-shadow: 0 0 32px rgba(255, 0, 255, 0.15);
	backdrop-filter: blur(10px);
}

.ev1-wlwrapper:not(.expanded) .wl_sparkle_big {
	animation: ev1-sparkle-pulse 2.7s ease-out infinite;
	animation-delay: 0.18s;
}

.ev1-wlwrapper:not(.expanded) .wl_sparkle_small {
	animation: ev1-sparkle-pulse 2.7s linear infinite;
	animation-delay: 0.1s;
}

.ev1-wlwrapper:not(.expanded) .wl_dot {
	animation: ev1-sparkle-pulse 2.7s linear infinite;
	animation-delay: 0.05s;
}

@keyframes ev1-sparkle-pulse {
	0% { transform: scale(0.1) translateX(2px) rotate(-30deg); opacity: 0; }
	10% { transform: scale(0.9) translateX(1px); opacity: 0.8; }
	15% { transform: scale(1) translateX(0); opacity: 1; }
	100% { transform: scale(1) translateX(0); opacity: 1; }
}

.ev1-wlwrapper .wl_o,
.ev1-wlwrapper .wl_w2 {
	opacity: 0;
	transform: scale(0);
}

.ev1-wlwrapper.expanded .wl_o,
.ev1-wlwrapper.expanded .wl_w2 {
	opacity: 1;
	transform: scale(1.0);
}

.ev1-wmenu {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding-left: 24px;
	padding-right: 18px;
	text-wrap: nowrap;
	color: #fff;
	transform: translateY(2px);
	cursor: pointer;
}

.ev1-wmenuitem {
	display: none;
}

.ev1-wlwrapper.expanded .ev1-wmenuitem {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.ev1-wmenuitem > div {
	display: flex;
	align-items: center;
}

.ev1-wmiicon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.ev1-wmenuitem:hover .ev1-wmiicon {
	transform: scale(1.2);
}

.ev1-wmenuitem img {
	width: 24px;
	height: 16px;
	object-fit: contain;
	display: block;
}

.ev1-wmitext {
	vertical-align: middle;
	line-height: 24px;
}

/* Pay sheet */
#ev1-paysheet {
	position: fixed;
	z-index: 1200;
	width: 295px;
	height: 0;
	opacity: 0;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 50% 100%;
	background-image: url("images/wow_pays.png");
	transition: all 0.2s ease-in;
	left: 50%;
	margin-left: -148px;
	border-radius: 8px;
	pointer-events: none;
}

#ev1-paysheet.visible {
	opacity: 1;
	width: 400px;
	height: 467px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
	left: 50%;
	margin-left: -200px;
	top: 50%;
	margin-top: -234px;
	pointer-events: all;
}

#ev1-paysheet.done {
	background-image: url("images/wow_pays_done.png");
}

/* VTO */
#ev1-vto {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(0px);
	display: none;
	justify-content: center;
	align-items: center;
	pointer-events: none;
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 1100;
}

#ev1-vto.visible {
	display: flex;
	pointer-events: all;
	opacity: 1;
	backdrop-filter: blur(40px);
	flex-direction: column-reverse;
}

#ev1-vto canvas {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 16px;
}

#ev1-vto-controls {
	color: #fff;
}

#ev1-vto-colorpick {
	display: flex;
	flex-direction: row;
	gap: 16px;
	padding: 32px;
	justify-content: center;
}

.ev1-vto-colorop {
	width: 64px;
	height: 48px;
	border-radius: 48px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	padding-top: 60px;
	text-align: center;
	border: 2px solid transparent;
	transition: all 0.3s linear;
	color: #fff;
}

.ev1-vto-colorop.selected {
	border-color: #fff;
}

#ev1-vto-co-y {
	background-image: url("images/wow_hi_p_y.png");
	background-color: #DDD1B9;
}

#ev1-vto-co-b {
	background-image: url("images/wow_hi_p_b.png");
	background-color: #8DB0DD;
}

#ev1-vto-co-g {
	background-image: url("images/wow_hi_p_g.png");
	background-color: #7FA399;
}

#ev1-vto-co-c {
	background-image: url("images/wow_vto-camera.svg");
	background-size: 32px;
}

#ev1-vto-loading {
	position: absolute;
	color: white;
	font-size: 18px;
	z-index: 10;
	opacity: 1;
	transition: opacity 0.3s ease;
	animation: pulse 1.5s ease-in-out infinite;
}

#ev1-vto-loading.hidden {
	opacity: 0;
	pointer-events: none;
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

#ev1-vto-close {
	position: absolute;
	top: 32px;
	right: 32px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	z-index: 20;
	transition: transform 0.2s ease, opacity 0.2s ease;
	opacity: 0.8;
}

#ev1-vto-close:hover {
	transform: scale(1.1);
	opacity: 1;
}

/* ===========================
   SLIDE 2: EDUCATION DEMO
   =========================== */
#ev-slide-2 {
	background: #ffce00 url("images/gridd.png") repeat;
	background-size: 24px 24px;
}

.ev2-eduwow {
	width: 360px;
	max-width: 98%;
	position: relative;
	margin: 0 auto;
}

#ev2-canvas {
	display: block;
	width: 100%;
	aspect-ratio: 360/480;
	border-radius: 8px;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
	cursor: default;
}

/* Overlay */
.ev2-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
}

.ev2-overlay > article {
	pointer-events: all;
}

/* Quiz */
#ev2-quiz {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(0);
	z-index: 1300;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

#ev2-quiz.active {
	display: flex;
	backdrop-filter: blur(100px);
}

.ev2-quiz-container {
	border-radius: 24px;
	padding: 40px;
	max-width: 600px;
	width: 90%;
	position: relative;
}

.ev2-quiz-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	cursor: pointer;
	z-index: 20;
	transition: transform 0.2s ease, opacity 0.2s ease;
	opacity: 0.6;
}

.ev2-quiz-close:hover {
	transform: scale(1.1);
	opacity: 1;
}

.ev2-quiz-loading {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
	min-height: 100px;
	font-size: 20px;
	color: #030200;
	background: #fff;
	backdrop-filter: blur(40px);
	border-radius: 8px;
	padding: 48px 0 16px 0;
	width: 160px;
	left: 50%;
	margin-left: -80px;
	position: absolute;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.02);
}

.ev2-quiz-loading .wl {
	transform: scale(1.5);
	margin-left: 28px;
}

.ev2-loading-text {
	background: linear-gradient(130deg, rgba(254, 121, 72, 1) 11.09%, rgba(235, 64, 206, 0.85) 86.1%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: bold;
	animation: pulse 1.5s ease-in-out infinite;
}

.ev2-quiz-content {
	display: none;
}

.ev2-quiz-content.loaded {
	display: block;
}

.ev2-quiz-question {
	display: none;
	animation: ev2-fadeIn 0.5s ease-in;
}

.ev2-quiz-question.active {
	display: block;
}

@keyframes ev2-fadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.ev2-question-difficulty {
	font-size: 12px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 8px 0;
}

.ev2-question-text {
	font-size: 20px;
	color: #030200;
	margin: 0 0 24px 0;
	line-height: 1.4;
	background-image: url("images/wow_gbwa.png");
	background-repeat: no-repeat;
	background-size: 48px 48px;
	background-position: 98% 0;
	padding-right: 72px;
}

.ev2-question-text.ev2-qabtc {
	background-image: url("images/wow_abtc.png");
}

.ev2-quiz-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ev2-quiz-option {
	background: #FFFBF5;
	border: none;
	color: #030200;
	padding: 16px;
	border-radius: 100px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: left;
}

.ev2-quiz-option:hover {
	background: #030200;
	color: #FFFBF5;
	transform: translateX(4px);
	padding: 16px 24px;
}

.ev2-quiz-option.correct {
	background: #4CAF50;
	color: white;
	pointer-events: none;
}

.ev2-quiz-option.incorrect {
	background: #FF6B6B;
	color: white;
	pointer-events: none;
	animation: ev2-nod 0.95s ease-in;
}

@keyframes ev2-nod {
	0% { padding-left: 24px; }
	16% { padding-left: 32px; }
	33% { padding-left: 8px; }
	50% { padding-left: 24px; }
	66% { padding-left: 8px; }
	83% { padding-left: 20px; }
	100% { padding-left: 16px; }
}

.ev2-quiz-option.hidden {
	opacity: 0;
	pointer-events: none;
	height: 0;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

.ev2-quiz-textarea-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ev2-quiz-textarea {
	width: 100%;
	min-height: 150px;
	padding: 16px;
	border: 1px solid #e2e2e2;
	border-radius: 16px;
	font-size: 16px;
	font-family: inherit;
	resize: vertical;
	background: #FFFBF5;
	color: #030200;
	box-sizing: border-box;
}

.ev2-quiz-textarea:focus {
	outline: none;
	border-color: #666;
}

.ev2-quiz-check-answer {
	background: #030200;
	color: #FFFBF5;
	border: none;
	padding: 16px 32px;
	border-radius: 100px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	align-self: flex-start;
}

.ev2-quiz-check-answer:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(3, 2, 0, 0.3);
}

.ev2-quiz-navigation {
	display: none;
	justify-content: space-between;
	align-items: center;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ev2-quiz-navigation.visible {
	display: flex;
}

.ev2-quiz-nav-btn {
	border: none;
	padding: 12px 24px;
	border-radius: 100px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ev2-quiz-prev {
	background: #f5f5f5;
	color: #030200;
}

.ev2-quiz-next {
	background: linear-gradient(130deg, rgba(254, 121, 72, 1) 11.09%, rgba(235, 64, 206, 0.85) 86.1%);
	color: #FFFBF5;
}

.ev2-quiz-nav-btn:hover:not(:disabled) {
	transform: scale(1.05);
}

.ev2-quiz-nav-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.ev2-quiz-progress {
	font-size: 16px;
	color: #030200;
	font-weight: bold;
	display: none;
}

.ev2-current-question {
	font-size: 20px;
}

/* Drawing */
#ev2-drawing {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(0);
	z-index: 1300;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
}

#ev2-drawing.active {
	display: flex;
	flex-direction: column;
	backdrop-filter: blur(100px);
}

#ev2-drawing video {
	width: 640px;
	height: auto;
	border-radius: 16px;
}

.ev2-drawing-close {
	position: absolute;
	top: 32px;
	right: 32px;
	width: 40px;
	height: 40px;
	cursor: pointer;
	z-index: 20;
	transition: transform 0.2s ease, opacity 0.2s ease;
	opacity: 0.8;
}

.ev2-drawing-close:hover {
	transform: scale(1.1);
	opacity: 1;
}

/* Tap to learn */
#ev2-ttl {
	backdrop-filter: blur(40px);
	padding: 16px;
	bottom: 0;
	top: 50%;
	position: absolute;
	background: rgba(255, 255, 255, 0.7);
	z-index: 500;
	overflow: scroll;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	transition: all 0.15s linear;
	transform: translateY(240px) scaleY(0);
	opacity: 0;
}

#ev2-ttl.active {
	transform: translateY(0) scaleY(1);
	opacity: 1;
}

.ev2-ttl-item {
	display: none;
}

.ev2-ttl-item.active {
	display: block;
}

.ev2-ttl-meta {
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	padding-top: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	background: linear-gradient(0deg, rgba(254, 121, 72, 1) 11.09%, rgba(235, 64, 206, 1) 86.1%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.ev2-ttl-desc {
	display: none;
	margin-top: 10px;
}

.ev2-eduwow[data-lang="en"] .ev2-ttl-desc[data-lang="en"],
.ev2-eduwow[data-lang="hi"] .ev2-ttl-desc[data-lang="hi"],
.ev2-eduwow[data-lang="fr"] .ev2-ttl-desc[data-lang="fr"] {
	display: block;
}

.ev2-ttl-close {
	position: absolute;
	width: 24px;
	right: 16px;
	transition: transform 0.2s ease, opacity 0.2s ease;
	opacity: 0.6;
	cursor: pointer;
}

.ev2-ttl-close:hover {
	transform: scale(1.1);
	opacity: 1;
}

/* Wow logo wrapper for edu */
@property --ev2-gradient-angle {
	syntax: "<angle>";
	initial-value: 130deg;
	inherits: false;
}

@keyframes ev2-rotate-gradient {
	from { --ev2-gradient-angle: 130deg; }
	to { --ev2-gradient-angle: 490deg; }
}

.ev2-wlwrapper {
	position: absolute;
	z-index: 200;
	padding: 8px;
	border-radius: 24px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background: linear-gradient(var(--ev2-gradient-angle), rgba(254, 121, 72, 1) 11.09%, rgba(235, 64, 206, 0.85) 86.1%);
	animation: ev2-rotate-gradient 18s linear infinite;
	border: 1px solid color(display-p3 1 0 0.777);
	border-right: none;
	border-left: none;
	padding-bottom: 8px;
	box-sizing: content-box;
	padding-right: 16px;
	text-wrap: nowrap;
	overflow-y: hidden;
	overflow-x: hidden;
	display: flex;
	align-items: center;
	box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
	backdrop-filter: blur(8px);
	transition: all 0.2s cubic-bezier(0.71, 0.05, 0.68, 1.07);
	transform-origin: 0 100%;
	bottom: 0;
	left: 0;
	width: 30px;
}

.ev2-wlwrapper:hover:not(.expanded) {
	transform: scale(1.1);
}

.ev2-wlwrapper.expanded {
	overflow-x: scroll;
	scrollbar-color: rgba(255, 255, 255, 0.2) black;
	width: calc(100% - 24px);
	border-radius: 0;
	box-shadow: 0 0 32px rgba(255, 0, 255, 0.15);
	backdrop-filter: blur(10px);
}

.ev2-wlwrapper:not(.expanded) .wl_sparkle_big {
	animation: ev2-sparkle-pulse 2.7s ease-out infinite;
	animation-delay: 0.18s;
}

.ev2-wlwrapper:not(.expanded) .wl_sparkle_small {
	animation: ev2-sparkle-pulse 2.7s linear infinite;
	animation-delay: 0.1s;
}

.ev2-wlwrapper:not(.expanded) .wl_dot {
	animation: ev2-sparkle-pulse 2.7s linear infinite;
	animation-delay: 0.05s;
}

@keyframes ev2-sparkle-pulse {
	0% { transform: scale(0.1) translateX(2px) rotate(-30deg); opacity: 0; }
	10% { transform: scale(0.9) translateX(1px); opacity: 0.8; }
	15% { transform: scale(1) translateX(0); opacity: 1; }
	100% { transform: scale(1) translateX(0); opacity: 1; }
}

.ev2-wlwrapper .wl_o,
.ev2-wlwrapper .wl_w2 {
	opacity: 0;
	transform: scale(0);
}

.ev2-wlwrapper.expanded .wl_o,
.ev2-wlwrapper.expanded .wl_w2 {
	opacity: 1;
	transform: scale(1.0);
}

.ev2-wmenu {
	display: inline-flex;
	align-items: center;
	gap: 24px;
	padding-left: 24px;
	padding-right: 18px;
	text-wrap: nowrap;
	color: #fff;
	transform: translateY(2px);
	cursor: pointer;
}

.ev2-wmenuitem {
	display: none;
}

.ev2-wlwrapper.expanded .ev2-wmenuitem {
	display: flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
}

.ev2-wmenuitem > div {
	display: flex;
	align-items: center;
}

.ev2-wmiicon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.ev2-wmenuitem:hover .ev2-wmiicon {
	transform: scale(1.2);
}

.ev2-wmenuitem img {
	width: 24px;
	height: 16px;
	object-fit: contain;
	display: block;
}

.ev2-wmitext {
	vertical-align: middle;
	line-height: 24px;
}

/* ===========================
   SLIDE 3: AMBIENT DEMO
   =========================== */
#ev-slide-3 {
	background: #e0e0e0;
	padding: 0;
}

#ev-slide-3 .ev-slide-text {
	position: relative;
	z-index: 2;
}

#ev3-ambient {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.ev3-ambient-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1s ease-in;
}

.ev3-ambient-bg[data-room="n"] { background-image: url("images/wow_room_d.jpeg"); }
.ev3-ambient-bg[data-room="y"] { background-image: url("images/wow_room_y.jpeg"); }
.ev3-ambient-bg[data-room="b"] { background-image: url("images/wow_room_b.jpeg"); }
.ev3-ambient-bg[data-room="g"] { background-image: url("images/wow_room_g.jpeg"); }

#ev3-ambient[data-light="n"] .ev3-ambient-bg[data-room="n"],
#ev3-ambient[data-light="y"] .ev3-ambient-bg[data-room="y"],
#ev3-ambient[data-light="b"] .ev3-ambient-bg[data-room="b"],
#ev3-ambient[data-light="g"] .ev3-ambient-bg[data-room="g"] {
	opacity: 1;
}

#storybook-container {
	background-image: url("images/w/videophone3.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center bottom;
}

.ev3-carousel-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	position: relative;
	z-index: 10;
	background: rgba(228, 228, 228, 1);
	border-radius: 32px;
	overflow: hidden;
	backdrop-filter: blur(40px);
}

#ev3-storybook {
	width: 277px;
	max-height: 100%;
	object-fit: cover;
	z-index: 10;
}

.ev3-navs {
	display: flex;
	gap: 165px;
	margin-top: -10px;
	padding: 10px;
}

.ev3-nav-prev, .ev3-nav-next {
	width: 44px;
	height: 44px;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
	transition: all 0.3s ease;
}

.ev3-nav-prev:hover, .ev3-nav-next:hover {
	opacity: 1;
	transform: scale(1.2);
}

.ev3-nav-prev { background-image: url("images/adsbnbp.png"); }

@keyframes ev3-pulse {
	from { transform: scale3d(1, 1, 1); }
	50% { transform: scale3d(1.12, 1.12, 1.12); }
	to { transform: scale3d(1, 1, 1); }
}

.ev3-nav-next {
	background-image: url("images/adsbnbf.png");
	animation: ev3-pulse 2s infinite ease-in-out;
}

/* Page background color change from ambient */
body[data-light="n"] { background-color: #fffcf5; }
body[data-light="y"] { background-color: #FBEACF; }
body[data-light="g"] { background-color: #D0E9D5; }
body[data-light="b"] { background-color: #BDD9F0; }

#whynotapps {
	min-height: 50vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Closing + Gradient Footer */
#closing-wrap {
	position: relative;
}

#closing-wrap #closing {
	position: relative;
	z-index: 1;
}

#footer-canvas-zone {
	position: relative;
	height: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: 0 0 48px;
}

#gradiator-canvas {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

#footer-canvas-zone .footer-title {
	position: relative;
	z-index: 1;
	padding-bottom: 0;
}

#closing-wrap .next-project {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 2;
	color: #fff;
	text-align: right;
	background: rgba(0, 0, 0, 0.05);
}

#closing-wrap .wl {
	cursor: default;
}