/**
 * 金沙国际登录页 — 原海报全屏背景 + 顶部品牌
 * 背景图：images/login-luxury-bg.jpg
 */
:root {
	--hero-image: url('../images/login-luxury-bg.jpg');
	--navy-deep: #020a1a;
	--navy-mid: #061428;
	--accent: #d4af6a;
	--accent-bright: #f5e0a3;
	--accent-rich: #c9a227;
	--accent-glow: rgba(212, 175, 106, 0.45);
	--ice-blue: #8ec4f0;
	--card-bg: rgba(4, 12, 28, 0.78);
	--card-border: rgba(212, 175, 106, 0.42);
	--text-primary: #f7f3e8;
	--text-muted: rgba(180, 200, 230, 0.62);
	--input-bg: rgba(255, 255, 255, 0.05);
	--radius-card: 20px;
	--radius-pill: 999px;
	--font-display: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Segoe UI", sans-serif;
	--font-ui: "SF Pro Text", system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	min-height: 100%;
}

body.premium-login-page {
	font-family: var(--font-ui);
	font-size: 14px;
	color: var(--text-primary);
	background: var(--navy-deep);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

body.premium-login-page input,
body.premium-login-page textarea {
	-webkit-user-select: text;
	user-select: text;
}

a {
	text-decoration: none;
	color: var(--accent-bright);
}

input {
	outline: none;
	border: none;
	background: transparent;
	font-family: inherit;
}

.page-shell {
	position: relative;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	isolation: isolate;
}

/* ========== 全屏原海报背景 ========== */
.stage-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	background: #020a1a;
}

.stage-photo {
	position: absolute;
	inset: 0;
	background-image: var(--hero-image);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	opacity: 0;
	transform: scale(1.03);
	transition: opacity 0.85s ease, transform 1.1s ease;
}

.stage-photo.is-ready {
	opacity: 1;
	transform: scale(1);
}

/* 顶部略压暗方便品牌与表单可读；中下保留海报主体 */
.stage-veil {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg,
			rgba(2, 10, 26, 0.72) 0%,
			rgba(2, 10, 26, 0.45) 14%,
			rgba(2, 10, 26, 0.22) 28%,
			rgba(2, 10, 26, 0.18) 48%,
			rgba(2, 10, 26, 0.42) 78%,
			rgba(2, 10, 26, 0.78) 100%);
}

/* 原图已有光效，CSS 射线弱化叠加 */
.stage-rays {
	position: absolute;
	left: 50%;
	top: 36%;
	width: 140vmax;
	height: 140vmax;
	margin-left: -70vmax;
	margin-top: -70vmax;
	background: conic-gradient(
		from 0deg at 50% 50%,
		transparent 0deg,
		rgba(140, 190, 255, 0.04) 10deg,
		transparent 20deg,
		transparent 50deg,
		rgba(245, 210, 120, 0.035) 60deg,
		transparent 70deg,
		transparent 120deg,
		rgba(140, 190, 255, 0.03) 130deg,
		transparent 140deg,
		transparent 200deg,
		rgba(245, 210, 120, 0.03) 210deg,
		transparent 220deg,
		transparent 300deg,
		rgba(140, 190, 255, 0.03) 310deg,
		transparent 320deg,
		transparent 360deg
	);
	opacity: 0.55;
	mix-blend-mode: screen;
	animation: raysSpin 60s linear infinite;
	mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.7) 0%, transparent 58%);
	-webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.7) 0%, transparent 58%);
}

@keyframes raysSpin {
	to { transform: rotate(360deg); }
}

.stage-sparkles .sp {
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #fff8dc;
	box-shadow: 0 0 10px rgba(255, 230, 150, 0.9);
	animation: sparkle 3.2s ease-in-out infinite;
}

.stage-sparkles .s1 { left: 10%; top: 12%; }
.stage-sparkles .s2 { left: 82%; top: 9%; width: 2px; height: 2px; animation-delay: 0.5s; }
.stage-sparkles .s3 { left: 22%; top: 26%; animation-delay: 1s; }
.stage-sparkles .s4 { left: 90%; top: 22%; animation-delay: 0.3s; }
.stage-sparkles .s5 { left: 6%; top: 40%; width: 2px; height: 2px; animation-delay: 1.5s; }
.stage-sparkles .s6 { left: 70%; top: 16%; animation-delay: 0.8s; }
.stage-sparkles .s7 { left: 48%; top: 7%; width: 4px; height: 4px; animation-delay: 1.3s; }
.stage-sparkles .s8 { left: 94%; top: 38%; animation-delay: 1.9s; }

