body {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: url('Cool.gif') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  overflow: hidden;
  position: relative;
}

/* Dark overlay */
body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* Make sure content is above overlay */
body > * {
  position: relative;
  z-index: 1;
}

/* Title and Discord side-by-side */
.top-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

/* Subtitle container */
.subtitle-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* RGB animated gradient title */
.rgb-title {
  font-size: 3.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, red, orange, yellow, lime, cyan, blue, violet, red);
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rgbGlow 5s linear infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  color: white;
}

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

/* Fade-in animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Subtitle pop + fade */
.fade-pop {
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  text-shadow: 0 0 5px rgba(0,0,0,0.5);
  max-width: 90%;
  transform: scale(0.95);
  opacity: 0;
  animation: popIn 1.8s ease-out 0.4s forwards;
}

@keyframes popIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Discord button */
.discord-button {
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  background: transparent;
  border: 3px solid;
  border-image: linear-gradient(90deg, #00f0ff, #00ff84, #ff0090, #ff6600) 1;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  position: relative;
  z-index: 2;
}

/* Hover effect */
.discord-button:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px #00fff7, 0 0 20px #00fff7, 0 0 30px #00fff7;
  transform: scale(1.05);
}

/* Animated RGB border */
.glow-button {
  animation: borderGlow 6s linear infinite;
}



@keyframes borderGlow {
  0% { border-image-source: linear-gradient(90deg, #00f0ff, #00ff84, #ff0090, #ff6600); }
  50% { border-image-source: linear-gradient(90deg, #ff6600, #ff0090, #00ff84, #00f0ff); }
  100% { border-image-source: linear-gradient(90deg, #00f0ff, #00ff84, #ff0090, #ff6600); }
}