@import url("https://fonts.googleapis.com/css?family=Caveat");
html,
body {
  background: linear-gradient(to bottom, #090513 0%, #ff22d3 75%, #ff0000 100%);
  height: 100vh;
  margin: 0;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stars {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-animation: rotation 360s infinite linear;
          animation: rotation 360s infinite linear;
}
.stars:after, .stars:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQAQMAAAC6caSPAAAABlBMVEVHcEz///+flKJDAAAAAXRSTlMAQObYZgAAAIVJREFUeAHt2SEOwkAQhtFJKuqKRRGOgKzgUMgKRI/G0ZDoacNkN/ue/zJ+/ugBcI+01/EEAGBc04FkP58AVFoi7VaSLAEAAPB/j0hbK678AADMkXbZG03mGA0AAKsP3JgAAGDa88knsuZ8Mp1M6gEAPFtNrtEjtkh7lyRb3/PAWpS0BPgC0PMMdOEjXqoAAAAASUVORK5CYII=");
}
.stars:after {
  background-size: 100px;
  opacity: 0.4;
}
.stars:before {
  background-size: 200px;
  opacity: 0.6;
}

@-webkit-keyframes rotation {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotation {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
h1 {
  font-size: calc(1.5em + 5vw);
  color: #fff;
  font-family: "Caveat", sans-serif;
  text-align: center;
  padding: 0.5em;
  transform: rotate(-4deg) translateY(-15vh);
}

.mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto;
  min-width: 100%;
  height: 60px;
  fill: #000022;
}

.mountains--layer1 {
  z-index: 2;
}

.mountains--layer2 {
  fill: #9d5189;
  z-index: 0;
}



.next-btn {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.45rem 1.3rem;
  font-size: 0.9rem;
  border-radius: 22px;
  border: 1px solid rgb(253, 205, 205);
  cursor: pointer;
  font-family: inherit;
  opacity: 0;
  animation: showNextBtn 0.8s ease forwards;
  animation-delay: 4s;

  /* ✨ Glossy / glass look */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.7)
  );
  color: #222;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);

  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 5;
}


@keyframes showNextBtn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}




.next-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.next-btn:active {
  transform: translateX(-50%) scale(0.96);
}


@media (max-width: 600px) {
  .next-btn {
    bottom: 70px;
    font-size: 0.85rem;
    padding: 0.4rem 1.1rem;
  }
}










/* ====== MOBILE DEVICES (max-width: 600px) ====== */
@media (max-width: 600px) {
  h1 {
    font-size: 2.2em;
    padding: 0.4em;
    transform: rotate(-4deg) translateY(-10vh);
  }

  body {
    overflow: auto;
  }

  .mountains {
    height: 40px;
  }

  .stars:after {
    background-size: 60px;
  }

  .stars:before {
    background-size: 50px;
  }
}

