/* 金色科技风登录页 */
body.login-page {
	margin: 0;
	min-height: 100vh;
	background: #0b0a08;
	color: #f3e7c7;
	font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
	overflow-x: hidden;
}
body.login-page a {
	text-decoration: none;
}
body.login-page * {
	box-sizing: border-box;
}

.lg-scene {
	position: relative;
	min-height: 100vh;
	padding: 28px 24px 20px;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 50% at 15% 20%, rgba(212, 168, 75, 0.18), transparent 55%),
		radial-gradient(ellipse 60% 45% at 90% 80%, rgba(250, 216, 89, 0.1), transparent 50%),
		linear-gradient(160deg, #120f0b 0%, #0b0a08 45%, #16120c 100%);
}

.lg-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(212, 168, 75, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(212, 168, 75, 0.08) 1px, transparent 1px);
	background-size: 48px 48px;
	transform: perspective(600px) rotateX(55deg) translateY(-18%) scale(1.4);
	transform-origin: center top;
	animation: lgGridMove 18s linear infinite;
	pointer-events: none;
	opacity: 0.55;
}
@keyframes lgGridMove {
	0% { background-position: 0 0; }
	100% { background-position: 0 48px; }
}

.lg-scan {
	position: absolute;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(180deg, transparent, rgba(250, 216, 89, 0.12), transparent);
	animation: lgScan 5.5s ease-in-out infinite;
	pointer-events: none;
}
@keyframes lgScan {
	0%, 100% { top: -10%; opacity: 0; }
	20% { opacity: 1; }
	80% { opacity: 0.4; }
	100% { top: 110%; opacity: 0; }
}

.lg-beam {
	position: absolute;
	width: 2px;
	height: 180px;
	background: linear-gradient(180deg, transparent, #fad859, transparent);
	opacity: 0.35;
	filter: blur(0.5px);
	pointer-events: none;
}
.lg-beam-1 {
	left: 18%;
	top: 10%;
	animation: lgBeam 4s ease-in-out infinite;
}
.lg-beam-2 {
	right: 22%;
	top: 30%;
	height: 220px;
	animation: lgBeam 5.5s ease-in-out infinite reverse;
}
@keyframes lgBeam {
	0%, 100% { transform: translateY(0) scaleY(0.8); opacity: 0.2; }
	50% { transform: translateY(40px) scaleY(1.2); opacity: 0.55; }
}

.lg-particle {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fad859;
	box-shadow: 0 0 12px #d4a84b;
	pointer-events: none;
	animation: lgFloat 7s ease-in-out infinite;
}
.lg-particle-1 { left: 12%; top: 28%; animation-delay: 0s; }
.lg-particle-2 { left: 35%; top: 70%; width: 4px; height: 4px; animation-delay: 1.2s; }
.lg-particle-3 { right: 18%; top: 22%; animation-delay: 2s; }
.lg-particle-4 { right: 30%; top: 62%; width: 5px; height: 5px; animation-delay: 3.1s; }
@keyframes lgFloat {
	0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.4; }
	50% { transform: translate3d(12px, -24px, 20px); opacity: 1; }
}

.lg-hud {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 1180px;
	margin: 0 auto 18px;
	font-size: 11px;
	letter-spacing: 2px;
	color: rgba(243, 231, 199, 0.65);
	font-family: Arial, Helvetica, sans-serif;
}
.lg-hud-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fad859;
	box-shadow: 0 0 10px #d4a84b;
	animation: lgPulse 1.6s ease-in-out infinite;
}
@keyframes lgPulse {
	0%, 100% { opacity: 0.5; transform: scale(0.9); }
	50% { opacity: 1; transform: scale(1.15); }
}
.lg-hud-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, rgba(212, 168, 75, 0.5), transparent);
}

.lg-stage {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin: 0 auto;
	min-height: calc(100vh - 120px);
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
}

