/* Newsletter Popup Ad Styles */
.sr-popup-ad-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 15, 40, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility .4s ease;
}
.sr-popup-ad-overlay.is-active {
  opacity: 1;
  visibility: visible;
}
.sr-popup-ad {
  background: #fff;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
  transform: scale(.92) translateY(20px);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}
.sr-popup-ad-overlay.is-active .sr-popup-ad {
  transform: scale(1) translateY(0);
}
.sr-popup-ad-img {
  background: linear-gradient(135deg, #4b69ff 0%, #3065D0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.sr-popup-ad-img::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -80px;
  left: -80px;
}
.sr-popup-ad-img::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  bottom: -60px;
  right: -60px;
}
.sr-popup-ad-img img {
  max-width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}
.sr-popup-ad-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sr-popup-ad-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f3f8;
  color: #3a3f5c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
  transition: background .2s, color .2s;
}
.sr-popup-ad-close:hover {
  background: #e8ecf8;
  color: #4b69ff;
}
.sr-popup-ad-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #4b69ff;
  background: #f0f3ff;
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}
.sr-popup-ad-title {
  font-size: 26px;
  font-weight: 700;
  color: #0a0f28;
  line-height: 1.25;
  margin-bottom: 12px;
}
.sr-popup-ad-text {
  font-size: 15px;
  color: #5a6080;
  line-height: 1.6;
  margin-bottom: 24px;
}
.sr-popup-ad-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.sr-popup-ad-form input[type="email"] {
  flex: 1;
  border: 1.5px solid #e2e6f0;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #0a0f28;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sr-popup-ad-form input[type="email"]:focus {
  border-color: #4b69ff;
  box-shadow: 0 0 0 3px rgba(75, 105, 255, 0.12);
}
.sr-popup-ad-form button {
  background: #4b69ff;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.sr-popup-ad-form button:hover {
  background: #3065D0;
  transform: translateY(-1px);
}
.sr-popup-ad-skip {
  font-size: 13px;
  color: #8a90a8;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sr-popup-ad-skip:hover {
  color: #4b69ff;
}
@media (max-width: 767px) {
  .sr-popup-ad {
    grid-template-columns: 1fr;
  }
  .sr-popup-ad-img {
    padding: 32px;
    min-height: 180px;
  }
  .sr-popup-ad-body {
    padding: 28px 24px;
  }
  .sr-popup-ad-title {
    font-size: 22px;
  }
}
