/* Lotus365 – site-wide header & footer (black + metallic gold) */
:root {
	--lc-bg: #000;
	--lc-bg-2: #0a0a0a;
	--lc-card: #111;
	--lc-text: #e9e9ee;
	--lc-muted: #a3a3ad;
	--lc-gold: #e2bd5a;
	--lc-gold-2: #f5d98a;
	--lc-line: rgba(226, 189, 90, .22);
	--lc-metal: linear-gradient(180deg, #fff3c4 0%, #f1d27a 22%, #d4a73c 50%, #a8781f 72%, #e8c66a 100%);
	--lc-metal-text: linear-gradient(180deg, #fff1b8 0%, #f0cf6e 40%, #c8962f 70%, #f3d98a 100%);
}

/* ================= HEADER ================= */
#masthead .main-header-bar,
#masthead .ast-primary-header-bar,
#masthead .ast-mobile-header-wrap .main-header-bar {
	background: rgba(0, 0, 0, .92) !important;
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 0 !important;
}
#masthead { position: relative; }
#masthead::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(241, 210, 122, .75), transparent);
	pointer-events: none;
}
#masthead .site-primary-header-wrap { min-height: 76px; }
#masthead .custom-logo { max-height: 46px; width: auto; }

/* Menu links */
#masthead .main-header-menu > .menu-item > .menu-link {
	color: #d9d9e0 !important;
	font-weight: 600;
	font-size: 15px;
	padding: 0 14px !important;
	line-height: 76px;
	position: relative;
	transition: color .2s;
}
#masthead .main-header-menu > .menu-item > .menu-link::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--lc-metal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
#masthead .main-header-menu > .menu-item:hover > .menu-link,
#masthead .main-header-menu > .current-menu-item > .menu-link,
#masthead .main-header-menu > .current-menu-ancestor > .menu-link { color: var(--lc-gold-2) !important; }
#masthead .main-header-menu > .menu-item:hover > .menu-link::after,
#masthead .main-header-menu > .current-menu-item > .menu-link::after { transform: scaleX(1); }
#masthead .main-header-menu .dropdown-menu-toggle svg,
#masthead .main-header-menu .ast-header-navigation-arrow svg { fill: currentColor; }

/* Dropdowns */
#masthead .main-header-menu .sub-menu {
	background: #0b0b0b !important;
	border: 1px solid var(--lc-line) !important;
	border-radius: 12px;
	padding: 8px !important;
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
}
#masthead .main-header-menu .sub-menu .menu-link {
	color: #cfcfd6 !important;
	border: 0 !important;
	border-radius: 8px;
	padding: 10px 14px !important;
	font-size: 14px;
	line-height: 1.4;
}
#masthead .main-header-menu .sub-menu .menu-item:hover > .menu-link,
#masthead .main-header-menu .sub-menu .current-menu-item > .menu-link {
	color: #1a1205 !important;
	background: var(--lc-metal) !important;
}

/* Header CTA button (added to the menu) */
#masthead .main-header-menu > .l365-menu-cta { margin-left: 10px; display: flex; align-items: center; }
#masthead .main-header-menu > .l365-menu-cta > .menu-link {
	line-height: 1 !important;
	padding: 12px 20px !important;
	border-radius: 999px;
	color: #1a1205 !important;
	background: var(--lc-metal);
	border: 1px solid #f6dd8f;
	font-weight: 800;
	text-shadow: 0 1px 0 rgba(255, 245, 210, .6);
	box-shadow: 0 8px 22px -10px rgba(212, 167, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .7);
	overflow: hidden;
}
#masthead .main-header-menu > .l365-menu-cta > .menu-link::after {
	left: -60%; right: auto; top: -50%; bottom: auto;
	width: 40%; height: 200%;
	border-radius: 0;
	transform: skewX(-20deg);
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
	animation: lc-shine 3s ease-in-out infinite;
}
#masthead .main-header-menu > .l365-menu-cta:hover > .menu-link { color: #1a1205 !important; filter: brightness(1.08); }

