:root {
	--bg-deep: #071525;
	--bg-mid: #0e2744;
	--glass: rgba(255, 255, 255, 0.08);
	--glass-strong: rgba(255, 255, 255, 0.12);
	--glass-border: rgba(255, 255, 255, 0.22);
	--glass-shine: rgba(255, 255, 255, 0.45);
	--text: #f4f7fb;
	--muted: #a8b7c9;
	--accent: #2dd4bf;
	--accent-2: #38bdf8;
	--danger: #f87171;
	--ok: #34d399;
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html, body {
	min-height: 100%;
	background: #071525;
	color: var(--text);
}

body {
	overflow-x: hidden;
	isolation: isolate;
}

/* Ambient atmosphere */
.bg-aurora {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(900px 520px at 12% -8%, rgba(56, 189, 248, 0.38), transparent 58%),
		radial-gradient(780px 480px at 92% 8%, rgba(45, 212, 191, 0.28), transparent 52%),
		radial-gradient(640px 420px at 50% 108%, rgba(14, 165, 233, 0.18), transparent 55%),
		linear-gradient(165deg, var(--bg-deep), var(--bg-mid) 55%, #0a1f38);
}

.bg-orb {
	position: fixed;
	border-radius: 50%;
	filter: blur(48px);
	opacity: 0.55;
	pointer-events: none;
	z-index: 0;
	animation: orb-drift 18s var(--ease) infinite alternate;
}

.bg-orb-a {
	width: min(42vw, 320px);
	height: min(42vw, 320px);
	left: -6%;
	top: 18%;
	background: rgba(56, 189, 248, 0.35);
}

.bg-orb-b {
	width: min(48vw, 380px);
	height: min(48vw, 380px);
	right: -8%;
	top: 42%;
	background: rgba(45, 212, 191, 0.28);
	animation-delay: -6s;
	animation-duration: 22s;
}

.bg-orb-c {
	width: min(36vw, 260px);
	height: min(36vw, 260px);
	left: 38%;
	bottom: -8%;
	background: rgba(125, 211, 252, 0.22);
	animation-delay: -11s;
	animation-duration: 26s;
}

.bg-grid {
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: radial-gradient(ellipse at center, black 28%, transparent 78%);
	pointer-events: none;
	z-index: 0;
	opacity: 0.7;
}

.shell {
	position: relative;
	z-index: 1;
	width: min(920px, calc(100% - 32px));
	margin: 0 auto;
	padding: 56px 0 48px;
}

.hero {
	text-align: center;
	margin-bottom: 28px;
	animation: rise 0.7s var(--ease) both;
}

.brand {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 800;
	letter-spacing: 0.02em;
	margin-bottom: 14px;
	background: linear-gradient(100deg, #fff 0%, #9be7ff 48%, #5eead4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 8px 24px rgba(56, 189, 248, 0.25));
}

.lead {
	margin: 0 auto;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.55;
	max-width: 100%;
	white-space: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Liquid glass panels */
.panel {
	position: relative;
	background:
		linear-gradient(155deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.06) 100%);
	border: 1px solid var(--glass-border);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow:
		var(--shadow),
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		inset 0 -1px 0 rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(22px) saturate(160%);
	-webkit-backdrop-filter: blur(22px) saturate(160%);
	margin-bottom: 18px;
	animation: rise 0.8s var(--ease) both;
	overflow: hidden;
}

.panel::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0%, transparent 34%, transparent 68%, rgba(255, 255, 255, 0.06) 100%);
	pointer-events: none;
	opacity: 0.7;
}

.panel > * {
	position: relative;
	z-index: 1;
}

.main-panel {
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(15, 42, 68, 0.42) 45%, rgba(8, 28, 48, 0.55) 100%);
}

.domain-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 10px;
	margin-bottom: 16px;
	padding: 12px 14px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.domain-label {
	font-size: 13px;
	letter-spacing: 0.08em;
	color: var(--accent);
	font-weight: 700;
}

