/* wp-subs-popup.css — attractive modern styling + emoji + animation */

:root{
  --overlay: rgba(6,10,18,0.55);
  --card-bg: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
  --accent-main: #ff7a00;
  --accent-dark: #e25f00;
  --muted: #5f6368;
  --input-border: #e6e8ee;
  --radius: 14px;
  --max-width: 460px;
}

/* overlay */
#wp-subs-popup{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--overlay);
  z-index: 99999;
  padding: 22px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* animated card entrance */
@keyframes popIn {
  0%   { opacity: 0; transform: translateY(12px) scale(.98); }
  60%  { opacity: 1; transform: translateY(-6px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* card */
#wp-subs-popup .wp-subs-inner {
  background: var(--card-bg);
  border-radius: var(--radius);
  max-width: var(--max-width);
  width: 100%;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(13,18,25,0.28);
  position: relative;
  text-align: center;
  border: 1px solid rgba(12,14,18,0.03);
  animation: popIn 360ms cubic-bezier(.2,.9,.2,1);
}

/* close button */
#wp-subs-popup .close {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 8px 20px rgba(12,16,20,0.06);
  cursor: pointer;
  font-size: 18px;
  color: #222;
}

/* big emoji above title */
#wp-subs-popup .wp-emoji {
  display: block;
  font-size: 44px;        /* large emoji */
  line-height: 1;
  margin-bottom: 10px;
  transform: translateZ(0);
  filter: drop-shadow(0 6px 18px rgba(255,122,0,0.12));
}

/* title and subtitle */
#wp-subs-popup h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.2px;
}
#wp-subs-popup p {
  margin: 0 0 14px 0;
  font-size: 14.4px;
  color: var(--muted);
}

/* inputs */
#wp-subs-popup input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid var(--input-border);
  box-sizing: border-box;
  font-size: 15px;
  margin: 10px 0;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .12s;
  background: #fff;
}
#wp-subs-popup input[type="email"]:focus {
  border-color: rgba(255,122,0,0.9);
  box-shadow: 0 12px 30px rgba(255,122,0,0.06);
  transform: translateY(-1px);
}

/* CTA */
#wp-subs-popup button#wp-subs-submit {
  display: inline-block;
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(180deg, var(--accent-main), var(--accent-dark));
  box-shadow: 0 12px 30px rgba(226,95,0,0.18), inset 0 -2px 0 rgba(0,0,0,0.06);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s;
}
#wp-subs-popup button#wp-subs-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(226,95,0,0.22);
}

/* helper text + message */
#wp-subs-popup .wp-subs-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
#wp-subs-msg {
  margin-top: 10px;
  font-size: 14px;
  color: #222;
  min-height: 18px;
}

/* responsive tweaks */
@media (max-width:520px) {
  :root { --max-width: 96%; }
  #wp-subs-popup .wp-subs-inner { padding: 20px; }
  #wp-subs-popup .wp-emoji { font-size: 38px; margin-bottom: 6px; }
  #wp-subs-popup h3 { font-size: 18px; }
  #wp-subs-popup input[type="email"] { padding: 11px; }
  #wp-subs-popup button#wp-subs-submit { padding: 11px; font-size: 15px; }
}
