@font-face {
  font-family: 'Lexend Deca';
  src: url('../fonts/Lexend_Deca/static/LexendDeca-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}

@keyframes eip-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes eip-pop {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

#eip-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(39, 37, 50, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: eip-fade 0.18s ease-out;
}

#eip-card {
  position: relative;
  width: 440px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.2);
  padding: 40px 36px 36px;
  text-align: center;
  box-sizing: border-box;
  animation: eip-pop 0.22s ease-out;
}

#eip-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: #f3f4f6;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #5b5c68;
  padding: 0;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
#eip-close-btn:hover,
#eip-close-btn:focus-visible {
  background: #e4e5e1;
  color: #252732;
  outline: none;
}

#eip-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #eef0ff;
  color: #3e57f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  flex-shrink: 0;
}

#eip-title {
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #252732;
  margin: 0 0 12px;
}

#eip-body {
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: #5b5c68;
  margin: 0 0 28px;
}

#eip-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  background: #3e57f6;
  color: #ffffff !important;
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-decoration: none !important;
  padding: 14px;
  border-radius: 12px;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}
#eip-cta:hover,
#eip-cta:focus-visible {
  background: #2c44d9;
  color: #ffffff !important;
  outline: none;
}

#eip-dismiss {
  display: block;
  margin: 14px auto 0;
  border: none;
  background: transparent;
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #5b5c68;
  cursor: pointer;
  padding: 4px 8px;
}
#eip-dismiss:hover,
#eip-dismiss:focus-visible {
  color: #252732;
}
