/* =========================================================
   v2.9.7 · 免费领取数字员工入口 + Logo 赛博重设计 + 标题下移
   ========================================================= */

/* 全站隐藏额度/算力浮动胶囊（兜底，PHP 已不输出） */
#lx-fm-quota-pill,
.lx-fm-quota-pill {
	display: none !important;
}

/* —— 免费领取数字员工 · 赛博卡片 —— */
.lx-cx-de-claim {
	position: relative;
	margin: 0 0 28px;
	padding: 18px 18px 16px;
	border-radius: 16px;
	overflow: hidden;
	max-width: min(540px, 100%);
	background:
		linear-gradient(145deg, rgba(0, 255, 240, 0.08) 0%, transparent 42%),
		linear-gradient(320deg, rgba(255, 43, 214, 0.1) 0%, transparent 50%),
		linear-gradient(180deg, rgba(6, 12, 28, 0.92), rgba(4, 8, 18, 0.88));
	border: 1px solid rgba(0, 255, 240, 0.38);
	box-shadow:
		0 0 0 1px rgba(255, 43, 214, 0.1) inset,
		0 0 32px rgba(0, 255, 240, 0.12),
		0 16px 40px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.lx-cx-de-claim__scan {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		transparent 0%,
		rgba(0, 255, 240, 0.06) 48%,
		transparent 52%,
		transparent 100%
	);
	background-size: 100% 220%;
	animation: lx-cx-de-scan 5s linear infinite;
	pointer-events: none;
	z-index: 0;
}
@keyframes lx-cx-de-scan {
	0% { background-position: 0 -100%; }
	100% { background-position: 0 200%; }
}
.lx-cx-de-claim__corners .c {
	position: absolute;
	width: 14px;
	height: 14px;
	z-index: 2;
	pointer-events: none;
}
.lx-cx-de-claim__corners .c-tl {
	top: 6px; left: 6px;
	border-top: 2px solid var(--cx-cyan, #00fff0);
	border-left: 2px solid var(--cx-cyan, #00fff0);
	box-shadow: -2px -2px 10px rgba(0, 255, 240, 0.35);
}
.lx-cx-de-claim__corners .c-tr {
	top: 6px; right: 6px;
	border-top: 2px solid var(--cx-pink, #ff2bd6);
	border-right: 2px solid var(--cx-pink, #ff2bd6);
	box-shadow: 2px -2px 10px rgba(255, 43, 214, 0.3);
}
.lx-cx-de-claim__corners .c-bl {
	bottom: 6px; left: 6px;
	border-bottom: 2px solid var(--cx-pink, #ff2bd6);
	border-left: 2px solid var(--cx-pink, #ff2bd6);
}
.lx-cx-de-claim__corners .c-br {
	bottom: 6px; right: 6px;
	border-bottom: 2px solid var(--cx-cyan, #00fff0);
	border-right: 2px solid var(--cx-cyan, #00fff0);
}

.lx-cx-de-claim__badge {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	padding: 4px 12px;
	border-radius: 999px;
	font-family: Orbitron, monospace;
	font-size: 10px;
	letter-spacing: 0.16em;
	color: #7af8ff;
	background: rgba(0, 255, 240, 0.08);
	border: 1px solid rgba(0, 255, 240, 0.3);
}
.lx-cx-de-claim__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 10px #34d399;
	animation: lx-cx-pulse-core 1.4s ease-in-out infinite;
}
.lx-cx-de-claim__row {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.lx-cx-de-claim__avatar {
	position: relative;
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
}
.lx-cx-de-claim__orb {
	position: relative;
	z-index: 2;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.2), transparent 45%),
		linear-gradient(145deg, rgba(0, 255, 240, 0.35), rgba(255, 43, 214, 0.35));
	border: 1px solid rgba(0, 255, 240, 0.55);
	box-shadow: 0 0 24px rgba(0, 255, 240, 0.35), 0 0 36px rgba(255, 43, 214, 0.2);
}
.lx-cx-de-claim__ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px dashed rgba(0, 255, 240, 0.35);
	animation: lx-cx-de-spin 10s linear infinite;
}
.lx-cx-de-claim__ring.r2 {
	inset: -6px;
	border-color: rgba(255, 43, 214, 0.3);
	animation-direction: reverse;
	animation-duration: 14s;
}
@keyframes lx-cx-de-spin {
	to { transform: rotate(360deg); }
}
.lx-cx-de-claim__body { flex: 1; min-width: 0; }
.lx-cx-de-claim__title {
	margin: 0 0 8px;
	font-family: Orbitron, "Noto Sans SC", sans-serif;
	font-size: clamp(1.15rem, 2.8vw, 1.45rem);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 0 16px rgba(0, 255, 240, 0.35);
}
.lx-cx-de-claim__title .glitch {
	background: linear-gradient(90deg, var(--cx-cyan, #00fff0), var(--cx-pink, #ff2bd6), var(--cx-yellow, #f9f871));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.lx-cx-de-claim__desc {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--cx-muted, #8aa0b8);
}
.lx-cx-de-claim__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 14px;
}
.lx-cx-de-claim__chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	color: #c8eef8;
	background: rgba(0, 255, 240, 0.06);
	border: 1px solid rgba(0, 255, 240, 0.22);
}
.lx-cx-de-claim__chip .ic { font-size: 12px; }
.lx-cx-de-claim__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}
.lx-cx-de-claim__btn {
	box-shadow: 0 0 28px rgba(0, 255, 240, 0.5), 0 0 18px rgba(255, 43, 214, 0.25) !important;
}
.lx-cx-de-claim__note {
	margin: 0;
	font-size: 11.5px;
	color: rgba(138, 160, 184, 0.9);
	letter-spacing: 0.02em;
}

/* 主标题区下移：给数字员工入口留空间 */
.lx-cx-kicker--after-de {
	margin-top: 8px !important;
}
body.lx-cyber-home .lx-cx-hero__copy {
	padding-top: clamp(36px, 6vw, 72px) !important;
}
body.lx-cyber-home .lx-cx-hero--mv3d .lx-cx-hero__copy > .lx-cx-title {
	margin-top: 4px;
}

@media (max-width: 640px) {
	.lx-cx-de-claim { padding: 14px 12px 12px; }
	.lx-cx-de-claim__row { flex-direction: column; align-items: center; text-align: center; }
	.lx-cx-de-claim__chips { justify-content: center; }
	.lx-cx-de-claim__cta { justify-content: center; }
	.lx-cx-de-claim__badge { margin-left: auto; margin-right: auto; }
}

/* —— Logo 龙虾PRO · 赛博朋克重设计 · 文字居中 —— */
body.lx-cyber-nav .main-header .home-logo-other .wp-block-group.has-background,
body.lx-cyber-nav .main-header .home-logo-other > .wp-block-group,
body.lx-cyber-home .lx-home-cyber-bar__logo-chip,
body.lx-cyber-home .main-header.lx-home-cyber-bar .home-logo-other .wp-block-group {
	position: relative !important;
	overflow: hidden !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	min-width: 118px;
	padding: 10px 16px !important;
	border-radius: 12px !important;
	clip-path: none !important;
	background:
		linear-gradient(160deg, rgba(0, 255, 240, 0.14) 0%, transparent 40%),
		linear-gradient(320deg, rgba(255, 43, 214, 0.16) 0%, transparent 45%),
		linear-gradient(135deg, rgba(8, 14, 32, 0.95), rgba(12, 8, 28, 0.92)) !important;
	background-color: transparent !important;
	border: 1px solid rgba(0, 255, 240, 0.55) !important;
	box-shadow:
		0 0 0 1px rgba(255, 43, 214, 0.18) inset,
		0 0 22px rgba(0, 255, 240, 0.28),
		0 0 36px rgba(255, 43, 214, 0.16) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}
body.lx-cyber-nav .main-header .home-logo-other .wp-block-group.has-background::before,
body.lx-cyber-nav .main-header .home-logo-other > .wp-block-group::before,
body.lx-cyber-home .lx-home-cyber-bar__logo-chip::before,
body.lx-cyber-home .main-header.lx-home-cyber-bar .home-logo-other .wp-block-group::before {
	content: "" !important;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, #00fff0, #ff2bd6, #8b5cff, transparent);
	background-size: 200% 100%;
	animation: lx-nav-line 3.2s linear infinite;
	opacity: 0.95;
	pointer-events: none;
	z-index: 2;
}
body.lx-cyber-nav .main-header .home-logo-other .wp-block-group.has-background::after,
body.lx-cyber-nav .main-header .home-logo-other > .wp-block-group::after,
body.lx-cyber-home .lx-home-cyber-bar__logo-chip::after,
body.lx-cyber-home .main-header.lx-home-cyber-bar .home-logo-other .wp-block-group::after {
	content: "" !important;
	display: block !important;
	position: absolute;
	inset: -30% -40%;
	background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
	transform: translateX(-70%);
	animation: lx-home-logo-shine 4.2s ease-in-out infinite;
	pointer-events: none;
	z-index: 1;
}
body.lx-cyber-nav .main-header .home-logo-other .wp-block-group.has-background:hover,
body.lx-cyber-nav .main-header .home-logo-other > .wp-block-group:hover,
body.lx-cyber-home .lx-home-cyber-bar__logo-chip:hover,
body.lx-cyber-home .main-header.lx-home-cyber-bar .home-logo-other .wp-block-group:hover {
	transform: translateY(-2px) scale(1.04) !important;
	border-color: rgba(255, 43, 214, 0.65) !important;
	box-shadow:
		0 0 0 1px rgba(0, 255, 240, 0.35) inset,
		0 0 32px rgba(0, 255, 240, 0.45),
		0 0 48px rgba(255, 43, 214, 0.3) !important;
	filter: none !important;
}

/* 站点标题：强制居中 + 赛博字效 */
body.lx-cyber-nav .main-header .wp-block-site-title,
body.lx-cyber-nav .main-header .home-logo-other .wp-block-site-title,
body.lx-cyber-home .main-header.lx-home-cyber-bar .wp-block-site-title {
	width: 100% !important;
	margin: 0 !important;
	text-align: center !important;
	position: relative;
	z-index: 3;
}
body.lx-cyber-nav .main-header .wp-block-site-title a,
body.lx-cyber-nav .main-header .home-logo-other .wp-block-site-title a,
body.lx-cyber-home .main-header.lx-home-cyber-bar .wp-block-site-title a {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	font-family: Orbitron, audiowide, "Noto Sans SC", sans-serif !important;
	font-weight: 800 !important;
	font-size: 17px !important;
	letter-spacing: 0.14em !important;
	line-height: 1.25 !important;
	color: #fff !important;
	text-decoration: none !important;
	background: linear-gradient(90deg, #7af8ff 0%, #fff 35%, #ff7ae8 70%, #00fff0 100%);
	background-size: 200% auto;
	-webkit-background-clip: text !important;
	background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	filter: drop-shadow(0 0 10px rgba(0, 255, 240, 0.45));
	animation: lx-logo-text-flow 5s linear infinite;
}
@keyframes lx-logo-text-flow {
	0% { background-position: 0% center; }
	100% { background-position: 200% center; }
}
/* 覆盖 has-text-align-left 等块编辑器对齐 */
body.lx-cyber-nav .main-header .home-logo-other .has-text-align-left,
body.lx-cyber-nav .main-header .home-logo-other .has-text-align-right,
body.lx-cyber-home .main-header.lx-home-cyber-bar .home-logo-other .has-text-align-left {
	text-align: center !important;
}
