/* Страница технических работ — расширение landing.css */

.dm-body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.dm-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.dm-bg__aurora {
	position: absolute;
	inset: -20%;
	background:
		conic-gradient(from 210deg at 50% 50%, transparent 0deg, rgba(201, 162, 39, 0.07) 60deg, transparent 120deg, rgba(120, 60, 20, 0.1) 200deg, transparent 280deg);
	animation: dm-aurora-spin 28s linear infinite;
	opacity: 0.85;
}

@keyframes dm-aurora-spin {
	to { transform: rotate(360deg); }
}

.dm-bg__ring {
	position: absolute;
	left: 50%;
	top: 42%;
	width: min(90vw, 720px);
	height: min(90vw, 720px);
	margin: calc(min(45vw, 360px) * -1) 0 0 calc(min(45vw, 360px) * -1);
	border-radius: 50%;
	border: 1px dashed rgba(201, 162, 39, 0.12);
	animation: dm-ring-pulse 4s ease-in-out infinite;
}

.dm-bg__ring--2 {
	width: min(70vw, 520px);
	height: min(70vw, 520px);
	margin: calc(min(35vw, 260px) * -1) 0 0 calc(min(35vw, 260px) * -1);
	animation-delay: 1.2s;
	border-color: rgba(201, 162, 39, 0.08);
}

@keyframes dm-ring-pulse {
	0%, 100% { transform: scale(1); opacity: 0.45; }
	50% { transform: scale(1.04); opacity: 0.9; }
}

.dm-rune {
	position: absolute;
	font-family: var(--ld-font-display);
	font-size: clamp(18px, 3vw, 28px);
	color: rgba(232, 197, 71, 0.18);
	text-shadow: 0 0 24px rgba(201, 162, 39, 0.25);
	animation: dm-rune-float 10s ease-in-out infinite;
	user-select: none;
}

.dm-rune:nth-child(4) { left: 10%; top: 18%; animation-delay: 0s; }
.dm-rune:nth-child(5) { right: 12%; top: 22%; animation-delay: 2s; }
.dm-rune:nth-child(6) { left: 14%; bottom: 20%; animation-delay: 4s; }
.dm-rune:nth-child(7) { right: 16%; bottom: 24%; animation-delay: 1s; }
.dm-rune:nth-child(8) { left: 48%; top: 8%; animation-delay: 3s; }

@keyframes dm-rune-float {
	0%, 100% { transform: translateY(0) rotate(-6deg); opacity: 0.35; }
	50% { transform: translateY(-14px) rotate(6deg); opacity: 0.75; }
}

.dm-spark {
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--ld-accent-bright);
	box-shadow: 0 0 10px 2px rgba(232, 197, 71, 0.5);
	animation: dm-spark-rise 9s linear infinite;
	opacity: 0;
}

.dm-spark:nth-child(9)  { left: 18%; animation-delay: 0.5s; }
.dm-spark:nth-child(10) { left: 35%; animation-delay: 2.2s; }
.dm-spark:nth-child(11) { left: 52%; animation-delay: 4.1s; }
.dm-spark:nth-child(12) { left: 68%; animation-delay: 1.4s; }
.dm-spark:nth-child(13) { left: 82%; animation-delay: 3.3s; }
.dm-spark:nth-child(14) { left: 25%; animation-delay: 5.5s; }
.dm-spark:nth-child(15) { left: 61%; animation-delay: 6.8s; }

@keyframes dm-spark-rise {
	0% { bottom: -5%; opacity: 0; transform: scale(0.5); }
	10% { opacity: 1; }
	90% { opacity: 0.4; }
	100% { bottom: 105%; opacity: 0; transform: scale(1.2); }
}

.dm-page {
	position: relative;
	z-index: 1;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(24px, 5vw, 48px) clamp(16px, 4vw, 32px) 32px;
}

