html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body.macs-body {
	background:
		radial-gradient(circle at top, rgba(118, 75, 162, 0.35), transparent 40%),
		linear-gradient(135deg, #0f172a 0%, #111827 45%, #020617 100%);
	color: #ffffff;
	overflow: hidden;
}

#macs-canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	z-index: 0;
}

.macs-wrap {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.macs-card {
	width: min(700px, 100%);
	text-align: center;
	padding: 48px 34px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
	animation: macs-float 5.5s ease-in-out infinite;
}

.macs-badge {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.macs-card h1 {
	margin: 0 0 14px;
	font-size: clamp(2.4rem, 6vw, 4.8rem);
	line-height: 1;
	letter-spacing: -0.03em;
}

.macs-lead {
	margin: 0 auto 24px;
	max-width: 560px;
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.86);
}

.macs-note {
	margin-top: 22px;
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.72);
}

.macs-loader {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 4px;
}

.macs-loader span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
	display: block;
	animation: macs-pulse 1.5s infinite ease-in-out;
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.45);
}

.macs-loader span:nth-child(2) { animation-delay: 0.2s; }
.macs-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes macs-pulse {
	0%, 80%, 100% {
		transform: scale(0.7);
		opacity: 0.45;
	}
	40% {
		transform: scale(1.15);
		opacity: 1;
	}
}

@keyframes macs-float {
	0%, 100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-8px);
	}
}

@media (max-width: 640px) {
	.macs-card {
		padding: 36px 22px;
		border-radius: 22px;
	}
}
