/* GLOBAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  color: #fff;
}

/* ANIMATED BACKGROUND GRADIENT */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient( #090a29, #101042, #1c0f4f);
  background-size: 300% 300%;
  animation: gradientMove 12s ease-in-out infinite;
  z-index: -3;
  filter: blur(5px);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* CANVAS FLOATING EFFECT */
#floatingCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* MAIN CONTENT */
.container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 7rem 2rem 3rem;
  position: relative;
  z-index: 10;
}

.content {
  /* text-align: center; */
}

.home-main img {
  width: 280px;
  border-radius: 15px;
  border: 2px solid #8a2be2;
  box-shadow: 0 0 30px rgba(138, 43, 226, 0.4);
  margin-bottom: 1rem;
}

/* TEXT */
.content h1 {
  font-size: 3.2rem;
  background: linear-gradient(135deg, #b46bff, #d1b4ff);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0;
  /* margin-bottom: 1rem; */
}

.content p.subtitle {
  font-size: 1.2rem;
  margin-top: 5px;
  color: #cfcfcf;
  display: inline-block;
  /* transform: translateX(-100px); */
}

/* BUTTONS */
.buttons {
  display: flex;
  gap: 1.2rem;
  /* justify-content: center; */
  margin-top: 2rem;
}

.buttons button {
  background: transparent;
  border: 2px solid #8a2be2;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  overflow: hidden;
  position: relative;
}

.buttons button::before {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #8a2be2, #9370db);
  z-index: -1;
  transition: 0.4s ease;
}

.buttons button:hover::before {
  width: 100%;
}

.buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(138, 43, 226, 0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .content h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .home-main {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .content {
    align-items: center;
  }
  .content h1 {
    display: flex;
    justify-content: center;
    font-size: 1.9rem;
  }

  .content p.subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .home-main img {
    width: 55%;
  }

  .buttons {
    flex-direction: column;
  }

  .buttons button {
    width: 100%;
  }
}
