
/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

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

/* Анимированный фон с частицами */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: 
		radial-gradient(circle at 20% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(123, 104, 238, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
	animation: backgroundShift 20s ease-in-out infinite alternate;
	z-index: -2;
}

@keyframes backgroundShift {
	0% { transform: translateX(0px) translateY(0px); }
	100% { transform: translateX(50px) translateY(-30px); }
}

/* Основные стили */
body {
	font-family: 'Rajdhani', sans-serif;
	font-size: 16px;
	background: linear-gradient(135deg, #0D1117 0%, #161B22 50%, #0D1117 100%);
	color: #ffffff;
	min-height: 100vh;
	position: relative;
	overflow-x: hidden;
}

/* Кастомный скроллбар */
body::-webkit-scrollbar {
	width: 8px;
}
body::-webkit-scrollbar-track {
	background: #161B22;
}
body::-webkit-scrollbar-thumb {
	background: linear-gradient(45deg, #00D9FF, #7B68EE);
	border-radius: 4px;
}

a {
	text-decoration: none;
	color: inherit;
	transition: all 0.3s ease;
}
/* Контейнеры */
.conteiner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	position: relative;
}

/* Header в стиле Neon Gaming */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(13, 17, 23, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 2px solid transparent;
	border-image: linear-gradient(90deg, transparent, #00D9FF, #7B68EE, transparent) 1;
	padding: 15px 0;
	z-index: 1000;
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.3),
		0 0 20px rgba(0, 217, 255, 0.1);
}
/* Header контейнер */
.header_conteiner {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}

/* Логотип с neon эффектом */
.header_logo img {
	height: 50px;
	width: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
	transition: all 0.3s ease;
}

.header_logo img:hover {
	filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.8));
	transform: scale(1.05);
}

/* Кнопки в header */
.header_button {
	display: flex;
	gap: 15px;
	align-items: center;
}

/* Навигационное меню в стиле Gaming */
.navigation {
	position: fixed;
	top: 80px;
	left: 0;
	width: 100%;
	background: rgba(13, 17, 23, 0.9);
	backdrop-filter: blur(15px);
	z-index: 999;
	padding: 12px 0;
	border-top: 1px solid rgba(0, 217, 255, 0.2);
	border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.nav_conteiner {
	justify-content: center;
	gap: 25px;
	flex-wrap: wrap;
}

/* Ссылки навигации с neon эффектом */
.nav-link {
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 25px;
	transition: all 0.4s ease;
	font-size: 14px;
	font-weight: 600;
	font-family: 'Rajdhani', sans-serif;
	text-transform: uppercase;
	letter-spacing: 1px;
	border: 2px solid transparent;
	background: rgba(255, 255, 255, 0.05);
	position: relative;
	overflow: hidden;
}

.nav-link::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
	transition: left 0.5s;
}

.nav-link:hover::before {
	left: 100%;
}

.nav-link:hover {
	background: rgba(0, 217, 255, 0.1);
	border-color: #00D9FF;
	box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
	transform: translateY(-2px);
}

.nav-link.active {
	background: linear-gradient(45deg, rgba(0, 217, 255, 0.2), rgba(123, 104, 238, 0.2));
	border-color: #00D9FF;
	box-shadow: 
		0 0 20px rgba(0, 217, 255, 0.6),
		inset 0 0 20px rgba(0, 217, 255, 0.1);
}

/* Кнопки в стиле Neon Gaming */
.btn {
	display: inline-block;
	padding: 12px 25px;
	background: linear-gradient(45deg, rgba(0, 217, 255, 0.1), rgba(123, 104, 238, 0.1));
	color: #ffffff;
	border: 2px solid transparent;
	border-radius: 30px;
	cursor: pointer;
	position: relative;
	transition: all 0.4s ease;
	font-family: 'Rajdhani', sans-serif;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 1px;
	overflow: hidden;
	z-index: 1;
}

.btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, #00D9FF, #7B68EE, #FF6B35);
	border-radius: 30px;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.btn::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	right: 2px;
	bottom: 2px;
	background: rgba(13, 17, 23, 0.9);
	border-radius: 28px;
	z-index: -1;
}

.btn:hover::before {
	opacity: 1;
}

