.gate-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.gate-modal.active {
  opacity: 1;
  visibility: visible;
}

.gate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.gate-modal-content {
  position: relative;
  width: 100%;
  margin: auto;
}

.bg-form-wrapper {
  background-color: #2D3C3E;
  padding: 48px;
  border-radius: 8px;
}

.gate-form-content {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.gate-modal.submitted .gate-form-content {
  opacity: 0;
  pointer-events: none;
}

.gate-thank-you {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease 0.3s;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding: 48px;
}

.gate-modal.submitted .gate-thank-you {
  opacity: 1;
  pointer-events: auto;
}

html.gate-locked,
html.gate-locked body {
  overflow: hidden;
  height: 100%;
}

.gated-blur {
  position: relative;
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.gated-blur::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, rgba(26, 31, 46, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.gate-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  transition: color 0.2s ease;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 16px;
}

@media only screen and (max-width: 767px) {
  .gate-modal {
    padding: 16px;
  }
  .bg-form-wrapper {
    padding: 16px;
  }

  
  
