* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: 100vh;
	padding: 10px;
}
body::before {
	z-index: -1;
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("/img/bg.webp");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
body::after {
	content: "";
	z-index: -1;
	position: absolute;
	inset: 0;
	background-color: #ffffff88;
	backdrop-filter: blur(10px);
}
.wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	justify-content: center;
	padding-top: 100px;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}
.links {
	position: absolute;
	bottom: 0;

	a {
		color: #000;
		text-decoration: none;
		font-weight: 700;

		&:hover {
			text-decoration: underline;
		}
	}
}
h3 {
	color: #1414b8;
	font-size: 24px;
	font-weight: 700;
}

@keyframes magnetic-hover {
	0% {
		transform: translateY(0) scale(1);
	}
	30% {
		transform: translateY(-4px) scale(1.04);
	}
	60% {
		transform: translateY(-6px) scale(0.98);
	}
	100% {
		transform: translateY(-4px) scale(1.03);
	}
}

.link {
	position: relative;
	display: block;
	max-width: 500px;
	width: 100%;
	padding: 18px 55px;
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;

	background: #ae1f4b;
	border-radius: 20px;

	transition: background 0.3s ease, box-shadow 0.3s ease, text-shadow 0.3s ease;
	overflow: hidden;
	z-index: 1;
}

.link:hover {
	animation: magnetic-hover 0.6s ease-out forwards;

	background: #961a40;

	text-shadow: 0 4px 8px rgba(255, 255, 255, 0.4),
		0 0 14px rgba(255, 255, 255, 0.25);

	box-shadow: 0 18px 26px rgba(0, 0, 0, 0.28),
		inset 0 -4px 10px rgba(0, 0, 0, 0.35);
}

.link:active {
	animation: none;
	transform: translateY(2px) scale(0.97);
	text-shadow: none;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

@media (min-width: 744px) {
	h2 {
		font-size: 2rem;
	}
	h3 {
		font-size: 32px;
	}
	.link {
		font-size: 36px;
	}
	.wrapper {
		padding-top: 200px;
	}
}
