<style>
	/* Общие стили для кнопок открытия */
	.open-btn {
		padding: 12px 30px;
		background: #4CAF50;
		color: white;
		border: none;
		border-radius: 5px;
		font-size: 18px;
		cursor: pointer;
		transition: background 0.3s;
		margin: 10px;
	}

	.open-btn:hover {
		background: #45a049;
	}

	/* Фон затемнения */
	.modal-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		justify-content: center;
		align-items: center;
		z-index: 1000;
	}

	/* Само всплывающее окно */
	.modal-window {
		background: white;
		padding: 30px;
		border-radius: 10px;
		max-width: 800px;
		width: 90%;
		box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
		position: relative;
		animation: modalFade 0.3s;
		margin: 20px;
	}

	/* Заголовок окна */
	.modal-window h2 {
		margin-top: 0;
		color: #333;
	}

	/* Текст окна */
	.modal-window p {
		color: #666;
		line-height: 1.6;
	}

	/* Кнопка закрытия */
	.close-btn {
		padding: 10px 25px;
		background: #f44336;
		color: white;
		border: none;
		border-radius: 5px;
		font-size: 16px;
		cursor: pointer;
		transition: background 0.3s;
	}

	.close-btn:hover {
		background: #d32f2f;
	}

	/* Крестик в углу */
	.close-x {
		position: absolute;
		top: 10px;
		right: 15px;
		font-size: 24px;
		cursor: pointer;
		color: #999;
		transition: color 0.3s;
	}

	.close-x:hover {
		color: #333;
	}

	/* Анимация появления */
	@keyframes modalFade {
		from {
			opacity: 0;
			transform: scale(0.8) translateY(-30px);
		}
		to {
			opacity: 1;
			transform: scale(1) translateY(0);
		}
	}

	/* Показываем окно при активации соответствующего чекбокса */
	#modal1:checked ~ .modal-overlay-1,
	#modal2:checked ~ .modal-overlay-2,
	#modal3:checked ~ .modal-overlay-3,
	#modal4:checked ~ .modal-overlay-4,
	#modal5:checked ~ .modal-overlay-5 {
		display: flex;
	}

	/* Скрываем все чекбоксы */
	.modal-toggle {
		display: none;
	}

	/* Стили для контейнера с кнопками */
	.buttons-container {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		min-height: 100vh;
		gap: 15px;
		padding: 20px;
		background: #f0f2f5;
	}

	/* Информация внизу */
	.info {
		position: fixed;
		bottom: 20px;
		left: 50%;
		transform: translateX(-50%);
		background: rgba(0,0,0,0.7);
		color: white;
		padding: 12px 24px;
		border-radius: 8px;
		font-size: 14px;
		text-align: center;
		z-index: 999;
	}
</style>