.dm-card {
	width: min(640px, 100%);
	padding: clamp(28px, 5vw, 40px);
	border-radius: var(--ld-radius);
	background: var(--ld-panel);
	border: 1px solid var(--ld-panel-border);
	box-shadow: var(--ld-shadow);
	backdrop-filter: blur(10px);
	text-align: center;
	animation: dm-card-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dm-card-in {
	from {
		opacity: 0;
		transform: translateY(28px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.dm-icon-wrap {
	position: relative;
	width: 112px;
	height: 112px;
	margin: 0 auto 24px;
}

.dm-icon-glow {
	position: absolute;
	inset: -12px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 162, 39, 0.35) 0%, transparent 70%);
	animation: dm-glow 3s ease-in-out infinite;
}

@keyframes dm-glow {
	0%, 100% { opacity: 0.5; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.08); }
}

.dm-icon {
	position: relative;
	width: 112px;
	height: 112px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: linear-gradient(145deg, #3d3024, #1a1410);
	border: 2px solid rgba(201, 162, 39, 0.45);
	box-shadow:
		inset 0 2px 0 rgba(255, 255, 255, 0.08),
		0 12px 40px rgba(0, 0, 0, 0.45);
}

.dm-icon svg {
	width: 52px;
	height: 52px;
	color: var(--ld-accent-bright);
	animation: dm-gear 6s linear infinite;
}

@keyframes dm-gear {
	to { transform: rotate(360deg); }
}

.dm-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #f0c878;
	background: rgba(201, 162, 39, 0.12);
	border: 1px solid rgba(201, 162, 39, 0.35);
}

.dm-badge__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e8a030;
	box-shadow: 0 0 12px rgba(232, 160, 48, 0.8);
	animation: dm-dot-blink 1.4s ease-in-out infinite;
}

@keyframes dm-dot-blink {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.35; transform: scale(0.85); }
}

.dm-title {
	margin: 0 0 14px;
	font-family: var(--ld-font-display);
	font-size: clamp(28px, 5vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	color: var(--ld-text);
}

.dm-title span {
	display: block;
	margin-top: 6px;
	font-size: clamp(20px, 3.5vw, 28px);
	color: var(--ld-accent-bright);
}

.dm-text {
	margin: 0 auto 28px;
	max-width: 46ch;
	font-size: clamp(15px, 2.2vw, 17px);
	line-height: 1.65;
	color: var(--ld-muted);
}

.dm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.dm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 180px;
	padding: 14px 22px;
	border-radius: var(--ld-radius-sm);
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	transition: transform 0.15s, filter 0.15s, box-shadow 0.15s;
}

.dm-btn--primary {
	color: #1a1410;
	background: linear-gradient(180deg, var(--ld-accent-bright) 0%, var(--ld-accent) 55%, var(--ld-accent-dim) 100%);
	box-shadow: 0 8px 24px rgba(201, 162, 39, 0.28);
}

.dm-btn--primary:hover {
	filter: brightness(1.06);
	box-shadow: 0 10px 28px rgba(201, 162, 39, 0.38);
}

.dm-btn--ghost {
	color: var(--ld-accent-bright);
	background: transparent;
	border: 1px solid rgba(201, 162, 39, 0.4);
}

.dm-btn--ghost:hover {
	background: rgba(201, 162, 39, 0.08);
}

.dm-btn:active {
	transform: translateY(1px);
}

.dm-btn svg {
	width: 18px;
	height: 18px;
}

.dm-btn.is-spinning svg {
	animation: ld-spin 0.8s linear infinite;
}

.dm-meta {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(74, 59, 47, 0.55);
	font-size: 13px;
	color: var(--ld-muted);
}

.dm-meta time {
	color: var(--ld-accent-bright);
	font-variant-numeric: tabular-nums;
}

.dm-header {
	position: sticky;
	top: 0;
	z-index: 20;
	width: 100%;
}

.dm-servers {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

.dm-server {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ld-muted);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(74, 59, 47, 0.65);
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
}

.dm-server:hover {
	color: var(--ld-text);
	border-color: rgba(201, 162, 39, 0.45);
}

.dm-server__status {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ld-muted);
}

.dm-server__status--ok { background: var(--ld-success); box-shadow: 0 0 8px var(--ld-success); }
.dm-server__status--warn { background: #e8a030; box-shadow: 0 0 8px rgba(232, 160, 48, 0.6); }
.dm-server__status--bad { background: var(--ld-danger); box-shadow: 0 0 8px rgba(224, 85, 85, 0.6); }

@media (prefers-reduced-motion: reduce) {
	.dm-bg__aurora,
	.dm-bg__ring,
	.dm-rune,
	.dm-spark,
	.dm-icon svg,
	.dm-icon-glow,
	.dm-badge__dot,
	.dm-btn.is-spinning svg {
		animation: none !important;
	}

	.dm-card {
		animation: none;
	}
}
