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

html, body {
	height: 100%;
}

body {
	background: #0b0d0a;
	font-family: "IBM Plex Mono", monospace;
	color: #39ff7a;
	overflow: hidden;
}

/* Корпус монитора */
.crt {
	position: fixed;
	inset: 0;
	padding: 2.5vmin;
	background: radial-gradient(ellipse at center, #1a1d17 0%, #0b0d0a 100%);
}

/* Экран */
.screen {
	position: relative;
	height: 100%;
	border-radius: 28px;
	padding: 22px 30px;
	background: radial-gradient(ellipse at center, #0c2414 0%, #03100a 70%, #010603 100%);
	box-shadow:
		inset 0 0 120px rgba(0, 0, 0, 0.9),
		inset 0 0 30px rgba(57, 255, 122, 0.12),
		0 0 0 2px #1f241c,
		0 0 60px rgba(57, 255, 122, 0.08);
	text-shadow: 0 0 6px rgba(57, 255, 122, 0.75), 0 0 18px rgba(57, 255, 122, 0.25);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	animation: flicker 6s infinite;
}

/* Строки развёртки */
.screen::before {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0, rgba(0, 0, 0, 0.28) 1px, transparent 2px, transparent 3px);
	pointer-events: none;
	z-index: 5;
}

/* Бегущая полоса */
.screen::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 120px;
	top: -120px;
	background: linear-gradient(to bottom, transparent, rgba(57, 255, 122, 0.06), transparent);
	animation: sweep 7s linear infinite;
	pointer-events: none;
	z-index: 6;
}

@keyframes sweep {
	to { top: 110%; }
}

@keyframes flicker {
	0%, 97%, 100% { opacity: 1; }
	98% { opacity: 0.86; }
	99% { opacity: 0.95; }
}

.bar {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 13px;
	letter-spacing: 0.08em;
	padding-bottom: 10px;
	border-bottom: 1px dashed rgba(57, 255, 122, 0.4);
}

.bar-bottom {
	margin-top: auto;
	padding-top: 10px;
	padding-bottom: 0;
	border-bottom: none;
	border-top: 1px dashed rgba(57, 255, 122, 0.4);
}

.bar b {
	font-weight: 700;
}

.log {
	font-size: 14px;
	line-height: 1.55;
	padding-top: 14px;
	white-space: pre-wrap;
	opacity: 0.85;
}

.log .ok {
	color: #b6ffcb;
}

.hero {
	flex: 1;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.logo {
	font-family: "IBM Plex Mono", monospace;
	font-size: clamp(6px, 1.25vw, 15px);
	line-height: 1.1;
	color: #39ff7a;
}

.zone {
	font-size: clamp(20px, 3vw, 34px);
	font-weight: 700;
	letter-spacing: 0.6em;
	margin: 14px 0 26px 0.6em;
	color: #ffb000;
	text-shadow: 0 0 8px rgba(255, 176, 0, 0.8), 0 0 22px rgba(255, 176, 0, 0.3);
}

.motto {
	font-size: clamp(14px, 1.8vw, 20px);
	letter-spacing: 0.12em;
	margin-bottom: 10px;
}

.status {
	font-size: clamp(12px, 1.3vw, 15px);
	opacity: 0.75;
}

.caret {
	margin-left: 4px;
	animation: blink 1s steps(1) infinite;
}

@keyframes blink {
	50% { opacity: 0; }
}

@media (max-width: 640px) {
	.bar span:nth-child(2) {
		display: none;
	}
	.screen {
		padding: 16px 16px;
		border-radius: 18px;
	}
}
