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

body {
	line-height: 1.65;
	min-height: 100vh;
	position: relative;
	color: #f8fafc;
	overflow: hidden;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
}

.page-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: -1;
	transition: all 0.65s cubic-bezier(0.3, 0.95, 0.45, 0.95);

	background-image: url("/img/bg.webp");
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	filter: brightness(1) contrast(1.1);

	&::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(255, 255, 255, 0.418);
		pointer-events: none;
	}
}

.msg-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(65, 67, 71, 0.65);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	z-index: 1000;
	backdrop-filter: blur(8px);
}

.msg-modal {
	color: #f1f5f9;
	padding: 2.8rem;
	border-radius: 16px;
	max-width: 620px;
	width: 90%;
	position: relative;
	margin-block: auto;
}

.msg-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 2.8rem;
	text-align: center;
}

.msg-title {
	font-family: "Work Sans", sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #f8fafc;
	width: 100%;
	text-align: center;
	text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.msg-actions {
	display: flex;
	justify-content: center;
}

.msg-accept {
	position: relative;
	display: inline-block;
	padding: 18px 40px;
	min-width: 250px;
	font-size: 1.05rem;
	text-align: center;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #333;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
	transform: translateY(0);
	transition: all 0.3s ease;
	animation: fadeIn 1.2s ease-out;

	&::before {
		content: "";
		position: absolute;
		top: 0;
		left: -100%;
		width: 100%;
		height: 100%;
		background: linear-gradient(
			90deg,
			transparent,
			rgba(255, 255, 255, 0.6),
			transparent
		);
		transition: all 0.7s ease;
	}

	&:hover {
		transform: translateY(-5px);
		box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
		background: rgba(255, 255, 255, 1);

		&::before {
			left: 100%;
		}
	}

	&:active {
		transform: translateY(2px);
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}
@media (max-width: 960px) {
	.msg-modal {
		margin: 50px auto auto;
	}
}
@media (max-width: 767px) {
	.msg-overlay {
		justify-content: flex-start;
		padding: 0;
	}

	.msg-modal {
		padding: 8rem 1.8rem;
		width: 92%;
	}

	.msg-header {
		margin-bottom: 1.5rem;
	}

	.msg-title {
		font-size: 2rem;
	}

	.msg-content {
		font-size: 1rem;
		line-height: 1.7;
		margin-bottom: 2rem;
	}

	.msg-accept {
		width: 100%;
		padding: 0.85rem 1.8rem;
		font-size: 1rem;
	}
}

.sidebar {
	z-index: 1000;
	font-family: "Work Sans", sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	padding-right: 16px;
	margin-block: 10px;
	color: #e2e8f0;

	a {
		color: currentColor;
		text-decoration: none;
		margin-block: 10px;
		transition: color 0.3s ease;

		&:hover {
			color: #000;
		}
	}
}
