html.dev-gate-locked,
html.dev-gate-locked body {
  overflow: hidden;
}

.dev-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 55, 125, 0.34), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(69, 167, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #070b27, #12194f 48%, #080d2f);
  color: #fff;
  font-family: Inter, Manrope, Arial, sans-serif;
}

.dev-gate[hidden] {
  display: none;
}

.dev-gate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%, rgba(0, 0, 0, 0.26));
  pointer-events: none;
}

.dev-gate-card {
  position: relative;
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(12, 16, 52, 0.78);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}

.dev-gate-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-size: 22px;
  font-weight: 900;
}

.dev-gate-mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: 34px;
  height: 34px;
}

.dev-gate-mark i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff377d, #ff9a2e);
}

.dev-gate-mark i:nth-child(1) { height: 17px; }
.dev-gate-mark i:nth-child(2) { height: 30px; }
.dev-gate-mark i:nth-child(3) { height: 24px; }
.dev-gate-mark i:nth-child(4) { height: 14px; }

.dev-gate-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.dev-gate h1 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: 0;
}

.dev-gate h1 span {
  background: linear-gradient(90deg, #ff377d, #ff9a2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.dev-gate-copy {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.dev-gate-form {
  display: grid;
  gap: 14px;
}

.dev-gate-field {
  display: grid;
  gap: 8px;
}

.dev-gate-field label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.dev-gate-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font: inherit;
}

.dev-gate-field input:focus {
  border-color: rgba(255, 154, 46, 0.76);
  box-shadow: 0 0 0 4px rgba(255, 154, 46, 0.12);
}

.dev-gate-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #ff377d, #ff9a2e);
  box-shadow: 0 18px 34px rgba(255, 62, 125, 0.28);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.dev-gate-error {
  min-height: 20px;
  margin: 0;
  color: #ffb8ca;
  font-size: 13px;
  font-weight: 760;
}

.dev-gate-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
}

@media (max-width: 620px) {
  .dev-gate-card {
    padding: 26px;
  }

  .dev-gate h1 {
    font-size: 34px;
  }
}
