/* JD Gallery - Premium PIN Gate clean v1.0.6 */
.jdgp-pin-gate {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 34px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .72fr);
  gap: 16px;
  align-items: stretch;
  padding: 0;
}

.jdgp-pin-hero,
.jdgp-pin-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.jdgp-pin-hero {
  min-height: 260px;
  padding: 28px 32px;
  background:
    linear-gradient(135deg, rgba(11,27,50,.95), rgba(39,52,82,.90)),
    radial-gradient(circle at 24% 14%, rgba(217,164,65,.16), transparent 32%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(7,27,51,.09);
}

.jdgp-pin-hero:after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -125px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 38px solid rgba(255,255,255,.04);
  pointer-events: none;
}

.jdgp-pin-hero__glow {
  position: absolute;
  left: -80px;
  top: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(217,164,65,.13);
  filter: blur(24px);
  pointer-events: none;
}

.jdgp-pin-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: max-content;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #f3ddaa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jdgp-pin-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 14px 0 8px;
  color: #fff;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 900;
}

.jdgp-pin-hero p {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1.5;
}

.jdgp-pin-features {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.jdgp-pin-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.80);
  font-size: 10px;
  font-weight: 800;
}

.jdgp-pin-card {
  padding: 24px;
  border: 1px solid rgba(16,45,79,.08);
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 32px rgba(7,27,51,.07);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jdgp-pin-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.jdgp-pin-lock {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b1b32, #263b63);
  color: #f3ddaa;
  font-size: 18px;
  box-shadow: 0 10px 22px rgba(7,27,51,.15);
}

.jdgp-pin-card-title {
  min-width: 0;
  flex: 1 1 auto;
}

.jdgp-pin-card__eyebrow {
  display: block;
  margin: 1px 0 5px;
  color: #96773a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.jdgp-pin-card h2 {
  margin: 0 0 6px;
  color: #121a2f;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.08;
  letter-spacing: -.026em;
}

.jdgp-pin-card-title p {
  margin: 0;
  color: #667789;
  font-size: 13.5px;
  line-height: 1.45;
}

.jdgp-pin-form {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}

.jdgp-pin-input-wrap {
  position: relative;
}

.jdgp-pin-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b98a8;
  pointer-events: none;
  font-size: 13px;
}

.jdgp-pin-input-wrap input {
  width: 100%;
  min-height: 46px;
  padding: 0 48px 0 39px;
  border: 1px solid rgba(16,45,79,.13);
  border-radius: 13px;
  background: #fff;
  color: #071b33;
  outline: none;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .045em;
  box-shadow: inset 0 1px 0 rgba(7,27,51,.02);
}

.jdgp-pin-input-wrap input:focus {
  border-color: rgba(217,164,65,.70);
  box-shadow: 0 0 0 4px rgba(217,164,65,.12);
}

.jdgp-pin-input-wrap input::placeholder {
  color: #7b8491;
  font-weight: 800;
  letter-spacing: .025em;
}

.jdgp-pin-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 10px;
  background: #f3f6fa;
  color: #667789;
  cursor: pointer;
}

.jdgp-pin-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0b1b32, #263b63);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 11px 24px rgba(7,27,51,.15);
}

.jdgp-pin-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #465568;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.jdgp-pin-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(185,28,28,.16);
  border-radius: 12px;
  background: #fff1f0;
  color: #9f1f16;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.42;
}

.jdgp-pin-error:before {
  content: "\f071";
  font-family: FontAwesome;
  margin-right: 7px;
}

@media (max-width: 900px) {
  .jdgp-pin-gate {
    grid-template-columns: 1fr;
    width: min(760px, calc(100% - 24px));
  }

  .jdgp-pin-hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .jdgp-pin-gate {
    width: min(100% - 20px, 900px);
    margin: 16px auto 30px;
    gap: 12px;
  }

  .jdgp-pin-hero,
  .jdgp-pin-card {
    border-radius: 17px;
  }

  .jdgp-pin-hero {
    padding: 24px 20px;
  }

  .jdgp-pin-hero h1 {
    font-size: clamp(28px, 9vw, 36px);
  }

  .jdgp-pin-features {
    flex-direction: column;
    align-items: flex-start;
  }

  .jdgp-pin-card-head {
    gap: 12px;
  }
}
