#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 0.6);
  z-index: -1;
}
.text-container {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  text-align: center;
  opacity: 0;
  animation: rgbAnimation 5s linear infinite,
    fadeInDownContent 0.8s ease-out forwards;
  animation-delay: 0s, 0.35s;
}
.center-text {
  font-family: "Poppins", sans-serif;
  font-size: 80px;
  color: #fff;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #d3d3d3 25%,
    #181818 50%,
    #c7c7c7 75%,
    #292929 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff0;
  animation: rgbAnimation 5s linear infinite;
}
.discord-text {
  display: inline-block;
}
.discord-button-container {
  position: relative;
  z-index: 2;
  margin-top: 5px;
}
.discord-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: radial-gradient(circle at center, #1c1c1c, #0f0f0f, #0a0a0a);
  background-size: 300% 300%;
  animation: circularGradient 6s ease-in-out infinite,
    glowPulse 6s ease-in-out infinite;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 0 12px rgb(255 255 255 / 0.08),
    inset 0 0 12px rgb(255 255 255 / 0.04);
  transition: transform 0.3s ease;
}
.discord-button::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -1;
  background: conic-gradient(
    from 0deg,
    #fff0,
    rgb(255 255 255 / 0.45),
    #fff0 30%,
    #fff0 70%,
    rgb(255 255 255 / 0.45),
    #fff0
  );
  filter: blur(18px);
  opacity: 0.45;
  animation: spinHalo 8s linear infinite;
}
.discord-button i {
  font-size: 22px;
}
.discord-arrow {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s ease;
}
.discord-button:hover .discord-arrow {
  transform: translateX(3px);
}
@keyframes circularGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 15px rgb(255 255 255 / 0.15),
      0 0 30px rgb(255 255 255 / 0.05);
  }
  50% {
    box-shadow: 0 0 25px rgb(255 255 255 / 0.25),
      0 0 50px rgb(255 255 255 / 0.1);
  }
  100% {
    box-shadow: 0 0 15px rgb(255 255 255 / 0.15),
      0 0 30px rgb(255 255 255 / 0.05);
  }
}
@keyframes spinHalo {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeInDownContent {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes fadeInDownHeader {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(1.15);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
header {
  opacity: 0;
  animation: fadeInDownHeader 0.8s ease-out forwards;
  animation-delay: 0.15s;
}
#background-video {
  opacity: 0;
  animation: fadeInZoom 1.5s ease-out forwards;
  animation-delay: 0s;
}
.overlay {
  opacity: 0;
  animation: fadeInZoom 1.5s ease-out forwards;
  animation-delay: 0.1s;
}
