/* New CSS for the Modal */
.modal {
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(
		0,
		0,
		0,
		0.85
	); /* Darker overlay for strong background blur */
	backdrop-filter: blur(
		10px
	); /* Strong blur for the background behind the modal */
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
	opacity: 1;
	visibility: visible;
}

.modal-content {
	background-color: rgba(
		255,
		255,
		255,
		0.04
	); /* Glassy transparent white background */
	backdrop-filter: blur(
		8px
	); /* Blur content *behind* the modal-content itself */
	border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle transparent border */
	border-radius: 15px;
	padding: 2.5rem;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Soft dark shadow */
	max-width: 500px; /* Retained wider size */
	width: 90%;
	transform: translateY(-50px);
	transition: transform 0.3s ease;
}

.modal.show .modal-content {
	transform: translateY(0);
}

.modal-content h3 {
	color: var(--color-accent-gold);
	font-family: var(--font-heading);
	font-size: 2.2rem;
	margin-bottom: 1.2rem;
	text-shadow: 0 0 10px rgba(241, 196, 15, 0.5); /* Added subtle glow to heading */
}

.modal-content p {
	font-size: 1.15rem;
	line-height: 1.7;
	font-weight: 300;
	color: white; /* Kept pure white for maximum readability against transparent background */
	margin-bottom: 2.5rem;
}

.modal-content button {
	background-color: var(--color-accent-gold);
	color: var(--color-space-deep);
	border: none;
	padding: 0.8rem 2.5rem;
	border-radius: 25px;
	font-family: var(--font-heading);
	font-size: 1.05rem;
	cursor: pointer;
	transition: transform 0.2s ease, background-color 0.3s ease, color 0.3s ease,
		box-shadow 0.3s ease;
	box-shadow: 0 0 10px var(--color-accent-gold);
}

.modal-content button:hover {
	transform: scale(1.05);
	background-color: var(--color-space-deep);
	color: var(--color-accent-gold);
	box-shadow: 0 0 20px var(--color-accent-gold);
}