@keyframes sparkle {
	0%, 100% { opacity: 0.2; transform: scale(0.7); }
	50% { opacity: 1; transform: scale(1.3); }
}

.stage-gold-arc {
	position: absolute;
	left: -8%;
	right: -8%;
	bottom: -6%;
	height: 22%;
	background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(212, 175, 106, 0.16) 0%, transparent 70%);
	pointer-events: none;
}

.stage-gold-arc::before,
.stage-gold-arc::after {
	display: none;
}

/* ========== 顶部：金沙国际品牌 ========== */
.hero-banner {
	position: relative;
	z-index: 2;
	width: 100%;
	flex-shrink: 0;
	padding: calc(22px + env(safe-area-inset-top, 0px)) 16px 6px;
	background: transparent;
	text-align: center;
}

.hero-brand.jinsha-brand {
	margin: 0 auto;
	max-width: 440px;
	animation: brandReveal 0.85s cubic-bezier(0.34, 1.15, 0.64, 1) both;
}

@keyframes brandReveal {
	from { opacity: 0; transform: translateY(-10px) scale(0.96); filter: blur(3px); }
	to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

.jinsha-crown {
	display: flex;
	justify-content: center;
	margin-bottom: 6px;
	filter: drop-shadow(0 4px 14px rgba(212, 175, 106, 0.55));
	animation: crownGlow 3.2s ease-in-out infinite;
}

.jinsha-crown svg {
	display: block;
}

@keyframes crownGlow {
	0%, 100% { filter: drop-shadow(0 4px 12px rgba(212, 175, 106, 0.4)); }
	50% { filter: drop-shadow(0 6px 20px rgba(245, 224, 163, 0.7)); }
}

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 9vw, 44px);
	font-weight: 800;
	letter-spacing: 0.14em;
	text-indent: 0.14em;
	line-height: 1.15;
	margin: 0 0 4px;
	background: linear-gradient(180deg, #fff8e7 0%, #ffe9a8 28%, #f0d78c 52%, #c9a227 78%, #8a6d1d 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(212, 175, 106, 0.35));
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hero-subtitle {
	font-size: 12px;
	letter-spacing: 0.32em;
	text-indent: 0.32em;
	color: var(--ice-blue);
	font-weight: 600;
	opacity: 0.95;
	margin: 0 auto;
	max-width: 92%;
	text-transform: uppercase;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hero-tagline,
.hero-emblem {
	display: none;
}

/* ========== 表单舞台 ========== */
.auth-stage {
	position: relative;
	z-index: 5;
	flex: 1;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 10px 16px calc(36px + env(safe-area-inset-bottom, 0px));
	animation: stageSlide 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes stageSlide {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

.login_bg {
	width: 100%;
	display: flex;
	justify-content: center;
}

.form,
.login100-form {
	width: 100%;
	max-width: 400px;
	background: var(--card-bg);
	border: 1px solid var(--card-border);
	border-radius: var(--radius-card);
	box-shadow:
		0 28px 80px rgba(0, 0, 0, 0.55),
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 0 48px rgba(212, 175, 106, 0.2),
		0 0 1px rgba(245, 224, 163, 0.55);
	backdrop-filter: blur(18px) saturate(1.15);
	-webkit-backdrop-filter: blur(18px) saturate(1.15);
	overflow: hidden;
	animation: cardFloat 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both,
		cardGlow 4.5s ease-in-out 0.9s infinite;
	position: relative;
}

.form::after,
.login100-form::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(135deg, rgba(245, 224, 163, 0.1) 0%, transparent 30%, transparent 70%, rgba(212, 175, 106, 0.08) 100%);
	z-index: 0;
}

.form > *,
.login100-form > * {
	position: relative;
	z-index: 1;
}

@keyframes cardFloat {
	from { opacity: 0; transform: translateY(20px) scale(0.97); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cardGlow {
	0%, 100% {
		box-shadow:
			0 28px 80px rgba(0, 0, 0, 0.55),
			0 0 36px rgba(212, 175, 106, 0.14),
			0 0 1px rgba(245, 224, 163, 0.4);
	}
	50% {
		box-shadow:
			0 32px 90px rgba(0, 0, 0, 0.6),
			0 0 56px rgba(212, 175, 106, 0.28),
			0 0 1px rgba(245, 224, 163, 0.65);
	}
}

.form::before,
.login100-form::before {
	display: none;
}

.form-header,
.login100-form-title {
	padding: 18px 20px 16px;
	text-align: center;
	background: linear-gradient(180deg, rgba(212, 175, 106, 0.2) 0%, rgba(212, 175, 106, 0.05) 100%);
	border-bottom: 1px solid rgba(212, 175, 106, 0.28);
	position: relative;
}

.form-header::before,
.login100-form-title::before {
	display: none;
}

.form-header-title,
.login100-form-title {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.22em;
}

.form-header-title,
#regDiv .form-header-title,
.login100-form-title {
	background: linear-gradient(90deg, #a8872a, #fff8e1, #f0d78c, #c9a227, #a8872a);
	background-size: 280% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: titleShimmer 5.5s linear infinite;
	filter: drop-shadow(0 1px 6px rgba(212, 175, 106, 0.35));
}

.form-header-title span {
	display: inline-block;
}

@keyframes titleShimmer {
	0% { background-position: 0% 50%; }
	100% { background-position: 280% 50%; }
}

.header-side-copy {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	letter-spacing: 0.12em;
	color: var(--text-muted);
	white-space: nowrap;
}

.header-side-copy.left { left: 14px; }
.header-side-copy.right { right: 14px; }

#regDiv2 .login100-form-title {
	font-size: 18px;
	letter-spacing: 0.15em;
	display: block;
	padding: 20px 20px 18px;
	margin: 0;
}

.form-content-wrapper,
.login100-form .form-content-wrapper {
	padding: 22px 22px 24px;
}

.form div.userName,
.form div.passWord,
.wrap-input100 {
	border: 1px solid rgba(212, 175, 106, 0.18);
	background: var(--input-bg);
	border-radius: 14px;
	margin-bottom: 14px;
	min-height: 50px;
	display: flex;
	align-items: center;
	padding: 0 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form div.userName:focus-within,
.form div.passWord:focus-within,
.wrap-input100:focus-within {
	border-color: rgba(245, 224, 163, 0.65);
	box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.14), 0 0 18px rgba(212, 175, 106, 0.12);
	animation: inputPulse 2.2s ease-in-out infinite;
}

@keyframes inputPulse {
	0%, 100% { box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.1); }
	50% { box-shadow: 0 0 0 3px rgba(212, 175, 106, 0.22), 0 0 18px rgba(212, 175, 106, 0.18); }
}

.form div.userName lable,
.form div.passWord lable,
.label-input100 {
	color: var(--text-muted);
	font-size: 13px;
	margin-right: 8px;
	white-space: nowrap;
	flex-shrink: 0;
}

.form div.userName input,
.form div.passWord input,
.input100,
.input60 {
	flex: 1;
	font-size: 15px;
	color: var(--text-primary);
	min-width: 0;
}

.form div.userName input::placeholder,
.form div.passWord input::placeholder,
.input100::placeholder {
	color: rgba(160, 180, 210, 0.42);
}

.wrap-input100 {
	position: relative;
	flex-wrap: wrap;
	padding-top: 8px;
	padding-bottom: 8px;
}

.wrap-input100 .label-input100 {
	width: 100%;
	font-size: 11px;
	margin-bottom: 4px;
}

.wrap-input100 .input100 {
	padding: 4px 0;
}

.focus-input100 {
	display: none;
}

.choose_box {
	padding: 4px 0 8px;
}

.choose_box lable {
	font-size: 12px;
	color: var(--text-muted);
}

.choose_box input[type="checkbox"] {
	accent-color: var(--accent);
	width: 15px;
	height: 15px;
}

.login_btn,
.login100-form-btn {
	width: 100%;
	padding: 14px;
	margin-top: 8px;
	border: 1px solid rgba(255, 240, 200, 0.35);
	border-radius: var(--radius-pill);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.28em;
	color: #1a1408;
	cursor: pointer;
	background: linear-gradient(180deg, #fff1c4 0%, #f0d78c 28%, #c9a227 68%, #a8841f 100%);
	box-shadow:
		0 12px 32px rgba(180, 140, 50, 0.4),
		0 1px 0 rgba(255, 255, 255, 0.35) inset;
	transition: transform 0.15s, box-shadow 0.15s;
	animation: btnGlow 2.8s ease-in-out infinite;
}

@keyframes btnGlow {
	0%, 100% {
		box-shadow: 0 12px 32px rgba(180, 140, 50, 0.4), 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 0 0 0 rgba(240, 215, 140, 0);
	}
	50% {
		box-shadow: 0 14px 40px rgba(212, 175, 106, 0.55), 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 0 0 6px rgba(240, 215, 140, 0.12);
	}
}

.login_btn:hover,
.login100-form-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 42px rgba(212, 175, 106, 0.55);
}

.login_btn:active,
.login100-form-btn:active {
	transform: translateY(0);
}

.login-link,
.txt2 {
	margin-top: 16px;
	text-align: center;
	font-size: 12px;
	color: var(--text-muted);
}

.login-link a,
.txt2 {
	cursor: pointer;
	color: var(--accent-bright);
}

.token-brand {
	margin-top: 20px;
	padding-bottom: 4px;
	text-align: center;
	font-size: 11px;
	letter-spacing: 0.36em;
	text-indent: 0.36em;
	color: rgba(255, 255, 255, 0.92);
	font-weight: 600;
	text-transform: uppercase;
	position: relative;
	text-shadow: 0 0 18px rgba(212, 175, 106, 0.25);
}

.token-brand::after {
	content: '';
	display: block;
	width: 72%;
	max-width: 220px;
	height: 1px;
	margin: 12px auto 0;
	background: linear-gradient(90deg, transparent, rgba(212, 175, 106, 0.85), transparent);
	box-shadow: 0 0 12px rgba(212, 175, 106, 0.45);
}

.container-login100-form-btn {
	margin-top: 8px;
}

.wrap-login100-form-btn {
	border-radius: var(--radius-pill);
	overflow: hidden;
}

.login100-form-bgbtn {
	background: linear-gradient(135deg, #f0d78c, #c9a227);
}

.sendSms {
	background: rgba(212, 175, 106, 0.15);
	color: var(--accent-bright);
	border: 1px solid rgba(212, 175, 106, 0.35);
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 12px;
	cursor: pointer;
}

.flex-col-c { margin-top: 16px; text-align: center; }

.p-b-30 { padding-bottom: 0; }
.m-b-10 { margin-bottom: 12px; }
.p-b-5 { padding-bottom: 8px; }
.p-t-32 { padding-top: 16px; }

.validate-form .wrap-input100[data-validate] {
	margin-bottom: 12px;
}

#regDiv .passWord[style*="display:flex"] {
	border: none;
	background: transparent;
	padding: 0;
	margin-bottom: 14px;
}

#regDiv .passWord[style*="display:flex"] > div:first-child {
	flex: 1;
	display: flex;
	align-items: center;
	border: 1px solid rgba(212, 175, 106, 0.18);
	background: var(--input-bg);
	border-radius: 14px;
	padding: 0 14px;
	min-height: 50px;
}

#loginCaptchaRow {
	border: none;
	background: transparent;
	padding: 0;
	margin-bottom: 14px;
}
#loginCaptchaRow > div:first-child {
	flex: 1;
	display: flex;
	align-items: center;
	border: 1px solid rgba(212, 175, 106, 0.18);
	background: var(--input-bg);
	border-radius: 14px;
	padding: 0 14px;
	min-height: 50px;
}

.logo { display: none; }
.login-top-bg { display: none; }

#tk-watermark {
	position: fixed;
	inset: 0;
	z-index: 9990;
	pointer-events: none;
	opacity: 0.04;
	background-repeat: repeat;
	background-size: 280px 140px;
}

