@import url('https://fonts.googleapis.com/css2?family=Sora:wght@100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000e5afc;
  text-align: center;

  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;

  h1 {
    font-family: "Sora", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
  }

  h2,
  p,
  span {
    backdrop-filter: blur(5px);
    background: rgba(65, 2, 90, 0.144);
    padding: 0.3rem;
    border-radius: 0.5rem;
  }
}

.parallax-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  perspective: 1000px;
  overflow: hidden;
}

.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 0.1s linear;
}

.layer:nth-child(1) {
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  opacity: 0.7;
  transform-origin: center;
}

#content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  width: 90%;
}



/* Vinheta no body */
body::after {
  content: "";
  position: absolute;
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 30%, rgb(0, 0, 0) 110%);
  z-index: 9999;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  mix-blend-mode: difference;
  /* efeito interessante em fundos escuros */
}


#cir01 {
  animation: rotate360 5s linear infinite;
  transform-origin: center;
}

#cir02 {
  animation: rotate360 12s linear infinite;
  transform-origin: center;
}

#cir03 {
  animation: rotate360 25s linear infinite;
  transform-origin: center;
}

@keyframes rotate360 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


.galaxy-text {
  font-size: 3.5rem;
  font-weight: bold;
  background: linear-gradient(270deg, #a18cd1, #fbc2eb, #8ec5fc, #e0c3fc);
  background-size: 800% 800%;
  animation: galaxyMove 10s ease infinite;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

@keyframes galaxyMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


#button_gp {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.galaxy-button {
  padding: 0.7rem;
  background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b);
  background-size: 300%;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);

  svg {
    width: 2rem;
    height: 2rem;

    path {
      fill: white;
    }
  }
}

.galaxy-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  transform: rotate(0deg);
  transition: transform 0.5s ease;
  z-index: 0;
}

.galaxy-button:hover::before {
  transform: rotate(45deg);
}

.galaxy-button:hover {
  background-position: right center;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.5), 0 0 10px #00f2ff inset;
}


footer {
  margin-top: 1rem;
}


@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none;
  }

  .galaxy-text {
    font-size: 2.5rem;
  }

  #ld {
    width: 10rem;
    height: 10rem;
  }

  body::after {
    background: radial-gradient(ellipse at center, transparent 30%, rgb(0, 0, 0) 130%);
  }
}