/*
Theme Name: 星动智能 · 建设中
Theme URI: https://wp.xdong.com/
Author: 星动
Description: 极简单页占位主题。整站只输出「网站建设中」提示，无导航、无文章循环、不查数据库，用于主站改版期间的过渡。文案全部集中在 index.php 顶部。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xdong-hold
Tags: one-column
*/

:root {
	--bg: #0B0D10;
	--fg: #F2F1EE;
	--muted: #8A9099;
	--accent: #E8A33D;
	--line: rgba(242, 241, 238, .13);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { height: 100%; }

body {
	margin: 0;
	min-height: 100%;
	background: var(--bg);
	color: var(--fg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.hold {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 48px;
	min-height: 100vh;
	min-height: 100svh;
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 48px);
}

.hold-top {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	letter-spacing: .1em;
	color: var(--muted);
}

.hold-dot {
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
}

.hold-mid { padding: clamp(24px, 8vh, 96px) 0; }

.hold-kicker {
	margin: 0 0 24px;
	font-size: 13px;
	letter-spacing: .2em;
	color: var(--accent);
}

.hold-title {
	margin: 0;
	font-size: clamp(38px, 8vw, 84px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.02em;
}

.hold-title span {
	display: block;
	margin-top: .55em;
	font-size: .3em;
	font-weight: 400;
	letter-spacing: .16em;
	color: var(--muted);
}

.hold-text {
	max-width: 46ch;
	margin: 32px 0 0;
	font-size: clamp(15px, 1.5vw, 17px);
	color: var(--muted);
}

.hold-bar {
	position: relative;
	overflow: hidden;
	max-width: 420px;
	height: 2px;
	margin-top: 48px;
	border-radius: 2px;
	background: var(--line);
}

.hold-bar::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 38%;
	border-radius: 2px;
	background: var(--accent);
	animation: hold-slide 2.6s ease-in-out infinite;
}

@keyframes hold-slide {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(263%); }
}

.hold-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--muted);
}

.hold-foot a {
	color: var(--fg);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
}

.hold-foot a:hover {
	color: var(--accent);
	border-color: var(--accent);
}

@media (max-width: 600px) {
	.hold { gap: 32px; }
	.hold-foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.hold-bar::after {
		animation: none;
		width: 100%;
		opacity: .35;
	}
}
