/* ── NEWSLETTER POPUP ── */
#newsletter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 8500;
  background: rgba(10,5,8,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
#newsletter-overlay.visible {
  display: flex;
  opacity: 1;
}
#newsletter-modal {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
  position: relative;
  transform: translateY(28px);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
  opacity: 0;
}
#newsletter-overlay.visible #newsletter-modal {
  transform: translateY(0);
  opacity: 1;
}
.nl-header {
  background: linear-gradient(135deg, #1a0a0e 0%, #2d1018 50%, #3d1520 100%);
  padding: 40px 40px 36px;
  position: relative;
  overflow: hidden;
}
.nl-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(212,96,122,0.3) 0%, transparent 60%);
}
.nl-header-logo {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.nl-header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}
.nl-header-title span { color: var(--rose); }
.nl-header-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
  line-height: 1.5;
}
.nl-body { padding: 32px 40px 36px; }
.nl-perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.nl-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-2);
}
.nl-perk-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}
.nl-form {
  display: flex;
  gap: 10px;
}
.nl-input {
  flex: 1;
  background: var(--bg-2);
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nl-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(212,96,122,0.1);
}
.nl-input::placeholder { color: var(--text-3); }
.nl-submit {
  background: var(--rose); color: #fff; border: none;
  padding: 12px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.nl-submit:hover { background: var(--rose-light); transform: translateY(-1px); }
.nl-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nl-skip {
  font-size: 12px;
  color: var(--text-3);
  cursor: pointer;
  background: none; border: none;
  font-family: inherit;
  padding: 0;
  transition: color 0.2s;
}
.nl-skip:hover { color: var(--text); }
.nl-privacy {
  font-size: 11px;
  color: var(--text-3);
}
.nl-privacy a { color: var(--rose); text-decoration: none; }
.nl-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.12);
  border: none; border-radius: 8px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.nl-close:hover { background: rgba(255,255,255,0.2); color: #fff; }
.nl-success {
  text-align: center;
  padding: 48px 40px;
}
.nl-success-icon {
  width: 56px; height: 56px;
  background: var(--rose-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}
.nl-success-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 10px;
}
.nl-success-text { font-size: 14px; color: var(--text-2); line-height: 1.6; }

@media (max-width: 500px) {
  .nl-header { padding: 32px 24px 28px; }
  .nl-body { padding: 24px 24px 28px; }
  .nl-form { flex-direction: column; }
  .nl-success { padding: 40px 24px; }
  #cookie-banner { left: 16px; bottom: 16px; max-width: calc(100% - 32px); }
}
