/* =====================================================================
   Expoverse — Glassmorphism top-left navigation (industries / halls)
   ---------------------------------------------------------------------
   Replaces the stock top-left menu with a circular glass button that
   opens a glass drawer listing the halls (industries) + Return to
   reception. Top-level overlay in index.php; reuses tokens from poi.css.
   Delete this file + nav.js + their refs in index.php to revert.
   ===================================================================== */

/* hide the stock main menu (we provide our own halls/reception nav) */
.main-menu { display: none !important; }

/* ---- circular menu button (visible on any background) -------------- */
.expo-nav-fab {
	position: fixed;
	left: 16px;
	top: 16px;
	z-index: 2147481600;
	width: 50px;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #f4f7ff;
	/* dark glass disc so the icon reads on light OR dark scenes */
	background: radial-gradient(120% 120% at 30% 25%, rgba(255, 255, 255, .18), rgba(10, 14, 26, .55));
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .3);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	backdrop-filter: blur(16px) saturate(160%);
	transition: transform .16s var(--expo-ease, ease), background .16s var(--expo-ease, ease);
}
.expo-nav-fab:hover { transform: scale(1.06); }
.expo-nav-fab:active { transform: scale(.94); }
.expo-nav-fab svg { width: 22px; height: 22px; }

/* ---- backdrop + drawer -------------------------------------------- */
.expo-nav-backdrop {
	position: fixed;
	inset: 0;
	z-index: 2147482100;
	background: radial-gradient(120% 120% at 0% 0%, rgba(20, 24, 45, .3), rgba(6, 8, 16, .55));
	-webkit-backdrop-filter: blur(7px) saturate(120%);
	backdrop-filter: blur(7px) saturate(120%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s var(--expo-ease, ease);
}
.expo-nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

.expo-nav-drawer {
	position: fixed;
	left: 0; top: 0; bottom: 0;
	z-index: 2147482200;
	width: min(330px, 86vw);
	display: flex;
	flex-direction: column;
	font-family: var(--expo-font, system-ui, sans-serif);
	color: #f4f7ff;
	background: linear-gradient(135deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
	border-right: 1px solid rgba(255, 255, 255, .2);
	box-shadow: 24px 0 70px rgba(0, 0, 0, .5), inset -1px 0 0 rgba(255, 255, 255, .12);
	-webkit-backdrop-filter: blur(30px) saturate(165%);
	backdrop-filter: blur(30px) saturate(165%);
	transform: translateX(-104%);
	transition: transform .42s var(--expo-ease, cubic-bezier(.22, 1, .36, 1));
}
.expo-nav-backdrop.is-open .expo-nav-drawer { transform: none; }
/* drawer items cascade in with a little bounce */
.expo-nav-backdrop.is-open .expo-nav-item,
.expo-nav-backdrop.is-open .expo-nav-reception { animation: expo-pop-in .4s var(--expo-elastic) both; }
.expo-nav-backdrop.is-open .expo-nav-item:nth-child(2) { animation-delay: .04s; }
.expo-nav-backdrop.is-open .expo-nav-item:nth-child(3) { animation-delay: .08s; }
.expo-nav-backdrop.is-open .expo-nav-item:nth-child(4) { animation-delay: .12s; }
.expo-nav-backdrop.is-open .expo-nav-item:nth-child(5) { animation-delay: .16s; }
.expo-nav-backdrop.is-open .expo-nav-item:nth-child(6) { animation-delay: .2s; }
.expo-nav-backdrop.is-open .expo-nav-reception { animation-delay: .24s; }
.expo-nav-drawer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--expo-accent-1, #5eead4), var(--expo-accent-2, #818cf8));
}

.expo-nav-head { display: flex; align-items: center; gap: 12px; padding: 20px 18px 14px; }
.expo-nav-logo { height: 26px; width: auto; max-width: 200px; display: block; }   /* white Expoverse wordmark */
.expo-nav-close {
	margin-left: auto;
	flex: 0 0 auto;
	width: 34px; height: 34px;
	padding: 0;
	display: inline-flex; align-items: center; justify-content: center;
	color: #f4f7ff; cursor: pointer;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	transition: background .15s ease, transform .15s ease;
}
.expo-nav-close svg { width: 15px; height: 15px; display: block; }
.expo-nav-close:hover { background: rgba(255, 255, 255, .2); }
.expo-nav-close:active { transform: scale(.92); }

.expo-nav-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 6px 12px 12px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin; }
.expo-nav-label { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 247, 255, .52); padding: 10px 8px 4px; }

.expo-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 13px;
	cursor: pointer;
	color: #f4f7ff;
	text-decoration: none;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.expo-nav-item:hover { background: rgba(255, 255, 255, .16); transform: translateX(2px); border-color: rgba(255, 255, 255, .3); }
