* {
	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.png");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

body::after {
	content: "";
	z-index: -1;
	position: absolute;
	inset: 0;
	background-color: #ffffff88;
}

.wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	justify-content: center;
	padding-top: 100px;
	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;
}
.link {
	position: relative;
	display: block;
	max-width: 420px;
	width: 100%;
	padding: 18px 55px;
	text-align: center;

	font-size: 32px;
	font-weight: 700;
	text-decoration: none;
	color: #fff;

	background: linear-gradient(135deg, #10b981, #059669);
	border-radius: 48px;

	box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35),
		inset 0 -4px 8px rgba(0, 0, 0, 0.25),
		inset 0 4px 8px rgba(255, 255, 255, 0.15);

	transform: translateY(0) scale(1);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 0.35s ease, background 0.4s ease;

	overflow: hidden;
	z-index: 1;

	animation: softPulse 3s ease-in-out infinite;
}

@keyframes softPulse {
	0% {
		box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35),
			inset 0 -4px 8px rgba(0, 0, 0, 0.25),
			inset 0 4px 8px rgba(255, 255, 255, 0.15);
	}
	50% {
		box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45),
			inset 0 -6px 10px rgba(0, 0, 0, 0.3),
			inset 0 5px 10px rgba(255, 255, 255, 0.25);
	}
	100% {
		box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35),
			inset 0 -4px 8px rgba(0, 0, 0, 0.25),
			inset 0 4px 8px rgba(255, 255, 255, 0.15);
	}
}

.link:hover {
	transform: translateY(-4px) scale(1.07);
	background: linear-gradient(135deg, #34d399, #059669);
	box-shadow: 0 12px 28px rgba(16, 185, 129, 0.55),
		inset 0 -5px 12px rgba(0, 0, 0, 0.35),
		inset 0 6px 12px rgba(255, 255, 255, 0.25);
}

.link:active {
	transform: scale(0.96);
	box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35),
		inset 0 -4px 8px rgba(0, 0, 0, 0.4);
}

.link::before {
	content: "";
	position: absolute;
	top: 0;
	left: -110%;
	width: 80%;
	height: 100%;

	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0.35),
		rgba(255, 255, 255, 0)
	);
	transform: skewX(-20deg);

	transition: 0.7s;
	pointer-events: none;
}

.link:hover::before {
	left: 120%;
}

.link span.animated-text {
	display: inline-block;
	background: linear-gradient(90deg, #fff 20%, #d1fae5 50%, #fff 80%);
	background-size: 250% 100%;

	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;

	animation: shimmerMove 2.2s linear infinite;
}

@keyframes shimmerMove {
	0% {
		background-position: 0% 0;
		transform: translateY(0);
	}
	50% {
		background-position: 100% 0;
		transform: translateY(-2px);
	}
	100% {
		background-position: 0% 0;
		transform: translateY(0);
	}
}

/* .flare {
  position: absolute;
  top: 0;
  height: 100%;
  width: 40px;
  transform: skewX(0deg);
  animation: flareAnimation;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1)
  );
  animation: flareAnimation 3s infinite alternate;
}

@keyframes flareAnimation {
  0% {
    left: 80%;
  }
  100% {
    left: 10%;
  }
} */

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