.domain-value {
	font-size: clamp(20px, 3.8vw, 28px);
	font-weight: 800;
	color: #fff;
	word-break: break-all;
	text-align: center;
}

.cta-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cta {
	position: relative;
	width: 100%;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 16px;
	padding: 18px 18px 20px;
	cursor: pointer;
	background:
		linear-gradient(135deg, rgba(13, 148, 136, 0.92), rgba(2, 132, 199, 0.9));
	color: #fff;
	box-shadow:
		0 12px 32px rgba(2, 132, 199, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -1px 0 rgba(0, 0, 0, 0.12);
	transition: transform 0.28s var(--ease), filter 0.28s ease, box-shadow 0.28s ease, opacity 0.2s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	overflow: hidden;
	isolation: isolate;
}

.cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0.32) 0%, transparent 42%, transparent 100%);
	opacity: 0.85;
	pointer-events: none;
	z-index: 0;
}

.cta > * {
	position: relative;
	z-index: 1;
}

.cta-app {
	background: linear-gradient(135deg, rgba(236, 72, 153, 0.92), rgba(131, 38, 255, 0.9));
	box-shadow:
		0 12px 32px rgba(236, 72, 153, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.35),
		inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.cta:hover:not(:disabled) {
	transform: translateY(-3px) scale(1.01);
	filter: brightness(1.06);
	box-shadow:
		0 18px 40px rgba(2, 132, 199, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.cta-app:hover:not(:disabled) {
	box-shadow:
		0 18px 40px rgba(236, 72, 153, 0.4),
		inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.cta:disabled {
	cursor: wait;
	opacity: 0.75;
}

.cta.is-error {
	background: linear-gradient(135deg, #b91c1c, #c2410c);
	box-shadow: 0 10px 30px rgba(185, 28, 28, 0.28);
}

.cta-label {
	font-size: clamp(20px, 3.8vw, 26px);
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.25;
}

.cta-sub {
	font-size: 13px;
	font-weight: 500;
	opacity: 0.92;
}

.btn-switch,
.btn-action {
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.07);
	color: var(--text);
	border-radius: var(--radius-sm);
	font-weight: 700;
	cursor: pointer;
	backdrop-filter: blur(12px) saturate(140%);
	-webkit-backdrop-filter: blur(12px) saturate(140%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
	transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-switch {
	width: 100%;
	margin-top: 12px;
	padding: 12px 14px;
	font-size: 14px;
}

.btn-switch:hover:not(:disabled),
.btn-action:hover:not(:disabled) {
	border-color: rgba(56, 189, 248, 0.55);
	background: rgba(56, 189, 248, 0.14);
	transform: translateY(-1px);
	box-shadow:
		0 8px 20px rgba(14, 165, 233, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-switch:disabled,
.btn-action:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.action-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 14px;
}

.btn-action {
	padding: 12px 10px;
	font-size: 14px;
}

.btn-action:hover:not(:disabled) {
	border-color: rgba(94, 234, 212, 0.5);
	background: rgba(45, 212, 191, 0.14);
}

.contact-panel {
	padding-top: 14px;
	padding-bottom: 14px;
}

.contact-row {
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.7;
	color: var(--muted);
}

.contact-tip {
	color: var(--muted);
}

.contact-email {
	color: var(--accent-2);
	font-weight: 700;
	text-decoration: none;
	word-break: break-all;
}

.contact-email:hover {
	text-decoration: underline;
}

.status {
	margin-top: 12px;
	text-align: center;
	color: var(--muted);
	font-size: 13px;
	min-height: 1.4em;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.status.ok {
	color: var(--ok);
	background: rgba(52, 211, 153, 0.08);
	border-color: rgba(52, 211, 153, 0.22);
}

.status.err {
	color: var(--danger);
	background: rgba(248, 113, 113, 0.08);
	border-color: rgba(248, 113, 113, 0.22);
}

.tips {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 24px;
	animation: rise 0.9s var(--ease) both;
}

.tips article {
	position: relative;
	background:
		linear-gradient(150deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	padding: 18px;
	backdrop-filter: blur(18px) saturate(150%);
	-webkit-backdrop-filter: blur(18px) saturate(150%);
	box-shadow:
		0 12px 32px rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.22);
	overflow: hidden;
	transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.tips article::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(125deg, rgba(255, 255, 255, 0.16), transparent 40%);
	pointer-events: none;
}

.tips article:hover {
	transform: translateY(-2px);
	border-color: rgba(125, 211, 252, 0.35);
}

.tips h2 {
	position: relative;
	font-size: 15px;
	margin-bottom: 10px;
	color: #e2e8f0;
}

.tips ul {
	position: relative;
	list-style: none;
	display: grid;
	gap: 8px;
}

.tips li {
	position: relative;
	padding-left: 16px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.55;
}

.tips li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent-2);
	box-shadow: 0 0 10px rgba(56, 189, 248, 0.55);
}

.foot {
	text-align: center;
	color: rgba(168, 183, 201, 0.75);
	font-size: 12px;
}

.foot-updated {
	margin-top: 6px;
	color: rgba(168, 183, 201, 0.9);
}

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

@keyframes orb-drift {
	from { transform: translate3d(0, 0, 0) scale(1); }
	to { transform: translate3d(18px, -22px, 0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
	.bg-orb,
	.panel,
	.hero,
	.tips,
	.cta,
	.btn-switch,
	.btn-action,
	.tips article {
		animation: none !important;
		transition: none !important;
	}

}

@media (max-width: 720px) {
	.shell {
		width: min(920px, calc(100% - 24px));
		padding: 28px 0 36px;
	}

	.hero {
		margin-bottom: 18px;
	}

	.brand {
		font-size: clamp(26px, 8vw, 36px);
		margin-bottom: 10px;
	}

	.lead {
		white-space: normal;
		overflow: visible;
		font-size: 13px;
		line-height: 1.65;
		text-align: center;
		padding: 0 2px;
	}

	.panel {
		padding: 16px;
		border-radius: 18px;
		margin-bottom: 14px;
		backdrop-filter: blur(16px) saturate(150%);
		-webkit-backdrop-filter: blur(16px) saturate(150%);
	}

	.domain-row {
		flex-direction: column;
		align-items: center;
		gap: 4px;
		margin-bottom: 12px;
		padding: 10px 12px;
	}

	.domain-value {
		font-size: clamp(18px, 6vw, 24px);
	}

	.cta {
		padding: 16px 14px;
		border-radius: 14px;
		min-height: 72px;
	}

	.cta-label {
		font-size: 18px;
	}

	.cta-sub {
		font-size: 12px;
	}

	.status {
		font-size: 12px;
		margin-top: 10px;
		padding: 8px 10px;
	}

	.btn-switch,
	.btn-action {
		min-height: 44px;
		padding: 12px;
		font-size: 14px;
	}

	.action-row {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		margin-top: 12px;
	}

	.contact-panel {
		padding: 12px 14px;
	}

	.contact-row {
		font-size: 13px;
		line-height: 1.65;
		padding: 0 2px;
	}

	.tips {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-bottom: 18px;
	}

	.tips article {
		padding: 14px;
	}

	.tips h2 {
		font-size: 14px;
	}

	.tips li {
		font-size: 12px;
	}

	.foot {
		font-size: 11px;
		padding: 0 8px;
		word-break: break-all;
	}

	.bg-orb {
		filter: blur(36px);
		opacity: 0.4;
	}
}

@media (max-width: 380px) {
	.shell {
		width: calc(100% - 16px);
		padding-top: 20px;
	}

	.action-row {
		grid-template-columns: 1fr;
	}

	.cta-label {
		font-size: 17px;
	}
}
