/* Welcome Popup Styles */
.welcome-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.welcome-popup-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.welcome-popup {
  background: white;
  max-width: 440px;
  width: 100%;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: welcomeSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes welcomeSlideUp {
  from {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.welcome-popup-header {
  background: linear-gradient(135deg, #FF1B6B 0%, #7B2CBF 50%, #FFB627 100%);
  padding: 30px 24px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.welcome-popup-emoji {
  font-size: 48px;
  margin-bottom: 8px;
  display: block;
}

.welcome-popup h2 {
  font-family: 'Bebas Neue', 'Heebo', sans-serif;
  font-size: 32px;
  letter-spacing: -0.5px;
  color: white;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  line-height: 1.1;
}

.welcome-popup-subtitle {
  font-size: 14px;
  color: white;
  opacity: 0.95;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.welcome-popup-body {
  padding: 24px;
  text-align: center;
}

.welcome-popup-discount {
  background: linear-gradient(135deg, #FFE4F0 0%, #FFF5E1 100%);
  border: 2px dashed #FF1B6B;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 18px;
}

.welcome-popup-discount-num {
  font-family: 'Bebas Neue', 'Heebo', sans-serif;
  font-size: 56px;
  line-height: 1;
  background: linear-gradient(135deg, #FF1B6B 0%, #7B2CBF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.welcome-popup-discount-label {
  font-size: 14px;
  color: var(--gray);
  font-weight: 700;
  margin-top: 4px;
}

.welcome-popup-code {
  background: white;
  border: 1px solid var(--light-gray);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  display: inline-block;
}

.welcome-popup-form {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.welcome-popup-form input {
  flex: 1;
  padding: 14px;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
  direction: ltr;
}

.welcome-popup-form input:focus {
  border-color: var(--pink);
}

.welcome-popup-cta {
  padding: 14px 24px;
  background: linear-gradient(135deg, #FF1B6B 0%, #7B2CBF 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.welcome-popup-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.welcome-popup-no-thanks {
  background: none;
  border: none;
  color: var(--gray);
  font-family: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
}

.welcome-popup-no-thanks:hover {
  color: var(--black);
}

.welcome-popup-close {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  z-index: 2;
  transition: background 0.2s;
}

.welcome-popup-close:hover {
  background: rgba(255, 255, 255, 0.5);
}

.welcome-popup-trust {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--gray);
}

/* Coupon Code Copy Button Styles */
.welcome-popup-code-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  position: relative;
}

.welcome-popup-copy-btn {
  background: white;
  border: 1px solid var(--light-gray);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  outline: none;
  font-size: 16px;
  height: 38px;
}

.welcome-popup-copy-btn:hover {
  background: var(--cream);
  border-color: var(--pink);
  transform: scale(1.05);
}

.welcome-popup-copy-btn .copy-feedback {
  font-size: 12px;
  font-weight: 700;
  margin-right: 6px;
  color: #28A745;
  white-space: nowrap;
}

.welcome-popup-copy-btn.copied {
  background: #E8F5E9;
  border-color: #28A745;
  color: #28A745;
}