.layui-m-layer { position: relative; z-index: 19891014; }
.layui-m-layer * { box-sizing: content-box; }
.layui-m-layermain, .layui-m-layershade {
	position: fixed; left: 0; top: 0; width: 100%; height: 100%;
}
.layui-m-layershade { background-color: rgba(0, 0, 0, 0.65); pointer-events: auto; }
.layui-m-layermain {
	display: table; font-family: var(--font-ui); pointer-events: none;
}
.layui-m-layermain .layui-m-layersection {
	display: table-cell; vertical-align: middle; text-align: center;
}
.layui-m-layerchild {
	position: relative; display: inline-block; text-align: left;
	background-color: #fff; font-size: 14px; border-radius: 12px;
	box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35); pointer-events: auto;
	animation: layui-m-anim-scale 0.2s both;
}
@keyframes layui-m-anim-scale {
	0% { opacity: 0; transform: scale(0.92); }
	100% { opacity: 1; transform: scale(1); }
}
.layui-m-layer2 .layui-m-layerchild {
	width: auto; max-width: 260px; background: transparent; box-shadow: none; color: #fff;
}
.layui-m-layer2 .layui-m-layercont { text-align: center; padding: 0; line-height: 0; }
.layui-m-layer2 .layui-m-layercont i {
	width: 25px; height: 25px; margin-left: 8px; display: inline-block;
	background-color: var(--accent-bright); border-radius: 100%;
	animation: layui-m-anim-loading 1.4s infinite ease-in-out both;
}
@keyframes layui-m-anim-loading {
	0%, 100%, 80% { transform: scale(0); }
	40% { transform: scale(1); }
}

