/* WizardBot.ru — общие стили (стилистика страниц ошибок + адаптив) */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

html {
	scrollbar-gutter: stable;
}

body {
	min-height: 100vh;
	background: radial-gradient(circle at center, #0f0f1a, #050510 70%);
	overflow-x: hidden;
	font-family: 'Manrope', 'Exo 2', sans-serif;
	color: #00f7ff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

body.page-prompts .container {
	max-width: 1000px;
}

h1 {
	font-family: 'Orbitron', sans-serif;
	font-size: clamp(40px, 7vw, 68px);
	letter-spacing: clamp(1px, 0.3vw, 4px);
	text-shadow:
		0 0 10px #00f7ff,
		0 0 20px #00f7ff,
		0 0 40px #0088ff,
		0 0 80px #0044ff;
	animation: pulse 1.4s infinite alternate;
	max-width: 100%;
	word-break: break-word;
}

h2 {
	font-family: 'Orbitron', sans-serif;
	font-size: 28px;
	letter-spacing: 4px;
	color: #00f7ff;
	text-shadow: 0 0 10px #00f7ff, 0 0 20px #0088ff;
	margin-bottom: 24px;
}

p {
	font-size: 20px;
	line-height: 1.6;
	margin-top: 20px;
	color: #b0faff;
	text-shadow: 0 0 10px #00f7ff;
}

a.btn,
button.btn {
	display: inline-block;
	width: auto;
	align-self: center;
	margin-top: 24px;
	padding: 14px 30px;
	border: 1px solid #00f7ff;
	color: #00f7ff;
	text-decoration: none;
	font-size: 16px;
	font-family: 'Manrope', 'Exo 2', sans-serif;
	letter-spacing: 0.5px;
	transition: 0.3s;
	cursor: pointer;
	background: transparent;
}

a.btn:hover,
button.btn:hover {
	background: #00f7ff;
	color: #050510;
	box-shadow: 0 0 20px #00f7ff, 0 0 40px #0088ff;
}

a:not(.btn) {
	color: #00f7ff;
	text-decoration: none;
	text-shadow: 0 0 8px rgba(0, 247, 255, 0.5);
}

a:not(.btn):hover {
	text-decoration: underline;
}

@keyframes pulse {
	from {
		text-shadow:
			0 0 10px #00f7ff,
			0 0 20px #00f7ff,
			0 0 40px #0088ff;
	}
	to {
		text-shadow:
			0 0 20px #00f7ff,
			0 0 40px #00f7ff,
			0 0 80px #0044ff;
	}
}

.particles {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
	overflow: hidden;
	pointer-events: none;
}

.particles span {
	position: absolute;
	width: 2px;
	height: 2px;
	background: #00f7ff;
	box-shadow: 0 0 6px #00f7ff;
	animation: move linear infinite;
	opacity: 0.6;
}

@keyframes move {
	0% {
		transform: translateY(100vh);
		opacity: 0;
	}
	10% {
		opacity: 0.8;
	}
	100% {
		transform: translateY(-10vh);
		opacity: 0;
	}
}

/* Секции главной и страницы промптов */
.section {
	margin: 40px 0;
}

.section p {
	margin-top: 12px;
}

.qr-block {
	margin-top: 40px;
	text-align: center;
}

.qr-block .qr-image {
	display: block;
	margin: 0 auto;
	width: 200px;
	height: auto;
	max-width: 100%;
	aspect-ratio: 1;
	object-fit: contain;
	border-radius: 12px;
	padding: 14px;
	background: #fff;
	box-shadow: 0 0 20px rgba(0, 247, 255, 0.15), 0 4px 20px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(90, 140, 145, 0.35);
}

.qr-block .qr-caption {
	margin-top: 12px;
	font-size: 15px;
	color: #b0faff;
	text-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
}

.models-list {
	list-style: none;
	margin-top: 16px;
}

.models-list li {
	font-size: 18px;
	line-height: 1.5;
	color: #b0faff;
	margin: 10px 0;
}

.prompt-card {
	border: 1px solid #b0d4d8;
	padding: 20px 24px;
	margin: 20px 0;
	text-align: left;
	background: #f0f7f8;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.prompt-card h3 {
	font-family: 'Manrope', 'Exo 2', sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: #1a3538;
	letter-spacing: 0.3px;
	margin-bottom: 12px;
	text-shadow: none;
}

.prompt-card .prompt-text {
	font-size: 15px;
	line-height: 1.6;
	color: #2d4044;
	user-select: text;
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	white-space: pre-wrap;
	word-break: break-word;
	text-shadow: none;
}

.prompts-section {
	margin-bottom: 2rem;
	scroll-margin-top: 16px;
}

.prompts-section:first-of-type {
	margin-top: 0;
}

.prompt-categories-nav {
	margin-bottom: 2rem;
	padding: 20px 24px;
	background: #f0f7f8;
	border: 1px solid #b0d4d8;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.prompt-categories-nav-title {
	font-family: 'Manrope', 'Exo 2', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: #1a3538;
	margin-bottom: 14px;
	text-shadow: none;
}

.prompt-categories-list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin: 0;
	padding: 0;
}

.prompt-categories-list li {
	margin: 0;
}

.prompt-categories-list a {
	color: #2d4044;
	text-decoration: none;
	font-size: 14px;
	border-bottom: 1px solid transparent;
	transition: 0.2s;
}

.prompt-categories-list a:hover {
	color: #1a3538;
	border-bottom-color: #7ab5b8;
}

.prompt-category {
	margin-top: 2rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(0, 247, 255, 0.2);
	color: #7ab5b8;
	text-shadow: 0 0 8px rgba(0, 247, 255, 0.15);
}

.prompts-section:first-of-type .prompt-category {
	margin-top: 0;
}

.prompts-tip {
	font-size: 15px;
	color: #b0faff;
	text-shadow: 0 0 10px rgba(0, 247, 255, 0.4);
	font-style: italic;
	max-width: 100%;
}

.btn-copy {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 16px;
	font-size: 13px;
	font-family: 'Manrope', 'Exo 2', sans-serif;
	color: #1a3538;
	background: #dcecee;
	border: 1px solid #9fc4c9;
	border-radius: 4px;
	cursor: pointer;
	transition: 0.2s;
}

.btn-copy:hover {
	background: #c8e2e6;
	color: #0f2528;
	border-color: #7ab5b8;
}

.btn-copy.copied {
	color: #1e5c52;
	border-color: #4a9d8e;
	background: #d4ede8;
}

.page-header {
	margin-bottom: 16px;
}

.page-header + .section {
	margin-top: 12px;
}

.page-header h1 {
	margin-bottom: 0;
}

nav.links {
	margin-top: 32px;
}

nav.links a {
	display: inline-block;
	margin: 8px 12px;
	padding: 12px 24px;
	border: 1px solid #00f7ff;
	color: #00f7ff;
	text-decoration: none;
	font-size: 14px;
	letter-spacing: 2px;
	transition: 0.3s;
}

nav.links a:hover {
	background: #00f7ff;
	color: #050510;
	box-shadow: 0 0 20px #00f7ff;
	text-decoration: none;
}

footer.site-footer {
	margin-top: auto;
	padding: 24px 20px;
	font-size: 14px;
	color: #6a8a8f;
	flex-shrink: 0;
}

/* Адаптив под мобильные */
@media (max-width: 768px) {
	.container {
		padding: 16px;
	}

	h2 {
		font-size: 22px;
		letter-spacing: 2px;
		margin-bottom: 20px;
	}

	p {
		font-size: 16px;
		margin-top: 14px;
	}

	a.btn,
	button.btn {
		padding: 12px 24px;
		font-size: 14px;
		margin-top: 20px;
	}

	.section {
		margin: 28px 0;
	}

	.models-list li {
		font-size: 16px;
	}

	.prompt-card {
		padding: 16px;
		margin: 16px 0;
	}

	.prompt-card h3 {
		font-size: 16px;
	}

	.prompt-card .prompt-text {
		font-size: 14px;
	}

	.prompts-section {
		margin-bottom: 1.5rem;
	}

	.prompt-category {
		margin-top: 1.5rem;
		font-size: 20px;
	}

	.prompts-tip {
		font-size: 14px;
	}

	.prompt-categories-nav {
		padding: 16px;
		margin-bottom: 1.5rem;
	}

	.prompt-categories-list {
		flex-direction: column;
		gap: 6px;
	}

	.prompt-categories-list a {
		font-size: 14px;
	}

	nav.links a {
		display: block;
		margin: 8px 0;
	}
}

@media (max-width: 480px) {
	h2 {
		font-size: 18px;
	}

	.prompt-category {
		font-size: 18px;
		margin-top: 1.25rem;
	}

	.prompt-card {
		padding: 14px;
		margin: 14px 0;
	}

	.btn-copy {
		padding: 10px 18px;
		font-size: 14px;
	}

	.qr-block .qr-image {
		width: 180px;
		padding: 12px;
	}

	.qr-block .qr-caption {
		font-size: 14px;
	}
}
