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

body {
	background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: 'Courier New', 'Fira Code', monospace;
	position: relative;
	overflow-x: hidden;
}

.container {
	text-align: center;
	z-index: 2;
	padding: 2rem;
}

/* Glitch эффект для основного заголовка */
.glitch-wrapper {
	margin-bottom: 3rem;
}

.glitch {
	font-size: 4rem;
	font-weight: bold;
	text-transform: lowercase;
	color: #00ff41;
	text-shadow: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 30px #00ff41;
	position: relative;
	animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
	from {
		text-shadow: 0 0 5px #00ff41, 0 0 10px #00ff41;
	}
	to {
		text-shadow: 0 0 20px #00ff41, 0 0 30px #00ff41, 0 0 40px #00ff41;
	}
}

.glitch::before,
.glitch::after {
	content: attr(data-text);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.glitch::before {
	animation: glitch-anim-1 0.3s infinite linear alternate-reverse;
	color: #ff00c1;
	z-index: -1;
}

.glitch::after {
	animation: glitch-anim-2 0.3s infinite linear alternate-reverse;
	color: #00fff9;
	z-index: -2;
}

@keyframes glitch-anim-1 {
	0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
	20% { clip-path: inset(20% 0 30% 0); transform: translate(-2px, 2px); }
	40% { clip-path: inset(50% 0 20% 0); transform: translate(2px, -2px); }
	60% { clip-path: inset(10% 0 60% 0); transform: translate(-1px, 1px); }
	80% { clip-path: inset(80% 0 5% 0); transform: translate(1px, -1px); }
}

@keyframes glitch-anim-2 {
	0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
	20% { clip-path: inset(80% 0 10% 0); transform: translate(2px, -2px); }
	40% { clip-path: inset(20% 0 50% 0); transform: translate(-2px, 2px); }
	60% { clip-path: inset(0 0 80% 0); transform: translate(1px, -1px); }
	80% { clip-path: inset(60% 0 20% 0); transform: translate(-1px, 1px); }
}

/* Терминал */
.terminal {
	background: rgba(0, 0, 0, 0.9);
	border: 1px solid #00ff41;
	border-radius: 8px;
	margin: 2rem auto;
	max-width: 600px;
	text-align: left;
	box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.terminal-header {
	background: rgba(0, 30, 0, 0.8);
	padding: 0.8rem;
	border-bottom: 1px solid #00ff41;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.terminal-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	display: inline-block;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.terminal-title {
	color: #00ff41;
	font-size: 0.8rem;
	margin-left: 0.5rem;
	opacity: 0.7;
}

.terminal-body {
	padding: 2rem;
	min-height: 150px;
	font-size: 1.2rem;
	color: #00ff41;
	line-height: 1.6;
}

.typed-text {
	display: inline;
}

.cursor {
	display: inline-block;
	width: 10px;
	background-color: #00ff41;
	animation: blink 1s step-end infinite;
}

@keyframes blink {
	0%, 50% { opacity: 1; }
	50.1%, 100% { opacity: 0; }
}

/* Техно статистика */
.tech-stats {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.stat {
	background: rgba(0, 0, 0, 0.7);
	border: 1px solid #00ff41;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	font-size: 0.8rem;
}

.stat-label {
	color: #888;
	margin-right: 0.5rem;
}

.stat-value {
	color: #00ff41;
	font-weight: bold;
}

.online {
	animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; text-shadow: 0 0 5px #00ff41; }
	50% { opacity: 0.7; text-shadow: 0 0 15px #00ff41; }
}

/* Matrix background */
#matrix {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0.15;
	pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
	.glitch {
		font-size: 2rem;
	}
	
	.terminal-body {
		font-size: 0.9rem;
		padding: 1rem;
	}
	
	.tech-stats {
		gap: 1rem;
	}
	
	.stat {
		font-size: 0.7rem;
	}
}