body .layui-m-layer.toast-at-top .layui-m-layermain,
body .layui-m-layer .layui-m-layermain:has(.layui-m-layer-msg) {
	display: block;
	height: auto;
	min-height: 0;
	pointer-events: none;
}

body .layui-m-layer.toast-at-top .layui-m-layersection,
body .layui-m-layer .layui-m-layermain .layui-m-layersection:has(.layui-m-layer-msg) {
	display: block;
	vertical-align: top;
	text-align: center;
	padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 0;
}

.layui-m-layer-msg .layui-m-layercont {
	padding: 12px 22px;
	line-height: 1.5;
	font-size: 14px;
	white-space: normal;
	word-break: break-word;
}

body .layui-m-layer .layui-m-layer-msg {
	position: relative;
	top: 0;
	bottom: auto;
	left: auto;
	right: auto;
	margin: 0 auto;
	max-width: min(92%, 420px);
	background-color: rgba(8, 16, 36, 0.94);
	color: var(--text-primary);
	border: 1px solid rgba(212, 175, 106, 0.4);
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
	animation: toastTopIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes toastTopIn {
	from { opacity: 0; transform: translateY(-14px); }
	to { opacity: 1; transform: translateY(0); }
}

body .layui-m-layer .my-confirm-rect .layui-m-layerchild {
	border-radius: 14px; box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}
body .layui-m-layer .my-confirm-rect .layui-m-layercont {
	padding: 22px 20px 14px; font-weight: 600;
}
body .layui-m-layer .my-confirm-rect .layui-m-layerbtn span[yes] {
	min-width: 104px; height: 36px; line-height: 36px; border-radius: 18px;
	background: linear-gradient(135deg, #c9a227, #f0d78c); color: #1a1408;
}

@media (max-width: 480px) {
	.header-side-copy { display: none; }
	.hero-banner { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
	.hero-title {
		font-size: clamp(30px, 9.5vw, 40px);
		letter-spacing: 0.14em;
		text-indent: 0.14em;
	}
	.hero-subtitle {
		letter-spacing: 0.28em;
		text-indent: 0.28em;
		font-size: 11px;
	}
	.form,
	.login100-form {
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
	}
	.stage-photo {
		background-position: center center;
		background-size: cover;
	}
}

@media (min-width: 768px) {
	.hero-banner { padding-top: calc(28px + env(safe-area-inset-top, 0px)); }
	.form, .login100-form { max-width: 420px; }
	.stage-photo {
		background-position: center 8%;
		background-size: cover;
	}
}

@media (min-height: 900px) {
	.stage-photo {
		background-position: center 12%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.stage-rays,
	.stage-sparkles .sp,
	.jinsha-crown,
	.form-header-title,
	.login_btn,
	.login100-form-btn,
	.form div.userName:focus-within,
	.form div.passWord:focus-within {
		animation: none !important;
	}
	.auth-stage,
	.form,
	.login100-form,
	.hero-brand {
		animation: none;
		opacity: 1;
		transform: none;
	}
	.form-header-title {
		-webkit-text-fill-color: var(--accent-bright);
		color: var(--accent-bright);
	}
	.stage-photo {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