.lg-visual-inner {
	position: relative;
	padding: 10px 10px 10px 0;
}
.lg-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
	color: #fad859 !important;
}
.lg-brand img {
	height: 42px;
	width: auto;
	display: block;
}
.lg-brand span {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
}
.lg-kicker {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 3px;
	color: #d4a84b;
	font-family: Arial, Helvetica, sans-serif;
}
.lg-title {
	margin: 0 0 16px;
	font-size: 44px;
	line-height: 1.25;
	font-weight: 700;
	color: #fff8e8;
}
.lg-title em {
	font-style: normal;
	background: linear-gradient(90deg, #fad859, #d4a84b, #f7e3a1);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.lg-desc {
	margin: 0 0 36px;
	max-width: 440px;
	font-size: 15px;
	line-height: 1.8;
	color: rgba(243, 231, 199, 0.72);
}

/* 3D 金色棱镜 */
.lg-prism-wrap {
	position: relative;
	width: 280px;
	height: 280px;
	margin: 10px 0 36px;
	perspective: 900px;
	transform-style: preserve-3d;
}
.lg-prism {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 110px;
	height: 110px;
	margin: -55px 0 0 -55px;
	transform-style: preserve-3d;
	animation: lgSpin 12s linear infinite;
}
@keyframes lgSpin {
	0% { transform: rotateX(-18deg) rotateY(0deg); }
	100% { transform: rotateX(-18deg) rotateY(360deg); }
}
.lg-prism-face {
	position: absolute;
	width: 110px;
	height: 110px;
	border: 1px solid rgba(250, 216, 89, 0.55);
	background: linear-gradient(145deg, rgba(212, 168, 75, 0.28), rgba(20, 16, 10, 0.55));
	box-shadow: inset 0 0 24px rgba(250, 216, 89, 0.15);
	backdrop-filter: blur(2px);
}
.lg-prism-front { transform: translateZ(55px); }
.lg-prism-back { transform: rotateY(180deg) translateZ(55px); }
.lg-prism-right { transform: rotateY(90deg) translateZ(55px); }
.lg-prism-left { transform: rotateY(-90deg) translateZ(55px); }
.lg-prism-top { transform: rotateX(90deg) translateZ(55px); }
.lg-prism-bottom { transform: rotateX(-90deg) translateZ(55px); }

.lg-ring {
	position: absolute;
	left: 50%;
	top: 50%;
	border: 1px solid rgba(212, 168, 75, 0.35);
	border-radius: 50%;
	transform-style: preserve-3d;
}
.lg-ring-a {
	width: 180px;
	height: 180px;
	margin: -90px 0 0 -90px;
	animation: lgRingA 8s linear infinite;
	box-shadow: 0 0 20px rgba(212, 168, 75, 0.15);
}
.lg-ring-b {
	width: 230px;
	height: 230px;
	margin: -115px 0 0 -115px;
	border-color: rgba(250, 216, 89, 0.22);
	animation: lgRingB 11s linear infinite reverse;
}
.lg-ring-c {
	width: 270px;
	height: 270px;
	margin: -135px 0 0 -135px;
	border-style: dashed;
	animation: lgRingA 16s linear infinite;
}
@keyframes lgRingA {
	0% { transform: rotateX(68deg) rotateZ(0deg); }
	100% { transform: rotateX(68deg) rotateZ(360deg); }
}
@keyframes lgRingB {
	0% { transform: rotateX(72deg) rotateY(20deg) rotateZ(0deg); }
	100% { transform: rotateX(72deg) rotateY(20deg) rotateZ(360deg); }
}

.lg-orbit {
	position: absolute;
	left: 50%;
	top: 50%;
	border-radius: 50%;
	border: 1px solid transparent;
	transform-style: preserve-3d;
}
.lg-orbit i {
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fad859;
	box-shadow: 0 0 14px #d4a84b;
}
.lg-orbit-1 {
	width: 200px;
	height: 200px;
	margin: -100px 0 0 -100px;
	animation: lgOrbit 6s linear infinite;
}
.lg-orbit-1 i { top: -5px; left: 50%; margin-left: -5px; }
.lg-orbit-2 {
	width: 250px;
	height: 250px;
	margin: -125px 0 0 -125px;
	animation: lgOrbit 9s linear infinite reverse;
}
.lg-orbit-2 i {
	bottom: 18px;
	right: 24px;
	width: 7px;
	height: 7px;
}
@keyframes lgOrbit {
	0% { transform: rotateX(65deg) rotateZ(0deg); }
	100% { transform: rotateX(65deg) rotateZ(360deg); }
}

.lg-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lg-chips li {
	padding: 8px 14px;
	border: 1px solid rgba(212, 168, 75, 0.35);
	background: rgba(212, 168, 75, 0.08);
	color: #f3e7c7;
	font-size: 12px;
	letter-spacing: 1px;
	border-radius: 999px;
}

/* 登录卡片 */
.lg-panel {
	display: flex;
	justify-content: flex-end;
	perspective: 1200px;
}
.lg-card {
	position: relative;
	width: 100%;
	max-width: 440px;
	transform-style: preserve-3d;
	animation: lgCardIn 0.9s ease-out both;
}
@keyframes lgCardIn {
	0% { opacity: 0; transform: translateY(30px) rotateX(8deg); }
	100% { opacity: 1; transform: translateY(0) rotateX(0); }
}
.lg-card-edge {
	position: absolute;
	inset: -1px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(250, 216, 89, 0.85), rgba(212, 168, 75, 0.15), rgba(250, 216, 89, 0.7));
	animation: lgEdge 4s linear infinite;
	z-index: 0;
}
@keyframes lgEdge {
	0% { filter: hue-rotate(0deg) brightness(1); }
	50% { filter: hue-rotate(12deg) brightness(1.15); }
	100% { filter: hue-rotate(0deg) brightness(1); }
}
.lg-card-body {
	position: relative;
	z-index: 1;
	margin: 1px;
	padding: 36px 34px 32px;
	border-radius: 17px;
	background: linear-gradient(165deg, rgba(28, 24, 18, 0.96), rgba(16, 13, 10, 0.98));
	box-shadow:
		0 24px 60px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(250, 216, 89, 0.18);
	backdrop-filter: blur(10px);
}
.lg-card-head {
	margin-bottom: 28px;
}
.lg-badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	border: 1px solid rgba(212, 168, 75, 0.45);
	color: #d4a84b;
	font-size: 11px;
	letter-spacing: 2px;
	font-family: Arial, Helvetica, sans-serif;
}
.lg-card-head h2 {
	margin: 0 0 8px;
	font-size: 28px;
	color: #fff8e8;
	font-weight: 700;
}
.lg-card-head p {
	margin: 0;
	font-size: 13px;
	color: rgba(243, 231, 199, 0.55);
}

