#ramadanPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  animation: fadeIn 0.3s ease;
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0;
  border-radius: 25px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.5s ease;
  overflow: hidden;
}

.popup-header {
  background: linear-gradient(135deg, #C6A664 0%, #D4AF37 100%);
  padding: 35px 30px 30px 30px;
  text-align: center;
  position: relative;
}

.popup-icon {
  font-size: 50px;
  margin-bottom: 8px;
  animation: bounce 2s infinite;
}

.popup-header h2 {
  color: white;
  font-size: 28px;
  margin: 0 0 5px 0;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-header p {
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 300;
}

.popup-body {
  padding: 40px 30px;
  text-align: center;
  background: white;
}

.discount-badge {
  background: transparent;
  color: white;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin: 0;
}

.popup-body h3 {
  font-size: 22px;
  margin: 0 0 12px 0;
  color: #1a1a1a;
  font-weight: 700;
}

.popup-body p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #666;
}

.popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.popup-btn {
  padding: 18px 45px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.btn-shop {
  background: linear-gradient(135deg, #C6A664, #D4AF37);
  color: white;
  box-shadow: 0 5px 20px rgba(198, 166, 100, 0.4);
}

.btn-shop:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(198, 166, 100, 0.6);
}

.btn-close {
  background: #f5f5f5;
  color: #666;
}

.btn-close:hover {
  background: #e0e0e0;
  color: #333;
}

.close-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
  font-size: 24px;
  font-weight: 300;
  z-index: 10;
}

.close-icon:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
  .popup-content {
    max-width: 95%;
    border-radius: 20px;
  }
  
  .popup-header {
    padding: 30px 25px 25px 25px;
  }
  
  .popup-icon {
    font-size: 40px;
  }
  
  .popup-header h2 {
    font-size: 24px;
  }
  
  .popup-header p {
    font-size: 13px;
  }
  
  .discount-badge {
    font-size: 24px;
  }
  
  .popup-body {
    padding: 30px 25px;
  }
  
  .popup-body h3 {
    font-size: 20px;
  }
  
  .popup-body p {
    font-size: 14px;
  }
  
  .popup-buttons {
    flex-direction: column;
  }
  
  .popup-btn {
    width: 100%;
    padding: 16px 40px;
  }
  
  .close-icon {
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}