/* Mobile header */
#masthead .ast-mobile-header-wrap .site-primary-header-wrap { min-height: 64px; }
#masthead .menu-toggle,
#masthead .menu-toggle:focus,
#masthead .menu-toggle:hover {
	background: transparent !important;
	border: 1px solid var(--lc-line) !important;
	border-radius: 10px !important;
	padding: 8px !important;
	color: var(--lc-gold-2) !important;
}
#masthead .menu-toggle svg { fill: var(--lc-gold-2) !important; }
#masthead .ast-mobile-header-content,
#masthead .ast-mobile-header-wrap .ast-mobile-header-content,
#ast-mobile-header .main-header-bar-navigation {
	background: #050505 !important;
	border-top: 1px solid var(--lc-line);
}
#ast-mobile-header .main-header-menu .menu-link {
	color: #e3e3e8 !important;
	border-color: rgba(255, 255, 255, .06) !important;
	padding: 14px 20px !important;
	line-height: 1.4 !important;
	font-weight: 600;
}
#ast-mobile-header .main-header-menu .menu-link::after { display: none; }
#ast-mobile-header .main-header-menu .current-menu-item > .menu-link,
#ast-mobile-header .main-header-menu .menu-item:hover > .menu-link { color: var(--lc-gold-2) !important; background: rgba(226, 189, 90, .06) !important; }
#ast-mobile-header .main-header-menu .sub-menu { background: #0b0b0b !important; border: 0 !important; box-shadow: none; padding: 0 !important; border-radius: 0; }
#ast-mobile-header .main-header-menu .sub-menu .menu-link { padding-left: 34px !important; }
#ast-mobile-header .ast-menu-toggle { color: var(--lc-gold-2) !important; }
#ast-mobile-header .main-header-menu > .l365-menu-cta { margin: 14px 20px 18px; display: block; }
#ast-mobile-header .main-header-menu > .l365-menu-cta > .menu-link {
	justify-content: center;
	text-align: center;
	border-radius: 12px;
	color: #1a1205 !important;
	background: var(--lc-metal) !important;
	font-weight: 800;
}

/* ================= FOOTER ================= */
.ast-custom-footer { background: var(--lc-bg) !important; position: relative; }
.ast-custom-footer::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(241, 210, 122, .75), transparent);
}
.ast-custom-footer .uagb-block-50bffdfb {
	background:
		radial-gradient(800px 300px at 85% 0%, rgba(212, 167, 60, .10), transparent 65%),
		var(--lc-bg) !important;
	color: var(--lc-muted);
}
.ast-custom-footer .uagb-ifb-desc { color: var(--lc-muted) !important; line-height: 1.7; }