.btn:hover {
	transform: translateY(-3px);
	box-shadow: 
		0 10px 25px rgba(0, 217, 255, 0.3),
		0 0 30px rgba(0, 217, 255, 0.2);
}
/* Специальные варианты кнопок */
.button_1 {
	border: 2px solid #00D9FF;
}

.button_2 {
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.button_2:hover {
	border-color: #00D9FF;
}

.button_3 {
	border: 2px solid #FF6B35;
}

/* Анимация свечения */
@keyframes neonGlow {
	0%, 100% { 
		box-shadow: 
			0 0 5px #00D9FF,
			0 0 10px #00D9FF,
			0 0 15px #00D9FF;
	}
	50% { 
		box-shadow: 
			0 0 10px #00D9FF,
			0 0 20px #00D9FF,
			0 0 30px #00D9FF,
			0 0 40px #00D9FF;
	}
}

.glowing {
	animation: neonGlow 2s ease-in-out infinite alternate;
}

/* Мобильные стили */
@media (max-width: 768px) {
	body {
		padding-top: 160px;
	}
	.header_button {
		gap: 8px;
	}
	.nav_conteiner {
		gap: 10px;
		padding: 10px;
	}
	.nav-link {
		font-size: 12px;
		padding: 8px 15px;
	}
	.btn {
		width: 100%;
		text-align: center;
		padding: 12px;
		font-size: 13px;
	}
}

/* Заголовки в стиле Neon Gaming */
h1 {
	font-family: 'Orbitron', monospace;
	font-size: 3.5rem;
	font-weight: 900;
	text-align: center;
	text-transform: uppercase;
	line-height: 1.2;
	margin: 30px 0;
	background: linear-gradient(45deg, #00D9FF, #7B68EE, #FF6B35);
	background-size: 300% 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	animation: gradientShift 4s ease-in-out infinite;
	filter: drop-shadow(0 0 20px rgba(0, 217, 255, 0.5));
}

@keyframes gradientShift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}

h2 {
	font-family: 'Orbitron', monospace;
	font-size: 2rem;
	font-weight: 700;
	margin: 25px 0 15px 0;
	color: #ffffff;
	position: relative;
	padding-left: 20px;
}

h2::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 100%;
	background: linear-gradient(45deg, #00D9FF, #7B68EE);
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

h3 {
	font-family: 'Rajdhani', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	margin: 20px 0 10px 0;
	color: #00D9FF;
}

@media (max-width: 768px) {
	h1 {
		font-size: 2.5rem;
		margin: 20px 0;
	}
	h2 {
		font-size: 1.5rem;
		margin: 20px 0 10px 0;
	}
	h3 {
		font-size: 1.2rem;
	}
}
/* Основной контент */
.main_conteiner {
	position: relative;
	margin-top: 60px;
	padding: 40px 0;
}

.main {
	background: rgba(255, 255, 255, 0.02);
	border-radius: 20px;
	padding: 40px;
	border: 1px solid rgba(0, 217, 255, 0.1);
	backdrop-filter: blur(10px);
	box-shadow: 
		0 8px 32px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.main_text {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.main p {
	font-size: 16px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	font-family: 'Rajdhani', sans-serif;
}

/* Изображение с neon эффектом */
.photo {
	display: block;
	margin: 30px auto;
	width: 70%;
	max-width: 600px;
	height: auto;
	object-fit: cover;
	border-radius: 20px;
	border: 3px solid transparent;
	background: linear-gradient(45deg, #00D9FF, #7B68EE, #FF6B35) padding-box,
		linear-gradient(45deg, #00D9FF, #7B68EE, #FF6B35) border-box;
	filter: drop-shadow(0 10px 30px rgba(0, 217, 255, 0.3));
	transition: all 0.4s ease;
}

.photo:hover {
	transform: scale(1.02) translateY(-5px);
	filter: drop-shadow(0 15px 40px rgba(0, 217, 255, 0.5));
	box-shadow: 0 0 50px rgba(0, 217, 255, 0.3);
}
/* Popup в стиле Neon Gaming */
.popup {
	width: 500px;
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(13, 17, 23, 0.95);
	backdrop-filter: blur(20px);
	color: #ffffff;
	border-radius: 25px;
	padding: 25px 30px;
	border: 2px solid transparent;
	background-clip: padding-box;
	box-shadow: 
		0 20px 50px rgba(0, 0, 0, 0.5),
		0 0 30px rgba(0, 217, 255, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	gap: 25px;
	opacity: 0;
	visibility: hidden;
	transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 1000;
}

.popup::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border-radius: 25px;
	padding: 2px;
	background: linear-gradient(45deg, #00D9FF, #7B68EE, #FF6B35, #00D9FF);
	background-size: 300% 300%;
	animation: borderGlow 3s ease infinite;
	mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	mask-composite: exclude;
	z-index: -1;
}

@keyframes borderGlow {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
.popup_block {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 1;
}

.popup.show {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(-10px);
}

/* Кнопка закрытия popup */
.popup-close {
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.7);
	font-size: 24px;
	cursor: pointer;
	position: absolute;
	right: 15px;
	top: 15px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 2;
}

.popup-close:hover {
	color: #00D9FF;
	background: rgba(0, 217, 255, 0.1);
	transform: rotate(90deg);
}

/* Изображение в popup */
.block_img {
	display: flex;
	align-items: center;
	justify-content: center;
}

.block_img img {
	width: 60px;
	height: 60px;
	filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.6));
}
/* Текст в popup */
.block_txt {
	flex: 1;
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
	margin: 0 15px;
}

.block_txt span {
	font-family: 'Orbitron', monospace;
	font-size: 2.5rem;
	font-weight: 900;
	background: linear-gradient(45deg, #FF6B35, #00D9FF, #7B68EE);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 5px;
	filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.block_txt p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	font-family: 'Rajdhani', sans-serif;
	font-weight: 500;
	margin: 0;
}

/* Кнопка в popup */
.block_btn {
	display: flex;
	align-items: center;
}

.block_btn .btn {
	font-size: 16px;
	padding: 15px 25px;
	font-weight: 700;
}

/* Мобильные стили для popup */
@media (max-width: 768px) {
	.popup {
		width: 95%;
		padding: 20px;
		gap: 15px;
		border-radius: 20px;
		bottom: 20px;
	}
	.popup-close {
		font-size: 20px;
		right: 10px;
		top: 10px;
		width: 25px;
		height: 25px;
	}
	.block_txt span {
		font-size: 2rem;
	}
	.block_txt p {
		font-size: 0.9rem;
	}
	.block_btn .btn {
		font-size: 14px;
		padding: 12px 20px;
	}
	.block_img img {
		width: 50px;
		height: 50px;
	}
	.main {
		padding: 25px 20px;
	}
	.main_text {
		gap: 20px;
	}
}

/* Дополнительные стили для сгенерированного контента */
ul, ol {
	padding-left: 25px;
	margin-bottom: 20px;
}

li {
	font-size: 16px;
	margin-bottom: 10px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	font-family: 'Rajdhani', sans-serif;
}

li::marker {
	color: #00D9FF;
}

/* Таблицы в стиле Gaming */
table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: 25px;
	font-size: 15px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

th, td {
	border: 1px solid rgba(0, 217, 255, 0.2);
	padding: 15px;
	text-align: left;
	background: rgba(255, 255, 255, 0.02);
}

th {
	background: linear-gradient(45deg, rgba(0, 217, 255, 0.1), rgba(123, 104, 238, 0.1));
	font-weight: 700;
	font-family: 'Rajdhani', sans-serif;
	color: #00D9FF;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Выделение текста */
strong {
	color: #00D9FF;
	font-weight: 700;
}

/* Ссылки в контенте */
.main_text a {
	color: #00D9FF;
	text-decoration: underline;
	text-decoration-color: rgba(0, 217, 255, 0.3);
	transition: all 0.3s ease;
}

.main_text a:hover {
	color: #7B68EE;
	text-decoration-color: #7B68EE;
	text-shadow: 0 0 8px rgba(123, 104, 238, 0.5);
}

/* Блоки кода (если есть) */
code {
	background: rgba(0, 217, 255, 0.1);
	color: #00D9FF;
	padding: 2px 6px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
}

/* Цитаты */
blockquote {
	border-left: 4px solid #00D9FF;
	padding-left: 20px;
	margin: 20px 0;
	font-style: italic;
	color: rgba(255, 255, 255, 0.8);
}

/* Горизонтальные разделители */
hr {
	border: none;
	height: 2px;
	background: linear-gradient(90deg, transparent, #00D9FF, transparent);
	margin: 30px 0;
}