/* ============================================================
 * Holyn's Connect — Auth Gate styles
 * Soft signup-wall modal + locked-content visual treatment.
 * ============================================================ */

.hc-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.hc-auth-gate.hidden { display: none; }

.hc-auth-gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hc-auth-gate-box {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #14141a 0%, #0a0a0e 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 18px;
  padding: 44px 36px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5),
              0 0 60px rgba(212, 175, 55, 0.08);
  animation: hc-gate-pop 0.18s ease-out;
}
@keyframes hc-gate-pop {
  from { transform: translateY(8px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0)    scale(1);    opacity: 1; }
}

.hc-auth-gate-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: 0;
  color: #888;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.hc-auth-gate-close:hover { color: #fff; background: rgba(255,255,255,.06); }

.hc-auth-gate-box .gate-icon {
  font-size: 44px;
  margin-bottom: 14px;
}
.hc-auth-gate-box .gate-title {
  font-family: var(--serif, 'Cormorant Garamond', Georgia, serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}
.hc-auth-gate-box .gate-sub {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 26px;
  line-height: 1.5;
}
.hc-auth-gate-box .gate-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hc-auth-gate-box .gate-btn-primary,
.hc-auth-gate-box .gate-btn-secondary {
  display: block;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.hc-auth-gate-box .gate-btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #0a0a0e;
}
.hc-auth-gate-box .gate-btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #e6c14a 0%, #c9a428 100%);
}
.hc-auth-gate-box .gate-btn-secondary {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
}
.hc-auth-gate-box .gate-btn-secondary:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: #d4af37;
}
.hc-auth-gate-box .gate-foot {
  margin-top: 20px;
  font-size: 11px;
  color: #666;
  letter-spacing: 0.5px;
}

body.hc-auth-gate-open { overflow: hidden; }

/* ── Locked content visual treatment ─────────────────────────── */
.hc-locked-text {
  color: transparent !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  user-select: none;
  pointer-events: none;
}
.hc-locked-img,
.hc-locked-blur {
  filter: blur(6px) saturate(0.6);
  pointer-events: none;
}

@media (max-width: 480px) {
  .hc-auth-gate-box { padding: 36px 24px 24px; }
  .hc-auth-gate-box .gate-title { font-size: 19px; }
  .hc-auth-gate-box .gate-sub   { font-size: 13px; }
}
