/* Intelligent subscriber popup — logo + conversion overlay */
.gsp-root {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.gsp-root[hidden] {
  display: none !important;
}
.gsp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 2, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gsp-dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  padding: 28px 26px 22px;
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 255, 0.35);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(0, 245, 255, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(18, 10, 48, 0.98), rgba(8, 4, 28, 0.98));
  box-shadow:
    0 0 0 1px rgba(178, 75, 243, 0.2),
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(0, 245, 255, 0.12);
  animation: gsp-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes gsp-in {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.gsp-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #e8eaf5;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.gsp-close:hover {
  background: rgba(0, 245, 255, 0.15);
  color: #00f5ff;
}
.gsp-brand {
  display: flex;
  justify-content: center;
  margin: 4px 0 14px;
}
.gsp-logo {
  display: block;
  width: auto;
  max-width: 200px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(0, 245, 255, 0.35));
}
.gsp-kicker {
  margin: 0 0 6px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff2bd6;
}
.gsp-title {
  margin: 0 0 10px;
  text-align: center;
  font-size: clamp(1.25rem, 3.5vw, 1.45rem);
  line-height: 1.25;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #00f5ff 55%, #b24bf3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gsp-desc {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(232, 234, 245, 0.78);
}
.gsp-desc strong {
  color: #00f5ff;
  font-weight: 700;
}
.gsp-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gsp-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(232, 234, 245, 0.85);
  margin-top: 6px;
}
.gsp-optional {
  font-weight: 500;
  color: rgba(232, 234, 245, 0.45);
}
.gsp-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(74, 47, 158, 0.55);
  background: rgba(4, 8, 24, 0.85);
  color: #e8eaf5;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gsp-input:focus {
  border-color: rgba(0, 245, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.15);
}
.gsp-submit {
  margin-top: 12px;
  padding: 14px 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #00f5ff, #b24bf3 70%);
  color: #041018;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
}
.gsp-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.gsp-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.gsp-status {
  margin: 8px 0 0;
  font-size: 0.82rem;
  text-align: center;
  color: #00f5ff;
}
.gsp-status.is-error {
  color: #ff7b9c;
}
.gsp-status.is-ok {
  color: #5dffb0;
}
.gsp-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 16px;
}
.gsp-secondary {
  font-size: 0.82rem;
  font-weight: 700;
  color: #00f5ff;
  text-decoration: none;
}
.gsp-secondary:hover {
  text-decoration: underline;
}
.gsp-text-dismiss {
  border: none;
  background: none;
  color: rgba(232, 234, 245, 0.5);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
}
.gsp-text-dismiss:hover {
  color: rgba(232, 234, 245, 0.85);
}
.gsp-fine {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(232, 234, 245, 0.4);
}
body.gsp-open {
  overflow: hidden;
}
@media (max-width: 480px) {
  .gsp-dialog {
    padding: 24px 18px 18px;
  }
  .gsp-logo {
    max-width: 160px;
  }
}