.lg-field {
	margin-bottom: 18px;
}
.lg-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
	color: rgba(243, 231, 199, 0.75);
}
.lg-input-wrap {
	display: flex;
	align-items: center;
	border: 1px solid rgba(212, 168, 75, 0.28);
	background: rgba(0, 0, 0, 0.28);
	border-radius: 10px;
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.lg-input-wrap:focus-within {
	border-color: #d4a84b;
	box-shadow: 0 0 0 3px rgba(212, 168, 75, 0.15), 0 0 20px rgba(250, 216, 89, 0.08);
}
.lg-input-wrap input {
	flex: 1;
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 0;
	outline: 0;
	background: transparent;
	color: #fff8e8;
	font-size: 14px;
}
.lg-input-wrap input::placeholder {
	color: rgba(243, 231, 199, 0.35);
}
.lg-input-code {
	padding-right: 8px;
}
.lg-authcode {
	height: 34px;
	width: auto;
	cursor: pointer;
	border-radius: 4px;
}

.lg-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 8px 0 22px;
	font-size: 13px;
}
.lg-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(243, 231, 199, 0.7);
	cursor: pointer;
}
.lg-check input {
	accent-color: #d4a84b;
}
.lg-link {
	color: #d4a84b !important;
}
.lg-link:hover {
	color: #fad859 !important;
}

.lg-submit {
	position: relative;
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	cursor: pointer;
	background: linear-gradient(90deg, #a67c2d, #d4a84b, #fad859, #d4a84b);
	background-size: 200% 100%;
	animation: lgBtnFlow 4s linear infinite;
	color: #1a140c;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
}
@keyframes lgBtnFlow {
	0% { background-position: 0% 50%; }
	100% { background-position: 200% 50%; }
}
.lg-submit span {
	position: relative;
	z-index: 1;
}
.lg-submit em {
	position: absolute;
	top: 0;
	left: -40%;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
	animation: lgShine 2.8s ease-in-out infinite;
}
@keyframes lgShine {
	0% { left: -40%; }
	100% { left: 120%; }
}
.lg-submit:hover {
	filter: brightness(1.08);
}

.lg-register {
	margin-top: 18px;
	text-align: center;
	font-size: 13px;
	color: rgba(243, 231, 199, 0.55);
}
.lg-register a {
	margin-left: 6px;
	color: #fad859 !important;
	font-weight: 600;
}
.lg-register a:hover {
	text-decoration: underline !important;
}

.lg-social-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 22px 0 14px;
	color: rgba(243, 231, 199, 0.4);
	font-size: 12px;
}
.lg-social-title::before,
.lg-social-title::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(212, 168, 75, 0.25);
}
.lg-social {
	display: flex;
	justify-content: center;
	gap: 14px;
}
.lg-social-btn img {
	display: block;
	height: 28px;
	width: auto;
}

.lg-footer {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin: 18px auto 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 12px;
	color: rgba(243, 231, 199, 0.4);
}
.lg-footer a {
	color: rgba(212, 168, 75, 0.85) !important;
}
.lg-footer a:hover {
	color: #fad859 !important;
}

@media screen and (max-width: 980px) {
	.lg-stage {
		grid-template-columns: 1fr;
		gap: 28px;
		min-height: auto;
	}
	.lg-panel {
		justify-content: center;
	}
	.lg-title {
		font-size: 34px;
	}
	.lg-prism-wrap {
		margin-left: auto;
		margin-right: auto;
	}
	.lg-visual-inner {
		text-align: center;
		padding: 0;
	}
	.lg-desc {
		margin-left: auto;
		margin-right: auto;
	}
	.lg-chips {
		justify-content: center;
	}
	.lg-brand {
		justify-content: center;
	}
}
@media screen and (max-width: 560px) {
	.lg-scene {
		padding: 18px 14px 16px;
	}
	.lg-card-body {
		padding: 28px 20px 24px;
	}
	.lg-title {
		font-size: 28px;
	}
	.lg-prism-wrap {
		width: 220px;
		height: 220px;
	}
	.lg-footer {
		flex-wrap: wrap;
		text-align: center;
	}
}
