@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap');

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  height: 100vh;
  overflow: hidden;
  background: #2b2d31; /* Discord dark gray */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

/* Animated light ray background */
#lightRays {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #40444b 0%, #2b2d31 80%);
  z-index: -1;
  animation: pulseBackground 6s ease-in-out infinite alternate;
}

/* Subtle breathing glow for background */
@keyframes pulseBackground {
  0% {
    filter: brightness(1);
  }
  100% {
    filter: brightness(1.15);
  }
}

/* Centered content */
.center-content {
  z-index: 10;
  animation: fadeIn 2s ease-in-out, float 5s ease-in-out infinite;
}

h1 {
  font-size: 4rem;
  color: #7289da;
  text-shadow: 0 0 15px rgba(114, 137, 218, 0.6), 0 0 30px rgba(88, 101, 242, 0.2);
  animation: glowPulse 4s ease-in-out infinite alternate;
}

/* Title glow animation */
@keyframes glowPulse {
  0% {
    text-shadow: 0 0 10px rgba(114, 137, 218, 0.4);
  }
  100% {
    text-shadow: 0 0 25px rgba(114, 137, 218, 0.9);
  }
}

p {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #b9bbbe;
}

/* Invite button */
.invite-btn {
  background: #5865f2;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4);
}

.invite-btn:hover {
  background: #4752c4;
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(88, 101, 242, 0.7);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Footer text links */
.footer-links {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 20;
}

/* Footer text link styling */
.footer-text {
  color: #b9bbbe;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  position: relative;
}

/* Hover effect for text links */
.footer-text:hover {
  color: #7289da;
  text-shadow: 0 0 10px rgba(114, 137, 218, 0.6);
  transform: scale(1.05);
}

/* Optional underline animation (modern glow effect) */
.footer-text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #7289da;
  border-radius: 2px;
  transition: width 0.3s ease-in-out;
}

.footer-text:hover::after {
  width: 100%;
}
