@import url("https://fonts.googleapis.com/css2?family=Montaga&family=DM+Sans:wght@400;500;700&family=Inter:wght@400;500;600&family=Rancho&display=swap");

:root {
  --bg-page: #faf7ff;
  --purple: #8c52ff;
  --dark: #160041;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-page);
}

.font-Montaga {
  font-family: "Montaga", serif;
}

.font-Sans {
  font-family: "DM Sans", sans-serif;
}

.font-Inter {
  font-family: "Inter", sans-serif;
}

.font-Rancho {
  font-family: "Rancho", cursive;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.site-footer {
  clip-path: ellipse(120% 100% at 50% 100%);
}

@media (min-width: 768px) {
  .site-footer {
    clip-path: ellipse(68% 90% at 50% 100%);
  }
}

.mobile-drawer-overlay,
.mobile-drawer,
.modal {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-drawer {
  transform: translateX(100%);
}

.mobile-drawer-overlay.open,
.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Lock body scroll when any modal is open */
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100%;
}

body.modal-open {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  overscroll-behavior: none;
}

.member-step {
  display: none;
}

.member-step.active {
  display: block;
  animation: slideFromTop 0.35s ease-out;
}

@keyframes slideFromTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-tab-panel {
  display: none;
}

.about-tab-panel.active {
  display: block;
}

.about-tab-button.active {
  background: #fff;
  color: #8c52ff;
  border-left: 4px solid #8c52ff;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .carousel-slide.cols-4 {
    flex: 0 0 25%;
  }

  .carousel-slide.cols-3 {
    flex: 0 0 33.3333%;
  }
}

.avatar-fallback {
  background: linear-gradient(180deg, #c7b4ff 0%, #9f78ff 100%);
}

.before\:bg-\[\#8B5CF6\]:before {
  outline: 4px solid #8C52FF0F;
}