/* =====================================================================
   Expoverse — Reception (LOBBY) host control (paired with lobby.js)
   ---------------------------------------------------------------------
   A glass accent pill at the bottom-centre (where halls show "Exhibitors")
   that plays the reception greeter. Same visual language as the rest of the
   custom glass UI; the accent gradient marks it as the primary reception
   action, matching the hall booth "Play avatar" button.
   ===================================================================== */

.expo-recept {
	position: fixed;
	left: 0; right: 0;
	margin: 0 auto;
	width: max-content;
	max-width: calc(100vw - 24px);
	bottom: 22px;
	z-index: 2147481500;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 46px;
	padding: 0 22px;
	font-family: var(--expo-font, 'Inter', system-ui, sans-serif);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	color: #f4f7ff;
	cursor: pointer;
	/* accent glass so it reads as the primary reception action */
	background:
		linear-gradient(135deg, rgba(139, 123, 255, .42), rgba(45, 212, 191, .30)),
		linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
	border: 1px solid rgba(255, 255, 255, .30);
	border-radius: 999px;
	box-shadow:
		0 12px 34px rgba(0, 0, 0, .42),
		0 4px 18px rgba(95, 90, 220, .35),
		inset 0 1px 0 rgba(255, 255, 255, .32);
	-webkit-backdrop-filter: blur(20px) saturate(165%);
	backdrop-filter: blur(20px) saturate(165%);
	/* hidden until lobby.js confirms a greeter exists, then slides up */
	opacity: 0;
	transform: translateY(140%);
	pointer-events: none;
	transition:
		transform .5s cubic-bezier(.22, 1.4, .42, 1),
		opacity .32s ease,
		background .16s ease,
		border-color .16s ease,
		box-shadow .16s ease;
}

.expo-recept.is-on {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.expo-recept:hover {
	border-color: rgba(255, 255, 255, .5);
	transform: translateY(-2px);
	box-shadow:
		0 16px 40px rgba(0, 0, 0, .46),
		0 6px 22px rgba(95, 90, 220, .45),
		inset 0 1px 0 rgba(255, 255, 255, .4);
}
.expo-recept:active { transform: scale(.97); }

.expo-recept__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.expo-recept__icon svg { width: 19px; height: 19px; display: block; }

.expo-recept__label { white-space: nowrap; }

/* gentle pulse while the greeter is being summoned */
.expo-recept.is-busy { animation: expo-recept-pulse 1.1s ease-in-out infinite; }
@keyframes expo-recept-pulse {
	0%, 100% { box-shadow: 0 12px 34px rgba(0, 0, 0, .42), 0 4px 18px rgba(95, 90, 220, .35), inset 0 1px 0 rgba(255, 255, 255, .32); }
	50%      { box-shadow: 0 12px 34px rgba(0, 0, 0, .42), 0 6px 26px rgba(45, 212, 191, .6), inset 0 1px 0 rgba(255, 255, 255, .42); }
}

@media (max-width: 760px) {
	.expo-recept {
		bottom: 16px;
		height: 44px;
		font-size: 13.5px;
		padding: 0 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.expo-recept { transition: opacity .2s ease; transform: none; }
	.expo-recept.is-busy { animation: none; }
}