/* Column headings ("Platform", "Policy", "Support") */
.ast-custom-footer .uagb-block-bd7fed49 .uagb-ifb-desc,
.ast-custom-footer .uagb-block-c769a85f .uagb-ifb-desc,
.ast-custom-footer .uagb-block-1bdcca5a .uagb-ifb-desc {
	font-size: 13px !important;
	font-weight: 800 !important;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 6px;
	background: var(--lc-metal-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
}

/* Footer links */
.ast-custom-footer .uagb-icon-list__label { color: #bdbdc6 !important; transition: color .2s, transform .2s; }
.ast-custom-footer .wp-block-uagb-icon-list-child:hover .uagb-icon-list__label { color: var(--lc-gold-2) !important; }
.ast-custom-footer .uagb-block-6be5a5e8 .wp-block-uagb-icon-list-child:hover .uagb-icon-list__label,
.ast-custom-footer .uagb-block-10c1c018 .wp-block-uagb-icon-list-child:hover .uagb-icon-list__label,
.ast-custom-footer .uagb-block-136151df .wp-block-uagb-icon-list-child:hover .uagb-icon-list__label { transform: translateX(3px); }

/* Social icons under the logo */
.ast-custom-footer .uagb-block-713a526c .uagb-icon-list__source-wrap {
	width: 38px !important; height: 38px !important;
	display: grid !important; place-items: center;
	border-radius: 50% !important;
	background: rgba(226, 189, 90, .08) !important;
	border: 1px solid var(--lc-line) !important;
	transition: background .2s, transform .2s;
}
.ast-custom-footer .uagb-block-713a526c .uagb-icon-list__source-wrap svg { fill: var(--lc-gold-2) !important; width: 16px !important; height: 16px !important; }
.ast-custom-footer .uagb-block-713a526c .wp-block-uagb-icon-list-child:hover .uagb-icon-list__source-wrap { background: var(--lc-metal) !important; transform: translateY(-2px); }
.ast-custom-footer .uagb-block-713a526c .wp-block-uagb-icon-list-child:hover svg { fill: #1a1205 !important; }

/* "Get Your ID Now" card */
.ast-custom-footer .uagb-block-b1c95774 {
	background: linear-gradient(180deg, #121212, #0a0a0a) !important;
	border: 1px solid rgba(241, 210, 122, .35) !important;
	border-radius: 18px !important;
	box-shadow: 0 20px 50px -25px rgba(212, 167, 60, .45), inset 0 1px 0 rgba(241, 210, 122, .15);
}
.ast-custom-footer .uagb-block-0ffaf47e .uagb-ifb-title {
	font-weight: 800 !important;
	background: var(--lc-metal-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
}
.ast-custom-footer .uagb-block-98368b28 .uagb-buttons-repeater {
	position: relative;
	overflow: hidden;
	width: 100%;
	justify-content: center;
	color: #1a1205 !important;
	background: var(--lc-metal) !important;
	border: 1px solid #f6dd8f !important;
	border-radius: 12px !important;
	font-weight: 800 !important;
	text-shadow: 0 1px 0 rgba(255, 245, 210, .6);
	box-shadow: 0 10px 26px -10px rgba(212, 167, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.ast-custom-footer .uagb-block-98368b28 .uagb-buttons-repeater .uagb-button__link { color: #1a1205 !important; }
.ast-custom-footer .uagb-block-98368b28 .uagb-buttons-repeater::after {
	content: "";
	position: absolute;
	top: -50%; left: -60%;
	width: 40%; height: 200%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent);
	transform: skewX(-20deg);
	animation: lc-shine 3s ease-in-out infinite;
}
.ast-custom-footer .uagb-block-275bb412 .uagb-icon-list__label { color: var(--lc-muted) !important; font-size: 13px; }
.ast-custom-footer .uagb-block-275bb412 svg { fill: #3ddc84 !important; }

/* Bottom bar */
.ast-custom-footer .uagb-block-b9720e3a {
	border-top: 1px solid rgba(255, 255, 255, .07) !important;
	background: transparent !important;
}
.ast-custom-footer .uagb-block-b9720e3a .uagb-icon-list__label { color: #8b8b95 !important; font-size: 13px; }
.ast-custom-footer .uagb-block-38c93186 .uagb-icon-list__label { color: var(--lc-gold-2) !important; }

@keyframes lc-shine {
	0% { left: -60%; }
	55%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
	#masthead .main-header-menu > .l365-menu-cta > .menu-link::after,
	.ast-custom-footer .uagb-block-98368b28 .uagb-buttons-repeater::after { animation: none; display: none; }
}
@media (max-width: 1200px) and (min-width: 922px) {
	#masthead .main-header-menu > .menu-item > .menu-link { padding: 0 10px !important; font-size: 14px; }
	#masthead .main-header-menu > .menu-item > .menu-link::after { left: 10px; right: 10px; }
}
#ast-desktop-header .main-header-menu > .l365-menu-cta > .menu-link { height: auto !important; align-self: center; }

/* Mobile menu panel (Astra paints it white by ID) */
#masthead #ast-hf-mobile-menu,
#masthead #ast-hf-mobile-menu .sub-menu { background: #050505 !important; }
#masthead #ast-hf-mobile-menu > .menu-item,
#masthead #ast-hf-mobile-menu .sub-menu .menu-item { border-bottom: 1px solid rgba(255, 255, 255, .06) !important; }
#masthead #ast-hf-mobile-menu .menu-item > .menu-link {
	background: transparent !important;
	color: #e3e3e8 !important;
	padding: 15px 20px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	border: 0 !important;
}
#masthead #ast-hf-mobile-menu .sub-menu .menu-item > .menu-link { padding-left: 34px !important; font-size: 15px !important; color: #c4c4cc !important; }
#masthead #ast-hf-mobile-menu .menu-item.current-menu-item > .menu-link,
#masthead #ast-hf-mobile-menu .menu-item > .menu-link:hover { color: var(--lc-gold-2) !important; background: rgba(226, 189, 90, .06) !important; }
#masthead #ast-hf-mobile-menu .ast-menu-toggle { color: var(--lc-gold-2) !important; background: transparent !important; border: 0 !important; top: 6px; }
#masthead #ast-hf-mobile-menu .ast-menu-toggle svg { fill: currentColor; }
#masthead #ast-hf-mobile-menu > .l365-menu-cta { border-bottom: 0 !important; margin: 16px 20px 20px; }
#masthead #ast-hf-mobile-menu > .l365-menu-cta > .menu-link {
	display: flex !important;
	justify-content: center;
	border-radius: 12px;
	color: #1a1205 !important;
	background: var(--lc-metal) !important;
	border: 1px solid #f6dd8f !important;
	font-weight: 800 !important;
	box-shadow: 0 10px 24px -10px rgba(212, 167, 60, .8);
}
#masthead .ast-mobile-header-content { max-height: calc(100vh - 64px) !important; max-height: calc(100dvh - 64px) !important; }

/* Footer content width = header content width (1200px, 20px side gutters) */
.ast-custom-footer .uagb-block-50bffdfb {
	padding-left: 20px !important;
	padding-right: 20px !important;
}
.ast-custom-footer .uagb-block-50bffdfb > .uagb-container-inner-blocks-wrap {
	max-width: 1200px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
#masthead .site-branding.ast-site-identity { padding-left: 0 !important; }
#ast-desktop-header .main-header-menu { flex-wrap: nowrap !important; white-space: nowrap; }
@media (max-width: 1140px) and (min-width: 922px) {
	#masthead .custom-logo { max-height: 38px; }
	#ast-desktop-header .main-header-menu > .menu-item > .menu-link { padding: 0 8px !important; font-size: 14px; }
	#ast-desktop-header .main-header-menu > .menu-item > .menu-link::after { left: 8px; right: 8px; }
	#ast-desktop-header .main-header-menu > .l365-menu-cta { margin-left: 6px; }
	#ast-desktop-header .main-header-menu > .l365-menu-cta > .menu-link { padding: 10px 14px !important; }
}

/* ================= TOP BAR (above header) ================= */
.l365-topbar {
	background: linear-gradient(90deg, #0a0804, #17110a 50%, #0a0804);
	border-bottom: 1px solid rgba(241, 210, 122, .28);
	color: #e9e3cf;
	font-size: 13px;
	line-height: 1.3;
	position: relative;
	z-index: 1000;
}
.l365-topbar__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.l365-topbar svg { flex: none; }
.l365-topbar__main { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.l365-topbar__main > svg { color: var(--lc-gold-2); }
.l365-topbar__main strong {
	font-weight: 700;
	letter-spacing: .02em;
	background: var(--lc-metal-text);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	white-space: nowrap;
}
.l365-topbar__badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 9px 2px 6px;
	border-radius: 999px;
	background: var(--lc-metal);
	color: #1a1205;
	font-weight: 800;
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .06em;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}
.l365-topbar__badge svg { width: 12px; height: 12px; stroke-width: 3; }
.l365-topbar__side { display: inline-flex; align-items: center; gap: 14px; color: #cfc6ad; white-space: nowrap; }
.l365-topbar__side > span { display: inline-flex; align-items: center; gap: 6px; }
.l365-topbar__side svg { color: var(--lc-gold-2); }
.l365-topbar__age {
	padding: 1px 7px;
	border: 1px solid rgba(241, 210, 122, .45);
	border-radius: 6px;
	font-weight: 700;
	color: var(--lc-gold-2);
}
@media (max-width: 600px) {
	.l365-topbar__inner { justify-content: center; padding: 7px 16px; }
	.l365-topbar__side { display: none; }
	.l365-topbar { font-size: 12.5px; }
}

/* ================= DISCLOSURE (above footer) ================= */
.l365-disclosure {
	background: #050505;
	border-top: 1px solid rgba(241, 210, 122, .18);
	padding: 28px 20px;
}
.l365-disclosure__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 24px;
	border: 1px solid rgba(241, 210, 122, .22);
	border-radius: 14px;
	background: linear-gradient(180deg, #0f0d09, #0a0a0a);
	color: #a9a395;
	font-size: 13.5px;
	line-height: 1.7;
	box-sizing: border-box;
}
.l365-disclosure h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--lc-gold-2);
}
.l365-disclosure p { margin: 0 0 8px; }
.l365-disclosure p:last-child { margin-bottom: 0; }
.l365-disclosure a { color: var(--lc-gold-2); text-decoration: underline; text-underline-offset: 2px; }

/* Top bar: official update announcement */
.l365-topbar__main { gap: 10px; flex-wrap: nowrap; }
.l365-topbar__main .l365-topbar__badge { flex: none; }
.l365-topbar__badge svg { width: 13px; height: 13px; stroke-width: 2.4; }
.l365-topbar__msg { color: #ece4cc; min-width: 0; }
.l365-topbar__msg a {
	font-weight: 800;
	color: #f5d98a !important;
	text-decoration: none;
	border-bottom: 1px dashed rgba(245, 217, 138, .55);
}
.l365-topbar__msg a:hover { border-bottom-style: solid; }
.l365-topbar__verified {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	margin-left: 8px;
	color: #3ddc84;
	font-weight: 700;
	white-space: nowrap;
}
.l365-topbar__verified svg { width: 13px; height: 13px; stroke-width: 3; }
@media (max-width: 1100px) { .l365-topbar__side { display: none; } .l365-topbar__inner { justify-content: center; text-align: center; } }
@media (max-width: 600px) {
	.l365-topbar__main { flex-direction: column; gap: 5px; }
	.l365-topbar__msg { font-size: 12.5px; line-height: 1.45; }
}
@media (min-width: 1101px) {
	.l365-topbar__main { flex: 1 1 auto; min-width: 0; }
	.l365-topbar__msg { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 1500px) { .l365-topbar__side > span:not(.l365-topbar__age) { display: none; } }

/* Top bar: ticker wrapper (desktop = static) */
.l365-topbar__ticker { min-width: 0; overflow: hidden; }
@media (min-width: 1101px) { .l365-topbar__ticker { flex: 1 1 auto; } }

/* Desktop: single message, no duplicate */
.l365-topbar__track { display: block; min-width: 0; }
.l365-topbar__msg--dup { display: none; }
@media (min-width: 1101px) { .l365-topbar__track { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* Phones: one slim line, badge fixed left, message loops seamlessly */
@media (max-width: 600px) {
	.l365-topbar { font-size: 12.5px; }
	.l365-topbar__inner { padding: 0 0 0 12px; height: 34px; justify-content: flex-start; }
	.l365-topbar__main { flex-direction: row !important; align-items: center; gap: 0; width: 100%; height: 100%; }
	.l365-topbar__main .l365-topbar__badge {
		position: relative;
		z-index: 2;
		font-size: 10.5px;
		padding: 3px 9px 3px 7px;
		box-shadow: 10px 0 12px 4px #120d07, inset 0 1px 0 rgba(255, 255, 255, .6);
	}
	.l365-topbar__ticker {
		flex: 1 1 auto;
		height: 100%;
		display: flex;
		align-items: center;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 18px), transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 18px), transparent 100%);
	}
	.l365-topbar__track {
		display: inline-flex;
		flex: none;
		white-space: nowrap;
		animation: l365-ticker 26s linear infinite;
		will-change: transform;
	}
	.l365-topbar__msg, .l365-topbar__msg--dup {
		display: inline-block !important;
		vertical-align: middle;
		white-space: nowrap;
		padding: 0 34px 0 14px;
		font-size: 12.5px !important;
		line-height: 34px !important;
	}
	.l365-topbar__ticker:hover .l365-topbar__track,
	.l365-topbar__ticker:active .l365-topbar__track { animation-play-state: paused; }
	.l365-topbar__verified { margin-left: 8px; }
}
@keyframes l365-ticker {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
	.l365-topbar__track { animation: none; }
}

@media (max-width: 600px) { .l365-topbar__verified { vertical-align: middle; } .l365-topbar__verified svg { vertical-align: -2px; } }
