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

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #111;
}

/* --- Styling for the Video Background --- */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

#bg-video {
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.7); /* Increased opacity slightly for better contrast */
  min-height: 100vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

p.description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  line-height: 1.6;
}

.join-button {
  position: relative;
  z-index: 1;
  display: inline-block;
  text-decoration: none;
  border-radius: 40px;
  overflow: hidden;
  animation: pulse-glow 2.5s infinite ease-in-out;
  box-shadow: 0 0 5px #ff6ec4, 0 0 10px #7873f5;
  transition: transform 0.3s ease;
}

.join-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250%;
  height: 250%;
  z-index: -1;
  background: conic-gradient(#ff6ec4, #7873f5, #44c2fd, #ff6ec4);
  transform: translate(-50%, -50%);
  animation: rotate-border 4s linear infinite;
}

.join-button span {
  display: block;
  background-image: linear-gradient(45deg, #ff6ec4 0%, #7873f5 100%);
  padding: 1rem 2rem;
  border-radius: 38px;
  margin: 2px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
}

.join-button:hover { transform: scale(1.05); }

@keyframes rotate-border {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 5px #ff6ec4, 0 0 10px #7873f5; }
  50% { box-shadow: 0 0 20px #ff6ec4, 0 0 30px #7873f5; }
  100% { box-shadow: 0 0 5px #ff6ec4, 0 0 10px #7873f5; }
}

.section {
  margin-top: 3rem;
  max-width: 800px;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 15px;
}

.section h2 { font-size: 1.8rem; margin-bottom: 1.5rem; }
ul { list-style: none; text-align: left; }
ul li { font-size: 1.1rem; margin-bottom: 1.5rem; line-height: 1.5; display: flex; align-items: flex-start; }
ul li i { color: #ff6ec4; margin-right: 15px; font-size: 1.2rem; padding-top: 5px; }

footer { margin-top: 4rem; font-size: 0.9rem; opacity: 0.8; display: flex; align-items: center; gap: 15px; }
.social-icon { color: #fff; font-size: 1.5rem; transition: all 0.3s ease; }
.social-icon:hover { color: #1877F2; transform: scale(1.2); filter: drop-shadow(0 0 5px #1877F2); }

@media (max-width: 600px) {
  h1 { font-size: 2.5rem; }
  p.description { font-size: 1rem; }
  .section h2 { font-size: 1.5rem; }
  ul li { font-size: 1rem; }
}
