* {
  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: 400px;
  background: #ff5733; /* New background color */
  padding: 16px 50px;
  width: 100%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 30px;
  transform: scale(1);
  border-radius: 50px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 0 15px 4px #f0c6b5, 0 0 0 4px #ff573322; /* Subtle glow */
  animation: borderPulse 2s infinite ease-in-out; /* Glowing border effect */
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@keyframes borderPulse {
  0% {
    box-shadow: 0 0 15px 4px #f0c6b5, 0 0 0 4px #ff573322;
  }
  50% {
    box-shadow: 0 0 20px 8px #f0a9b5, 0 0 0 6px #ff573355;
  }
  100% {
    box-shadow: 0 0 15px 4px #f0c6b5, 0 0 0 4px #ff573322;
  }
}

.link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50px;
  background: inherit;
}

.link:hover {
  transform: scale(1.1); /* Slightly bigger hover */
  box-shadow: 0 0 25px 6px #f0a9b5, 0 0 0 6px #ff573355; /* More intense glow */
  border-radius: 50px;
}

.link span.animated-text {
  display: inline-block;
  background: linear-gradient(90deg, #fff 40%, #ffd700 60%, #fff 100%); /* Yellow gradient */
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: textWave 2.5s linear infinite;
}

@keyframes textWave {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px); /* Subtle wave */
  }
  100% {
    transform: translateX(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;
  }
}
