.pgt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 7, 18, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pgt-modal-overlay.open {
  display: flex;
}
.pgt-modal {
  background: #0f1325;
  border: 1px solid rgba(91, 124, 250, 0.25);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.pgt-modal h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.pgt-modal .pgt-sub {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin: 0 0 24px;
  letter-spacing: .06em;
}
.pgt-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255,255,255,.4);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color .2s;
}
.pgt-modal-close:hover { color: #fff; }
.pgt-field {
  margin-bottom: 16px;
}
.pgt-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 7px;
}
.pgt-field input,
.pgt-field textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 15px;
  color: #fff;
  font-family: 'Onest', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.pgt-field input:focus,
.pgt-field textarea:focus {
  border-color: rgba(91, 124, 250, 0.6);
}
.pgt-field textarea {
  resize: vertical;
  min-height: 80px;
}
.pgt-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  cursor: pointer;
  line-height: 1.5;
}
.pgt-check input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: #5b7cfa;
  cursor: pointer;
}
.pgt-check a { color: rgba(91,124,250,.8); }
.pgt-submit {
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, #5b7cfa, #00d4a0);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Onest', sans-serif;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
}
.pgt-submit:hover { opacity: .9; transform: translateY(-1px); }
.pgt-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.pgt-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.pgt-success .pgt-ok-icon {
  font-size: 40px;
  margin-bottom: 16px;
  color: #00d4a0;
}
.pgt-success h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.pgt-success p {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.pgt-error {
  display: none;
  font-size: 13px;
  color: #ff6b8a;
  margin-top: 12px;
  text-align: center;
}
.pgt-error a { color: #ff6b8a; }
@media (max-width: 520px) {
  .pgt-modal { padding: 28px 20px; border-radius: 16px; }
  .pgt-modal h3 { font-size: 17px; }
}
