/* General Styles */
@font-face {
  font-family: "Mona Sans";
  src: url("https://assets.codepen.io/64/Mona-Sans.woff2")
      format("woff2 supports variations"),
    url("https://assets.codepen.io/64/Mona-Sans.woff2")
      format("woff2-variations");
  font-weight: 100 1000;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #000; /* Fallback background */
  overflow: hidden;
  color: #fff;
  font-family: "Mona Sans", sans-serif;
  cursor: url("media/cursor.png") 16 16, auto;
}

/* Galaxy Background */
.galaxy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #091f3d, #000);
  overflow: hidden;
  z-index: 1;
}

/* Stars */
.star {
  position: absolute;
  width: 2px; /* Base size */
  height: 2px; /* Base size */
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
  background: rgba(255, 255, 255, 0.9); /* Brighter star color */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
    /* Inner glow */ 0 0 15px rgba(255, 255, 255, 0.6),
    /* Outer glow */ 0 0 25px rgba(255, 255, 255, 0.4); /* Faint halo */
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.8);
  }
}

/* Gradient Button */
.gradient-button {
  background: transparent;
  color: white;
  padding: 14px 30px;
  border-width: 0;
  transform: scale(1);
  transition: transform 0.3s ease;
  /* position: relative; */
  z-index: 2;
  border: 1px solid #fff;
  border-radius: 5px;
  cursor: url("media/click.png") 16 16, auto;
  animation: pulse 2s infinite ease-in-out;
  font-size: 1.5em;
}

.gradient-button a {
  text-decoration: none;
  color: white;
  cursor: url("media/click.png") 16 16, auto;
}

.gradient-button:hover {
  transform: scale(1.05);
  background-color: rgb(167, 122, 63);
  border: 2px solid #fff;
}

.gradient-button:active {
  transform: scale(0.98);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}
