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

:root {
  --bg: #0b0b0f;
  --dark: #15151d;
  --card: #1e1e2a;
  --purple: #6a0dad;
  --purple2: #8e44ad;
  --lav: #c39bd3;
  --text: #ffffff;
  --muted: #a8a8b3;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Ppooins", sans-serif;
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.logo {
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}
.nav-links a {
  text-decoration: none;
  color: white;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--lav);
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 850px;
}

.title {
  font-family: "Cinzel", serif;
  font-size: 4rem;
  margin-bottom: 12px;
}

.typing-text {
  min-height: 40px;
  font-size: 1.35rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.6s ease;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.typing-text.show {
  opacity: 1;
  animation: neonGlow 2s infinite alternate;
}

@keyframes neonGlow {
  0% {
    text-shadow:
      0 0 5px #b026ff,
      0 0 10px #b026ff,
      0 0 20px #6c63ff;
  }

  100% {
    text-shadow:
      0 0 10px #c39bd3,
      0 0 20px #b026ff,
      0 0 35px #6c63ff;
  }
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  background: linear-gradient(45deg, var(--purple), var(--purple2));
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 22px rgba(176, 38, 255, 0.6);
}

section {
  padding: 95px 8%;
}

.section-title {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 2.2rem;
  margin-bottom: 40px;
}
.memberSwiper {
  width: 100%;
  padding: 30px 0 40px;
}

.member-card {
  width: 280px;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition: 0.4s ease;
}

.member-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.member-card h3 {
  text-align: center;
  padding: 14px;
}

/* Default side cards */
.memberSwiper .swiper-slide {
  transform: scale(0.8);
  filter: blur(2px);
  opacity: 0.55;
}

/* Active center card */
.memberSwiper .swiper-slide-active {
  transform: scale(1.08);
  filter: blur(0);
  opacity: 1;
  box-shadow: 0 12px 30px rgba(176, 38, 255, 0.35);
}

.member-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;

  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* When the popup is active */
.member-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.paper-popup {
  background: linear-gradient(145deg, #1a1a24, #0f0f15);
  border: 1px solid rgba(157, 78, 221, 0.3);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);

  /* Springy enter animation */
  transform: scale(0.8) translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Triggered by the parent .show class */
.member-popup.show .paper-popup {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* The close animation triggered by your JS */
.paper-popup.close-anim {
  transform: scale(0.9) translateY(20px) !important;
  opacity: 0 !important;
  transition: all 0.3s ease-in !important;
}

#closeMember {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
}

#closeMember:hover {
  color: var(--purple);
}

#memberName {
  color: var(--purple);
  margin-bottom: 20px;
  font-size: 2rem;
}

#memberInfo {
  white-space: pre-line; /* Respects the line breaks in your JS object! */
  line-height: 1.6;
  color: var(--text-muted);
}
.disco-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  background: linear-gradient(45deg, var(--purple), var(--purple2));
  transition: 0.3s;
  margin-top: 30px;
  width: 100%;
  text-align: center;
}
.disco-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 22px rgba(176, 38, 255, 0.6);
}

.timeline-box {
  max-width: 800px;
  margin: auto;
  background: var(--card);
  padding: 30px;
  border-radius: 18px;
}
.timeline-box p {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.timeline-box p:last-child {
  border: none;
}
.timeline-box span {
  color: var(--lav);
  font-weight: 600;
  margin-right: 8px;
}

footer {
  text-align: center;
  padding: 30px;
  background: #050505;
  color: var(--text-muted);
  font-size: 0.9rem;
}