.expo-nav-item.is-current { background: rgba(255, 255, 255, .14); border-color: color-mix(in srgb, var(--expo-accent-1) 50%, transparent); }
.expo-nav-item__dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--expo-accent-1), var(--expo-accent-2)); box-shadow: 0 0 0 4px rgba(255, 255, 255, .06); }
.expo-nav-item__body { flex: 1 1 auto; min-width: 0; }
.expo-nav-item__txt { font-size: 16.5px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expo-nav-item__here {
	flex: 0 0 auto;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: #0a1020;
	padding: 3px 9px; border-radius: 999px;
	background: linear-gradient(135deg, var(--expo-accent-1), var(--expo-accent-2));
}
.expo-nav-item.is-current .expo-nav-item__dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--expo-accent-1) 22%, transparent); }

.expo-nav-sep { height: 1px; background: rgba(255, 255, 255, .12); margin: 8px 6px; }

.expo-nav-reception {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 16px;
	border-radius: 14px;
	cursor: pointer;
	color: #0a1020;
	font-family: var(--expo-font);
	font-size: 15.5px;
	font-weight: 700;
	letter-spacing: .01em;
	background: linear-gradient(135deg, var(--expo-accent-1, #5eead4), var(--expo-accent-2, #818cf8));
	border: 0;
	box-shadow: 0 10px 26px rgba(94, 234, 212, .22);
	transition: filter .15s ease, transform .15s ease;
}
.expo-nav-reception:hover { filter: brightness(1.07); transform: translateY(-1px); }
.expo-nav-reception:active { transform: scale(.98); }
.expo-nav-reception svg { width: 18px; height: 18px; flex: 0 0 auto; }

.expo-nav-loading { padding: 30px; display: grid; place-items: center; }

/* The stock lobby wordmark (.main-logo) sits top-left at left:32 and is clipped
   by our round menu FAB (left:16, 50px wide). Shift it clear of the FAB and
   vertically centre it with the button. .main-logo only exists in the reception,
   so this never affects the halls. Loads after app.css, so it wins. */
/* logo aspect is ~6.08:1 (256x42). The FAB is 50px tall at top:16 → its centre
   is y=41px; centre the wordmark on that line. Enlarged from 150 -> 196. */
.app .page-space .main-logo {
	top: 25px;
	left: 88px;
	width: 196px;
}
@media (max-width: 760px) {
	.app .page-space .main-logo {
		top: 28px;
		left: 78px;
		width: 150px;
	}
}

/* ---- drawer footer: credit + copyright + privacy ------------------- */
.expo-nav-footer {
	flex: 0 0 auto;
	margin-top: auto;
	padding: 14px 18px 18px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
}
.expo-nav-powered {
	font-size: 12.5px;
	font-weight: 500;
	color: rgba(244, 247, 255, .68);
	text-decoration: none;
	transition: color .15s ease;
}
.expo-nav-powered b { font-weight: 700; color: #f4f7ff; }
.expo-nav-powered:hover, .expo-nav-powered:hover b { color: var(--expo-accent-1, #5eead4); }
.expo-nav-copy { font-size: 10.5px; letter-spacing: .03em; color: rgba(244, 247, 255, .4); }
.expo-nav-privacy {
	margin-top: 2px;
	background: none;
	border: 0;
	padding: 4px 6px;
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 600;
	color: rgba(244, 247, 255, .62);
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
	transition: color .15s ease;
}
.expo-nav-privacy:hover { color: #f4f7ff; }

/* ---- Privacy Notice modal (iframe of 3rdparty/pp.html) ------------- */
.expo-pp-backdrop {
	position: fixed;
	inset: 0;
	z-index: 2147483100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(12px, 4vw, 48px);
	background: radial-gradient(120% 120% at 50% 0%, rgba(20, 24, 45, .45), rgba(6, 8, 16, .70));
	-webkit-backdrop-filter: blur(10px) saturate(120%);
	backdrop-filter: blur(10px) saturate(120%);
	opacity: 0;
	transition: opacity .26s cubic-bezier(.22, 1, .36, 1);
	font-family: var(--expo-font, system-ui, sans-serif);
}
.expo-pp-backdrop.is-open { opacity: 1; }
.expo-pp-modal {
	display: flex;
	flex-direction: column;
	width: min(860px, 100%);
	height: min(86vh, 900px);
	color: #f4f7ff;
	background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05));
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 20px;
	box-shadow: 0 40px 100px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .26);
	-webkit-backdrop-filter: blur(26px) saturate(165%);
	backdrop-filter: blur(26px) saturate(165%);
	overflow: hidden;
	transform: translateY(16px) scale(.97);
	opacity: 0;
	transition: transform .4s cubic-bezier(.22, 1.4, .42, 1), opacity .3s ease;
}
.expo-pp-backdrop.is-open .expo-pp-modal { transform: none; opacity: 1; }
.expo-pp-head {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 14px 13px 20px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.expo-pp-title { font-family: var(--expo-font-display, 'Sora', sans-serif); font-size: 16px; font-weight: 700; }
.expo-pp-close {
	flex: 0 0 auto;
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	color: #f4f7ff; cursor: pointer;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	transition: background .15s ease, transform .15s ease;
}
.expo-pp-close svg { width: 17px; height: 17px; }
.expo-pp-close:hover { background: rgba(255, 255, 255, .2); transform: scale(1.06); }
.expo-pp-body { position: relative; flex: 1 1 auto; min-height: 0; background: #fff; }
.expo-pp-frame { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.expo-pp-spin { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #fff; }
