#custom-popup {
    position: fixed;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    inset: 0;
    padding: 20px;
    animation: fadeIn 0.4s ease forwards;
}

.popup-content {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-direction: row;
    background: linear-gradient(135deg, #ffdde1 0%, #ee9ca7 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    position: relative;
    color: #333;
    max-width: 720px;
    width: 100%;
    font-family: 'Segoe UI', sans-serif;
    animation: popupSlide 0.5s ease-out;
}

.popup-content-wrapper {
    flex: 1;
}

.popup-heading {
    font-size: 28px;
    margin-bottom: 10px;
}

.popup-description {
    font-size: 16px;
    margin-bottom: 20px;
}

.popup-input {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.popup-btn {
    padding: 12px 24px;
    background-color: #fff;
    color: #d63384;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
}
.popup-btn:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
}

.popup-visual {
    flex-shrink: 0;
}

.close-popup {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    z-index: 10;
}

.close-popup svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes popupSlide {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}@keyframes flameBorder {
  0% {
    box-shadow: 0 0 12px rgba(255, 85, 0, 0.6), 0 0 24px rgba(255, 140, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 140, 0, 0.8), 0 0 48px rgba(255, 85, 0, 0.5);
  }
  100% {
    box-shadow: 0 0 12px rgba(255, 85, 0, 0.6), 0 0 24px rgba(255, 140, 0, 0.4);
  }
}

.flame-border {
  border: 4px solid rgba(255, 85, 0, 0.7);
  border-radius: 20px;
  animation: flameBorder 1.2s infinite ease-in-out;
}